Skip to content
WETNav

Discovery · Windows

hostname.exe

Hostname

Prints the computer name. Low risk alone, but common in automated discovery scripts.

Legitimate use

Used by scripts and support staff to identify a computer.

Worst caseInfo

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

2 SigmaHQ rules for hostname.exe. The explainer checks every pasted command line against all of them.

  • High
    Suspicious Process By Web Server Process

    Detects potentially suspicious processes being spawned by a web server process which could be the result of a successfully placed web shell or exploitation

    T1505.003T1190by Thomas Patzke, Florian Roth (Nextron Systems), Zach Stanford @svch0st, Tim Shelton, Nasreddine Bencherchali (Nextron Systems)

  • Low
    Suspicious Execution of Hostname

    Use of hostname to get 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.