textproc/stng 1.0.0 NetBSD
Language-aware string extraction for Go and Rust binaries
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
8b2b35f445- License
- apache-2.0
- Categories
- textproc
- Package size
- 6696.8 KiB, 41528.9 KiB installed
Description
Language-aware string extraction for binary malware analysis. Extract indicators, hardcoded credentials, C2 addresses, and obfuscated strings from any binary.
Features
- Garbage filtering: Filters out unusable garbage by default (but supports --unfiltered)
- Language-aware extraction: Go/Rust {ptr, len}, DWARF stack strings
- Binary network structures: Finds hardcoded IPs/ports in socket structures
- XOR obfuscation: Single/multi-byte keys with entropy analysis, double-layer (encoding+XOR)
- Encoding detection: Base64, Base32, Base85, hex, URL-encoding, Unicode escapes
- IOC classification: IPs, URLs, shell commands, paths, credentials
- Wide strings: UTF-16LE in Windows PE binaries
- Format support: ELF, PE, Mach-O, raw binaries, overlays
Install
Binary package:
pkgin install stng
From pkgsrc:
cd /usr/pkgsrc/textproc/stng && make install clean
Dependencies
No port depends on this one.