Security Alert Triage
elastic/agent-skills
Triage Elastic Security alerts — gather context, classify threats, create cases, and acknowledge.
Build, test, and tune detection content — Sigma, YARA, Suricata, and EDR/SIEM queries — mapped to MITRE ATT&CK with explicit false-positive analysis and detection-as-code practices.
$ npx skills add trilwu/secskills --skill engineering-detections -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trilwu/secskills engineering-detections --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .claude/skills/engineering-detections && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .claude/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detectionsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trilwu/secskills --skill engineering-detections -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trilwu/secskills engineering-detections --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .agents/skills/engineering-detections && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .agents/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill engineering-detections -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trilwu/secskills engineering-detections --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .cursor/skills/engineering-detections && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .cursor/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trilwu/secskills.git --path secskills-defense/skills/engineering-detections--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trilwu/secskills --skill engineering-detections -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trilwu/secskills engineering-detections --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .gemini/skills/engineering-detections && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .gemini/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trilwu/secskills engineering-detectionsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trilwu/secskills --skill engineering-detections -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .github/skills/engineering-detections && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .github/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill engineering-detections -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trilwu/secskills engineering-detections --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/secskills-defense/skills/engineering-detections .opencode/skills/engineering-detections && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "engineering-detections" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/engineering-detections into .opencode/skills/engineering-detections/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "engineering-detections", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
engineering-detectionsBuild, test, and tune detection content — Sigma, YARA, Suricata, and EDR/SIEM queries — mapped to MITRE ATT&CK with explicit false-positive analysis and detection-as-code practices.
Engineering Detections is an agent skill from trilwu/secskills. Build, test, and tune detection content — Sigma, YARA, Suricata, and EDR/SIEM queries — mapped to MITRE ATT&CK with explicit false-positive analysis and detection-as-code practices. Use when writing or reviewing a detection rule, converting IOCs or TTPs into alerts, measuring detection coverage, or reducing alert fatigue.
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Security operations. The repository describes itself as: Transform Claude Code into your personal security engineer. The licence is MIT.
Read from SKILL.md and the folder at commit ca53957. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
attack.mitre.orgdefuddle.mdFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Engineering Detections loads about 3.3k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 1,125 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trilwu/secskills at commit ca53957, republished under its MIT licence (© trilwu). 1,125 words, ~3,265 tokens.
.claude/skills/engineering-detections/SKILL.md (or your agent's skills folder).A detection is a hypothesis about attacker behaviour, expressed as a query, that a human will be paged for. Two properties decide whether it is worth deploying: does it fire on the behaviour, and does it stay quiet otherwise. Most rules fail the second test, and the cost is paid by whoever is on call.
hunting-threatsresponding-to-incidentsanalyzing-malwarewriting-yara-rules; a
log/SIEM rule — use writing-sigma-rules| Focus | Skill |
|---|---|
| Authoring a portable Sigma rule specifically — field taxonomy, modifiers, backend conversion, SigmaHQ standards | writing-sigma-rules |
This skill covers the whole detection lifecycle across Sigma, YARA, and
Suricata; reach for writing-sigma-rules when the task is the Sigma rule
itself and its conversion to a target SIEM.
Rank what you write by how expensive it is for the adversary to change:
Hash trivial to change → block, don't alert
IP / domain days → block + low-severity alert
Filename / path trivial → weak signal, combine only
Tooling artifact weeks (recompile) → good, decays
Behaviour / TTP expensive → this is the targetThe pyramid-of-pain reasoning is the whole discipline: a rule on
mimikatz.exe is worthless; a rule on a process opening a handle to LSASS
with PROCESS_VM_READ catches every tool that does the same thing.
1. Hypothesis → what behaviour, by whom, visible where?
2. Data check → is the required telemetry actually collected and retained?
3. Draft → write the logic against real data
4. FP analysis → run over 30+ days of production data, characterize every hit
5. Tune → narrow with attacker-independent conditions only
6. Test → prove it fires on an emulated true positive
7. Document → triage steps, response, and known limits
8. Deploy → with a severity that matches the actual response
9. Review → re-test after telemetry, environment, or tooling changesStep 2 kills more rules than any other. Before writing logic, confirm the field exists, is populated on the platforms you care about, and is retained long enough to matter. A rule on a field your agent does not ship is a coverage illusion — worse than no rule, because it appears on the map.
Sigma is the portable format; write once, convert per backend.
title: LSASS Memory Access from Unusual Process
id: 9f2b1c4e-0000-4000-8000-000000000001
status: experimental
description: >
Detects a process obtaining a handle to lsass.exe with read/clone access,
the common precondition for credential dumping regardless of tooling.
references:
- https://attack.mitre.org/techniques/T1003/001/
author: secskills
date: 2026-07-26
logsource:
product: windows
category: process_access
detection:
selection:
TargetImage|endswith: '\lsass.exe'
GrantedAccess|contains:
# QUERY_LIMITED_INFORMATION 0x1000 | QUERY_INFORMATION 0x0400
# VM_READ 0x0010 | VM_WRITE 0x0020 | VM_OPERATION 0x0008
- '0x1010' # QUERY_LIMITED | VM_READ — minimum to read lsass
- '0x1410' # QUERY_LIMITED | QUERY_INFO | VM_READ
- '0x1438' # the classic mimikatz mask: adds VM_WRITE | VM_OPERATION
filter_legitimate:
SourceImage|startswith:
- 'C:\Program Files\<your EDR>\'
- 'C:\Windows\System32\wbem\WmiPrvSE.exe'
condition: selection and not filter_legitimate
falsepositives:
- EDR and backup agents; enumerate yours and filter by full path
- Windows Error Reporting on crash
level: high
tags:
- attack.credential-access
- attack.t1003.001Conversion:
sigma convert -t splunk -p sysmon rules/lsass_access.yml
sigma convert -t esql -p ecs_windows rules/lsass_access.yml # Elastic
sigma convert -t kusto -p microsoft_xdr rules/lsass_access.yml # Defender/SentinelTuning rules that stay honest: filter on things the attacker cannot choose. Full paths of signed vendor binaries, specific service SIDs, and parent-child pairs are acceptable. Filtering on a filename, a username string, or a command-line fragment the attacker controls is not tuning — it is building the bypass into the rule.
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"Beacon: HTTP POST, no User-Agent, fixed small body";
flow:established,to_server;
http.method; content:"POST";
http.header_names; content:!"User-Agent";
threshold:type both, track by_src, count 10, seconds 600;
classtype:trojan-activity;
metadata:attack_target Client_Endpoint, mitre_technique_id T1071;
sid:1000101; rev:1;
)For encrypted traffic, detect on metadata rather than content: JA3/JA4 fingerprints, certificate anomalies, SNI/DNS patterns, and — most durably — beacon timing. Regular intervals with jitter are hard for an operator to give up without losing reliability.
-- Beacon candidate: low variance in connection interval, sustained
SELECT src_ip, dst_ip, count(*) AS n,
stddev(delta_seconds) AS jitter, avg(delta_seconds) AS interval
FROM connection_deltas
WHERE ts > now() - interval '7 days'
GROUP BY src_ip, dst_ip
HAVING count(*) > 50 AND stddev(delta_seconds) < 0.15 * avg(delta_seconds)
ORDER BY n DESC;Rules that run on every file on every endpoint have a different cost profile from analysis rules. Anchor with cheap conditions first.
rule Suspicious_Loader_Pattern
{
meta:
author = "secskills"
date = "2026-07-26"
scope = "endpoint scanning" // vs. hunting/triage
condition:
// Cheap gates before expensive string matching
uint16(0) == 0x5A4D and filesize < 500KB and
pe.imports("kernel32.dll", "VirtualAlloc") and
pe.imports("kernel32.dll", "CreateThread") and
math.entropy(0, filesize) > 7.0
}Always test against a goodware corpus before deployment. A YARA rule with a 0.1% false-positive rate across a million-file fleet is a thousand alerts.
Never deploy on the strength of "it looked right." The required evidence:
| Check | Threshold |
|---|---|
| Historical run over ≥30 days of production data | Every hit characterized, not just counted |
| Alert volume projection | Fits the triage capacity of the team that will receive it |
| Benign-cause enumeration | Each documented in falsepositives with a filter or a triage note |
| True-positive test | Fires on an emulated execution of the behaviour |
# Emulate the behaviour to prove the rule fires
atomic-red-team -T T1003.001 # Atomic Red Team
caldera / prelude operator # adversary emulation frameworks
# Then confirm: alert fired, fields populated, triage steps sufficientIf a rule cannot be tested because emulating it is unsafe, say so in the documentation and label the rule unvalidated. Do not let it pass silently as tested coverage.
Map rules to ATT&CK, but read the map correctly.
# Generate a layer for the ATT&CK Navigator from your rule set
python3 scripts/rules_to_navigator.py rules/ > coverage.jsonHonest coverage accounting:
detections/
├── rules/ # Sigma source of truth, one file per rule
├── tests/ # unit tests: sample events → expected match/no-match
├── filters/ # environment-specific allowlists, kept OUT of the rules
├── deployed/ # generated backend queries (build artifact, never edited)
└── .github/workflows/ci.ymlCI should: lint and schema-validate every rule, verify every rule has a unique
id and a non-empty falsepositives, run unit tests, convert to each target
backend, and fail on conversion errors. Version rules, review them in pull
requests, and keep environment filters separate from detection logic so a rule
can be shared or upstreamed without leaking your environment.
<!-- attack:start -->
Generated from secskills-core/ttp-index.json — edit that file, then run
python3 scripts/sync_attack.py --write. Re-verify IDs against the
current ATT&CK release before citing them in a report.
Credential Access (TA0006)
attacking-active-directoryCommand and Control (TA0011)
analyzing-malware, analyzing-network-traffichunting-threats, analyzing-network-trafficanalyzing-malware, analyzing-network-trafficDetection content for any of these: engineering-detections. Proactive search: hunting-threats. Post-compromise: responding-to-incidents.
<!-- attack:end -->
Fetch public advisories, specifications, and vendor reports as Markdown:
curl -sL "https://defuddle.md/<url>" # scheme in the path is optionalThis strips page boilerplate — roughly 78% fewer tokens on a prose page — and returns the full text rather than a summary, so you can grep it and trust a negative result.
Three things it is not for. Fetch JSON and API responses raw, because readability extraction mangles structured data. Fetch authenticated or JavaScript-rendered pages directly, because it retrieves them anonymously. And never route adversary infrastructure (phishing links, C2, malware hosting), client-owned hosts, or engagement URLs through it — the request leaves your machine to a third party, and for live adversary infrastructure it also tips off the operator.
Some sites block the extractor and return an error blob rather than the page —
{"error":"Failed to fetch: 418 I'm a teapot"} from freedesktop.org, for
instance. That is the fetch being refused, not the source saying the thing
does not exist. Re-fetch the URL directly before drawing any conclusion from
it.
hunting-threats — hunts that mature into detectionsanalyzing-malware — capability analysis that seeds rule logicresponding-to-incidents — incidents that expose detection gaps© trilwu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in secskills-defense/skills/engineering-detections of trilwu/secskills.
Open the folder on GitHubat commit ca53957
Engineering Detections next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Engineering Detections this skilltrilwu/secskills | 156 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Security Alert Triageelastic/agent-skills | 592 | 1 repos | ~3.5k | Automated safety check: Notes | Apache-2.0 | |
| Kubernetes Network Security Auditkubeshark/kubeshark | 12k | — | ~7.3k | Automated safety check: Notes | Apache-2.0 | |
| Security Detection Rule Managementelastic/agent-skills | 592 | 1 repos | ~3.9k | Automated safety check: Notes | Apache-2.0 | |
| Chaitin CLIchaitin/chaitin-cli | 114 | — | ~15k | Automated safety check: Notes | GPL-3.0 | |
| GatesNebulock-Inc/agentic-threat-hunting-framework | 385 | — | ~12k | Automated safety check: Pass | MIT |
elastic/agent-skills
Triage Elastic Security alerts — gather context, classify threats, create cases, and acknowledge.
kubeshark/kubeshark
Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.
elastic/agent-skills
Create, tune, and manage Elastic Security detection rules (SIEM and Endpoint).
chaitin/chaitin-cli
A skill your agent uses when running chaitin-cli commands to manage Chaitin security products: SafeLine WAF (site management, IP blocking, ACL, policy rules, attack logs), X-Ray vulnerability…
Nebulock-Inc/agentic-threat-hunting-framework
GATES method validation for hunt-derived detections. An agent skill from Nebulock-Inc/agentic-threat-hunting-framework.
aspectrr/deer
Enable, configure, and query Elasticsearch security audit logs.
trilwu/secskills
Audit source code for exploitable vulnerabilities using threat-model-driven review, taint tracing, invariant checking, and variant analysis.
trilwu/secskills
Perform OSINT, subdomain enumeration, port scanning, web reconnaissance, email harvesting, and cloud asset discovery for initial access.
trilwu/secskills
Assess and harden LLM applications and agentic systems against prompt injection, tool misuse, excessive agency, memory poisoning, RAG data leakage, and model supply-chain risk, mapped to the OWASP…
trilwu/secskills
Reverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation.
trilwu/secskills
Reverse engineer Go binaries by recovering function names and types from pclntab and moduledata using GoReSym, redress, and IDA/Ghidra Go plugins, and by reading Go's non-standard calling…
trilwu/secskills
Analyze iOS applications at the binary level — decrypting FairPlay-protected IPAs with frida-ios-dump or bagbak, inspecting Mach-O load commands, recovering Objective-C headers with class-dump, and…
Categories
Build, test, and tune detection content — Sigma, YARA, Suricata, and EDR/SIEM queries — mapped to MITRE ATT&CK with explicit false-positive analysis and detection-as-code practices. Engineering Detections is an agent skill from trilwu/secskills. Build, test, and tune detection content — Sigma, YARA, Suricata, and EDR/SIEM queries — mapped to MITRE ATT&CK with explicit false-positive analysis and detection-as-code practices.
Engineering Detections fits situations like: reviewing a detection rule; converting IOCs; TTPs into alerts; measuring detection coverage.
Run `npx skills add trilwu/secskills --skill engineering-detections -a claude-code`. Or copy the skill folder (secskills-defense/skills/engineering-detections in trilwu/secskills) into .claude/skills/engineering-detections in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trilwu/secskills --skill engineering-detections -a codex`. Or copy the skill folder (secskills-defense/skills/engineering-detections in trilwu/secskills) into .agents/skills/engineering-detections in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trilwu/secskills --skill engineering-detections -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/engineering-detections, .gemini/skills/engineering-detections, .github/skills/engineering-detections and .opencode/skills/engineering-detections in your project.
Going by SKILL.md and its folder, Engineering Detections needs the command-line tools its instructions call (python3 and curl). Our summary lists: Python 3.
SKILL.md names 2 domains. In commands or code: attack.mitre.org and defuddle.md; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Engineering Detections is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Engineering Detections: Security Alert Triage (elastic/agent-skills, 592 stars), Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), Security Detection Rule Management (elastic/agent-skills, 592 stars) and Chaitin CLI (chaitin/chaitin-cli, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trilwu (a GitHub user) maintains it in trilwu/secskills, which has 156 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on September 4, 2026.
Source: trilwu/secskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.