skills/mukul975/anthropic-cybersecurity-skills/performing-lateral-movement-with-wmiexec/Gen Agent Trust Hub
performing-lateral-movement-with-wmiexec
Fail
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPERSISTENCECREDENTIALS_UNSAFEMETADATA_POISONINGINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill documentation and the
scripts/agent.pyfile provide functionality to execute commands on remote systems usingwmiexec.pyanddcomexec.py. This capability allows for remote code execution on target hosts during red team operations.\n- [PERSISTENCE]: The skill provides explicit instructions for creating WMI event subscriptions (__EventFilter,CommandLineEventConsumer) to execute arbitrary payloads on specific system triggers, such as user logons. This is a common technique for maintaining long-term access to a compromised system.\n- [COMMAND_EXECUTION]: Thescripts/agent.pyscript employssubprocess.run()to execute external commands and tools, includingtsharkand nativewmiccommands. This enables the agent to execute shell commands on the host machine to perform audits and network analysis.\n- [CREDENTIALS_UNSAFE]: The skill facilitates credential harvesting by documenting the use ofreg saveto dump the SAM and SYSTEM registry hives for offline hash extraction. It also provides commands for Pass-the-Hash authentication usingwmiexec.py.\n- [METADATA_POISONING]: TheSKILL.mdidentifies the author as "mahipal", whereas theLICENSEfile attributes copyright to "mukul975". This discrepancy in metadata fields can lead to confusion regarding the authorship and source of the skill.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted external data that could potentially contain malicious instructions.\n - Ingestion points:
scripts/agent.pyparses EVTX logs and PCAP files;scripts/process.pyloads JSON movement logs.\n - Boundary markers: No explicit delimiters or instructions are used to distinguish data from instructions during processing.\n
- Capability inventory: The
agent.pyscript has access to shell execution viasubprocess.run.\n - Sanitization: There is no evidence of sanitization for the content of the logs being processed, which could lead to an agent following instructions embedded within log entries.
Recommendations
- AI detected serious security threats
Audit Metadata