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
1.9 KiB
1.9 KiB
API Reference: Reverse Engineering Ransomware Encryption
Cryptographic Algorithm Constants
| Algorithm | Signature | Description |
|---|---|---|
| AES | S-Box starting 0x63 0x7C 0x77 |
AES Rijndael substitution box |
| RSA | DER 0x30 0x82 prefix |
ASN.1 RSA key structure |
| ChaCha20/Salsa20 | expand 32-byte k |
Stream cipher constant |
| RC4 | Sequential 0-255 state | Key scheduling algorithm init |
Encryption Analysis Techniques
| Technique | Tool | Purpose |
|---|---|---|
| Entropy analysis | ent, Python |
Detect encrypted regions |
| Constant scanning | IDA/Ghidra YARA | Find crypto implementations |
| API tracing | x64dbg, Frida | Trace CryptEncrypt/BCrypt calls |
| Key extraction | Volatility3 | Dump keys from memory |
Ransomware Encryption Patterns
| Pattern | Indicator |
|---|---|
| Full encryption | Entropy > 7.9 across entire file |
| Intermittent | High entropy blocks with gaps |
| Header-only | First N bytes encrypted, rest plain |
| Appended metadata | File larger than original (key/IV at end) |
Common Ransomware Crypto
| Family | Algorithm | Key Mgmt |
|---|---|---|
| LockBit 3.0 | AES-256-CBC + RSA-2048 | Per-file AES key, RSA-encrypted |
| BlackCat/ALPHV | ChaCha20 + RSA-4096 | Rust implementation |
| Royal | AES-256-CBC + RSA-2048 | Intermittent encryption |
| Akira | ChaCha20 | Partial file encryption |
Python Libraries
| Library | Version | Purpose |
|---|---|---|
hashlib |
stdlib | SHA256 hashing |
struct |
stdlib | Binary data parsing |
re |
stdlib | Pattern extraction |
math |
stdlib | Shannon entropy calculation |
References
- ID Ransomware: https://id-ransomware.malwarehunterteam.com/
- NoMoreRansom Decryptors: https://www.nomoreransom.org/en/decryption-tools.html
- Ghidra: https://ghidra-sre.org/