title: Arrêt ou désactivation du service EventLog dans un script PowerShell
id: f442b228-fa54-4e8d-b410-a8b81535915d
status: experimental
description: Détecte un bloc de script PowerShell (4104) qui arrête ou reconfigure le service EventLog avec Stop-Service ou Set-Service.
references:
  - https://attack.mitre.org/techniques/T1685/001/
author: PurpleLog
date: 2026-10-17
tags:
  - attack.defense-impairment
  - attack.t1685.001
logsource:
  product: windows
  category: ps_script
  definition: 'Nécessite le Script Block Logging'
detection:
  selection_cmdlet:
    ScriptBlockText|contains:
      - 'Stop-Service'
      - 'Set-Service'
  selection_target:
    ScriptBlockText|contains: 'EventLog'
  condition: all of selection_*
falsepositives:
  - Scripts d'administration qui redémarrent le service EventLog
level: high
