mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-17 13:15:16 +03:00
8cae0648ec
Demand-driven expansion targeting the fastest-growing 2025-2026 threat and
skills categories (ISC2/WEF/CrowdStrike/Mandiant signals):
- AI Security (NEW domain, 12 skills): LLM red-teaming with garak/PyRIT,
prompt injection (direct/indirect/RAG), MCP tool-poisoning, agentic tool
invocation, guardrails, model/data poisoning, system-prompt leakage,
embedding/vector weaknesses, model extraction, continuous red-teaming
- Supply Chain Security (NEW domain, 5 skills): SBOMs, dependency confusion,
malicious-npm triage, typosquatting, SLSA/Sigstore provenance
- Hardware & Firmware Security (NEW domain, 4 skills): CHIPSEC/UEFI audit,
Secure Boot bypass, TPM measured-boot attestation, ESP bootkit hunting
- Identity (10): Entra ID/ROADtools, GraphRunner, AADInternals, ADCS/Certipy,
shadow credentials, coercion, BloodHound CE, device-code phishing, SSO abuse
- Cloud-native (8): Stratus, Pacu, CloudFox, container escape, K8s RBAC,
Falco, Trivy, kube-bench
- Offensive C2 (6): Sliver, Havoc, NetExec, DPAPI, NTLM relay ESC8, redirectors
- DFIR (6): Hayabusa, Chainsaw, KAPE, Velociraptor, EZ Tools, Plaso
- Backfill (4): OpenCTI, MISP, honeytokens, post-quantum crypto migration
Each skill follows the repo taxonomy (SKILL.md + references/{standards,api-reference}.md
+ scripts/agent.py + LICENSE), with researched real tool commands (no placeholders),
complete frontmatter, and ATT&CK/ATLAS + NIST CSF mappings. Updates README domain
table, skill count, and index.json.
80 lines
2.2 KiB
Markdown
80 lines
2.2 KiB
Markdown
# Chainsaw — Command & Flag Reference
|
|
|
|
## Subcommands
|
|
|
|
| Command | Purpose |
|
|
|---------|---------|
|
|
| `hunt` | Detect threats using Sigma and Chainsaw rules |
|
|
| `search` | Keyword/regex/Tau search across artifacts |
|
|
| `analyse` | shimcache / srum / gaps artifact analysis |
|
|
| `dump` | Dump raw artifact content |
|
|
| `lint` | Validate rule files |
|
|
|
|
## hunt Flags
|
|
|
|
| Flag | Description |
|
|
|------|-------------|
|
|
| `-s, --sigma <DIR>` | SigmaHQ rules directory |
|
|
| `-r, --rule <DIR>` | Chainsaw rules directory |
|
|
| `-m, --mapping <FILE>` | Sigma->event field mapping (e.g. `mappings/sigma-event-logs-all.yml`) |
|
|
| `--level <LEVEL>` | Filter by Sigma rule level |
|
|
| `--status <STATUS>` | Filter by rule status (e.g. `stable`) |
|
|
| `--kind <KIND>` | Filter by detection kind (e.g. `evtx`) |
|
|
| `--json` / `--csv` | Output format |
|
|
| `-o, --output <PATH>` | Output file/directory |
|
|
|
|
```bash
|
|
chainsaw hunt ./evtx -s ./sigma/rules \
|
|
--mapping ./mappings/sigma-event-logs-all.yml --level high --json
|
|
```
|
|
|
|
## search Flags
|
|
|
|
| Flag | Description |
|
|
|------|-------------|
|
|
| `-e, --regex <RE>` | Regex pattern |
|
|
| `-i, --ignore-case` | Case-insensitive |
|
|
| `-t, --tau <EXPR>` | Tau expression query |
|
|
| `--from` / `--to` | Timestamp bounds |
|
|
| `--json` | JSON output |
|
|
|
|
```bash
|
|
chainsaw search "mimikatz" -i ./evtx
|
|
chainsaw search -e "-enc\s+[A-Za-z0-9+/=]{20,}" ./evtx --json
|
|
chainsaw search ./evtx -t 'Event.System.EventID: =4624'
|
|
```
|
|
|
|
## analyse Subcommands
|
|
|
|
```bash
|
|
# Shimcache with Amcache timestamp pairing
|
|
chainsaw analyse shimcache ./SYSTEM --regexfile ./patterns.txt \
|
|
--amcache ./Amcache.hve --tspair --output ./out.csv
|
|
|
|
# SRUM database
|
|
chainsaw analyse srum --software ./SOFTWARE ./SRUDB.dat -o srum.json
|
|
|
|
# Event-log gaps
|
|
chainsaw analyse gaps ./Logs/ --min-time-gap-minutes 30 --json
|
|
```
|
|
|
|
## dump / lint
|
|
|
|
```bash
|
|
chainsaw dump ./SOFTWARE --json --output dump.json
|
|
chainsaw lint -r ./rules --kind sigma
|
|
```
|
|
|
|
## Install
|
|
|
|
```bash
|
|
git clone https://github.com/WithSecureLabs/chainsaw.git
|
|
cd chainsaw && cargo build --release
|
|
# or: nix profile install github:WithSecureLabs/chainsaw
|
|
```
|
|
|
|
## External References
|
|
|
|
- Chainsaw: https://github.com/WithSecureLabs/chainsaw
|
|
- Sigma: https://github.com/SigmaHQ/sigma
|