Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
simplify — Android virtual machine and deobfuscator | Kitploit
Tools/GitHubGitHub/calebfenton/simplify
Android SecurityDynamic Analysis (Sandboxing)Reverse EngineeringMalware AnalysisBinary Analysis
GitHubcalebfenton/simplify

simplify

Android virtual machine and deobfuscator

View Repository
4.7k4556510 days agoReviewed by Kitploit
Share

Simplify

Simplify is a generic Android deobfuscator. It virtually executes Dalvik code, then rewrites each method into code that behaves identically and is easier for a human to read. Its optimizations are generic, so they work regardless of which obfuscator produced the input.

Decompiled obfuscated code: many method calls, no clear meaning The same code after Simplify: string literals in place of decryption calls

Quick Start

Building requires JDK 21 selected through JAVA_HOME and a case-sensitive filesystem. Clone with the Android framework submodule, then build the standalone jar:

git clone --recursive https://github.com/CalebFenton/simplify.git
cd simplify
./gradlew :simplify:fatJar

In an existing clone, fetch the submodule with git submodule update --init --recursive.

Simplify the included obfuscated example app:

java -jar simplify/build/libs/simplify.jar -it "org/cf/obfuscated" -et "MainActivity" simplify/obfuscated-app.apk

The run takes under a minute, ends with a summary of optimized, failed, and skipped methods, and writes obfuscated-app_simple.apk to the current directory; -o chooses another path. Run java -jar simplify/build/libs/simplify.jar --help for every option.

What This Does

The project has four Gradle modules. smalivm is a sandboxed virtual machine for Dalvik methods. It returns an execution graph of every possible register and class value on every path, even when some inputs are unknown: a branch on an unknown value takes both arms. simplify reads those graphs and applies constant propagation, dead code removal, unreflection, and peephole optimizations, repeating them until the method stops changing or reaches --max-passes. It does not rename classes or methods. demoapp shows how to embed smalivm, and sdbg is an interactive debugger for the same execution engine.

An optimization runs only when the analysis of a method is complete. A method whose analysis hits a limit is reported as skipped and left unchanged. Exceptions, synchronization, volatile accesses, and writes to objects other code can see are observable, so their operations stay. For example, save this as example/Example.smali:

.class public LExample;
.super Ljava/lang/Object;

.method public static add()I
    .locals 2

    const/4 v0, 0x4
    const/4 v1, 0x3
    add-int v0, v0, v1
    return v0
.end method

.method public static test1()I
    .locals 2

    new-instance v0, Ljava/lang/Integer;
    const/4 v1, 0x1
    invoke-direct {v0, v1}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
    move-result v0

    return v0
.end method

Running java -jar simplify/build/libs/simplify.jar example -o example.dex and disassembling example.dex gives these method bodies:

.method public static add()I
    .registers 2

    const/4 v0, 0x7

    return v0
.end method

.method public static test1()I
    .registers 2

    const/4 v0, 0x1

    return v0
.end method

Constant propagation folds the addition and the result of intValue(). Dead code removal then deletes the unused inputs of add-int and the Integer that nothing observes any more: its allocation, constructor and call change nothing outside the object.

Simplify reads a Smali directory, a DEX file, or an APK. APK output replaces classes.dex, keeps every other entry unchanged, and must be signed again before installation. An archive that also contains classes2.dex is rejected with Multi-DEX archives are not supported.

Command Line

-v raises log verbosity each time it repeats (-v, -vv). The exit status is 1 when the input is rejected, a method fails to execute, or an optimizer edit is rejected; --ignore-errors skips failed methods and exits 0. Skipped methods do not change the exit status.

If a run fails, limit it to a few classes or methods with -it. If a method exceeds a visit limit, raise --max-address-visits, --max-call-depth, or --max-method-visits. A method whose analysis would fill the JVM heap is skipped with MEMORY_LIMIT; give the JVM more heap with -Xmx to analyze it. To report a problem, run again with -v or -vv and open an issue with the log, the full command, and the APK or DEX or its SHA-256 hash.

Demo and Debugger

./gradlew :demoapp:fatJar :sdbg:fatJar
java -jar demoapp/build/libs/demoapp.jar demoapp/resources
java -jar sdbg/build/libs/sdbg.jar sdbg/resources 'LTest;->addNumbers()V'

The demo executes the Smali in demoapp/resources with known and unknown inputs and prints each result. See SDBG for a debugger walkthrough.

Documentation

  • Architecture: execution engine, state, exceptions, and optimizer contracts
  • Build and distribution: toolchain, artifacts, embedding, and CI
  • Dalvik semantics: runtime evidence behind the VM's behavior
  • Dalvik Virtual Execution with SmaliVM

Contributing

Questions, issues, and pull requests are welcome. When reporting a bug, include the APK or DEX (or its hash) and the full command.

License

Simplify's project-owned code is licensed under the Apache License, Version 2.0. Bundled dependencies, third-party source, and the Android framework corpus keep their own licenses; see THIRD_PARTY_NOTICES and licenses.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →