Brutal-Force-RE: defensive lab for brute-force attacks—44 tactics, keyspace math, zero executions
61
A defensive brute-force reverse-engineering lab. It studies how password-guessing attacks work — with synthetic traces only, in a chamber that executes nothing — so defenders can spot the patterns and shut them down. Lab use only.
One CLI (main.py), one package (brutalforce_re/), zero dependencies — pure Python standard library. A trace flows through the pipeline in order:
gates.py) — the requested action must be defensive analysis; every live-attack action is HOLD.sandbox.py, the sandbox-api port) — records the trace without executing anything: FS diff none, network 0.honeypot.py, the honeyroot-x port) — aggregates by IP/user/password and labels the pattern: spraying / hammering / stuffing / dictionary.mlx.py) — a from-scratch Markov estimator + kNN classifier gives a second, independent label. No ML libraries.tactics.py) — matched IDs from the 44-tactic taxonomy (guessing, execution, target, evasion), each with detection signals and a mitigation.keyspace.py) — search space, entropy bits, expected time-to-exhaust, birthday bound.runtime.py) — SLM-first routing with escalation on low confidence; CPU/GPU real-sim, TPU/NPU/LPU/DPU plainly stubbed.compressor.py) — CDC chunking + SHA-256 dedup + zlib for trace archives, roundtrip-verified; the AWS KMS layer is a local stub labelled SIM.carbon4.py) — Gemini Carbon 4 Extended Thinking runs MAP → MODEL → STRESS → DECIDE; it can only tighten a decision, never loosen one.flowvideo.py) — Google Flow turns the verdict into a 4-track explainer plan. Plan only — live generation is HOLD.metrics.py) — counters, risk distribution and classifications out as JSON / Prometheus; chamber_executed stays 0.MODEL_API_KEY, names-only) — advisor only. It can never override a HOLD gate.Six named gates permanently refuse live actions: attacking a real target, running a live credential attack, executing chamber samples, generating live video, spending real funds, and removing a HOLD. Neither brain can override them.
docker pull credkellar/brutal-force-re
docker run --rm credkellar/brutal-force-re
The container entry runs the demo + self-checks: CHECKS 49/49. Other commands: tactics, keyspace, analyze, metrics, serve (visual test UI on 127.0.0.1:8765).
Content type
Image
Digest
sha256:bb36a3b19…
Size
41.4 MB
Last updated
4 days ago
docker pull credkellar/brutal-force-re