Berildocs GitHub

Learn

Labs and training

Beril ships ten local practice targets and a 25-week curriculum. Everything runs on your machine.

Labs#

./beril labs --run          # every smoke test
./beril labs --run web      # one lab

Each lab has a README, tasks, a smoke test and an answer key. The dashboard lists them under Lab and runs the smoke test from a card.

LabTopic
webIDOR, XSS, SQLi, traversal, SSRF, weak auth
binaryStack, format string, UAF, integer, mitigations
fuzzlibFuzzer harness and crash triage
reStripped binary, static reconstruction
mobileExported components, deep link, JS bridge
firmwareExtraction, CGI injection, update signing
cloudTerraform, pod, Dockerfile review
adACL paths, Kerberoast, ADCS ESC1
llmPrompt injection, RAG leak, exfil
detectionSigma rule and log triage

Curriculum#

./beril train --status
./beril train --week 1

The plan runs from the shell to ROP, heap, AD, firmware and AI security. Each week has drills, a reading list, a checkpoint and a deliverable with a grading rubric. Progress lives in training/ and does not enter git. Start at Training and the curriculum reference.

Turn a result into a note#

./beril reflect

reflect saves a lab finding as a method note with a root cause and a fix. If the lesson transfers to other targets, add a memory card with ./beril remember add. See Memory.

The network defense track#

A separate track from the 25-week plan:

PageCovers
Network visibilityFlow, packet, DNS, IDS, eBPF and honeypot telemetry, and what each source misses
Network protectionSegmentation, egress, management plane, DDoS, WAF, DNS, TLS and recovery, with a test per control
Network checklist50 controls and evidence lines for a quarterly pass
BGP securityHijack, route leak, RPKI, filtering and BMP, with tests
Network toolkitTools by question, limits and safety
Network curriculumAn eight-week lab track
Network runbookIncident scope and containment order
BGP runbookHijack confirmation and mitigation

Reverse engineering#

./install.sh --re
./beril scan --target ./sample --deep
./beril re --target ./sample --capa --floss --rizin
./scripts/ghidra_headless.sh ./sample out.json
./scripts/patch_diff.sh ghidriff old.bin new.bin

--deep runs every installed optional pass and keeps the static result. Ghidra needs GHIDRA_HOME. Binary Ninja needs a license and install_api.py. Mobile runtime work needs a device or emulator, a matching Frida server and a debuggable target.

Start with Reverse engineering, then the references for RE, fuzzing, exploit development, mobile, firmware, Ghidra and Rust.