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

40 lines
1.6 KiB
Markdown

# LDAP Security Hardening — API Reference
## Libraries
| Library | Install | Purpose |
|---------|---------|---------|
| ldap3 | `pip install ldap3` | LDAP protocol client for security auditing |
## Key ldap3 Methods
| Method | Description |
|--------|-------------|
| `Server(ip, port, use_ssl, tls, get_info=ALL)` | Create LDAP server with TLS config |
| `Connection(server, user, password, authentication=NTLM)` | Authenticated bind |
| `Connection(server, auto_bind=True)` | Anonymous bind test |
| `conn.search(base, filter, attributes)` | Search directory objects |
## LDAP Security Settings (GPO)
| Setting | Registry Path | Recommended Value |
|---------|--------------|-------------------|
| LDAP Signing | `HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\LDAPServerIntegrity` | 2 (Require) |
| Channel Binding | `HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\LdapEnforceChannelBinding` | 2 (Always) |
| Simple Bind | GPO: Network security: LDAP client signing requirements | Require signing |
## Security Checks
| Check | Risk | Severity |
|-------|------|----------|
| Anonymous bind allowed | User/group enumeration | CRITICAL |
| LDAPS not available | Cleartext credential transmission | HIGH |
| LDAP signing not enforced | NTLM relay via LDAP | HIGH |
| Channel binding disabled | Credential relay attacks | MEDIUM |
## External References
- [ldap3 Documentation](https://ldap3.readthedocs.io/)
- [Microsoft LDAP Signing](https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/enable-ldap-signing-in-windows-server)
- [CIS AD Benchmark](https://www.cisecurity.org/benchmark/microsoft_windows_server)