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
Python ai-agentsclaude-codecloud-securitycybersecuritydevsecopsethical-hackingincident-responseinfosecllmmalware-analysismcpmitre-attacknist-csfosintpenetration-testingred-teamsecuritysecurity-automationthreat-huntingthreat-intelligence
API Reference: Service Account Abuse Detection
Active Directory PowerShell Module
Get Service Accounts (SPN-based)
Get-ADUser -Filter {ServicePrincipalName -ne "$null"} -Properties `
ServicePrincipalName, LastLogonDate, Enabled, PasswordLastSet, `
PasswordNeverExpires, AdminCount, MemberOf
Get Managed Service Accounts
Get-ADServiceAccount -Filter * -Properties `
PrincipalsAllowedToRetrieveManagedPassword, LastLogonDate
Check Kerberos Delegation
Get-ADUser -Filter {TrustedForDelegation -eq $true} -Properties `
TrustedForDelegation, TrustedToAuthForDelegation, `
msDS-AllowedToDelegateTo
Windows Event Log Queries
Logon Type Values
| Type | Description | Concern for Service Accounts |
|---|---|---|
| 2 | Interactive | HIGH — should not happen |
| 3 | Network | Normal for services |
| 5 | Service | Normal |
| 10 | RemoteInteractive (RDP) | HIGH — should not happen |
Event IDs
| ID | Log | Description |
|---|---|---|
| 4624 | Security | Successful logon |
| 4625 | Security | Failed logon |
| 4648 | Security | Explicit credential use |
| 4672 | Security | Special privilege logon |
| 4720 | Security | Account created |
| 4738 | Security | Account modified |
Microsoft Graph API — Service Principal Audit
List Service Principals
GET https://graph.microsoft.com/v1.0/servicePrincipals
Authorization: Bearer {token}
List App Role Assignments
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/appRoleAssignments
Audit Sign-In Logs
GET https://graph.microsoft.com/v1.0/auditLogs/signIns
?$filter=appId eq '{service-principal-app-id}'
AWS IAM — Service Role Audit
List service-linked roles
aws iam list-roles --query "Roles[?starts_with(Path, '/aws-service-role/')]"
Get role last used
aws iam get-role --role-name MyServiceRole \
--query "Role.RoleLastUsed"
Access Analyzer findings
aws accessanalyzer list-findings --analyzer-arn {arn} \
--filter '{"resourceType":{"eq":["AWS::IAM::Role"]}}'