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
47 lines
1.6 KiB
Markdown
47 lines
1.6 KiB
Markdown
# API Reference — Performing Initial Access with Evilginx3
|
|
|
|
## Libraries Used
|
|
- **pyyaml**: Parse Evilginx3 phishlet YAML configuration files
|
|
- **subprocess**: Check Evilginx installation and version
|
|
- **pathlib**: Directory listing and file reading
|
|
- **re**: IP address extraction from session logs
|
|
|
|
## CLI Interface
|
|
```
|
|
python agent.py parse --phishlet office365.yaml
|
|
python agent.py logs --file sessions.log
|
|
python agent.py check
|
|
python agent.py list --dir /path/to/phishlets/
|
|
python agent.py detect --phishlet office365.yaml
|
|
```
|
|
|
|
## Core Functions
|
|
|
|
### `parse_phishlet(phishlet_path)` — Analyze phishlet configuration
|
|
Extracts proxy hosts, auth tokens, credential fields. Determines MFA bypass capability.
|
|
|
|
### `analyze_session_log(log_file)` — Parse Evilginx session captures
|
|
Identifies sessions with captured tokens and credentials. Extracts source IPs.
|
|
|
|
### `check_evilginx_installation()` — Verify Evilginx3 binary
|
|
Returns installed status and version string.
|
|
|
|
### `list_phishlets(phishlet_dir)` — Enumerate available phishlets
|
|
Lists .yaml/.yml files in phishlet directory with sizes.
|
|
|
|
### `generate_detection_rules(phishlet_path)` — Create defensive signatures
|
|
Generates DNS monitoring, cookie relay detection, and network anomaly rules.
|
|
Includes FIDO2/WebAuthn MFA recommendations.
|
|
|
|
## Phishlet Structure
|
|
- `proxy_hosts`: Domain-to-phishing-subdomain mappings
|
|
- `auth_tokens`: Session cookies to intercept (enables MFA bypass)
|
|
- `credentials`: Form fields to capture (username/password)
|
|
- `sub_filters`: Content replacement rules for convincing proxied pages
|
|
|
|
## Dependencies
|
|
```
|
|
pip install pyyaml
|
|
```
|
|
System: evilginx (optional, for live testing)
|