diff --git a/rules/windows/process_creation/proc_creation_win_schtasks_reg_loader.yml b/rules/windows/process_creation/proc_creation_win_schtasks_reg_loader.yml new file mode 100644 index 000000000..137c87fb9 --- /dev/null +++ b/rules/windows/process_creation/proc_creation_win_schtasks_reg_loader.yml @@ -0,0 +1,35 @@ +title: Scheduled Task Executing Powershell Encoded Payload from Registry +id: c4eeeeae-89f4-43a7-8b48-8d1bdfa66c78 +status: experimental +description: Detects the creation of a schtask that executes a base64 encoded payload stored in the Windows Registry using PowerShell. +author: '@Kostastsale, @TheDFIRReport, slightly modified by pH-T' +references: + - https://thedfirreport.com/2022/02/21/qbot-and-zerologon-lead-to-full-domain-compromise/ +date: 2022/02/12 +modified: 2022/03/15 +logsource: + product: windows + category: process_creation +detection: + selection1: + Image|endswith: '\schtasks.exe' + CommandLine|contains|all: + - '/Create' + - '/SC' + - 'FromBase64String' + - 'Get-ItemProperty' + selection2: + CommandLine|contains: + - 'HKCU:' + - 'HKLM:' + - 'registry::' + - 'HKEY_' + condition: selection1 and selection2 +falsepositives: + - Unknown +level: high +tags: + - attack.execution + - attack.persistence + - attack.t1053.005 + - attack.t1059.001