Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
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
2026-06-10 06:53:01 +00:00

50 lines
1.6 KiB
Markdown

# Active Directory Tiered Model — API Reference
## Libraries
| Library | Install | Purpose |
|---------|---------|---------|
| ldap3 | `pip install ldap3` | LDAP queries for AD group and account enumeration |
| pyad | `pip install pyad` | Windows AD object manipulation |
## Key ldap3 Methods
| Method | Description |
|--------|-------------|
| `Connection(server, user, password, authentication=NTLM)` | NTLM-authenticated LDAP bind |
| `conn.search(base_dn, filter, attributes)` | Search AD objects |
| `conn.entries` | Result entries from search |
## AD Tier Definitions (Microsoft ESAE)
| Tier | Assets | Admin Accounts |
|------|--------|----------------|
| Tier 0 | Domain Controllers, AD, PKI, ADFS | Domain Admins, Enterprise Admins |
| Tier 1 | Member servers, applications | Server admins, app admins |
| Tier 2 | Workstations, end users | Help desk, workstation admins |
## Critical AD Groups (Tier 0)
| Group | SID Suffix |
|-------|-----------|
| Domain Admins | -512 |
| Enterprise Admins | -519 |
| Schema Admins | -518 |
| Administrators | -544 |
| Account Operators | -548 |
| Backup Operators | -551 |
## UserAccountControl Flags
| Flag | Value | Description |
|------|-------|-------------|
| ACCOUNTDISABLE | 0x2 | Account is disabled |
| DONT_EXPIRE_PASSWORD | 0x10000 | Password never expires |
| NOT_DELEGATED | 0x100000 | Account is sensitive for delegation |
## External References
- [Microsoft ESAE Architecture](https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-access-model)
- [ldap3 Documentation](https://ldap3.readthedocs.io/)
- [AD Security Best Practices](https://adsecurity.org/)