abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Enumerate Microsoft Entra ID (Azure AD) tenants with ROADrecon and
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill attacking-entra-id-with-roadtools --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/attacking-entra-id-with-roadtoolsContext preview
The summary Claude sees to decide when to auto-load this skill.
Enumerate Microsoft Entra ID (Azure AD) tenants with ROADrecon and
name: attacking-entra-id-with-roadtools description: Enumerate Microsoft Entra ID (Azure AD) tenants with ROADrecon and acquire, exchange, and abuse tokens (including primary refresh tokens) with roadtx. Use for authorized red-team enumeration of a tenant's directory objects or for token-based identity attacks against Entra ID you are explicitly authorized to test. domain: cybersecurity subdomain: identity-access-management tags: - red-team - entra-id - azure-ad - roadtools - token-manipulation - cloud-enumeration - primary-refresh-token - identity-attack version: '1.0' author: mahipal license: Apache-2.0 nist_csf: - ID.AM-03 mitre_attack: - T1087.004
> **Authorized use only:** ROADtools interacts with live Microsoft Entra ID (Azure AD) tenants and can register devices, mint and exchange tokens, and enumerate directory objects. Use it solely against tenants you own or are explicitly authorized in writing to test. Unauthorized access to a cloud tenant is illegal.
ROADtools (by Dirk-jan Mollema) is the de facto offensive toolkit for Microsoft Entra ID. It has two main components:
Together they cover the **Discovery** phase against cloud identity: enumerate the tenant (T1087.004 Account Discovery: Cloud Account) and obtain/manipulate the tokens needed to reach Microsoft Graph, Azure Resource Manager, and other resources. ROADrecon's offline database makes recon stealthy and fast; roadtx makes token theft, PRT abuse, and cross-resource pivoting practical.
# Core install (roadlib is a shared dependency, pulled in automatically) python -m pip install roadrecon python -m pip install roadtx # Verify roadrecon --help roadtx --help
| ID | Tactic | Official Technique Name | Role in this skill | |----|--------|-------------------------|--------------------| | T1087.004 | Discovery | Account Discovery: Cloud Account | ROADrecon enumerates tenant users/accounts | | T1069.003 | Discovery | Permission Groups Discovery: Cloud Groups | ROADrecon enumerates Entra groups and roles | | T1538 | Discovery | Cloud Service Dashboard | GUI exploration of tenant configuration | | T1550.001 | Defense Evasion / Lateral Movement | Use Alternate Authentication Material: Application Access Token | roadtx refresh-token exchange across resources | | T1528 | Credential Access | Steal Application Access Token | roadtx PRT/token acquisition |
Pick the flow that matches your foothold. Device code supports MFA; ROPC (-u/-p) does not.
# Username/password (legacy, no MFA) roadrecon auth -u user@tenant.onmicrosoft.com -p 'Password123!' # Device-code flow (supports MFA) roadrecon auth --device-code # From a stolen access or refresh token roadrecon auth --access-token <JWT> roadrecon auth --refresh-token <refresh_token> # From a PRT (with session key) for SSO-grade access roadrecon auth --prt <prt> --prt-sessionkey <session_key>
Authentication writes `.roadtools_auth` in the working directory.
# Full gather into roadrecon.db (default) roadrecon gather # Include MFA/auth-method details (requires a privileged role) roadrecon gather --mfa
roadrecon gui # Browse to http://127.0.0.1:5000 — users, groups, roles, applications, # service principals, devices, and conditional-access policies, all offline.
# Analyze conditional-access policies roadrecon plugin policies -h roadrecon plugin policies # Export the gathered data to a BloodHound-importable format roadrecon plugin bloodhound -h roadrecon plugin bloodhound
# ROPC: get a Microsoft Graph token for the Azure CLI client roadtx gettokens -u user@tenant.com -p 'Password123!' -c azcli -r msgraph # Device-code style interactive auth for the Teams client to Graph roadtx interactiveauth -c msteams -r msgraph # From an e
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection,…