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
68 lines
1.7 KiB
Markdown
68 lines
1.7 KiB
Markdown
# API Reference: Implementing Honeypot for Ransomware Detection
|
|
|
|
## Canary File Strategy
|
|
|
|
| Name Pattern | Extension | Purpose |
|
|
|-------------|-----------|---------|
|
|
| `!Accounting_*` | .docx, .xlsx | Sorted first alphabetically |
|
|
| `~$Confidential_*` | .pdf, .csv | Mimics temp/open Office files |
|
|
| `!Payroll_*` | .xlsx, .bak | High-value bait |
|
|
|
|
## Integrity Monitoring
|
|
|
|
```python
|
|
import hashlib
|
|
from pathlib import Path
|
|
content = Path("canary.docx").read_bytes()
|
|
sha256 = hashlib.sha256(content).hexdigest()
|
|
```
|
|
|
|
## Ransomware Extension Indicators
|
|
|
|
| Extension | Ransomware Family |
|
|
|-----------|------------------|
|
|
| `.encrypted` | Generic |
|
|
| `.locked` | LockBit, GandCrab |
|
|
| `.crypto` | CryptoLocker variants |
|
|
| `.ransom` | Generic |
|
|
| `.enc` | Various |
|
|
|
|
## Samba Honeypot Share (full_audit VFS)
|
|
|
|
```ini
|
|
[FinanceArchive]
|
|
path = /srv/honeypot
|
|
vfs objects = full_audit
|
|
full_audit:success = open opendir write rename unlink
|
|
full_audit:failure = open
|
|
full_audit:facility = LOCAL7
|
|
full_audit:priority = NOTICE
|
|
```
|
|
|
|
## Thinkst Canary API
|
|
|
|
```bash
|
|
# List incidents
|
|
curl "https://DOMAIN.canary.tools/api/v1/incidents/all" \
|
|
-d auth_token=TOKEN
|
|
|
|
# Acknowledge incident
|
|
curl "https://DOMAIN.canary.tools/api/v1/incident/acknowledge" \
|
|
-d auth_token=TOKEN -d incident=INC_ID
|
|
```
|
|
|
|
## Detection Thresholds
|
|
|
|
| Metric | Threshold | Severity |
|
|
|--------|----------|----------|
|
|
| Files modified in 60s | > 50 | CRITICAL |
|
|
| Canary file deleted | Any | CRITICAL |
|
|
| Canary hash changed | Any | CRITICAL |
|
|
| Known ransom extensions | Any | CRITICAL |
|
|
|
|
### References
|
|
|
|
- Thinkst Canary: https://canary.tools/
|
|
- CISA Ransomware Guide: https://www.cisa.gov/stopransomware
|
|
- Canarytokens: https://canarytokens.org/
|