cscli scenarios install sigmahq/proc_creation_win_uac_bypass_ntfs_reparse_point1type: trigger2name: sigmahq/proc_creation_win_uac_bypass_ntfs_reparse_point3description: |4 Detects the pattern of UAC Bypass using NTFS reparse point and wusa.exe DLL hijacking (UACMe 36)5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine startsWith '"C:\\Windows\\system32\\wusa.exe" /quiet C:\\Users\\' && evt.Parsed.CommandLine endsWith '\\AppData\\Local\\Temp\\update.msu' && (evt.Parsed.IntegrityLevel in ['High', 'System']) || evt.Parsed.ParentCommandLine == '"C:\\Windows\\system32\\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\\Windows\\system32\\pe386" /ignorecheck' && (evt.Parsed.IntegrityLevel in ['High', 'System']) && evt.Parsed.CommandLine contains 'C:\\Users\\' && evt.Parsed.CommandLine contains '\\AppData\\Local\\Temp\\' && evt.Parsed.CommandLine contains '\\dismhost.exe {' && evt.Parsed.Image endsWith '\\DismHost.exe')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1548.0021516 label: "UAC Bypass Using NTFS Reparse Point - Process"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324