Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
detection-defense-library — Detection-engineering reference mapping Windows, cloud, container, identity, and ICS attack classes to Sigma rules, trust-boundary models, BYOVD driver intelligence, and Splunk workflows. | Kitploit
Tools/GitLabGitLab/wattocyber/detection-defense-library
Defensive ToolsContainer SecurityVulnerability AnalysisSCADA/ICS SecurityCloud SecurityMobile SecurityIdentity & Access Management (IAM)Intrusion DetectionCurated Resources

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Log Analysis
GitLabwattocyber/detection-defense-library

detection-defense-library

Detection-engineering reference mapping Windows, cloud, container, identity, and ICS attack classes to Sigma rules, trust-boundary models, BYOVD driver intelligence, and Splunk workflows.

View RepositoryWebsite
4211 days agoNot yet reviewed
Share

Detection Defense Library

Detection Defense Library banner

license gitlab

One defense-engineering library, consolidated. Attack classes, the patterns that detect them, the committed Sigma rules, and the Windows trust-boundary model, all in a single repo.

This repo folds in five former sibling repositories:

Former repoFolded intoWhat it holds
detection-engineering-patternspatterns/ + METHODOLOGY.mdWorked patterns: attack class to observable, data source, and Sigma rule
all-the-sigma-you-needsigma/3,141 Sigma rules indexed by MITRE ATT&CK technique + tactic
windows-trust-boundary-blueprintboundaries/ + TRUST-MODEL.mdComponent-indexed Windows trust-boundary model
windows-driver-surfacedrivers/Dated driver attack-surface: 661 BYOVD/vulnerable driver records, HVCI + blocklist, detection map
splunk-cheatsheetsplunk/Practical Splunk reference: SPL, detection/alerting, ES, investigation patterns

The problem this solves

Detection engineering knowledge is split across patterns, Sigma rules, trust-boundary models, and tooling with no single spine. This repo fuses them: for any attack class you get the model of how the attack works, the observable to watch, the committed Sigma rules that catch it, and the harden/isolate/evict path. It is the inverse of HackTricks: a defense encyclopedia instead of an offense dump.

Quick start (it is a reference; nothing to install)

root@kitploit:~
git clone [email protected]:WattoCyber/detection-defense-library.git
cd detection-defense-library

# 1. start by attack class (the fused view)
less classes/c01-uac-bypass.md # e.g. UAC bypass

# 2. or browse by continent / platform
less CONTINENTS.md

# 3. or find a technique
less TECHNIQUE-INDEX.md

Each classes/cN-*.md page is end-to-end: model, harden, detect, hunt, isolate, deceive, evict, restore, plus the Sigma rule IDs to enable first. Start at INDEX.md to see the full class map, then classes/_TEMPLATE.md for the contract every page follows.

Layout

  • classes/ - browse by attack class (the fused view). One file per class is the end-to-end defense page (model through restore). Inventory counts live in INDEX.md.
  • patterns/ - methodology patterns (p01-p11, p14-p34).
  • CONTROL-MAP.md - ATT&CK mitigations / D3FEND / CIS / NIST overlay.
  • METHODOLOGY.md - the detection development workflow.
  • boundaries/ - Windows trust-boundary docs (b01 services..b10 token integrity).
  • TRUST-MODEL.md - the trust-boundary synthesis model.
  • drivers/ - the driver attack-surface: 661 dated driver records, BYOVD CVE catalog, HVCI + vulnerable-driver blocklist, and the detection map.
  • splunk/ - the Splunk reference: SPL fundamentals, detection and alerting, Enterprise Security, and investigation patterns.
  • sigma/ - the full Sigma corpus, indexed by MITRE ATT&CK technique and tactic (INDEX.md, TACTICS.md, DETECTION-GAPS.md).
  • LIBRARY-GAPS.md - library-shape gaps vs a full defense encyclopedia (the antithesis of HackTricks). Rule-count gaps stay in sigma/DETECTION-GAPS.md.
  • CONTINENTS.md - platform → primitive → page (the HackTricks spine).
  • TECHNIQUE-INDEX.md - ATT&CK technique → fused class.
  • classes/_TEMPLATE.md - done-definition for a fused class page (model, harden, detect, hunt, isolate, deceive, evict, restore).
  • Continents (ad/, linux/, macos/, identity/, cloud/, email/, web/, network/, c2/, cicd/, mobile/, ics/, physical/, ai/, telemetry/, hunts/) - trust models + class indexes.

Browse by attack class

