Skip to content

Certain Windows commands include two spaces between the process and the parameters which is NOT reflected in related SIGMA rules #4914

Open
@Koifman

Description

@Koifman

Rule UUID

a29c1813-ab1f-4dde-b489-330b952e91ae

Example EventLog

OriginalFileName: ipconfig.exe
CommandLine: ipconfig /all

Description

Something pretty odd I noticed. On Windows EID 4688 AND also Sysmon EID 1, some commands are logging two spaces instead of one, which is not reflected in sigma rules. For example, the rule "a29c1813-ab1f-4dde-b489-330b952e91ae" lists the following command:
"ipconfig /all", which clearly shows one space. However, when I tested this command (multiple machines, asked other people as well, all give the same result), it logs as two spaces:
OriginalFileName: ipconfig.exe
CommandLine: ipconfig /all

This is relevant (so far) to "ipconfig", "net", "arp" and "ping"
Another example, typing "ping 1.1.1.1" (one space) would log it as "ping 1.1.1.1" (two spaces)

I could not find ANY information about this online, any there are a lot of rules that utilize those commands and only include one space in the detection logic, instead of two, which can cause serious misses.

Would be great to get some more information about this if you know. Thanks!

Metadata

Metadata

Assignees

Labels

False-PositiveIssue reporting a false positive with one of the rules

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions