subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
results = [] for event, entries in agent_hooks["hooks"].items(): command = entries[0]["hooks"][0]["command"] proc = subprocess.run( ["powershell.exe", "-NoProfile", "-Command", command], input=payload, text=True,- Confidence
- 93% confidence
- Finding
- proc = subprocess.run( ["powershell.exe", "-NoProfile", "-Command", command], input=payload, text=True, stdout=subprocess.PIPE, stde
