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.8 KiB
1.8 KiB
API Reference — Hunting for LOLBins Execution in Endpoint Logs
Libraries Used
- csv: Parse exported endpoint log CSV files from SIEM or EDR
- python-evtx (Evtx): Parse Windows Sysmon EVTX event logs directly
- re: Regex matching for suspicious command-line patterns
CLI Interface
python agent.py csv --file <csv_path> [--process-col Image] [--cmdline-col CommandLine]
python agent.py evtx --file <evtx_path>
Core Functions
scan_csv_logs(csv_file, process_col, cmdline_col)
Scans CSV-exported endpoint logs for LOLBin process executions with suspicious arguments.
Parameters:
| Name | Type | Description |
|---|---|---|
csv_file |
str | Path to CSV log file |
process_col |
str | Column name for process image path (default: Image) |
cmdline_col |
str | Column name for command line (default: CommandLine) |
Returns: dict with total_findings, by_binary counts, by_mitre counts, findings list.
scan_evtx_sysmon(evtx_file)
Parses Sysmon EVTX logs for Event ID 1 (Process Creation) matching LOLBin signatures.
Parameters:
| Name | Type | Description |
|---|---|---|
evtx_file |
str | Path to Sysmon .evtx file |
Returns: dict with total_findings and findings with record IDs, binary names, MITRE IDs.
LOLBins Detected (14 binaries)
certutil.exe, mshta.exe, regsvr32.exe, rundll32.exe, bitsadmin.exe, wmic.exe, msiexec.exe, cmstp.exe, forfiles.exe, pcalua.exe, csc.exe, installutil.exe, msbuild.exe, powershell.exe
Output Format
{
"total_findings": 12,
"by_binary": {"powershell.exe": 5, "certutil.exe": 4},
"by_mitre": {"T1059.001": 5, "T1140": 4},
"findings": [{"binary": "...", "mitre": "...", "command_line": "..."}]
}
Dependencies
pip install python-evtx