windows-discovery
Warn
Audited by Gen Agent Trust Hub on Jul 6, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFEDATA_EXFILTRATION
Full Analysis
- [REMOTE_CODE_EXECUTION]: Employs a PowerShell download cradle (
IEX(New-Object Net.WebClient).DownloadString(...)) to fetch and execute remote scripts from an external URL. It also usesAdd-Typeto dynamically compile and execute C# code for token privilege inspection. - [EXTERNAL_DOWNLOADS]: References external tools and scripts such as WinPEAS, PowerUp, and Seatbelt intended to be transferred to and executed on the target system.
- [COMMAND_EXECUTION]: Executes a wide variety of Windows system utilities including
wmic,sc,net,schtasks, andregto enumerate configurations and identify misconfigurations. - [CREDENTIALS_UNSAFE]: Systematically hunts for sensitive information, targeting files and registry keys such as the
SAMhive,unattend.xml,web.config, and PowerShell command history. - [DATA_EXFILTRATION]: Instructs the agent to capture and return discovered credentials, vulnerabilities, and pivot paths to an external orchestrator.
Audit Metadata