cscli scenarios install sigmahq/proc_creation_win_powershell_import_cert_susp_locations
1type: trigger2name: sigmahq/proc_creation_win_powershell_import_cert_susp_locations3description: |4 Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.CommandLine contains 'Import-Certificate' && evt.Parsed.CommandLine contains ' -FilePath ' && evt.Parsed.CommandLine contains 'Cert:\\LocalMachine\\Root' && (evt.Parsed.CommandLine contains '\\AppData\\Local\\Temp\\' || evt.Parsed.CommandLine contains ':\\Windows\\TEMP\\' || evt.Parsed.CommandLine contains '\\Desktop\\' || evt.Parsed.CommandLine contains '\\Downloads\\' || evt.Parsed.CommandLine contains '\\Perflogs\\' || evt.Parsed.CommandLine contains ':\\Users\\Public\\'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1553.0041516 label: "Root Certificate Installed From Susp Locations"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324