IIS HTTP Logging Disablededit

Identifies when Internet Information Services (IIS) HTTP Logging is disabled on a server. An attacker with IIS server access via a webshell or other mechanism can disable HTTP Logging as an effective anti-forensics measure.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-endpoint.events.*
  • logs-windows.*

Severity: high

Risk score: 73

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 33

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Defense Evasion

Version: 101 (version history)

Added (Elastic Stack release): 7.10.0

Last modified (Elastic Stack release): 8.5.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guideedit


Rule queryedit

process where event.type == "start" and (process.name : "appcmd.exe"
or process.pe.original_file_name == "appcmd.exe") and process.args :
"/dontLog*:*True" and not process.parent.name : "iissetup.exe"

Threat mappingedit

Framework: MITRE ATT&CKTM

Rule version historyedit

Version 101 (8.5.0 release)
  • Updated query, changed from:

    process where event.type in ("start", "process_started") and
    (process.name : "appcmd.exe" or process.pe.original_file_name ==
    "appcmd.exe") and process.args : "/dontLog*:*True" and not
    process.parent.name : "iissetup.exe"
Version 9 (8.4.0 release)
  • Formatting only
Version 7 (8.2.0 release)
  • Formatting only
Version 6 (7.16.0 release)
  • Formatting only
Version 5 (7.13.0 release)
  • Updated query, changed from:

    event.category:process and event.type:(start or process_started) and
    (process.name:appcmd.exe or process.pe.original_file_name:appcmd.exe)
    and process.args:/dontLog\:\"True\" and not
    process.parent.name:iissetup.exe
Version 4 (7.12.0 release)
  • Formatting only
Version 3 (7.11.2 release)
  • Formatting only
Version 2 (7.11.0 release)
  • Updated query, changed from:

    event.category:process and event.type:(start or process_started) and
    (process.name:appcmd.exe or process.pe.original_file_name:appcmd.exe
    or winlog.event_data.OriginalFileName:appcmd.exe) and
    process.args:/dontLog\:\"True\" and not
    process.parent.name:iissetup.exe