detection-engineering
Skill2 starsChanged 47 days agoMITView on GitHub
Use to turn offensive findings into defenses that catch the next attacker — building and validating detections for the techniques the red-team skills exercise. Covers log/telemetry sourcing, MITRE ATT&CK coverage mapping, writing detection logic (Sigma-style, portable), reducing false positives, and purple-team validation. The blue-team companion that closes the loop from red-team-ops and vuln-chaining. For your own environment.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Masriyan/gemini-security-skillstheir own version, first seen Oct 25, 2026
- ftrout/secops-claude-skillstheir own version, first seen Sep 18, 2026
- jaskaranhundal/usap-skillstheir own version, first seen Sep 5, 2026
- Garyson26/Trident-SecOps-Skillstheir own version, first seen Aug 29, 2026
- annatchijova/SKILLStheir own version, first seen Jul 8, 2026
- audibleblink/skillstheir own version, first seen Apr 27, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- annatchijova/SKILLS★ 9same name
- audibleblink/skills★ 4same name
- jaskaranhundal/usap-skills★ 4same name
- Masriyan/gemini-security-skills★ 4same name
- Garyson26/Trident-SecOps-Skills★ 1same name
- ftrout/secops-claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- active-directory-pentestSkill
- agentic-ai-securitySkill
- api-secure-designSkill
- api-security-auditSkill
- cicd-supplychain-securitySkill
- cloud-pentestSkill
- container-k8s-pentestSkill
- entra-cloud-pentestSkill
- iot-embedded-pentestSkill
- llm-app-defenseSkill
- llm-redteamSkill
- mobile-pentestSkill
- network-device-pentestSkill
- network-pentestSkill
- post-exploitationSkill
- privilege-escalationSkill
- recon-osintSkill
- red-team-opsSkill
- report-writingSkill
- social-engineeringSkill
- source-code-reviewSkill
- threat-modelSkill
- vuln-chainingSkill
- web-app-pentestSkill
- wireless-pentestSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Prefer correlation (several weak signals) over one noisy rule.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Detection Engineering (Purple Team)
An engagement that ends at "we got Domain Admin" leaves the organization no safer. This skill closes the loop: for each technique the offensive skills use, build a detection, validate it, and measure coverage. The defensive counterpart to red-team-ops.
0. Scope
- Your own environment / telemetry (or an authorized SOC engagement).
- Log sources and SIEM/EDR platform identified.
1. Start from the attack
Detection is cheapest when driven by real TTPs. Take the techniques from the engagement (red-team-ops detection-gap matrix, post-exploitation, active-directory-pentest, entra-cloud-pentest, etc.) and build a detection per technique.
2. Telemetry first (you can't detect what you don't log)
For each technique, identify the data source that reveals it:
- Endpoint: process creation + command line, auth events, service/scheduled-task creation, LSASS access, module loads.
- Identity: AD/Kerberos logs (TGS/AS anomalies), Entra sign-in + audit logs, consent grants, risky sign-ins.
- Network: DNS, flow, proxy, poisoning/relay signatures.
- Cloud: CloudTrail / Activity / Audit logs; API calls, IAM changes.
- App: auth/authz failures, LLM prompt/tool-call logs (for
agentic-ai-security). Record gaps where the needed telemetry isn't collected — that's finding #1.
3. Write the detection (portable logic)
- Express detections in a portable, reviewable form (Sigma-style rules you can translate to your SIEM) tied to an ATT&CK technique ID.
- Favor behavior over brittle IOCs (e.g., "service binary written then started from a user-writable path" beats a hash).
- Each rule: data source, logic, ATT&CK mapping, severity, and a triage/response note.
4. Tune for false positives
- Baseline normal first; add scoped exclusions (not blanket ones).
- Prefer correlation (several weak signals) over one noisy rule.
- Track precision; a rule nobody trusts is worse than none.
5. Validate (purple team)
- Safely reproduce the technique in a controlled way (atomic tests / the authorized red-team action) and confirm the detection fires with useful context.
- Build an ATT&CK coverage matrix: technique × telemetry present × detection present × validated. Empty cells are the roadmap.
6. Close the loop
Feed validated detections and remaining gaps back into red-team-ops reporting so each engagement raises the detection baseline.
7. Tooling
SIEM/EDR query languages, Sigma + converters, ATT&CK Navigator for coverage, atomic/adversary-emulation test libraries. Keep detections in version control and test them like code.
8. Reporting
Deliver: coverage matrix, new/updated detection rules (with ATT&CK IDs), telemetry gaps to close, and tuning notes. Checklist: references/detection-checklist.md.
<sub>© 2026 noahfranklin · Part of the Gideon security suite · MIT License · Original work.</sub>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

