Discovery of a System Time
A Sigma rule for process creation on Windows, by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community.
low 1 ATT&CK technique 5 programs it names 4 everyday examples trip it
What it looks for
detection:
selection_time:
CommandLine|contains: 'time'
Image|endswith:
- '\net.exe'
- '\net1.exe'
selection_w32tm:
CommandLine|contains: 'tz'
Image|endswith: '\w32tm.exe'
condition: 1 of 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 E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community, 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
To add a user account for Jay Samson (user name: jays), with sign in rights from 8 AM to 5 PM, Monday through Friday, with the mandatory password Cyk4^g3B, and use the user's full name, run the following command on the page for net user
net user jays Cyk4^g3B /add /passwordreq:yes /times:monday-friday,8am-5pm /fullname:"Jay Jamison"IdentifyTo set the sign-in time from 8 AM to 5 PM for the username MikeD using 24-hour notation, run the following command on the page for net user
net user miked /time:M-F,08:00-17:00Identify