Skip to content
WETNav

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.

Worst caseMedium

Switches

/s<value>

Queries a remote computer instead of the local one.

Medium
/u<value>

Account to use for the remote query.

Medium
/p<value>

Password for the remote query. Appears in clear text in the command line.

Medium
/fo<value>

Output format: table, list or csv.

Info

Command lines to worry about

  • Medium

    Remote system information query

    Collects details from another computer. Check whether the source host normally runs admin tooling.

    Detection regexsysteminfo(\.exe)?\s+.*\/s\s+\S+

    T1082

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.

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.