mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-06-26 19:54:37 +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.
2.5 KiB
2.5 KiB
tpm2-tools Command Reference
Discovery
| Command | Description |
|---|---|
tpm2_getcap properties-fixed |
TPM manufacturer / fixed properties. |
tpm2_getcap pcrs |
Supported PCR banks (sha1, sha256, ...). |
tpm2_pcrread sha256 |
Read all sha256 PCRs. |
tpm2_pcrread sha256:0,7 |
Read specific PCRs (here firmware + Secure Boot policy). |
Event log
| Command | Description |
|---|---|
tpm2_eventlog /sys/kernel/security/tpm0/binary_bios_measurements |
Parse + replay the firmware event log; output includes calculated PCRs. |
Attestation key
| Command | Description |
|---|---|
tpm2_createprimary -C e -g sha256 -G rsa -c primary.ctx |
Create an endorsement-hierarchy primary key. |
tpm2_create -C primary.ctx -G rsa -u ak.pub -r ak.priv -a 'fixedtpm|fixedparent|sensitivedataorigin|userwithauth|restricted|sign' |
Create a restricted signing AK. |
tpm2_load -C primary.ctx -u ak.pub -r ak.priv -c ak.ctx |
Load the AK into the TPM. |
tpm2_readpublic -c ak.ctx -o ak.pem -f pem |
Export the AK public key (PEM) for the verifier. |
Quote / verify
| Command | Description |
|---|---|
tpm2_quote -c ak.ctx -l sha256:0,1,...,9 -q <nonce> -m quote.msg -s quote.sig -o quote.pcrs -g sha256 |
Produce a nonce-bound signed quote. |
tpm2_checkquote -u ak.pem -m quote.msg -s quote.sig -f quote.pcrs -q <nonce> -g sha256 |
Verify signature, nonce, and PCR digest (verifier side). |
Sealing to PCR policy
| Command | Description |
|---|---|
tpm2_createpolicy --policy-pcr -l sha256:7 -L pcr7.policy -f pcr7.dat |
Build a PCR-bound auth policy. |
tpm2_create -C primary.ctx -L pcr7.policy -i - -u sealed.pub -r sealed.priv |
Seal a secret to the policy. |
tpm2_unseal -c sealed.ctx -p pcr:sha256:7 |
Release the secret only if PCRs match. |
IMA (PCR 10)
| Command | Description |
|---|---|
tpm2_pcrread sha256:10 |
Read the IMA aggregate PCR. |
cat /sys/kernel/security/ima/ascii_runtime_measurements |
View the IMA runtime measurement list. |
TCG PCR index meanings (PC Client profile)
| PCR | Measures |
|---|---|
| 0 | UEFI firmware code (CRTM, boot block). |
| 1 | UEFI firmware configuration / host platform config. |
| 2–3 | Option ROM code and config. |
| 4 | Boot manager / MBR code. |
| 5 | Boot manager config / GPT. |
| 6 | Platform-specific events. |
| 7 | Secure Boot policy (PK/KEK/db/dbx state). |
| 8–9 | Bootloader-measured kernel/initrd. |
| 10 | Linux IMA runtime measurements. |