Windows InfDefaultInstall.exe .inf Execution via Process Command Line

Flags Windows process executions of InfDefaultInstall.exe that include an .inf argument in the command line.

FreeUnreviewedSigmamediumv1
title: Windows InfDefaultInstall.exe .inf Execution via Process Command Line
id: 10ae70a8-b5b1-48f1-b34d-ffeedc65eb60
status: test
description: This rule matches process creation events where the command line contains both "InfDefaultInstall.exe " and a " .inf" argument. Attackers can use INF-driven execution paths to launch code indirectly and potentially blend in with legitimate installer-style activity. The detection relies on Windows process creation telemetry, specifically the command line string for spawned processes.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md#atomic-test-4---infdefaultinstallexe-inf-execution
  - https://lolbas-project.github.io/lolbas/Binaries/Infdefaultinstall/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_infdefaultinstall_execute_sct_scripts.yml
author: frack113, Huntrule Team
date: 2021-07-13
modified: 2022-10-09
tags:
  - attack.stealth
  - attack.t1218
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    CommandLine|contains|all:
      - "InfDefaultInstall.exe "
      - ".inf"
  condition: selection
falsepositives:
  - Unknown
level: medium
license: DRL-1.1
related:
  - id: ce7cf472-6fcc-490a-9481-3786840b5d9b
    type: derived

What it detects

This rule matches process creation events where the command line contains both "InfDefaultInstall.exe " and a " .inf" argument. Attackers can use INF-driven execution paths to launch code indirectly and potentially blend in with legitimate installer-style activity. The detection relies on Windows process creation telemetry, specifically the command line string for spawned processes.

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.