Skip to main content
Wright Websites

binary-sentinel

triage PE/ELF/Mach-O files

Static PE/ELF/Mach-O triage in pure JS: headers, sections, entropy, imports, imphash, Rich header, overlays, TLS callbacks, packer hints (UPX, ASPack, VMProtect...), suspicious API capabilities.

  • 35/week on npm
  • 6★
  • MIT
  • v1.1.0
  • Threat Intel
npx binary-sentinel

Read the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)

binary-sentinel

From the README

binary-sentinel gives an analyst a quick first look at a Windows PE (EXE/DLL/SYS, 32- and 64-bit) or Linux/Unix ELF file without leaving the terminal or CI. The same parser can also check your own release binaries for missing hardening (ASLR, DEP/NX, CFG, PIE, RELRO, stack canaries). Samples are only ever read as bytes and are never executed or loaded.

binary-sentinel ./MyApp.app/Contents/MacOS/MyApp      # Mach-O (thin or universal)
binary-sentinel setup.exe                             # verifies the Authenticode signature
binary-sentinel ./samples --rules ./my-capa-rules/    # capa-style YAML rules

Related packages

Threat Intel