Files
Anthropic-Cybersecurity-Skills/skills/auditing-entra-id-with-aadinternals/references/api-reference.md
T
mukul975 8cae0648ec Add 55 new skills across 3 new domains + 6 undercovered areas (762 -> 817)
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.
2026-06-22 19:08:16 +02:00

54 lines
2.5 KiB
Markdown

# AADInternals Cmdlet Reference
## Installation
```powershell
Install-Module AADInternals -Scope CurrentUser
Import-Module AADInternals
```
## Reconnaissance (no credentials)
| Cmdlet | Key parameters | Purpose |
|--------|----------------|---------|
| `Invoke-AADIntReconAsOutsider` | `-DomainName <fqdn>` | Verified domains, tenant ID, federation type, brand, Desktop SSO |
| `Get-AADIntLoginInformation` | `-Domain <fqdn>` | getuserrealm login/realm details |
| `Get-AADIntTenantID` | `-Domain <fqdn>` | Tenant GUID |
| `Invoke-AADIntUserEnumerationAsOutsider` | `-UserName <upn>` | Validate user existence |
## Token Acquisition (credentials required)
| Cmdlet | Key parameters | Purpose |
|--------|----------------|---------|
| `Get-AADIntAccessTokenForAADGraph` | `-SaveToCache`, `-Credentials`, `-KerberosTicket` | Azure AD Graph (graph.windows.net) token |
| `Get-AADIntAccessTokenForMSGraph` | `-SaveToCache` | Microsoft Graph token |
| `Get-AADIntAccessTokenForEXO` | `-SaveToCache` | Exchange Online token |
| `Get-AADIntAccessTokenForOneDrive` | `-Tenant`, `-SaveToCache` | SharePoint/OneDrive token |
| `Get-AADIntAccessTokenForAzureCoreManagement` | `-SaveToCache` | Azure Resource Manager token |
## Authenticated Enumeration
| Cmdlet | Purpose |
|--------|---------|
| `Get-AADIntTenantDetails` | Tenant configuration overview |
| `Get-AADIntUsers` | Enumerate directory users (UPN, DirSync, ImmutableId) |
| `Get-AADIntGlobalAdmins` | List Global Administrators |
| `Get-AADIntServicePrincipals` | Enumerate service principals |
## Federation / AD FS / Golden SAML
| Cmdlet | Key parameters | Purpose |
|--------|----------------|---------|
| `Export-AADIntADFSSigningCertificate` | `-Path <pfx>` | Export AD FS token-signing certificate |
| `Get-AADIntADFSConfiguration` | `-Server <fqdn>` | Read AD FS configuration |
| `ConvertTo-AADIntBackdoor` | `-DomainName <fqdn>`, `-AccessToken` | Convert a domain to a federation backdoor (sets IssuerUri) |
| `New-AADIntBackdoor` | `-DomainName`, `-Issuer` | Create a backdoor federated domain |
| `New-AADIntSAMLToken` | `-ImmutableID`, `-Issuer`, `-UseBuiltInCertificate` | Forge a SAML token for a user |
| `Open-AADIntOffice365Portal` | `-SAMLToken` | Open a portal session as the impersonated user |
## Notes
- Many enumeration cmdlets consume the AAD Graph token cached by `-SaveToCache`.
- `ConvertTo-AADIntBackdoor` requires a Global Administrator AAD Graph token.
- The cross-platform AsOutsider-only reimplementation is `synacktiv/AADOutsider-py`.