uac_bypass_via_event_viewer
Description
Detects UAC bypass method using Windows event viewer License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
(($methregistry.metadata.product_event_type = "13" and re.regex($methregistry.target.registry.registry_key, `HKEY_USERS\\.*\\mscfile\\shell\\open\\command`)) or (($methregistry.metadata.product_event_type = "1" and re.regex($methregistry.principal.process.file.full_path, `.*\\eventvwr\.exe`)) and not (re.regex($methregistry.target.process.file.full_path, `.*\\mmc\.exe`))))
condition:
$methregistry