Suspicious Network Command
A Sigma rule for process creation on Windows, by frack113, Christopher Peacock '@securepeacock', SCYTHE '@scythe_io'.
low 1 ATT&CK technique 5 everyday examples trip it
What it looks for
detection:
selection:
CommandLine|re:
- 'ipconfig\s+/all'
- 'netsh\s+interface show interface'
- 'arp\s+-a'
- 'nbtstat\s+-n'
- 'net\s+config'
- 'route\s+print'
condition: selection
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by frack113, Christopher Peacock '@securepeacock', SCYTHE '@scythe_io', under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
Command lines that trip it
Display the IP configuration of the remote host on the page for psexec
psexec \\remote_host ipconfig /allIdentifyTo display the entire contents of the IP routing table, type on the page for route_ws2008
route printIdentifyTo display the routes in the IP routing table that begin with 10, type on the page for route_ws2008
route print 10.*IdentifyRun an expression as a workflow on the page for Invoke-AsWorkflow
Invoke-AsWorkflow -Expression "ipconfig /all" -PSComputerName (Get-Content DomainControllers.txt) -AsJob -JobName IPConfigIdentify