Suspicious Execution of Shutdown to Log Out (via process_creation)

This rule detects the rare use of the command line tool shutdown to logoff a user

SigmamediumWindowsv1
sigma
title: Suspicious Execution of Shutdown to Log Out (via process_creation)
id: a75cf5c7-5b66-5bf5-a998-543a673af61e
status: stable
description: This rule detects the rare use of the command line tool shutdown to logoff a user
references:
    - https://attack.mitre.org/techniques/T1529/
    - https://github.com/redcanaryco/atomic-red-team/blob/9e5b12c4912c07562aec7500447b11fa3e17e254/atomics/T1529/T1529.md
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown
author: Huntrule Team
date: 2026-06-09
tags:
    - attack.impact
    - attack.t1529
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\shutdown.exe'
        CommandLine|contains: '/l'
    condition: selection
falsepositives:
    - Unknown
level: medium

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.