title: Registry Persistence Mechanisms description: Detects persistence registry keys references: - https://oddvar.moe/2018/04/10/persistence-using-globalflags-in-image-file-execution-options-hidden-from-autoruns-exe/ date: 2018/04/11 author: Karneades logsource: product: windows service: sysmon detection: selection_reg1: EventID: 13 TargetObject: - '*\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\\*\GlobalFlag' - '*\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\\*\ReportingMode' - '*\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\\*\MonitorProcess' EventType: 'SetValue' condition: selection_reg1 tags: - attack.privilege_escalation - attack.persistence - attack.defense_evasion - attack.t1183 falsepositives: - unknown level: critical