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

2.5 KiB

API Reference: Analyzing Linux Kernel Rootkits

Volatility3 Linux Plugins

# Check syscall table for hooks
vol -f memory.lime linux.check_syscall.Check_syscall

# List loaded kernel modules
vol -f memory.lime linux.lsmod.Lsmod

# Detect hidden kernel modules
vol -f memory.lime linux.hidden_modules.Hidden_modules

# Check IDT for hooks
vol -f memory.lime linux.check_idt.Check_idt

# List processes (detect hidden)
vol -f memory.lime linux.pslist.PsList
vol -f memory.lime linux.pstree.PsTree

# Check for modified cred structures
vol -f memory.lime linux.check_creds.Check_creds

# Network connections
vol -f memory.lime linux.sockstat.Sockstat

# JSON output
vol -f memory.lime linux.check_syscall.Check_syscall -r json > syscalls.json

Memory Acquisition Tools

Tool Command Use Case
LiME insmod lime.ko "path=/tmp/mem.lime format=lime" Linux kernel module
AVML avml /tmp/memory.raw Azure/cloud instances
/proc/kcore dd if=/proc/kcore of=mem.raw Quick (partial) dump

Volatility3 Symbol Tables (ISF)

# Generate ISF from running kernel
vol -f memory.lime banners.Banners
# Download matching ISF from:
# https://github.com/volatilityfoundation/volatility3#symbol-tables

rkhunter Commands

# Full system scan
rkhunter --check --skip-keypress --report-warnings-only

# Update signatures
rkhunter --update

# Check specific tests
rkhunter --check --enable rootkits,trojans,os_specific

# Output to log file
rkhunter --check --logfile /var/log/rkhunter.log

Known Linux Rootkits Detected

Rootkit Technique Volatility Plugin
Diamorphine Hidden module + syscall hook check_syscall, hidden_modules
Reptile Syscall hook + port knocking check_syscall
KBeast Syscall hook + /proc hiding check_syscall, hidden_modules
Adore-ng VFS hook + hidden files lsmod, check_syscall
Jynx2 LD_PRELOAD userspace pslist (parent check)

Cross-View Detection

# Compare /proc/modules vs /sys/module
diff <(cat /proc/modules | awk '{print $1}' | sort) \
     <(ls /sys/module/ | sort)

# Check for hidden processes
diff <(ls /proc/ | grep -E '^[0-9]+$' | sort -n) \
     <(ps -eo pid --no-headers | sort -n)

References