Giter Site home page Giter Site logo

colton1skees / dna Goto Github PK

View Code? Open in Web Editor NEW
84.0 3.0 12.0 623 KB

Static analysis & deobfuscation framework for x86/x64

C# 61.88% ANTLR 0.13% C++ 37.53% C 0.46%
analysis binary deobfuscation instruction-semantics lifter program-analysis symbolic-execution triton decompiler llvm

dna's Introduction

Dna

Dna is a static analysis framework for x86/x64, mainly geared towards deobfuscation. It offers:

  • Instruction semantics for x86/x64 via TritonTranslator
  • Symbolic execution
  • Mixed boolean-arithmetic(MBA) simplification
  • SMT solver integration
  • Control flow graph recovery
  • Lifting to LLVM IR
  • Emulation
  • Parsing of executable file formats
  • Visualization of control flow graphs(Graphviz)
  • IR optimization passes
  • LLVM passes for simplifying obfuscated code
  • APIs for writing LLVM passes in C# (e.g. bindings for PassManager, MemorySSA, LoopInfo)
  • Function relocation(optionally across binaries, with some caveats)

You can find an example usage here.

Setup

The .NET component of Dna is supported on Windows, Linux, and Mac OSX. The C++ component(LLVM.Interop) has been used exclusively on windows.

To get the C++ component building, extract this precompiled version of llvm to the root directory of Dna.

Status

Dna is now archived. It may be unarchived later on.

dna's People

Contributors

colton1skees avatar larkwiot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dna's Issues

Dna.Simplification.AstMatchCandidates

foreach(var subAst in candidate.Value.ChildQueue.ToList())
{
if(subAst.ChildQueue.Count != visiting.Children.Count)
{
candidateMapping.
}
}

This location code is incomplete, missing code

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.