Giter Site home page Giter Site logo

thinkingmalware / actionscript3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kasperskylab/actionscript3

0.0 0.0 0.0 208 KB

Tools for static and dynamic analysis of ActionScript3 SWF files.

License: GNU General Public License v3.0

Python 100.00%

actionscript3's Introduction

ActionScript3 IDA Pro

Author: Boris Larin

This repository contains the SWF Loader, ActionScript3 processor module, and a debugger assist plugin named KLFDB.

Requirements

IDA Pro 7.1 (Tested with IDA Pro 7.1.180227)

Installation

Copy files into the IDA Pro directory:

  • 'swf.py' to 'loaders' subfolder
  • 'klfdb.py' to 'plugins' subfolder
  • 'as3.py' to 'procs' subfolder

Usage

Drag and drop the SWF file to IDA Pro and select the Shockwave Flash loader.

Use 'File' -> 'Produce file' -> 'Create MAP file...' to generate a map file for use with KLFDB.

KLFDB is written to work with 32-bit versions of Stand Alone Flash and with Flash for Browsers (Internet Explorer is currently supported).

To debug the SWF file with Internet Explorer, load the Adobe Flash module (e.g. c:\Windows\System32\Macromed\Flash\Flash32__**.ocx) into IDA Pro.

Use 'Edit' -> 'Klfdb' -> 'Load new map file' to load the generated map file.

From this point, it is possible to use 'Edit' -> 'Klfdb' -> 'Set breakpoints on ...' to set breakpoints on methods.

After setting breakpoints, attach to the Internet Explorer process that is about to start the SWF file and use 'Edit' -> 'Klfdb' -> 'Run'. After that, allow the Flash file to execute.

The plugin will suspend execution of Adobe Flash after the breakpoint hit and will transparently fill just-in-time compiled native code with useful comments about the original bytecode.

Acknowledgements

actionscript3's People

Contributors

elpetrova avatar oct0xor 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.