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
50 lines
1.4 KiB
Markdown
50 lines
1.4 KiB
Markdown
# API Reference: Detecting Kerberoasting Attacks
|
|
|
|
## python-evtx Library
|
|
```python
|
|
from Evtx.Evtx import FileHeader
|
|
with open("Security.evtx", "rb") as f:
|
|
fh = FileHeader(f)
|
|
for record in fh.records():
|
|
xml_string = record.xml()
|
|
```
|
|
|
|
## Event ID 4769 - Kerberos TGS Request
|
|
```xml
|
|
<EventData>
|
|
<Data Name="TargetUserName">svc_sql</Data>
|
|
<Data Name="ServiceName">MSSQLSvc/db01.corp.local:1433</Data>
|
|
<Data Name="TicketEncryptionType">0x17</Data>
|
|
<Data Name="TicketOptions">0x40810000</Data>
|
|
<Data Name="IpAddress">::ffff:10.0.0.50</Data>
|
|
<Data Name="Status">0x0</Data>
|
|
</EventData>
|
|
```
|
|
|
|
## Encryption Type Values
|
|
| Hex | Type | Risk |
|
|
|-----|------|------|
|
|
| 0x17 | RC4-HMAC | Kerberoasting indicator |
|
|
| 0x18 | RC4-HMAC-EXP | Kerberoasting indicator |
|
|
| 0x11 | AES128-CTS-HMAC-SHA1 | Normal |
|
|
| 0x12 | AES256-CTS-HMAC-SHA1 | Normal |
|
|
|
|
## Detection Logic
|
|
1. Filter Event 4769 where TicketEncryptionType = 0x17 (RC4)
|
|
2. Exclude machine accounts (ServiceName ending in `$`)
|
|
3. Exclude krbtgt service
|
|
4. Alert on high-volume TGS from single source (>10 unique SPNs in 5 min)
|
|
5. Correlate with Event 4624 for source attribution
|
|
|
|
## Event ID 4624 - Logon Event (Correlation)
|
|
```xml
|
|
<Data Name="TargetUserName">attacker_user</Data>
|
|
<Data Name="LogonType">3</Data>
|
|
<Data Name="IpAddress">10.0.0.50</Data>
|
|
<Data Name="WorkstationName">WORKSTATION1</Data>
|
|
```
|
|
|
|
## MITRE ATT&CK Mapping
|
|
- T1558.003 - Kerberoasting
|
|
- T1558 - Steal or Forge Kerberos Tickets
|