Git Product home page Git Product logo

visualstudio-suo-exploit's Introduction

VisualStudio .suo deserialization exploit

A Proof of Concept (PoC) that will create a .suo file, this .suo file and can be put into any VisualStudio code project. When the sln/project is opened it will cause code execution. This technique was discovered by cjm00nw & edwardzpeng!

Installation

This project is a Visual Studio Code project and requires Visual Studio and C# to be installed.

Usage

  1. Go to the "Releases" section of this repository.

  2. Download the latest release of "suo_exploit_test.exe"

  3. Open a command prompt or PowerShell.

  4. Run the exploit executable with the desired command, like:

    suo_exploit_test.exe input.suo injected.suo calc

    or

    suo_exploit_test.exe input.suo injected.suo cmd /c start calc

Help menu

Usage:

suo_exploit_test.exe input.suo output.suo command [optional args]

Examples:

suo_exploit_test.exe input.suo injected.suo calc

suo_exploit_test.exe input.suo injected.suo cmd /c start calc

The input.suo is an existing .suo for the program to modify

The injected.suo is the output, thats the file which when open by visual studio's will run your command

Credits

Credits to cjm00nw & edwardzpeng for discovering this technique.

Contact

Contact the Developer:

  • Telegram: moom825

  • Discord: moom825

Donation

Buy me a coffee!

BTC: bc1qg4zy8w5swc66k9xg29c2x6ennn5cyv2ytlp0a6

visualstudio-suo-exploit's People

Contributors

moom825 avatar

Stargazers

RBWDenny avatar

Forkers

laster-dev

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.