Discovery · Windows
systeminfo.exe
System Information
Prints OS version, hotfixes, domain, boot time and hardware details. It shows up early in intrusions to check the patch level and domain membership.
Legitimate use
Support staff use it to check OS build, patches and uptime.
Switches
Queries a remote computer instead of the local one.
MediumAccount to use for the remote query.
MediumPassword for the remote query. Appears in clear text in the command line.
MediumOutput format: table, list or csv.
InfoCommand lines to worry about
- Medium
Remote system information query
Collects details from another computer. Check whether the source host normally runs admin tooling.
Detection regex
systeminfo(\.exe)?\s+.*\/s\s+\S+
Where it is recorded
- Security4688Process creation with the full command line, when command-line auditing is enabled.
- Sysmon1Process creation with command line, hashes and parent process.
Community detections
9 SigmaHQ rules for systeminfo.exe. The explainer checks every pasted command line against all of them.
- HighExecution via stordiag.exe
Detects the use of stordiag.exe to execute schtasks.exe systeminfo.exe and fltmc.exe
T1218by Austin Songer (@austinsonger)
- HighSuspicious Child Process Of Manage Engine ServiceDesk
Detects suspicious child processes of the "Manage Engine ServiceDesk Plus" Java web service
T1102by Florian Roth (Nextron Systems)
- HighSuspicious Child Process Of SQL Server
Detects suspicious child processes of the SQLServer process. This could indicate potential RCE or SQL Injection.
T1505.003T1190by FPT.EagleEye Team, wagga
- HighSuspicious Child Process Of Wermgr.EXE
Detects suspicious Windows Error Reporting manager (wermgr.exe) child process
T1055T1036by Florian Roth (Nextron Systems)
- HighSuspicious Processes Spawned by Java.EXE
Detects suspicious processes spawned from a Java host process which could indicate a sign of exploitation (e.g. log4j)
by Andreas Hunkeler (@Karneades), Florian Roth
- HighSuspicious Shells Spawn by Java Utility Keytool
Detects suspicious shell spawn from Java utility keytool process (e.g. adselfservice plus exploitation)
by Andreas Hunkeler (@Karneades)
- HighSuspicious Spool Service Child Process
Detects suspicious print spool service (spoolsv.exe) child processes.
T1203T1068by Justin C. (@endisphotic), @dreadphones (detection), Thomas Patzke (Sigma rule)
- HighWebshell Detection With Command Line Keywords
Detects certain command line parameters often used during reconnaissance activity via web shells
T1505.003T1018T1033T1087by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, Anton Kutepov, oscd.community, Chad Hudson, Matt Anderson
- LowSuspicious Execution of Systeminfo
Detects usage of the "systeminfo" command to retrieve information
T1082by frack113
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.