diff --git a/.github/workflows/resource-examples.yml b/.github/workflows/resource-examples.yml new file mode 100644 index 0000000..aa0f04b --- /dev/null +++ b/.github/workflows/resource-examples.yml @@ -0,0 +1,48 @@ +name: Reproduce resource examples + +on: + push: + branches: [main] + paths: + - 'README.md' + - 'docs/priority-candidates.*' + - 'examples/resource-intake/**' + - '.github/workflows/resource-examples.yml' + pull_request: + paths: + - 'README.md' + - 'docs/priority-candidates.*' + - 'examples/resource-intake/**' + - '.github/workflows/resource-examples.yml' + workflow_dispatch: + +permissions: + contents: read + +jobs: + examples: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 + with: + persist-credentials: false + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + with: + python-version: '3.11' + - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5 + with: + distribution: temurin + java-version: '17' + - name: Install pinned example dependencies + run: python -m pip install -r examples/resource-intake/requirements.txt + - name: Reproduce the bounded examples + run: python examples/resource-intake/verify.py --output "$RUNNER_TEMP/resource-intake" + - name: Upload reproduction results + if: always() + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + with: + name: resource-intake-evidence + path: ${{ runner.temp }}/resource-intake/ + if-no-files-found: warn + retention-days: 30 diff --git a/README.md b/README.md index b465a6d..c1e551f 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Find a tool by the work you need to do. Each entry describes its purpose; commer - [Azeria Labs](https://azeria-labs.com/writing-arm-assembly-part-1/) - ARM assembly tutorials with exercises for learning registers, memory, and calling conventions. - [Compiler Explorer](https://godbolt.org/) - Compiles code in the browser with many compilers and shows the generated assembly, for seeing how source constructs and optimization levels translate to machine code. +- [Corkami](https://github.com/corkami/pics) - Visual references and posters explaining binary formats and file structures, including executable-format layouts. - [Nightmare](https://guyinatuxedo.github.io/) - Course built from annotated CTF challenges, progressing from assembly and reversing basics to binary exploitation. - [OpenSecurityTraining2](https://ost2.fyi/) - Structured courses in assembly, architecture, debugging, and reverse engineering. - [pwn.college](https://pwn.college/) - Free courses with hands-on challenges in Linux, assembly, reverse engineering, and binary exploitation, run in a browser-accessible environment. @@ -72,6 +73,7 @@ Find a tool by the work you need to do. Each entry describes its purpose; commer ![Unknown files sorted by their format markers in an inspection tray](.github/section-art/file-triage.png) - [capa](https://github.com/mandiant/capa) - Identifies capabilities in executable files using rules over static or dynamic analysis results. +- [checksec](https://github.com/slimm609/checksec) - Checks ELF security properties such as PIE, RELRO, stack canaries, and non-executable stacks; mitigation flags are not a vulnerability verdict. - [Detect It Easy](https://github.com/horsicq/Detect-It-Easy) - Identifies executable formats, compilers, packers, and other file characteristics. - [FLOSS](https://github.com/mandiant/flare-floss) - Recovers obfuscated strings, including strings constructed on the stack. - [LIEF](https://github.com/lief-project/LIEF) - Parses and modifies executable formats such as PE, ELF, and Mach-O from code. @@ -113,6 +115,7 @@ Find a tool by the work you need to do. Each entry describes its purpose; commer - [Frida](https://github.com/frida/frida) - Injects scripts into running processes to trace calls, inspect data, and change behavior. - [Intel Pin](https://www.intel.com/content/www/us/en/developer/articles/tool/pin-a-dynamic-binary-instrumentation-tool.html) - Dynamic binary instrumentation framework for writing analysis tools for x86 and x86-64 programs on Linux and Windows; closed source, free for any use. - [QBDI](https://github.com/QBDI/QBDI) - LLVM-based dynamic binary instrumentation framework for x86, x86-64, ARM, and AArch64, with C, C++, and Python APIs and Frida integration. +- [strace](https://github.com/strace/strace) - Linux system-call tracer for inspecting process I/O, signals, syscall arguments, and return values. - [Sysinternals Suite](https://learn.microsoft.com/en-us/sysinternals/) - Microsoft utilities, including Process Monitor, Process Explorer, and Autoruns, for observing process, file, registry, and network activity on Windows. ## Malware analysis @@ -123,10 +126,13 @@ Run samples only in isolated, disposable environments, and follow your organizat - [CAPE Sandbox](https://github.com/kevoreilly/CAPEv2) - Automated sandbox derived from Cuckoo that runs samples in virtual machines and records behavior, unpacked payloads, and malware configurations. - [FLARE-VM](https://github.com/mandiant/flare-vm) - Installation scripts that turn a Windows virtual machine into a malware-analysis and reverse-engineering workstation. +- [oletools](https://github.com/decalage2/oletools) - Python tools for inspecting Office, OLE, and RTF files and extracting macros, embedded objects, and other document artifacts. - [PE-sieve](https://github.com/hasherezade/pe-sieve) - Scans a running process for injected or modified code, such as hollowed modules, hooks, and shellcode, and dumps what it finds. - [REMnux](https://remnux.org/) - Linux toolkit for analyzing malicious executables, documents, scripts, and network traffic, available as a virtual machine, container, or installer. +- [Speakeasy](https://github.com/mandiant/speakeasy) - Windows emulation framework for PE files, drivers, and shellcode that produces API reports within a modeled runtime. - [Volatility 3](https://github.com/volatilityfoundation/volatility3) - Memory forensics framework for extracting processes, modules, network connections, and other artifacts from memory images. - [YARA](https://github.com/VirusTotal/yara) - Identifies and classifies files with rules over strings, byte patterns, and file properties; in maintenance mode, with YARA-X as its successor. +- [YARA-X](https://github.com/VirusTotal/yara-x) - Rust-based rule-scanning engine with CLI and language bindings; check its documented differences before migrating YARA rules. ## Android and managed code @@ -134,12 +140,15 @@ Run samples only in isolated, disposable environments, and follow your organizat - [Androguard](https://github.com/androguard/androguard) - Python tooling for analyzing Android applications, bytecode, and call relationships. - [Apktool](https://github.com/iBotPeaches/Apktool) - Decodes Android resources and Smali code, and rebuilds APKs after edits. +- [AsmResolver](https://github.com/Washi1337/AsmResolver) - Library for reading, modifying, and rebuilding native and managed PE files, including .NET metadata and application bundles. - [dnSpyEx](https://github.com/dnSpyEx/dnSpy) - .NET debugger and assembly editor maintained as a continuation of dnSpy. - [ILSpy](https://github.com/icsharpcode/ILSpy) - .NET assembly browser and decompiler with GUI and command-line interfaces. - [JADX](https://github.com/skylot/jadx) - Android DEX decompiler with code navigation and search in a graphical interface or CLI. +- [JEB](https://www.pnfsoftware.com/jeb/) - Android decompiler and analysis platform with edition-dependent native analysis and official MCP capabilities that vary by version; **commercial**. - [MobSF](https://github.com/MobSF/Mobile-Security-Framework-MobSF) - Automated static and dynamic analysis of Android, iOS, and Windows mobile apps, with a web interface and REST API. - [OWASP MASTG](https://mas.owasp.org/MASTG/) - Mobile security testing guidance with Android and iOS reverse-engineering techniques. - [Recaf](https://github.com/Col-E/Recaf) - Java bytecode analysis and editing environment. +- [Vineflower](https://github.com/Vineflower/vineflower) - Java decompiler focused on modern language features and readable output; requires Java 17 or newer to run current releases. ## iOS and macOS @@ -149,11 +158,14 @@ Run samples only in isolated, disposable environments, and follow your organizat - [Hopper](https://www.hopperapp.com/) - macOS disassembler and decompiler with Objective-C and Swift support, LLDB and GDB debugging, and scripting. **Commercial**, with a free demo. - [ipsw](https://github.com/blacktop/ipsw) - Command-line toolkit for downloading and examining iOS and macOS firmware, dyld shared caches, kernelcaches, and Mach-O binaries. - [objection](https://github.com/sensepost/objection) - Frida-based toolkit for exploring iOS and Android apps at runtime, including class inspection, method hooking, and certificate-pinning bypass. +- [pymobiledevice3](https://github.com/doronz88/pymobiledevice3) - CLI and Python API for iOS device services, including logs, crash reports, packet capture, and developer tooling with version-dependent tunnel requirements. ## Language runtimes and packagers +- [AssetRipper](https://github.com/AssetRipper/AssetRipper) - Unity asset-analysis and export tool with version-dependent support and additional paid Premium features. +- [Blutter](https://github.com/worawit/blutter) - Flutter AOT analysis tool for recent Android arm64 libapp.so files, producing annotated assembly, object-pool dumps, and Frida templates. - [Cpp2IL](https://github.com/SamboyCoding/Cpp2IL) - Recovers types, methods, and IL from Unity IL2CPP builds into .NET assemblies and other outputs; described by its author as work in progress. - [de4dot](https://github.com/de4dot/de4dot) - .NET deobfuscator and unpacker for assemblies protected by common obfuscators; archived in 2020 and no longer updated. - [GDRE Tools](https://github.com/GDRETools/gdsdecomp) - Recovers Godot projects from exported games, including PCK extraction, GDScript decompilation, and resource conversion. @@ -172,7 +184,9 @@ Run samples only in isolated, disposable environments, and follow your organizat - [HTTP Toolkit](https://httptoolkit.com/) - Intercepts and inspects HTTP(S) traffic from browsers, desktop applications, Android devices, and containers with automated interception setup. **Commercial**, with a free open-source edition. - [mitmproxy](https://github.com/mitmproxy/mitmproxy) - Intercepts, inspects, and modifies HTTP traffic with interactive tools and Python scripts. - [Protobuf Decoder](https://github.com/pawitp/protobuf-decoder) - Web application that decodes Protobuf messages without a schema and shows field numbers, wire types, and possible value interpretations. +- [Scapy](https://github.com/secdev/scapy) - Python packet framework for dissecting and constructing protocols, reading PCAPs, and scripting network experiments. - [WABT](https://github.com/WebAssembly/wabt) - WebAssembly utilities for converting, inspecting, validating, and decompiling modules. +- [wasm-tools](https://github.com/bytecodealliance/wasm-tools) - Bytecode Alliance tools for inspecting, validating, and transforming WebAssembly modules, components, and WIT interfaces. - [webcrack](https://github.com/j4k0xb/webcrack) - Deobfuscates JavaScript and unpacks common bundler output to make code easier to inspect. - [Wireshark](https://www.wireshark.org/) - Captures and dissects network traffic for protocol investigation. @@ -182,11 +196,15 @@ Run samples only in isolated, disposable environments, and follow your organizat - [Binwalk](https://github.com/ReFirmLabs/binwalk) - Identifies embedded files and extracts content from firmware images. - [EMBA](https://github.com/e-m-b-a/emba) - Firmware security analyzer that extracts images, runs static and emulation-based checks, and produces reports and SBOMs. +- [Facedancer](https://github.com/greatscottgadgets/facedancer) - Python USB device-emulation and proxy framework for compatible hardware on GNU/Linux; 3.x does not support legacy scripts and backend capabilities vary. - [FirmAE](https://github.com/pr0v3rbs/FirmAE) - Emulates Linux-based router and IP camera firmware for dynamic analysis, using heuristics that make full-system emulation succeed more often. - [flashrom](https://www.flashrom.org/) - Reads, writes, and verifies flash chips through supported programmers, for dumping or restoring firmware from hardware. +- [Glasgow Interface Explorer](https://github.com/GlasgowEmbedded/glasgow) - Programmable hardware interface explorer with applets for probing and interacting with digital buses; requires Glasgow hardware. - [OFRAK](https://github.com/redballoonsecurity/ofrak) - Framework for unpacking, analyzing, modifying, and repacking binary artifacts. - [OpenOCD](https://openocd.org/) - Connects to hardware debug interfaces for on-chip debugging and flash access. +- [Packetry](https://github.com/greatscottgadgets/packetry) - USB 2.0 protocol analyzer for Cynthion captures and offline PCAP files using the LINKTYPE_USB_2_0 format. - [QEMU](https://www.qemu.org/) - Machine emulator for running firmware and programs built for other architectures, with a GDB stub for debugging. +- [Renode](https://github.com/renode/renode) - Embedded-system simulator with scriptable platform and peripheral models for repeatable firmware debugging and observation. - [sigrok](https://sigrok.org/) - Signal analysis tools and protocol decoders for logic analyzers and related hardware. - [UEFITool](https://github.com/LongSoft/UEFITool) - Parses UEFI firmware structures and extracts or replaces modules. - [unblob](https://github.com/onekey-sec/unblob) - Extracts nested archives, compressed data, and filesystem images from firmware and other files. @@ -196,6 +214,8 @@ Run samples only in isolated, disposable environments, and follow your organizat ![A structured file separated into data layers](.github/section-art/file-formats.png) - [010 Editor](https://www.sweetscape.com/010editor/) - Hex editor with binary templates for inspecting structured files. **Commercial**. +- [Construct](https://github.com/construct/construct) - Declarative Python library for parsing and building binary formats with composable schemas and validation. +- [CyberChef](https://github.com/gchq/CyberChef) - Browser-based workbench for decoding, decompressing, and transforming data with exportable recipes. - [ImHex](https://github.com/WerWolv/ImHex) - Hex editor with a pattern language for describing and exploring binary structures. - [Kaitai Struct](https://kaitai.io/) - Describes binary formats declaratively and generates parsers in multiple languages. @@ -207,6 +227,7 @@ Run samples only in isolated, disposable environments, and follow your organizat - [BinDiff](https://github.com/google/bindiff) - Compares disassembled binaries to identify similar functions and changes between builds. - [Capstone](https://github.com/capstone-engine/capstone) - Multi-architecture disassembly library for building analysis tools. - [Diaphora](https://github.com/joxeankoret/diaphora) - Binary diffing plugin for comparing functions and transferring analysis in IDA. +- [ghidriff](https://github.com/clearbluejar/ghidriff) - Ghidra-based command-line binary diffing engine with JSON, Markdown, and optional HTML reports; requires compatible Ghidra, PyGhidra, and JDK versions. - [Miasm](https://github.com/cea-sec/miasm) - Python reverse-engineering framework with an intermediate representation, emulation, symbolic execution, and assemblers and disassemblers for several architectures. - [Qiling](https://github.com/qilingframework/qiling) - Emulates binaries with operating-system services for scripted runtime analysis. - [Triton](https://github.com/JonathanSalwan/Triton) - Dynamic binary analysis library with symbolic execution, taint analysis, and AST representations of instruction semantics, usable from C++ or Python. @@ -219,9 +240,11 @@ Run samples only in isolated, disposable environments, and follow your organizat Agent integrations expose existing analysis tools or coordinate an investigation. Check the upstream documentation for required software and supported clients; confirm conclusions against the underlying code and runtime evidence. - [Binary Ninja MCP Server](https://docs.binary.ninja/guide/mcp.html) - Built-in Binary Ninja server that exposes functions, symbols, strings, disassembly, IL, and decompiled code to MCP clients; the headless variant requires a Commercial or Ultimate license. +- [Chrome DevTools MCP](https://github.com/ChromeDevTools/chrome-devtools-mcp) - Official MCP server for inspecting Chrome network activity, runtime state, console output, and performance traces; requires Node.js LTS and Chrome. - [Gepetto](https://github.com/JusticeRage/Gepetto) - IDA plugin that asks language models to explain decompiled functions and rename their variables; requires IDA 7.6 or later and access to a supported model provider. - [Ghidra MCP Server](https://github.com/bethington/ghidra-mcp) - Connects AI clients to Ghidra analysis through MCP. - [GhidraMCP](https://github.com/LaurieWired/GhidraMCP) - Ghidra plugin and MCP server for decompiling, listing, and renaming functions and data; the original project from which Ghidra MCP Server was derived. +- [Hex-Rays IDA MCP](https://github.com/HexRaysSA/ida-mcp) - Official IDA MCP server for agent access to binary analysis; requires IDA 9.4+ with idalib, Python 3.11+, and uv, with IDA licensing separate from the server. - [IDA Pro MCP](https://github.com/mrexodia/ida-pro-mcp) - Exposes IDA analysis and scripting capabilities to MCP clients; requires a compatible IDA installation. - [JADX-AI-MCP](https://github.com/zinja-coder/jadx-ai-mcp) - Connects AI clients to JADX for Android application analysis. - [radare2 MCP](https://github.com/radareorg/radare2-mcp) - Provides an MCP interface to radare2 for agent-driven binary analysis. @@ -259,6 +282,8 @@ See the [list structure and maintenance review](docs/list-review.md) for a dated Read [CONTRIBUTING.md](CONTRIBUTING.md) to suggest a resource or fix an entry. Prefer canonical project links and descriptions that explain when a resource is useful. +The [priority-candidate source review](docs/priority-candidates.md) records dated support claims, required environments, and four [reproducible examples](examples/resource-intake/README.md); documented support and reproduced behavior are recorded separately. + Links are checked on pull requests, pushes to the default branch, and weekly by [GitHub Actions](.github/workflows/links.yml). A passing link check confirms availability, not tool quality or maintenance; review archived projects, compatibility changes, and replacements when updating entries. ## License diff --git a/docs/priority-candidates.json b/docs/priority-candidates.json new file mode 100644 index 0000000..c9a8c39 --- /dev/null +++ b/docs/priority-candidates.json @@ -0,0 +1,750 @@ +{ + "research_issue": "https://github.com/morluto/awesome-reverse-engineering/issues/6", + "baseline_entries": 116, + "added_entries": 23, + "reviewed_at": "2026-10-13", + "records": [ + { + "name": "YARA-X", + "url": "https://github.com/VirusTotal/yara-x", + "section": "Malware analysis", + "description": "Rust-based rule-scanning engine with CLI and language bindings; check its documented differences before migrating YARA rules.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "reproduced", + "task": "Rule scanning and migration from YARA", + "incremental_value": "An independently usable successor engine, rather than only a mention in the existing YARA description.", + "constraints": "Most rules can be migrated, but regex, modules, and APIs have documented differences. The smoke check confirms rejection of an unescaped opening brace. BSD-3-Clause.", + "next_check": "Add a paired YARA/YARA-X compatible-rule and incompatible-rule fixture.", + "sources": [ + "https://raw.githubusercontent.com/VirusTotal/yara-x/6d22e07b05439aa761b46761adb64aeafae9dcfc/README.md", + "https://virustotal.github.io/yara-x/docs/writing_rules/differences-with-yara/" + ], + "source_commit": "6d22e07b05439aa761b46761adb64aeafae9dcfc", + "license_api": "BSD-3-Clause", + "license_api_is_complete_audit": false, + "canonical_repo": "VirusTotal/yara-x", + "archived": false, + "default_branch_commit_at": "2026-10-09T14:00:16Z", + "github_release": { + "tag_name": "v1.21.0", + "published_at": "2026-09-29T09:11:32Z", + "html_url": "https://github.com/VirusTotal/yara-x/releases/tag/v1.21.0" + }, + "reproduction": "examples/resource-intake/README.md", + "reproduced_scope": "Python API positive/negative matching and strict-regex CompileError", + "source_browser_urls": [ + "https://github.com/VirusTotal/yara-x/blob/6d22e07b05439aa761b46761adb64aeafae9dcfc/README.md", + "https://virustotal.github.io/yara-x/docs/writing_rules/differences-with-yara/" + ] + }, + { + "name": "CyberChef", + "url": "https://github.com/gchq/CyberChef", + "section": "File formats", + "description": "Browser-based workbench for decoding, decompressing, and transforming data with exportable recipes.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Layered decoding and reproducible recipes", + "incremental_value": "A data-transformation workbench between file identification and deeper analysis; exported recipes can become evidence artifacts.", + "constraints": "Browser use and building from source have different prerequisites. The reviewed source-build instructions require Node 24. Apache-2.0.", + "next_check": "Pin a build and verify an exported recipe against self-authored encoded/compressed input.", + "sources": [ + "https://raw.githubusercontent.com/gchq/CyberChef/efe2781e60fcd02352a44013020607df251c4a86/README.md" + ], + "source_commit": "efe2781e60fcd02352a44013020607df251c4a86", + "license_api": "Apache-2.0", + "license_api_is_complete_audit": false, + "canonical_repo": "gchq/CyberChef", + "archived": false, + "default_branch_commit_at": "2026-10-12T17:13:29Z", + "github_release": { + "tag_name": "v11.5.0", + "published_at": "2026-09-18T11:54:19Z", + "html_url": "https://github.com/gchq/CyberChef/releases/tag/v11.5.0" + }, + "source_browser_urls": [ + "https://github.com/gchq/CyberChef/blob/efe2781e60fcd02352a44013020607df251c4a86/README.md" + ] + }, + { + "name": "Scapy", + "url": "https://github.com/secdev/scapy", + "section": "Web and protocols", + "description": "Python packet framework for dissecting and constructing protocols, reading PCAPs, and scripting network experiments.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "reproduced", + "task": "Programmatic protocol parsing and packet construction", + "incremental_value": "Complements Wireshark inspection and HTTP proxies with repeatable parser/builder experiments and offline PCAP handling.", + "constraints": "Offline parsing differs from live capture or transmission, which have host, permission, and driver requirements. GPL-2.0.", + "next_check": "Add a self-authored custom protocol layer and PCAP fixture; the completed smoke test was offline only.", + "sources": [ + "https://raw.githubusercontent.com/secdev/scapy/5376fcc86aaba7c516fb4aa19576b03b387d217a/README.md" + ], + "source_commit": "5376fcc86aaba7c516fb4aa19576b03b387d217a", + "license_api": "GPL-2.0", + "license_api_is_complete_audit": false, + "canonical_repo": "secdev/scapy", + "archived": false, + "default_branch_commit_at": "2026-10-11T00:35:34Z", + "github_release": { + "tag_name": "v2.8.0", + "published_at": "2026-10-02T16:19:58Z", + "html_url": "https://github.com/secdev/scapy/releases/tag/v2.8.0" + }, + "reproduction": "examples/resource-intake/README.md", + "reproduced_scope": "Offline packet/PCAP round trip and independent IP/UDP checksums; no traffic sent", + "source_browser_urls": [ + "https://github.com/secdev/scapy/blob/5376fcc86aaba7c516fb4aa19576b03b387d217a/README.md" + ] + }, + { + "name": "Construct", + "url": "https://github.com/construct/construct", + "section": "File formats", + "description": "Declarative Python library for parsing and building binary formats with composable schemas and validation.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "reproduced", + "task": "Bidirectional binary schemas", + "incremental_value": "Complements Kaitai with composable Python parsing and building, useful for checking field hypotheses and reconstructing files.", + "constraints": "Schemas must correctly model lengths, context, and validation. GitHub reports NOASSERTION, but the reviewed LICENSE contains MIT terms.", + "next_check": "Reuse a small format fixture for independent golden bytes and a Construct/Kaitai comparison.", + "sources": [ + "https://raw.githubusercontent.com/construct/construct/28c6e5779f2b76d55474914607291a3821502000/README.rst", + "https://raw.githubusercontent.com/construct/construct/28c6e5779f2b76d55474914607291a3821502000/LICENSE" + ], + "source_commit": "28c6e5779f2b76d55474914607291a3821502000", + "license_api": "NOASSERTION", + "license_api_is_complete_audit": false, + "canonical_repo": "construct/construct", + "archived": false, + "default_branch_commit_at": "2025-04-22T05:09:12Z", + "github_release": { + "tag_name": "v2.10.70", + "published_at": "2023-11-30T07:27:37Z", + "html_url": "https://github.com/construct/construct/releases/tag/v2.10.70" + }, + "reproduction": "examples/resource-intake/README.md", + "reproduced_scope": "Golden bytes, parse/build, wrong magic, truncation, trailing-data rejection", + "source_browser_urls": [ + "https://github.com/construct/construct/blob/28c6e5779f2b76d55474914607291a3821502000/README.rst", + "https://github.com/construct/construct/blob/28c6e5779f2b76d55474914607291a3821502000/LICENSE" + ] + }, + { + "name": "Vineflower", + "url": "https://github.com/Vineflower/vineflower", + "section": "Android and managed code", + "description": "Java decompiler focused on modern language features and readable output; requires Java 17 or newer to run current releases.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "reproduced", + "task": "Modern JVM class decompilation", + "incremental_value": "Adds a standalone JVM decompiler beside the existing Android DEX and managed-code workbenches.", + "constraints": "Current releases require Java 17+ to run; host requirements and target class versions are separate. Obfuscation and other Java versions were not tested. Apache-2.0.", + "next_check": "Publish the bounded Java 17 record/switch-expression rebuild case, then extend the target-version matrix.", + "sources": [ + "https://raw.githubusercontent.com/Vineflower/vineflower/b8273988af850e8cfb234ca08d129058502b032f/README.md" + ], + "source_commit": "b8273988af850e8cfb234ca08d129058502b032f", + "license_api": "Apache-2.0", + "license_api_is_complete_audit": false, + "canonical_repo": "Vineflower/vineflower", + "archived": false, + "default_branch_commit_at": "2026-04-29T00:12:35Z", + "github_release": { + "tag_name": "1.12.0", + "published_at": "2026-04-29T00:53:00Z", + "html_url": "https://github.com/Vineflower/vineflower/releases/tag/1.12.0" + }, + "reproduction": "examples/resource-intake/README.md", + "reproduced_scope": "Java 17 record/switch expression, rebuild, main output and five branch vectors", + "source_browser_urls": [ + "https://github.com/Vineflower/vineflower/blob/b8273988af850e8cfb234ca08d129058502b032f/README.md" + ] + }, + { + "name": "ghidriff", + "url": "https://github.com/clearbluejar/ghidriff", + "section": "Diffing and analysis frameworks", + "description": "Ghidra-based command-line binary diffing engine with JSON, Markdown, and optional HTML reports; requires compatible Ghidra, PyGhidra, and JDK versions.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Reviewable patch-diff reports", + "incremental_value": "Adds CLI automation and JSON/Markdown/optional HTML reports to the existing pairwise diffing tools.", + "constraints": "Ghidra, PyGhidra/JPype, and the matching JDK must be pinned. The reviewed development target is Ghidra 12.0.4 with PyGhidra 3.x; older examples do not prove broad compatibility. GPL-3.0.", + "next_check": "Diff self-built v1/v2 binaries with known added, removed, and changed functions, checking both JSON and Markdown.", + "sources": [ + "https://raw.githubusercontent.com/clearbluejar/ghidriff/4f5d895fcbb1eacd65efd81145922c15bb7e741d/README.md" + ], + "source_commit": "4f5d895fcbb1eacd65efd81145922c15bb7e741d", + "license_api": "GPL-3.0", + "license_api_is_complete_audit": false, + "canonical_repo": "clearbluejar/ghidriff", + "archived": false, + "default_branch_commit_at": "2026-05-11T17:17:50Z", + "github_release": { + "tag_name": "v1.0.0", + "published_at": "2025-07-04T14:24:10Z", + "html_url": "https://github.com/clearbluejar/ghidriff/releases/tag/v1.0.0" + }, + "source_browser_urls": [ + "https://github.com/clearbluejar/ghidriff/blob/4f5d895fcbb1eacd65efd81145922c15bb7e741d/README.md" + ] + }, + { + "name": "oletools", + "url": "https://github.com/decalage2/oletools", + "section": "Malware analysis", + "description": "Python tools for inspecting Office, OLE, and RTF files and extracting macros, embedded objects, and other document artifacts.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Office, OLE, and RTF analysis", + "incremental_value": "Fills the document-input gap: macro extraction, embedded objects, and related document artifacts rather than predominantly PE inputs.", + "constraints": "Coverage varies by subtool; XLM workflows have optional dependencies. README news mentions 0.60.3 while the latest GitHub release endpoint returns 0.60.2. Own code uses BSD-style terms, with MIT/third-party exceptions.", + "next_check": "Pin the actual distribution version and verify extraction from a self-authored document.", + "sources": [ + "https://raw.githubusercontent.com/decalage2/oletools/ec10260989dbc48b9109e3d05d22beee19cf2333/README.md", + "https://raw.githubusercontent.com/decalage2/oletools/ec10260989dbc48b9109e3d05d22beee19cf2333/LICENSE.md" + ], + "source_commit": "ec10260989dbc48b9109e3d05d22beee19cf2333", + "license_api": "NOASSERTION", + "license_api_is_complete_audit": false, + "canonical_repo": "decalage2/oletools", + "archived": false, + "default_branch_commit_at": "2026-01-26T22:51:36Z", + "github_release": { + "tag_name": "v0.60.2", + "published_at": "2024-07-02T14:57:56Z", + "html_url": "https://github.com/decalage2/oletools/releases/tag/v0.60.2" + }, + "source_browser_urls": [ + "https://github.com/decalage2/oletools/blob/ec10260989dbc48b9109e3d05d22beee19cf2333/README.md", + "https://github.com/decalage2/oletools/blob/ec10260989dbc48b9109e3d05d22beee19cf2333/LICENSE.md" + ] + }, + { + "name": "AssetRipper", + "url": "https://github.com/AssetRipper/AssetRipper", + "section": "Language runtimes and packagers", + "description": "Unity asset-analysis and export tool with version-dependent support and additional paid Premium features.", + "research_priority": "A0", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Unity assets and dependencies", + "incremental_value": "Complements Cpp2IL/Il2CppDumper code and metadata analysis with asset inspection and export.", + "constraints": "The README claims Unity 3.5.0\u20136000.4.X, with varying support quality. The GPL-3.0 base and paid Premium features must be distinguished.", + "next_check": "Export a self-built Unity project and compare assets and references against the original.", + "sources": [ + "https://raw.githubusercontent.com/AssetRipper/AssetRipper/beeb50ee1c223e856c860caa338e5309404956a3/README.md", + "https://assetripper.com/premium/features/" + ], + "source_commit": "beeb50ee1c223e856c860caa338e5309404956a3", + "license_api": "GPL-3.0", + "license_api_is_complete_audit": false, + "canonical_repo": "AssetRipper/AssetRipper", + "archived": false, + "default_branch_commit_at": "2026-10-09T06:46:08Z", + "github_release": { + "tag_name": "2.0.0", + "published_at": "2026-08-24T19:29:27Z", + "html_url": "https://github.com/AssetRipper/AssetRipper/releases/tag/2.0.0" + }, + "source_browser_urls": [ + "https://github.com/AssetRipper/AssetRipper/blob/beeb50ee1c223e856c860caa338e5309404956a3/README.md", + "https://assetripper.com/premium/features/" + ] + }, + { + "name": "Speakeasy", + "url": "https://github.com/mandiant/speakeasy", + "section": "Malware analysis", + "description": "Windows emulation framework for PE files, drivers, and shellcode that produces API reports within a modeled runtime.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Modeled Windows execution and API reports", + "incremental_value": "A smaller emulation/reporting path beside full sandbox VMs.", + "constraints": "API, filesystem, registry, and runtime behavior are modeled. Signature-only stubs can report success without real side effects; unknown APIs may stop execution. MIT.", + "next_check": "Use a self-built PE to contrast implemented handlers, stubs, and unsupported paths.", + "sources": [ + "https://raw.githubusercontent.com/mandiant/speakeasy/aa9f22643f4519e0555141cd16ee25eb971b5518/README.md", + "https://raw.githubusercontent.com/mandiant/speakeasy/aa9f22643f4519e0555141cd16ee25eb971b5518/doc/limitations.md" + ], + "source_commit": "aa9f22643f4519e0555141cd16ee25eb971b5518", + "license_api": "MIT", + "license_api_is_complete_audit": false, + "canonical_repo": "mandiant/speakeasy", + "archived": false, + "default_branch_commit_at": "2026-10-11T19:30:16Z", + "github_release": { + "tag_name": "v1.6.1", + "published_at": "2025-02-19T15:24:02Z", + "html_url": "https://github.com/mandiant/speakeasy/releases/tag/v1.6.1" + }, + "source_browser_urls": [ + "https://github.com/mandiant/speakeasy/blob/aa9f22643f4519e0555141cd16ee25eb971b5518/README.md", + "https://github.com/mandiant/speakeasy/blob/aa9f22643f4519e0555141cd16ee25eb971b5518/doc/limitations.md" + ] + }, + { + "name": "strace", + "url": "https://github.com/strace/strace", + "section": "Dynamic instrumentation and tracing", + "description": "Linux system-call tracer for inspecting process I/O, signals, syscall arguments, and return values.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Linux syscall and signal observation", + "incremental_value": "A practical first step for mapping process I/O before using a debugger or instrumentation framework.", + "constraints": "Linux ptrace permissions and container policy affect attachment. It is syscall-level tracing. COPYING specifies LGPL-2.1-or-later for the main program, with separate test/UAPI terms.", + "next_check": "Trace known file/network operations in a self-authored program and check arguments and returns.", + "sources": [ + "https://raw.githubusercontent.com/strace/strace/6cba874722375675e97f68367674c1cde3cce77c/README.md", + "https://raw.githubusercontent.com/strace/strace/6cba874722375675e97f68367674c1cde3cce77c/COPYING" + ], + "source_commit": "6cba874722375675e97f68367674c1cde3cce77c", + "license_api": "NOASSERTION", + "license_api_is_complete_audit": false, + "canonical_repo": "strace/strace", + "archived": false, + "default_branch_commit_at": "2026-10-11T08:00:00Z", + "github_release": { + "tag_name": "v7.2", + "published_at": "2026-08-18T11:33:21Z", + "html_url": "https://github.com/strace/strace/releases/tag/v7.2" + }, + "source_browser_urls": [ + "https://github.com/strace/strace/blob/6cba874722375675e97f68367674c1cde3cce77c/README.md", + "https://github.com/strace/strace/blob/6cba874722375675e97f68367674c1cde3cce77c/COPYING" + ] + }, + { + "name": "checksec", + "url": "https://github.com/slimm609/checksec", + "section": "File identification and triage", + "description": "Checks ELF security properties such as PIE, RELRO, stack canaries, and non-executable stacks; mitigation flags are not a vulnerability verdict.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Executable mitigation triage", + "incremental_value": "A direct entry point for understanding PIE, RELRO, canaries, and NX before deeper analysis.", + "constraints": "Mitigation flags are not a vulnerability verdict. Version 3.x moved from Bash to Go; the reviewed README/version text and release 3.2.0 differ. LICENSE has BSD-3-Clause-style terms.", + "next_check": "Compare differently compiled ELF fixtures against independent readelf results.", + "sources": [ + "https://raw.githubusercontent.com/slimm609/checksec/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/README.md", + "https://raw.githubusercontent.com/slimm609/checksec/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/LICENSE" + ], + "source_commit": "0ee6a029b99be2f7d664b0b08881cfc7a83e5122", + "license_api": "NOASSERTION", + "license_api_is_complete_audit": false, + "canonical_repo": "slimm609/checksec", + "archived": false, + "default_branch_commit_at": "2026-09-24T09:56:40Z", + "github_release": { + "tag_name": "3.2.0", + "published_at": "2026-06-17T09:22:41Z", + "html_url": "https://github.com/slimm609/checksec/releases/tag/3.2.0" + }, + "source_browser_urls": [ + "https://github.com/slimm609/checksec/blob/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/README.md", + "https://github.com/slimm609/checksec/blob/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/LICENSE" + ] + }, + { + "name": "wasm-tools", + "url": "https://github.com/bytecodealliance/wasm-tools", + "section": "Web and protocols", + "description": "Bytecode Alliance tools for inspecting, validating, and transforming WebAssembly modules, components, and WIT interfaces.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Wasm components and WIT inspection", + "incremental_value": "Adds Component Model/WIT tasks beyond the existing WABT entry.", + "constraints": "Pin the CLI or Rust library version; validation and transformation do not restore the original source. The reviewed README declares Apache-2.0, Apache-2.0 with LLVM exceptions, and MIT licensing, rather than Apache-2.0 alone.", + "next_check": "Use one self-authored core module and one component/WIT fixture.", + "sources": [ + "https://raw.githubusercontent.com/bytecodealliance/wasm-tools/e578749bd281dd8a5ed4c73c3f7683edd409bde3/README.md" + ], + "source_commit": "e578749bd281dd8a5ed4c73c3f7683edd409bde3", + "license_api": "Apache-2.0", + "license_api_is_complete_audit": false, + "canonical_repo": "bytecodealliance/wasm-tools", + "archived": false, + "default_branch_commit_at": "2026-10-12T20:39:39Z", + "github_release": { + "tag_name": "v1.261.0", + "published_at": "2026-10-02T14:52:21Z", + "html_url": "https://github.com/bytecodealliance/wasm-tools/releases/tag/v1.261.0" + }, + "source_browser_urls": [ + "https://github.com/bytecodealliance/wasm-tools/blob/e578749bd281dd8a5ed4c73c3f7683edd409bde3/README.md" + ] + }, + { + "name": "AsmResolver", + "url": "https://github.com/Washi1337/AsmResolver", + "section": "Android and managed code", + "description": "Library for reading, modifying, and rebuilding native and managed PE files, including .NET metadata and application bundles.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Managed PE and metadata reconstruction", + "incremental_value": "Complements decompilers and general binary libraries with .NET metadata, application-bundle, and rebuilding APIs.", + "constraints": "A developer library rather than a turnkey GUI. The v5-to-v6 migration and target-format coverage need explicit versions. MIT.", + "next_check": "Modify a self-built managed PE resource/metadata field, rebuild, and verify loading.", + "sources": [ + "https://raw.githubusercontent.com/Washi1337/AsmResolver/0715000c1b3a5104531d5ff189a14ebef0a9d5ac/README.md" + ], + "source_commit": "0715000c1b3a5104531d5ff189a14ebef0a9d5ac", + "license_api": "MIT", + "license_api_is_complete_audit": false, + "canonical_repo": "Washi1337/AsmResolver", + "archived": false, + "default_branch_commit_at": "2026-08-29T16:49:12Z", + "github_release": { + "tag_name": "v6.0.1", + "published_at": "2026-07-25T18:09:55Z", + "html_url": "https://github.com/Washi1337/AsmResolver/releases/tag/v6.0.1" + }, + "source_browser_urls": [ + "https://github.com/Washi1337/AsmResolver/blob/0715000c1b3a5104531d5ff189a14ebef0a9d5ac/README.md" + ] + }, + { + "name": "Blutter", + "url": "https://github.com/worawit/blutter", + "section": "Language runtimes and packagers", + "description": "Flutter AOT analysis tool for recent Android arm64 libapp.so files, producing annotated assembly, object-pool dumps, and Frida templates.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Flutter/Dart AOT analysis", + "incremental_value": "Fills the missing Flutter path with annotated assembly, object-pool data, and Frida templates.", + "constraints": "Currently targets recent Dart versions in Android arm64 libapp.so. It is not a general Dart source decompiler. Building requires C++20 formatting support, such as GCC 13+ or Clang 16+. MIT.", + "next_check": "Pin Flutter/Dart/ABI for a self-built APK and locate a known string and function.", + "sources": [ + "https://raw.githubusercontent.com/worawit/blutter/4a60ac648bf448c5a7596437243bcd0b9376fdf0/README.md" + ], + "source_commit": "4a60ac648bf448c5a7596437243bcd0b9376fdf0", + "license_api": "MIT", + "license_api_is_complete_audit": false, + "canonical_repo": "worawit/blutter", + "archived": false, + "default_branch_commit_at": "2026-08-18T15:33:58Z", + "github_release": { + "_error": "HTTP 404" + }, + "source_browser_urls": [ + "https://github.com/worawit/blutter/blob/4a60ac648bf448c5a7596437243bcd0b9376fdf0/README.md" + ] + }, + { + "name": "Renode", + "url": "https://github.com/renode/renode", + "section": "Firmware and hardware", + "description": "Embedded-system simulator with scriptable platform and peripheral models for repeatable firmware debugging and observation.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Scriptable MCU and peripheral models", + "incremental_value": "Adds repeatable board/peripheral observation and MMIO experiments beside QEMU and Linux-firmware tools.", + "constraints": "ISA support does not mean every board is modeled. Correct platform descriptions and peripherals are required. Portable and non-portable host packages differ; the reviewed build/non-portable path needs .NET 6+. MIT core, separate dependency licenses.", + "next_check": "Pin a supported board model, firmware, and script; compare known UART or MMIO activity.", + "sources": [ + "https://raw.githubusercontent.com/renode/renode/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/README.md", + "https://raw.githubusercontent.com/renode/renode/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/LICENSE" + ], + "source_commit": "59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8", + "license_api": "NOASSERTION", + "license_api_is_complete_audit": false, + "canonical_repo": "renode/renode", + "archived": false, + "default_branch_commit_at": "2026-10-12T12:02:47Z", + "github_release": { + "tag_name": "v1.17.0", + "published_at": "2026-09-07T20:55:43Z", + "html_url": "https://github.com/renode/renode/releases/tag/v1.17.0" + }, + "source_browser_urls": [ + "https://github.com/renode/renode/blob/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/README.md", + "https://github.com/renode/renode/blob/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/LICENSE" + ] + }, + { + "name": "Facedancer", + "url": "https://github.com/greatscottgadgets/facedancer", + "section": "Firmware and hardware", + "description": "Python USB device-emulation and proxy framework for compatible hardware on GNU/Linux; 3.x does not support legacy scripts and backend capabilities vary.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "USB device emulation and proxy experiments", + "incremental_value": "Turns protocol hypotheses into controlled device behavior rather than observation alone.", + "constraints": "Requires compatible boards/backends. The reviewed README states GNU/Linux host support and no Windows support for 3.0; legacy scripts are incompatible. Endpoint, proxy, and host-mode limits vary by board. BSD-3-Clause.", + "next_check": "Start with a current example on one Linux/board/backend combination and verify enumeration/endpoints.", + "sources": [ + "https://raw.githubusercontent.com/greatscottgadgets/facedancer/9f1298856e8ec6871cca995ded3076ab89dd72cd/README.md" + ], + "source_commit": "9f1298856e8ec6871cca995ded3076ab89dd72cd", + "license_api": "BSD-3-Clause", + "license_api_is_complete_audit": false, + "canonical_repo": "greatscottgadgets/facedancer", + "archived": false, + "default_branch_commit_at": "2026-05-22T08:51:22Z", + "github_release": { + "tag_name": "3.1.3", + "published_at": "2026-05-22T08:52:59Z", + "html_url": "https://github.com/greatscottgadgets/facedancer/releases/tag/3.1.3" + }, + "source_browser_urls": [ + "https://github.com/greatscottgadgets/facedancer/blob/9f1298856e8ec6871cca995ded3076ab89dd72cd/README.md" + ] + }, + { + "name": "Packetry", + "url": "https://github.com/greatscottgadgets/packetry", + "section": "Firmware and hardware", + "description": "USB 2.0 protocol analyzer for Cynthion captures and offline PCAP files using the LINKTYPE_USB_2_0 format.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "USB 2.0 capture analysis", + "incremental_value": "Adds a USB-bus-focused interface for Cynthion and offline captures.", + "constraints": "Live capture needs Cynthion; existing LINKTYPE_USB_2_0 PCAPs can be read without the board. USB 2.0 scope, not USB 3.x. Source build requires Rust 1.93+ and GTK4. BSD-3-Clause.", + "next_check": "Verify a shareable offline capture first, then record live hardware evidence separately.", + "sources": [ + "https://raw.githubusercontent.com/greatscottgadgets/packetry/5a7f98b77aa00519ecf7e811c9f26c6534966d05/README.md" + ], + "source_commit": "5a7f98b77aa00519ecf7e811c9f26c6534966d05", + "license_api": "BSD-3-Clause", + "license_api_is_complete_audit": false, + "canonical_repo": "greatscottgadgets/packetry", + "archived": false, + "default_branch_commit_at": "2026-08-27T10:14:04Z", + "github_release": { + "tag_name": "v0.5.0", + "published_at": "2025-09-30T15:23:09Z", + "html_url": "https://github.com/greatscottgadgets/packetry/releases/tag/v0.5.0" + }, + "source_browser_urls": [ + "https://github.com/greatscottgadgets/packetry/blob/5a7f98b77aa00519ecf7e811c9f26c6534966d05/README.md" + ] + }, + { + "name": "Glasgow Interface Explorer", + "url": "https://github.com/GlasgowEmbedded/glasgow", + "section": "Firmware and hardware", + "description": "Programmable hardware interface explorer with applets for probing and interacting with digital buses; requires Glasgow hardware.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Programmable digital-interface experiments", + "incremental_value": "Adds applet-driven interaction with buses such as UART, SPI, I2C, JTAG, and SWD.", + "constraints": "Requires Glasgow hardware and matching software/gateware/applets. Hardware capability is not a software-only feature. 0BSD.", + "next_check": "Document one interface with board revision, applet, electrical setup, and observable output.", + "sources": [ + "https://raw.githubusercontent.com/GlasgowEmbedded/glasgow/128099194588b0e6b297541f7616601348a50ae1/README.md", + "https://glasgow-embedded.org/" + ], + "source_commit": "128099194588b0e6b297541f7616601348a50ae1", + "license_api": "0BSD", + "license_api_is_complete_audit": false, + "canonical_repo": "GlasgowEmbedded/glasgow", + "archived": false, + "default_branch_commit_at": "2026-10-12T18:31:57Z", + "github_release": { + "_error": "HTTP 404" + }, + "source_browser_urls": [ + "https://github.com/GlasgowEmbedded/glasgow/blob/128099194588b0e6b297541f7616601348a50ae1/README.md", + "https://glasgow-embedded.org/" + ] + }, + { + "name": "pymobiledevice3", + "url": "https://github.com/doronz88/pymobiledevice3", + "section": "iOS and macOS", + "description": "CLI and Python API for iOS device services, including logs, crash reports, packet capture, and developer tooling with version-dependent tunnel requirements.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "iOS device-side observation", + "incremental_value": "Adds device services such as logs, crash reports, PCAP, DVT, and WebInspector beside static ipsw and Frida workflows.", + "constraints": "Python 3.9+, a pairable device, and service-specific host/iOS requirements. iOS 17+ developer services use tunnels; do not generalize this to universal jailbreak/root requirements. GPL-3.0.", + "next_check": "Record one host/iOS/service combination and verify logs or WebInspector output.", + "sources": [ + "https://raw.githubusercontent.com/doronz88/pymobiledevice3/3a173489266e23b5574a89b3c152fb290b760024/README.md", + "https://doronz88.github.io/pymobiledevice3/guides/ios17-tunnels/", + "https://raw.githubusercontent.com/doronz88/pymobiledevice3/3a173489266e23b5574a89b3c152fb290b760024/pyproject.toml" + ], + "source_commit": "3a173489266e23b5574a89b3c152fb290b760024", + "license_api": "GPL-3.0", + "license_api_is_complete_audit": false, + "canonical_repo": "doronz88/pymobiledevice3", + "archived": false, + "default_branch_commit_at": "2026-10-12T21:42:09Z", + "github_release": { + "tag_name": "v11.28.2", + "published_at": "2026-10-12T07:51:18Z", + "html_url": "https://github.com/doronz88/pymobiledevice3/releases/tag/v11.28.2" + }, + "source_browser_urls": [ + "https://github.com/doronz88/pymobiledevice3/blob/3a173489266e23b5574a89b3c152fb290b760024/README.md", + "https://doronz88.github.io/pymobiledevice3/guides/ios17-tunnels/", + "https://github.com/doronz88/pymobiledevice3/blob/3a173489266e23b5574a89b3c152fb290b760024/pyproject.toml" + ] + }, + { + "name": "Hex-Rays IDA MCP", + "url": "https://github.com/HexRaysSA/ida-mcp", + "section": "AI-assisted analysis", + "description": "Official IDA MCP server for agent access to binary analysis; requires IDA 9.4+ with idalib, Python 3.11+, and uv, with IDA licensing separate from the server.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Official IDA agent integration", + "incremental_value": "An official implementation with distinct requirements beside the existing community server.", + "constraints": "Requires IDA 9.4+, idalib, Python 3.11+, and uv. The MIT server license does not provide an IDA license. Official and community implementations need clear names.", + "next_check": "On a licensed host, inspect a self-built binary and retain raw function/xref responses and client versions.", + "sources": [ + "https://raw.githubusercontent.com/HexRaysSA/ida-mcp/df6de7985b534a964c125d5a86e41b26b17b14f6/README.md" + ], + "source_commit": "df6de7985b534a964c125d5a86e41b26b17b14f6", + "license_api": "MIT", + "license_api_is_complete_audit": false, + "canonical_repo": "HexRaysSA/ida-mcp", + "archived": false, + "default_branch_commit_at": "2026-10-08T20:24:10Z", + "github_release": { + "tag_name": "v20261008.0.1", + "published_at": "2026-10-08T20:24:24Z", + "html_url": "https://github.com/HexRaysSA/ida-mcp/releases/tag/v20261008.0.1" + }, + "source_browser_urls": [ + "https://github.com/HexRaysSA/ida-mcp/blob/df6de7985b534a964c125d5a86e41b26b17b14f6/README.md" + ] + }, + { + "name": "Chrome DevTools MCP", + "url": "https://github.com/ChromeDevTools/chrome-devtools-mcp", + "section": "AI-assisted analysis", + "description": "Official MCP server for inspecting Chrome network activity, runtime state, console output, and performance traces; requires Node.js LTS and Chrome.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Official browser inspection for agents", + "incremental_value": "Makes network, console, runtime, and performance evidence accessible through a documented agent interface.", + "constraints": "Requires Node LTS and a supported Chrome installation; arbitrary Chromium forks are not proven compatible. Preserve raw responses/traces alongside interpretations. Apache-2.0.", + "next_check": "Inspect a self-authored local app and retain browser/client versions and original request/console evidence.", + "sources": [ + "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/d250bc5cd14d14dc79680967a41158f8782a8bb3/README.md" + ], + "source_commit": "d250bc5cd14d14dc79680967a41158f8782a8bb3", + "license_api": "Apache-2.0", + "license_api_is_complete_audit": false, + "canonical_repo": "ChromeDevTools/chrome-devtools-mcp", + "archived": false, + "default_branch_commit_at": "2026-10-12T17:43:36Z", + "github_release": { + "tag_name": "chrome-devtools-mcp-v1.10.1", + "published_at": "2026-09-23T10:37:16Z", + "html_url": "https://github.com/ChromeDevTools/chrome-devtools-mcp/releases/tag/chrome-devtools-mcp-v1.10.1" + }, + "source_browser_urls": [ + "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/d250bc5cd14d14dc79680967a41158f8782a8bb3/README.md" + ] + }, + { + "name": "Corkami", + "url": "https://github.com/corkami/pics", + "section": "Learning", + "description": "Visual references and posters explaining binary formats and file structures, including executable-format layouts.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Visual binary-format references", + "incremental_value": "Adds stable format-layout references rather than another general introductory course.", + "constraints": "Reference material, not a software tool. Commit age alone does not invalidate it. Link to the author source; no image redistribution license was established by GitHub metadata.", + "next_check": "Select a relevant diagram and check its format/version scope against the corresponding specification.", + "sources": [ + "https://raw.githubusercontent.com/corkami/pics/669facbb0b6a977f959ae6473b8346e98cf23f53/README.md" + ], + "source_commit": "669facbb0b6a977f959ae6473b8346e98cf23f53", + "license_api": null, + "license_api_is_complete_audit": false, + "canonical_repo": "corkami/pics", + "archived": false, + "default_branch_commit_at": "2024-02-18T13:37:12Z", + "github_release": { + "_error": "HTTP 404" + }, + "source_browser_urls": [ + "https://github.com/corkami/pics/blob/669facbb0b6a977f959ae6473b8346e98cf23f53/README.md" + ] + }, + { + "name": "JEB", + "url": "https://www.pnfsoftware.com/jeb/", + "section": "Android and managed code", + "description": "Android decompiler and analysis platform with edition-dependent native analysis and official MCP capabilities that vary by version; **commercial**.", + "research_priority": "A1", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "evidence_type": "documented", + "task": "Commercial Android/native analysis and official MCP", + "incremental_value": "Adds a professional commercial option and its official integration as capabilities of the same product.", + "constraints": "License/edition differences matter. GUI MCP predates headless CLI support; CLI MCP arrived in 5.41, and run_apk_analysis in 5.47. The reviewed changelog is 5.48. Do not describe all MCP functionality as introduced in 5.41.", + "next_check": "Use an appropriate licensed edition with a self-built APK and retain versioned analysis/tool responses.", + "sources": [ + "https://www.pnfsoftware.com/jeb/", + "https://www.pnfsoftware.com/jeb/manual/mcp/", + "https://www.pnfsoftware.com/jeb/changelog" + ], + "source_commit": null, + "license_api": null, + "license_api_is_complete_audit": false, + "source_browser_urls": [ + "https://www.pnfsoftware.com/jeb/", + "https://www.pnfsoftware.com/jeb/manual/mcp/", + "https://www.pnfsoftware.com/jeb/changelog" + ] + } + ], + "link_exceptions": [ + { + "url": "https://developer.chrome.com/docs/devtools/", + "checked_at": "2026-10-13", + "next_review": "2026-11-13", + "automated_result": "HTTP 403", + "evidence": "Official page content retrieved during review; exact URL excluded from lychee, not the whole domain." + } + ] +} diff --git a/docs/priority-candidates.md b/docs/priority-candidates.md new file mode 100644 index 0000000..9a9ef73 --- /dev/null +++ b/docs/priority-candidates.md @@ -0,0 +1,55 @@ +# Priority-candidate source review + +Reviewed on **2026-10-13 UTC**, following [research issue #6](https://github.com/morluto/awesome-reverse-engineering/issues/6). This intake adds the 23 A0/A1 resources to the 116-entry baseline, for 139 catalog entries. + +The review used three passes: canonical repositories and pinned source snapshots; task/claim/host/target/license scrutiny; then the final catalog diff, examples, and link checks. All 22 GitHub repositories were rechecked as unarchived and enabled. JEB was reviewed through the vendor product page, manual, and changelog. + +**Reproduced** means only the bounded case described in [the examples](../examples/resource-intake/README.md), not the full upstream support matrix. Four resources have this status. The other nineteen are **documented**; hardware, iOS-device, commercial-tool, and browser-agent behavior was not executed. Recent commits, HTTP success, and SPDX metadata alone do not establish quality or compatibility. + +The [machine-readable snapshot](priority-candidates.json) retains source revisions, activity/release observations, constraints, evidence scope, and a next review date of **2026-11-13**. GitHub license metadata is preserved as an observation, not a complete license audit. The earlier comparison in `list-review.md` remains a historical snapshot. + +## Intake and selection + +| Resource / primary evidence | Task and incremental value | Conditions and evidence | +| --- | --- | --- | +| [YARA-X](https://raw.githubusercontent.com/VirusTotal/yara-x/6d22e07b05439aa761b46761adb64aeafae9dcfc/README.md) · [source 1](https://virustotal.github.io/yara-x/docs/writing_rules/differences-with-yara/) | **Malware analysis:** Rule scanning and migration from YARA. An independently usable successor engine, rather than only a mention in the existing YARA description. | Most rules can be migrated, but regex, modules, and APIs have documented differences. The smoke check confirms rejection of an unescaped opening brace. BSD-3-Clause. **Reproduced.** Python API positive/negative matching and strict-regex CompileError. | +| [CyberChef](https://raw.githubusercontent.com/gchq/CyberChef/efe2781e60fcd02352a44013020607df251c4a86/README.md) | **File formats:** Layered decoding and reproducible recipes. A data-transformation workbench between file identification and deeper analysis; exported recipes can become evidence artifacts. | Browser use and building from source have different prerequisites. The reviewed source-build instructions require Node 24. Apache-2.0. **Documented.** | +| [Scapy](https://raw.githubusercontent.com/secdev/scapy/5376fcc86aaba7c516fb4aa19576b03b387d217a/README.md) | **Web and protocols:** Programmatic protocol parsing and packet construction. Complements Wireshark inspection and HTTP proxies with repeatable parser/builder experiments and offline PCAP handling. | Offline parsing differs from live capture or transmission, which have host, permission, and driver requirements. GPL-2.0. **Reproduced.** Offline packet/PCAP round trip and independent IP/UDP checksums; no traffic sent. | +| [Construct](https://raw.githubusercontent.com/construct/construct/28c6e5779f2b76d55474914607291a3821502000/README.rst) · [source 1](https://raw.githubusercontent.com/construct/construct/28c6e5779f2b76d55474914607291a3821502000/LICENSE) | **File formats:** Bidirectional binary schemas. Complements Kaitai with composable Python parsing and building, useful for checking field hypotheses and reconstructing files. | Schemas must correctly model lengths, context, and validation. GitHub reports NOASSERTION, but the reviewed LICENSE contains MIT terms. **Reproduced.** Golden bytes, parse/build, wrong magic, truncation, trailing-data rejection. | +| [Vineflower](https://raw.githubusercontent.com/Vineflower/vineflower/b8273988af850e8cfb234ca08d129058502b032f/README.md) | **Android and managed code:** Modern JVM class decompilation. Adds a standalone JVM decompiler beside the existing Android DEX and managed-code workbenches. | Current releases require Java 17+ to run; host requirements and target class versions are separate. Obfuscation and other Java versions were not tested. Apache-2.0. **Reproduced.** Java 17 record/switch expression, rebuild, main output and five branch vectors. | +| [ghidriff](https://raw.githubusercontent.com/clearbluejar/ghidriff/4f5d895fcbb1eacd65efd81145922c15bb7e741d/README.md) | **Diffing and analysis frameworks:** Reviewable patch-diff reports. Adds CLI automation and JSON/Markdown/optional HTML reports to the existing pairwise diffing tools. | Ghidra, PyGhidra/JPype, and the matching JDK must be pinned. The reviewed development target is Ghidra 12.0.4 with PyGhidra 3.x; older examples do not prove broad compatibility. GPL-3.0. **Documented.** | +| [oletools](https://raw.githubusercontent.com/decalage2/oletools/ec10260989dbc48b9109e3d05d22beee19cf2333/README.md) · [source 1](https://raw.githubusercontent.com/decalage2/oletools/ec10260989dbc48b9109e3d05d22beee19cf2333/LICENSE.md) | **Malware analysis:** Office, OLE, and RTF analysis. Fills the document-input gap: macro extraction, embedded objects, and related document artifacts rather than predominantly PE inputs. | Coverage varies by subtool; XLM workflows have optional dependencies. README news mentions 0.60.3 while the latest GitHub release endpoint returns 0.60.2. Own code uses BSD-style terms, with MIT/third-party exceptions. **Documented.** | +| [AssetRipper](https://raw.githubusercontent.com/AssetRipper/AssetRipper/beeb50ee1c223e856c860caa338e5309404956a3/README.md) · [source 1](https://assetripper.com/premium/features/) | **Language runtimes and packagers:** Unity assets and dependencies. Complements Cpp2IL/Il2CppDumper code and metadata analysis with asset inspection and export. | The README claims Unity 3.5.0–6000.4.X, with varying support quality. The GPL-3.0 base and paid Premium features must be distinguished. **Documented.** | +| [Speakeasy](https://raw.githubusercontent.com/mandiant/speakeasy/aa9f22643f4519e0555141cd16ee25eb971b5518/README.md) · [source 1](https://raw.githubusercontent.com/mandiant/speakeasy/aa9f22643f4519e0555141cd16ee25eb971b5518/doc/limitations.md) | **Malware analysis:** Modeled Windows execution and API reports. A smaller emulation/reporting path beside full sandbox VMs. | API, filesystem, registry, and runtime behavior are modeled. Signature-only stubs can report success without real side effects; unknown APIs may stop execution. MIT. **Documented.** | +| [strace](https://raw.githubusercontent.com/strace/strace/6cba874722375675e97f68367674c1cde3cce77c/README.md) · [source 1](https://raw.githubusercontent.com/strace/strace/6cba874722375675e97f68367674c1cde3cce77c/COPYING) | **Dynamic instrumentation and tracing:** Linux syscall and signal observation. A practical first step for mapping process I/O before using a debugger or instrumentation framework. | Linux ptrace permissions and container policy affect attachment. It is syscall-level tracing. COPYING specifies LGPL-2.1-or-later for the main program, with separate test/UAPI terms. **Documented.** | +| [checksec](https://raw.githubusercontent.com/slimm609/checksec/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/README.md) · [source 1](https://raw.githubusercontent.com/slimm609/checksec/0ee6a029b99be2f7d664b0b08881cfc7a83e5122/LICENSE) | **File identification and triage:** Executable mitigation triage. A direct entry point for understanding PIE, RELRO, canaries, and NX before deeper analysis. | Mitigation flags are not a vulnerability verdict. Version 3.x moved from Bash to Go; the reviewed README/version text and release 3.2.0 differ. LICENSE has BSD-3-Clause-style terms. **Documented.** | +| [wasm-tools](https://raw.githubusercontent.com/bytecodealliance/wasm-tools/e578749bd281dd8a5ed4c73c3f7683edd409bde3/README.md) | **Web and protocols:** Wasm components and WIT inspection. Adds Component Model/WIT tasks beyond the existing WABT entry. | Pin the CLI or Rust library version; validation and transformation do not restore the original source. The reviewed README declares Apache-2.0, Apache-2.0 with LLVM exceptions, and MIT licensing, rather than Apache-2.0 alone. **Documented.** | +| [AsmResolver](https://raw.githubusercontent.com/Washi1337/AsmResolver/0715000c1b3a5104531d5ff189a14ebef0a9d5ac/README.md) | **Android and managed code:** Managed PE and metadata reconstruction. Complements decompilers and general binary libraries with .NET metadata, application-bundle, and rebuilding APIs. | A developer library rather than a turnkey GUI. The v5-to-v6 migration and target-format coverage need explicit versions. MIT. **Documented.** | +| [Blutter](https://raw.githubusercontent.com/worawit/blutter/4a60ac648bf448c5a7596437243bcd0b9376fdf0/README.md) | **Language runtimes and packagers:** Flutter/Dart AOT analysis. Fills the missing Flutter path with annotated assembly, object-pool data, and Frida templates. | Currently targets recent Dart versions in Android arm64 libapp.so. It is not a general Dart source decompiler. Building requires C++20 formatting support, such as GCC 13+ or Clang 16+. MIT. **Documented.** | +| [Renode](https://raw.githubusercontent.com/renode/renode/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/README.md) · [source 1](https://raw.githubusercontent.com/renode/renode/59f8f5d0b1efdbacf1800dbef55fc1959c9a4cc8/LICENSE) | **Firmware and hardware:** Scriptable MCU and peripheral models. Adds repeatable board/peripheral observation and MMIO experiments beside QEMU and Linux-firmware tools. | ISA support does not mean every board is modeled. Correct platform descriptions and peripherals are required. Portable and non-portable host packages differ; the reviewed build/non-portable path needs .NET 6+. MIT core, separate dependency licenses. **Documented.** | +| [Facedancer](https://raw.githubusercontent.com/greatscottgadgets/facedancer/9f1298856e8ec6871cca995ded3076ab89dd72cd/README.md) | **Firmware and hardware:** USB device emulation and proxy experiments. Turns protocol hypotheses into controlled device behavior rather than observation alone. | Requires compatible boards/backends. The reviewed README states GNU/Linux host support and no Windows support for 3.0; legacy scripts are incompatible. Endpoint, proxy, and host-mode limits vary by board. BSD-3-Clause. **Documented.** | +| [Packetry](https://raw.githubusercontent.com/greatscottgadgets/packetry/5a7f98b77aa00519ecf7e811c9f26c6534966d05/README.md) | **Firmware and hardware:** USB 2.0 capture analysis. Adds a USB-bus-focused interface for Cynthion and offline captures. | Live capture needs Cynthion; existing LINKTYPE_USB_2_0 PCAPs can be read without the board. USB 2.0 scope, not USB 3.x. Source build requires Rust 1.93+ and GTK4. BSD-3-Clause. **Documented.** | +| [Glasgow Interface Explorer](https://raw.githubusercontent.com/GlasgowEmbedded/glasgow/128099194588b0e6b297541f7616601348a50ae1/README.md) · [source 1](https://glasgow-embedded.org/) | **Firmware and hardware:** Programmable digital-interface experiments. Adds applet-driven interaction with buses such as UART, SPI, I2C, JTAG, and SWD. | Requires Glasgow hardware and matching software/gateware/applets. Hardware capability is not a software-only feature. 0BSD. **Documented.** | +| [pymobiledevice3](https://raw.githubusercontent.com/doronz88/pymobiledevice3/3a173489266e23b5574a89b3c152fb290b760024/README.md) · [source 1](https://doronz88.github.io/pymobiledevice3/guides/ios17-tunnels/) · [source 2](https://raw.githubusercontent.com/doronz88/pymobiledevice3/3a173489266e23b5574a89b3c152fb290b760024/pyproject.toml) | **iOS and macOS:** iOS device-side observation. Adds device services such as logs, crash reports, PCAP, DVT, and WebInspector beside static ipsw and Frida workflows. | Python 3.9+, a pairable device, and service-specific host/iOS requirements. iOS 17+ developer services use tunnels; do not generalize this to universal jailbreak/root requirements. GPL-3.0. **Documented.** | +| [Hex-Rays IDA MCP](https://raw.githubusercontent.com/HexRaysSA/ida-mcp/df6de7985b534a964c125d5a86e41b26b17b14f6/README.md) | **AI-assisted analysis:** Official IDA agent integration. An official implementation with distinct requirements beside the existing community server. | Requires IDA 9.4+, idalib, Python 3.11+, and uv. The MIT server license does not provide an IDA license. Official and community implementations need clear names. **Documented.** | +| [Chrome DevTools MCP](https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/d250bc5cd14d14dc79680967a41158f8782a8bb3/README.md) | **AI-assisted analysis:** Official browser inspection for agents. Makes network, console, runtime, and performance evidence accessible through a documented agent interface. | Requires Node LTS and a supported Chrome installation; arbitrary Chromium forks are not proven compatible. Preserve raw responses/traces alongside interpretations. Apache-2.0. **Documented.** | +| [Corkami](https://raw.githubusercontent.com/corkami/pics/669facbb0b6a977f959ae6473b8346e98cf23f53/README.md) | **Learning:** Visual binary-format references. Adds stable format-layout references rather than another general introductory course. | Reference material, not a software tool. Commit age alone does not invalidate it. Link to the author source; no image redistribution license was established by GitHub metadata. **Documented.** | +| [JEB](https://www.pnfsoftware.com/jeb/) · [source 1](https://www.pnfsoftware.com/jeb/manual/mcp/) · [source 2](https://www.pnfsoftware.com/jeb/changelog) | **Android and managed code:** Commercial Android/native analysis and official MCP. Adds a professional commercial option and its official integration as capabilities of the same product. | License/edition differences matter. GUI MCP predates headless CLI support; CLI MCP arrived in 5.41, and run_apk_analysis in 5.47. The reviewed changelog is 5.48. Do not describe all MCP functionality as introduced in 5.41. **Documented.** | + +## Corrections made during intake review + +Pinned source links use the same immutable GitHub files through `raw.githubusercontent.com`, avoiding intermittent 503 responses from GitHub HTML rendering. The JSON retains the corresponding browser URLs as well as the source revision; resource entry links still point to canonical repositories. + +- wasm-tools declares Apache-2.0, Apache-2.0 with LLVM exceptions, and MIT licenses in its pinned README. The earlier research shorthand of Apache-2.0 alone was incomplete; the GitHub SPDX observation and the source declaration remain separate. +- Facedancer explicitly identifies GNU/Linux host support, incompatible legacy scripts, and board/backend limits; the catalog now states these instead of a vague version caveat. +- IDA MCP requires IDA 9.4+ with idalib, Python 3.11+, and uv. The MIT server is distinct from licensing the required IDA host. Chrome DevTools MCP states Node LTS and Chrome requirements. +- checksec is described as ELF-property triage rather than a general vulnerability verdict. Source-build dependencies for other tools are recorded here without imposing them on users of prebuilt releases. +- JEB headless MCP appeared in 5.41, and `run_apk_analysis` in 5.47; the reviewed changelog is 5.48. These dates do not imply that all MCP capabilities arrived together or exist in every edition. + +## Follow-up boundary + +The existing Chrome DevTools documentation URL returns HTTP 403 to lychee while its official page content was retrieved on 2026-10-13. `lychee.toml` excludes only that exact URL, with a review deadline of 2026-11-13; the Chrome DevTools MCP repository and all other new source links remain checked normally. This records an automated-access restriction rather than treating a broad domain or all 403 responses as healthy. + +Issue #6 remains the backlog for conditional candidates and existing-entry improvements (BinExport/BinDiff, angr-management, pyinstxtractor-ng, and WinDbg MCP). No B/C candidate is promoted by this intake. Documented version intervals are not converted into a reproduced compatibility matrix. + +For subsequent reviews, confirm the exact host, target, board/backend, distribution channel, and license/edition before widening claims. An archived repository or old reference can remain useful; deprecation and unsupported installation routes require a human decision rather than automatic deletion. diff --git a/examples/resource-intake/BranchDemo.java b/examples/resource-intake/BranchDemo.java new file mode 100644 index 0000000..26ee7a7 --- /dev/null +++ b/examples/resource-intake/BranchDemo.java @@ -0,0 +1,16 @@ +public class BranchDemo { + record Pair(int left, int right) {} + + static int choose(int value) { + return switch (value) { + case 0 -> 11; + case 1, 2 -> 22; + default -> -1; + }; + } + + public static void main(String[] args) { + Pair pair = new Pair(2, 3); + System.out.println(choose(pair.left()) + pair.right()); + } +} diff --git a/examples/resource-intake/Probe.java b/examples/resource-intake/Probe.java new file mode 100644 index 0000000..6a46966 --- /dev/null +++ b/examples/resource-intake/Probe.java @@ -0,0 +1,7 @@ +public class Probe { + public static void main(String[] args) { + for (int value : new int[]{-1, 0, 1, 2, 9}) { + System.out.println(value + ":" + BranchDemo.choose(value)); + } + } +} diff --git a/examples/resource-intake/README.md b/examples/resource-intake/README.md new file mode 100644 index 0000000..6515e7f --- /dev/null +++ b/examples/resource-intake/README.md @@ -0,0 +1,35 @@ +# Four bounded resource examples + +These self-authored fixtures demonstrate Construct, Scapy, YARA-X, and Vineflower. They are small selection examples, not upstream test suites or evidence of full platform/version support. + +Use Python 3.11 with `venv`/`pip` support, JDK 17, and an Internet connection for the pinned packages and JAR. From the repository root: + +```bash +resource_examples_dir="$(mktemp -d)" +python3.11 -m venv "$resource_examples_dir/venv" +"$resource_examples_dir/venv/bin/python" -m pip install -r examples/resource-intake/requirements.txt +"$resource_examples_dir/venv/bin/python" examples/resource-intake/verify.py --output "$resource_examples_dir/results" +``` + +The runner downloads [Vineflower 1.12.0](https://github.com/Vineflower/vineflower/releases/tag/1.12.0) and checks the JAR SHA-256 before executing it. An existing JAR can be supplied with `--vineflower-jar /path/to/vineflower-1.12.0.jar`; the same digest check still applies. Failed assertions or commands fail the run; a successful run writes `results.json` and retains generated artifacts in a unique directory under the selected output path. + +| Resource / pinned version | Input and independent expected result | Scope | +| --- | --- | --- | +| Construct 2.10.70 | Golden bytes `534d4b310500017472616365`: `SMK1`, little-endian length 5, type 1, payload `trace`; parse/build and reject bad magic, truncation, or trailing bytes | One binary schema on this Python host | +| Scapy 2.8.0 | Known Ethernet/IP/UDP fields and `trace` payload; independent IP/UDP checksum checks; PCAP write/read | Offline packets only, no transmission or live capture | +| YARA-X 1.21.0 | Self-authored rule matches the golden bytes and not `negative sample`; unescaped `{` in a regex produces `CompileError` | Python API and this documented regex difference, not all YARA rules/modules | +| Vineflower 1.12.0 | Java 17 record and switch expression; compile → decompile → rebuild; main prints `25`, five branch vectors match explicit expected values | This fixture only, no obfuscation or other Java target versions | + +The branch oracle for `Probe.java` is: + +```text +-1:-1 +0:11 +1:22 +2:22 +9:-1 +``` + +The [dated local result](verified.json) records host/tool versions, input hashes, artifact digest, and the tested scope. CI repeats the examples and uploads current results through the [resource-example workflow](../../.github/workflows/resource-examples.yml). The current job uses Linux, Python 3.11, and Java 17; it makes no Windows, macOS, hardware, or other-version claim. + +See the [candidate review](../../docs/priority-candidates.md) for primary sources, documented requirements, and the nineteen entries without execution verification. diff --git a/examples/resource-intake/requirements.txt b/examples/resource-intake/requirements.txt new file mode 100644 index 0000000..0c5393c --- /dev/null +++ b/examples/resource-intake/requirements.txt @@ -0,0 +1,3 @@ +construct==2.10.70 +scapy==2.8.0 +yara-x==1.21.0 diff --git a/examples/resource-intake/verified.json b/examples/resource-intake/verified.json new file mode 100644 index 0000000..83b6471 --- /dev/null +++ b/examples/resource-intake/verified.json @@ -0,0 +1,65 @@ +{ + "checked_at": "2026-10-13T02:59:07.191970+00:00", + "host": { + "platform": "Linux-6.1.0-53-cloud-amd64-x86_64-with-glibc2.36", + "python": "3.11.2", + "javac": "javac 17.0.20.1" + }, + "results": [ + { + "name": "Construct", + "version": "2.10.70", + "result": "passed", + "scope": "Golden bytes, parse/build, wrong magic, truncation, trailing-data rejection" + }, + { + "name": "Scapy", + "version": "2.8.0", + "result": "passed", + "scope": "Offline packet/PCAP round trip and independent IP/UDP checksums; no traffic sent" + }, + { + "name": "YARA-X", + "version": "1.21.0", + "result": "passed", + "scope": "Python API positive/negative matching and strict-regex CompileError" + }, + { + "name": "Vineflower", + "version": "1.12.0", + "result": "passed", + "scope": "Java 17 record/switch expression, rebuild, main output and five branch vectors" + } + ], + "inputs": [ + { + "path": "BranchDemo.java", + "sha256": "6d2d6dc6231f9a2db99baacc9b05496f564e936d68f55dcda6a86ae536687ed8" + }, + { + "path": "Probe.java", + "sha256": "efecf11dc98b876125987476835805989b2fa2f6b52b722b695d7711169fe67a" + }, + { + "path": "verify.py", + "sha256": "a25cf9c230b8e0d2016d225ff2b8abbf461883f1102df3b9ab5cdcd4e9f3f93e" + }, + { + "path": "requirements.txt", + "sha256": "db6df24e77cc6098c67850a1589720247932a58694261684b9351d0a6bc8ede3" + } + ], + "golden_hex": "534d4b310500017472616365", + "vineflower_artifact": { + "url": "https://github.com/Vineflower/vineflower/releases/download/1.12.0/vineflower-1.12.0.jar", + "sha256": "1dfcfe974395734fa467ce620661c7623d05ba83670de0529b1fbd63ff548b9d" + }, + "expected_main": "25", + "expected_branches": [ + "-1:-1", + "0:11", + "1:22", + "2:22", + "9:-1" + ] +} diff --git a/examples/resource-intake/verify.py b/examples/resource-intake/verify.py new file mode 100644 index 0000000..e7c2c98 --- /dev/null +++ b/examples/resource-intake/verify.py @@ -0,0 +1,137 @@ +"""Reproduce four narrow resource examples with independent expected outputs.""" +import argparse +from datetime import datetime, timezone +import hashlib +from importlib.metadata import version +import json +from pathlib import Path +import platform +import struct +import subprocess +import tempfile +from urllib.request import urlopen + +from construct import Byte, Bytes, Const, ConstructError, Int16ul, Struct, Terminated +from scapy.all import Ether, IP, Raw, UDP, rdpcap, wrpcap +import yara_x + +SOURCE = Path(__file__).resolve().parent +JAR_URL = "https://github.com/Vineflower/vineflower/releases/download/1.12.0/vineflower-1.12.0.jar" +JAR_SHA256 = "1dfcfe974395734fa467ce620661c7623d05ba83670de0529b1fbd63ff548b9d" +GOLDEN = bytes.fromhex("534d4b310500017472616365") +EXPECTED_BRANCHES = "-1:-1\n0:11\n1:22\n2:22\n9:-1" + + +def sha256(path): + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def checksum(data): + """Independent RFC 1071-style checksum for the small packet fixture.""" + if len(data) % 2: + data += b"\x00" + total = sum(struct.unpack(f"!{len(data) // 2}H", data)) + while total >> 16: + total = (total & 0xFFFF) + (total >> 16) + return (~total) & 0xFFFF + + +def run(*args): + completed = subprocess.run(args, text=True, capture_output=True, check=True) + return completed.stdout.strip() + + +def verify(work, jar): + for package, expected in {"construct": "2.10.70", "scapy": "2.8.0", "yara-x": "1.21.0"}.items(): + assert version(package) == expected, f"Unexpected {package} version" + + schema = Struct( + "magic" / Const(b"SMK1"), "length" / Int16ul, "kind" / Byte, + "payload" / Bytes(lambda ctx: ctx.length), Terminated, + ) + parsed = schema.parse(GOLDEN) + assert parsed.length == 5 and parsed.kind == 1 and parsed.payload == b"trace" + assert schema.build(dict(length=5, kind=1, payload=b"trace")) == GOLDEN + for bad in (GOLDEN[:-1], GOLDEN + b"\x00", b"WRNG" + GOLDEN[4:]): + try: + schema.parse(bad) + except ConstructError: + continue + raise AssertionError("Malformed fixture accepted") + + packet = ( + Ether(src="02:00:00:00:00:01", dst="02:00:00:00:00:02") + / IP(src="192.0.2.1", dst="192.0.2.2") + / UDP(sport=1234, dport=4321) / Raw(b"trace") + ) + wire = bytes(packet) + assert len(wire) == 47 and wire[:14] == bytes.fromhex("0200000000020200000000010800") + assert checksum(wire[14:34]) == 0 + pseudo_header = bytes.fromhex("c0000201c0000202") + struct.pack("!BBH", 0, 17, 13) + assert checksum(pseudo_header + wire[34:]) == 0 + assert Ether(wire)[UDP].dport == 4321 and bytes(Ether(wire)[Raw]) == b"trace" + pcap = work / "trace.pcap" + wrpcap(str(pcap), [packet]) + packets = rdpcap(str(pcap)) + assert len(packets) == 1 and packets[0][IP].src == "192.0.2.1" + assert bytes(packets[0][Raw]) == b"trace" + + compiler = yara_x.Compiler() + compiler.add_source('rule Fixture { strings: $a = "trace" condition: $a and uint16(0) == 0x4d53 }') + scanner = yara_x.Scanner(compiler.build()) + assert [r.identifier for r in scanner.scan(GOLDEN).matching_rules] == ["Fixture"] + assert list(scanner.scan(b"negative sample").matching_rules) == [] + bad_compiler = yara_x.Compiler() + try: + bad_compiler.add_source("rule Bad { strings: $a = /abc{/ condition: $a }") + except Exception as exc: + assert type(exc).__name__ == "CompileError", type(exc).__name__ + else: + raise AssertionError("Unescaped brace unexpectedly compiled") + + if jar is None: + jar = work / "vineflower-1.12.0.jar" + with urlopen(JAR_URL, timeout=60) as response: + jar.write_bytes(response.read()) + assert sha256(jar) == JAR_SHA256, "Vineflower artifact digest mismatch" + original, decompiled, rebuilt = [work / name for name in ("original", "decompiled", "rebuilt")] + for directory in (original, decompiled, rebuilt): + directory.mkdir() + run("javac", "--release", "17", "-d", str(original), str(SOURCE / "BranchDemo.java"), str(SOURCE / "Probe.java")) + run("java", "-jar", str(jar), str(original), str(decompiled)) + run("javac", "--release", "17", "-d", str(rebuilt), str(decompiled / "BranchDemo.java"), str(SOURCE / "Probe.java")) + for classes in (original, rebuilt): + assert run("java", "-cp", str(classes), "BranchDemo") == "25" + assert run("java", "-cp", str(classes), "Probe") == EXPECTED_BRANCHES + + return { + "checked_at": datetime.now(timezone.utc).isoformat(), + "host": {"platform": platform.platform(), "python": platform.python_version(), "javac": run("javac", "-version")}, + "results": [ + {"name": "Construct", "version": "2.10.70", "result": "passed", "scope": "Golden bytes, parse/build, wrong magic, truncation, trailing-data rejection"}, + {"name": "Scapy", "version": "2.8.0", "result": "passed", "scope": "Offline packet/PCAP round trip and independent IP/UDP checksums; no traffic sent"}, + {"name": "YARA-X", "version": "1.21.0", "result": "passed", "scope": "Python API positive/negative matching and strict-regex CompileError"}, + {"name": "Vineflower", "version": "1.12.0", "result": "passed", "scope": "Java 17 record/switch expression, rebuild, main output and five branch vectors"}, + ], + "inputs": [{"path": name, "sha256": sha256(SOURCE / name)} for name in ("BranchDemo.java", "Probe.java", "verify.py", "requirements.txt")], + "golden_hex": GOLDEN.hex(), + "vineflower_artifact": {"url": JAR_URL, "sha256": JAR_SHA256}, + "expected_main": "25", "expected_branches": EXPECTED_BRANCHES.splitlines(), + } + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--output", type=Path, required=True, help="Directory for results and generated example artifacts") + parser.add_argument("--vineflower-jar", type=Path, help="Optional existing 1.12.0 JAR; its digest is still checked") + args = parser.parse_args() + args.output.mkdir(parents=True, exist_ok=True) + jar = args.vineflower_jar.resolve() if args.vineflower_jar else None + work = Path(tempfile.mkdtemp(prefix="run-", dir=args.output)) + report = verify(work, jar) + (args.output / "results.json").write_text(json.dumps(report, indent=2) + "\n") + print(json.dumps(report, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/lychee.toml b/lychee.toml index 3a3b346..0d67d03 100644 --- a/lychee.toml +++ b/lychee.toml @@ -6,8 +6,12 @@ timeout = 30 # Documentation examples are not catalog entries. # intel.com returns 403 to automated clients; the Pin page was verified manually. # reddit.com returns 403 to GitHub Actions runners; the subreddit resolves elsewhere. +# Chrome DevTools rejects automated clients with 403; official content was +# retrieved on 2026-10-13. Recheck this exact URL by 2026-11-13; see +# docs/priority-candidates.md for the observation and review boundary. exclude = [ '^https://example\.com/', '^https://www\.intel\.com/content/www/us/en/developer/articles/tool/pin-a-dynamic-binary-instrumentation-tool\.html$', '^https://www\.reddit\.com/r/ReverseEngineering/$', + '^https://developer\.chrome\.com/docs/devtools/$', ]