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
3.5 KiB
3.5 KiB
Cobalt Strike Beacon Analysis Workflows
Workflow 1: PE File Configuration Extraction
[Suspicious PE] --> [Unpack if packed] --> [Locate .data section] --> [XOR Decrypt]
|
v
[Parse TLV Config]
|
v
[Extract C2 Indicators]
Steps:
- Triage: Identify file as potential Cobalt Strike beacon via YARA or AV detection
- Unpacking: If packed, unpack using appropriate tool (UPX, custom unpacker)
- Section Analysis: Locate .data section containing XOR'd beacon code
- XOR Key Discovery: Try known keys (0x2e, 0x69) or brute-force 4-byte key
- Config Parsing: Parse decrypted TLV entries for C2 and operational settings
- IOC Extraction: Extract domains, IPs, URIs, user agents, watermarks
Workflow 2: Memory Dump Beacon Extraction
[Memory Dump] --> [Volatility3 malfind] --> [Dump Injected Regions] --> [Parse Config]
|
v
[C2 Infrastructure Map]
Steps:
- Acquisition: Capture memory dump from compromised system
- Process Scan: Use Volatility3 to identify suspicious processes
- Injection Detection: Use malfind to find RWX memory regions
- Region Extraction: Dump injected memory regions to files
- Config Search: Scan dumps for beacon configuration signatures
- Infrastructure Mapping: Correlate extracted C2 with network logs
Workflow 3: Watermark Attribution
[Multiple Beacons] --> [Extract Watermarks] --> [Cluster by Watermark] --> [Attribution]
|
v
[Campaign Correlation]
Steps:
- Collection: Gather beacon samples from incident or threat intel feeds
- Watermark Extraction: Extract watermark value from each sample
- Database Lookup: Check watermark against known databases
- Clustering: Group beacons sharing the same watermark
- Infrastructure Overlap: Correlate C2 infrastructure across cluster
- Attribution Assessment: Link to known threat actor or cracked license
Workflow 4: C2 Traffic Detection
[Beacon Config] --> [Extract C2 Profile] --> [Generate Signatures] --> [Deploy to NIDS]
|
v
[Monitor Network Traffic]
Steps:
- Profile Extraction: Parse malleable C2 profile from beacon config
- Pattern Identification: Identify unique HTTP headers, URIs, and encoding
- Signature Creation: Write Suricata/Snort rules matching C2 patterns
- Deployment: Deploy signatures to network detection infrastructure
- Validation: Test signatures against captured beacon traffic
- Monitoring: Alert on matching network flows for active beacons