SELECT * FROM events WHERE devicetype=12 AND (((LOWER("Process Path") LIKE '%\reg.exe' OR LOWER("Process Name") LIKE '%\reg.exe') OR Filename='reg.exe') AND (LOWER(Command) LIKE '%software\microsoft\windows defender\%' OR LOWER(Command) LIKE '%software\policies\microsoft\windows defender security center%' OR LOWER(Command) LIKE '%software\policies\microsoft\windows defender\%')) AND (((LOWER(Command) LIKE '% add %' AND LOWER(Command) LIKE '%d 0%') AND (LOWER(Command) LIKE '%disallowexploitprotectionoverride%' OR LOWER(Command) LIKE '%enablecontrolledfolderaccess%' OR LOWER(Command) LIKE '%mpenablepus%' OR LOWER(Command) LIKE '%puaprotection%' OR LOWER(Command) LIKE '%spynetreporting%' OR LOWER(Command) LIKE '%submitsamplesconsent%' OR LOWER(Command) LIKE '%tamperprotection%')) OR ((LOWER(Command) LIKE '% add %' AND LOWER(Command) LIKE '%d 1%') AND (LOWER(Command) LIKE '%disableaccess%' OR LOWER(Command) LIKE '%disableantispyware%' OR LOWER(Command) LIKE '%disableantispywarerealtimeprotection%' OR LOWER(Command) LIKE '%disableantivirus%' OR LOWER(Command) LIKE '%disableantivirussignatures%' OR LOWER(Command) LIKE '%disablearchivescanning%' OR LOWER(Command) LIKE '%disablebehaviormonitoring%' OR LOWER(Command) LIKE '%disableblockatfirstseen%' OR LOWER(Command) LIKE '%disablecloudprotection%' OR LOWER(Command) LIKE '%disableconfig%' OR LOWER(Command) LIKE '%disableenhancednotifications%' OR LOWER(Command) LIKE '%disableintrusionpreventionsystem%' OR LOWER(Command) LIKE '%disableioavprotection%' OR LOWER(Command) LIKE '%disablenetworkprotection%' OR LOWER(Command) LIKE '%disableonaccessprotection%' OR LOWER(Command) LIKE '%disableprivacymode%' OR LOWER(Command) LIKE '%disablerealtimemonitoring%' OR LOWER(Command) LIKE '%disableroutinelytakingaction%' OR LOWER(Command) LIKE '%disablescanonrealtimeenable%' OR LOWER(Command) LIKE '%disablescriptscanning%' OR LOWER(Command) LIKE '%disablesecuritycenter%' OR LOWER(Command) LIKE '%notification_suppress%' OR LOWER(Command) LIKE '%signaturedisableupdateonstartupwithoutengine%')))