T1007 System Service Discovery
Adversaries may try to gather information about registered local system services. MITRE ATT&CK
3 programs on CmdID 10 Sigma rules T1007 on attack.mitre.org
Programs for it
Sigma rules tagged with it
Command lines CmdID reads as it
Show the status of a service (no service name will list all services) on the page for sc.exe
sc query service_nameIdentifyTo display a list of all user accounts for the local computer, run the following command on the page for net user
net userIdentifyTo display information about the user account TommyH, run the following command on the page for net user
net user tommyhIdentifyTo 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:00IdentifyTo set the sign-in time from 8 AM to 5 PM for MikeD using 12-hour notation, run the following command on the page for net user
net user miked /time:M-F,8AM-5PMIdentifyTo specify sign-in hours of 4 AM to 12 PM on Monday, 12 PM to 8 PM on Tuesday, and 8 AM to 5 PM Wednesday through Friday for username AnibalS, run the following command on the page for net user
net user anibals /time:M,4AM-12PM;T,12PM-8PM;W-F,8AM-5PMIdentifyTo display information for active services only, type either of the following commands on the page for sc query
sc.exe query
sc.exe query type= serviceIdentifyTo display information for active services, and to specify a buffer size of 2,000 bytes, type on the page for sc query
sc.exe query type= all bufsize= 2000IdentifyTo display information for the wuauserv service, type on the page for sc query
sc.exe query wuauservIdentifyAnd 5 more examples on CmdID’s program pages.
An example is here when CmdID’s reading of it names T1007: a Sigma rule it trips is tagged with it, or its abuse is documented as it.