Windows: AppCmd disables IIS HTTP logging via dontLog=true

Flags appcmd.exe commands that disable IIS HTTP logging by setting httplogging to dontLog:true.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-01-09
Updated
2026-07-31
title: "Windows: AppCmd disables IIS HTTP logging via dontLog=true"
id: 93a103b1-9c27-4db2-8458-62a89e960abe
status: test
description: This rule flags process executions of appcmd.exe where the command sets the IIS HTTP logging section to dontLog:true. Disabling HTTP logging reduces available web request telemetry, which attackers may use to impair detection and hide activity. It relies on Windows process creation telemetry capturing Image and CommandLine content for appcmd.exe.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.002/T1562.002.md#atomic-test-1---disable-windows-iis-http-logging
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_iis_appcmd_http_logging.yml
author: frack113, Huntrule Team
date: 2022-01-09
modified: 2023-01-22
tags:
  - attack.defense-impairment
  - attack.t1685.001
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|endswith: \appcmd.exe
    - OriginalFileName: appcmd.exe
  selection_cli:
    CommandLine|contains|all:
      - set
      - config
      - section:httplogging
      - dontLog:true
  condition: all of selection_*
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: e4ed6030-ffe5-4e6a-8a8a-ab3c1ab9d94e
    type: derived