Coder Social home page Coder Social logo

sulo's Introduction

Sulo

Sulo is a dynamic instrumentation tool for Adobe Flash Player. It is built on Pin.

Supported Flash versions

The following Flash Player builds are supported:

  • 10.3.181.23 standalone debug
  • 10.3.181.23 standalone non-debug
  • 10.3.181.23 ActiveX
  • 11.1.102.62 standadlone non-debug
  • 11.1.102.62 ActiveX

You can add support for another Flash Player build by specifying some RVAs and offsets in FlashPlayerConfigBuilder.cpp.

Limitations

Sulo supports ActionScript3 method calls only - AVM1 is not (yet) supported.

Building

The easiest way to build Sulo is to use the sulo_vs2010.sln solution file with Visual Studio 2010.

  1. Download Intel Pin kit for Visual Studio 2010
  2. Extract the ZIP
  3. Clone Sulo to pin-2.13-65163-msvc10-windows\source\tools\Sulo
  4. Open sulo_vs2010.sln and build the solution

Plugins

Sulo comes with three plugins:

  1. Call tracer - logs all ActionScript method calls, including arguments and return values
  2. Flash dumper - dumps Flash objects loaded with Loader.loadBytes() to disk
  3. SecureSWF - logs decrypted strings from secureSWF-protected files

Creating your own plugin is easy: just inherit your class from ISuloPlugin, implement the virtual methods, and add the object to m_plugins in SuloPluginManager::init().

Instrumenting Flash Player with Sulo

pin.exe -t source\tools\sulo\Debug\sulo.dll -- "C:\path\to\Adobe\Flash\Player.exe"

Command-line options

Option Default Plugin Explanation
fast false General Enables faster analysis by disabling call trace logging
early_tracing false Call tracer Start logging ActionScript method calls as early as possible (already before any calls from the actual Flash)
tracefile "calltrace.txt" Call tracer Filename for storing the call trace
flash_dump_prefix "dumped" Flash dumper Filename prefix for dumped Flash objects
secureswf "" SecureSWF Name of the string secureSWF decryption method

License

Apache License, Version 2.0

sulo's People

Contributors

timhir avatar

Stargazers

Liu Wenyuan avatar LolHacksRule avatar  avatar xrkk avatar Sky avatar lemontreehuang avatar muuk avatar sinn3r avatar  avatar Lionel avatar 黑风 avatar Jevin Sweval avatar Liam O'Donnell avatar Daniyal Ansari avatar ZQ avatar  avatar Mohamed Saher avatar  avatar  avatar  avatar  avatar hellotimo avatar YuKuang avatar  avatar  avatar rys avatar forensicator avatar  avatar Israël Hallé avatar Jiang Ming avatar Mikhail S. Pabalavets avatar  avatar evandrix avatar Lays avatar skapy avatar Schrodinger avatar Victor Roemer avatar Zhang avatar ICED TEA avatar Farmer avatar syjcnss avatar Sivathmican Sivakumaran avatar Mauro Soria avatar Arron Zhao avatar  avatar  avatar Dominik Antal avatar Angus H. avatar  avatar Ankur Tyagi avatar  avatar Jonah avatar  avatar Nbosa avatar Insecurity avatar Yohanes Nugroho avatar Roman avatar  avatar hoangcuongflp avatar  avatar Nick Anderson avatar  avatar  avatar pnig0s avatar  avatar  avatar Amine Bendouil avatar Jay Little avatar sinn3r avatar  avatar Allan H avatar rekken avatar  avatar  avatar  avatar Roi Mallo avatar Fairuzan Roslan avatar Nick Driver avatar Alexandre Dulaunoy avatar Adam Swanda avatar Joel Eriksson avatar zz of NSFOCUS Security Team avatar  avatar Evan avatar  avatar  avatar Bryan Nolen avatar  avatar Genwei Jiang avatar Andrea De Pasquale avatar herrcore avatar ourren avatar  avatar  avatar  avatar ipfans avatar  avatar combab0 avatar  avatar Michael Du avatar

Watchers

 avatar evandrix avatar Angelo Dell'Aera avatar Minh-Triet Pham Tran avatar  avatar LambdaTea avatar James Cloos avatar Andre Gironda avatar Joel Eriksson avatar Dong-ha, Lee avatar Jiang Ming avatar  avatar milo avatar Ari Inki avatar  avatar  avatar combab0 avatar  avatar  avatar Josh R. avatar  avatar  avatar  avatar Emmanuel Opotti avatar  avatar  avatar Antti Maula avatar  avatar Jarkko Turkulainen avatar  avatar  avatar

sulo's Issues

Crash problem

Hi, when i try to use pin to inject sulo.dll into Internet Explore(x86), the problem can not start.
Do you know why? My flash activex is right for this project.

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.