Windows: Suspicious Process Execution of hostname.exe

Flags execution of hostname.exe from process creation events on Windows for discovery activity.

FreeReviewedSigma · Low · v2
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-01-01
Updated
2026-07-31
title: "Windows: Suspicious Process Execution of hostname.exe"
id: fc0a899c-9de5-4140-a333-e36001b390e0
status: test
description: This rule flags process executions where the binary path ends with \HOSTNAME.EXE, indicating a hostname discovery attempt on Windows. Attackers often use hostname-related commands to gather local or system context before further discovery or targeting. It relies on process creation telemetry containing the executed image path.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1082/T1082.md#atomic-test-6---hostname-discovery-windows
  - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/hostname
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_hostname_execution.yml
author: frack113, Huntrule Team
date: 2022-01-01
tags:
  - attack.discovery
  - attack.t1082
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith: \HOSTNAME.EXE
  condition: selection
falsepositives:
  - Unknown
level: low
license: DRL-1.1
related:
  - id: 7be5fb68-f9ef-476d-8b51-0256ebece19e
    type: derived