mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
46 lines
1.7 KiB
Markdown
46 lines
1.7 KiB
Markdown
# API Reference: Reverse Engineering Rust Malware
|
|
|
|
## Rust Binary Indicators
|
|
|
|
| Indicator | Pattern | Description |
|
|
|-----------|---------|-------------|
|
|
| Panic strings | `panicked at` | Rust panic handler messages |
|
|
| Unwrap failure | `called.*unwrap.*on.*None` | Option/Result unwrap |
|
|
| Core panic | `core::panicking` | Standard library panic |
|
|
| Runtime start | `std::rt::lang_start` | Rust runtime entry point |
|
|
| Cargo registry | `.cargo/registry` | Crate dependency paths |
|
|
| Rustc version | `rustc X.Y.Z` | Compiler version string |
|
|
|
|
## Crate Extraction Pattern
|
|
|
|
| Pattern | Example Match |
|
|
|---------|---------------|
|
|
| `crates.io-<hash>/<name>-<ver>` | `crates.io-abc123/reqwest-0.11.22` |
|
|
| `.cargo/registry/src/<index>/<name>-<ver>` | `.cargo/registry/src/index.crates.io/aes-0.8.3` |
|
|
|
|
## Suspicious Crate Capabilities
|
|
|
|
| Crate | Capability | Malware Use |
|
|
|-------|-----------|-------------|
|
|
| reqwest / hyper | HTTP client | C2 communication |
|
|
| aes / chacha20 / rsa | Encryption | Ransomware encryption |
|
|
| ring | Crypto primitives | Key generation |
|
|
| winapi / winreg | Windows API | Persistence, injection |
|
|
| sysinfo | System info | Host enumeration |
|
|
| native-tls | TLS | Encrypted C2 channel |
|
|
|
|
## Python Libraries
|
|
|
|
| Library | Version | Purpose |
|
|
|---------|---------|---------|
|
|
| `re` | stdlib | Pattern matching for Rust indicators |
|
|
| `struct` | stdlib | PE header parsing |
|
|
| `hashlib` | stdlib | SHA256 sample hashing |
|
|
| `json` | stdlib | Report generation |
|
|
|
|
## References
|
|
|
|
- Ghidra: https://ghidra-sre.org/
|
|
- Binary Defense Rust Analysis: https://binarydefense.com/resources/blog/
|
|
- Bishop Fox Rust Malware: https://bishopfox.com/blog/rust-for-malware-development
|