ClassAttackPatternSigma technique dirsRules
c01UAC bypasspatterns/p01-uac-bypass.mdsigma/rules/t1548.00256
c02BYOVD driver loadpatterns/p02-byovd-driver-load.mdsigma/rules/t1068, t1547.00816
c03LSASS / token theftpatterns/p03-token-theft-lsass.mdsigma/rules/t1003*185
c04Service abusepatterns/p04-service-abuse.mdsigma/rules/t1543.00338
c05Registry persistencepatterns/p05-registry-persistence.mdsigma/rules/t1547.00131
c06Signed-binary proxy (LOLBins)patterns/p06-lolbins.mdsigma/rules/t1218*179
c07PowerShellpatterns/p07-powershell.mdsigma/rules/t1059.001180
c08Defense impairmentpatterns/p08-defense-impairment.mdsigma/rules/t1685*, t1686.003200
c09DLL search-order hijackpatterns/p09-dll-hijack.mdsigma/rules/t1574.00180
c10WMI execution / persistencepatterns/p10-wmi-persistence.mdsigma/rules/t1047, t1546.00358
c11Scheduled taskspatterns/p11-scheduled-tasks.mdsigma/rules/t1053.00531
c12Token impersonationpatterns/p03-token-theft-lsass.mdsigma/rules/t1134*

AD classes c14-c19 live under ad/classes/ (Kerberos, DCSync, AD CS, delegation, ACL persistence, coercion). Full table with status splits: INDEX.md.

How to use

  1. Pick a continent from CONTINENTS.md or a technique from TECHNIQUE-INDEX.md, or an attack class from INDEX.md.
  2. Open classes/cN-*.md (or ad/classes/) for the fused page: named harden, data-source prerequisite, enable-first Sigma IDs, hunt, isolate, evict, restore, and a named lab test. classes/_TEMPLATE.md is the contract every class must pass.
  3. Jump into patterns/ for the observable / data-source skeleton or sigma/ for the full ruleset.
  4. For the system-level view, read the continent TRUST-MODEL.md and (on Windows) boundaries/.
  5. For driver/BYOVD depth, use drivers/: the dated driver catalog, named BYOVD CVEs, HVCI + vulnerable-driver blocklist, and the detection map.
  6. For SIEM/detection-logic depth, use splunk/: SPL fundamentals, alerting, Enterprise Security, and investigation patterns (a common deploy target for the Sigma rules in sigma/).

Scope

Defense engineering reference for systems the reader owns or is authorized to test. Dual-use: pair offense (sibling offensive libraries) with detection (this one). No payloads are hosted here beyond the Sigma detection rules and reference methodology.

Charter: a defense encyclopedia - the inverse of HackTricks. Every claimed continent has a trust model and fused classes that pass classes/_TEMPLATE.md. Mobile/ICS/AI are in-scope with honest "no Sigma corpus" notes. Blockchain, stego, and exploit-dev tutorials stay out of scope. See LIBRARY-GAPS.md for the original gap map.

Provenance and maintenance

PROVENANCE.md records every source and how the Sigma corpus was generated. sigma/gen_bridge.py regenerates the technique-indexed tree from a fresh SigmaHQ clone. gen_bridge.py at the root regenerates the per-class counts.

Download Tool
23
c13Print spoolerpatterns/p02-byovd-driver-load.mdt1068 / t1547.010 / t1134.001scattered
c20Lateral movementpatterns/p20-lateral-movement.mdt1021.002 .001 .006 .003, t104736+15+10+13+47
c21Phishing / user executionpatterns/p21-phishing.mdt1566.001, t1566, t1566.002, t1204.00219+11+3+28
c22Valid accountspatterns/p22-valid-accounts.mdt1078, t1078.00451+37
c23Linux privilege escalationpatterns/p23-linux-privesc.mdt1548.001, t1548.003, t1053.003, t1543.0021+1+6+2
c24Container escapepatterns/p24-container-escape.mdt1611, t1609, t1552.0072+3+4
c25Cloud control planepatterns/p25-cloud-control-plane.mdt1078.004, t109837+31
c26Kubernetespatterns/p26-kubernetes.mdt1611, t1609, t1552.00720 k8s files
c27Web / webshellpatterns/p27-web-webshell.mdt1190, t1505.00346+23
c28C2 / tunnel / exfilpatterns/p28-c2-tunnel-exfil.mdt1572, t1090, t110523+21+70
c29CI/CD / supply chainpatterns/p29-cicd-supply-chain.mdt1195*thin
c30macOS trust(fused in class)t1553.001, t1547.015, t1569.001, t1543.001/.0041+1+1+2+2
c31Mobile / MDMpatterns/p31-mobile-mdm.mdMobile matrixno Sigma
c32ICS / OTpatterns/p32-ics-ot.mdICS matrixno Sigma
c33Physical / firmware / wirelesspatterns/p33-physical-firmware-wireless.mdt1200, t1542.001, t14953+2+1
c34AI agents / MCPpatterns/p34-ai-agent-mcp.mdemergingno Sigma