Community detections
python3.exe
2 community detection rules look for suspicious python3.exe command lines, most often for Command and Scripting Interpreter (T1059). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
What defenders look for
- High
- MediumPython Inline Command Execution
Detects execution of python using the "-c" flag. This is could be used as a way to launch a reverse shell or execute live python code.
T1059by Nasreddine Bencherchali (Nextron Systems)
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.
Questions
- Is python3.exe malicious?
- Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. Python Spawning Pretty TTY on Windows; Python Inline Command Execution. Judge a run by its command line, its parent process, the account and the host.
- What does python3.exe have to do with ATT&CK?
- The rules for it map to Command and Scripting Interpreter (T1059).
- How do I check a python3.exe command line?
- Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.