mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 16:40:24 +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
51 lines
2.3 KiB
Markdown
51 lines
2.3 KiB
Markdown
# PowerShell Deobfuscation Workflows
|
|
|
|
## Workflow 1: Automated Multi-Layer Deobfuscation
|
|
|
|
```
|
|
[Obfuscated Script] --> [Identify Techniques] --> [Remove Tick Marks]
|
|
|
|
|
v
|
|
[Resolve Concatenation]
|
|
|
|
|
v
|
|
[Decode Base64 Layers]
|
|
|
|
|
v
|
|
[IEX -> Write-Output]
|
|
|
|
|
v
|
|
[Extract Final Payload]
|
|
```
|
|
|
|
## Workflow 2: AST-Based Analysis
|
|
|
|
```
|
|
[Script Input] --> [Parse AST] --> [Walk Expression Nodes] --> [Evaluate Expressions]
|
|
|
|
|
v
|
|
[Reconstruct Commands]
|
|
|
|
|
v
|
|
[Extract IOCs]
|
|
```
|
|
|
|
## Workflow 3: Dynamic Sandbox Deobfuscation
|
|
|
|
```
|
|
[Obfuscated Script] --> [Execute in Sandbox] --> [Capture ScriptBlock Logs]
|
|
|
|
|
v
|
|
[Event ID 4104 Analysis]
|
|
|
|
|
v
|
|
[Reconstruct Execution Chain]
|
|
```
|
|
|
|
### Steps:
|
|
1. **Enable Logging**: Enable PowerShell ScriptBlock logging (Event ID 4104)
|
|
2. **Execute**: Run obfuscated script in isolated sandbox
|
|
3. **Collect**: Gather all ScriptBlock log entries
|
|
4. **Reconstruct**: Assemble deobfuscated script from logged blocks
|
|
5. **Extract**: Pull IOCs from the reconstructed clear-text script
|