AutoIt interpreter in a user folder runs a script from a user folder · win.eventdata.company = (?i)^AutoIt Consulting Ltd, win.eventdata.description = (?i)^AutoIt v\d Script
Description
AutoIt interpreter in a user folder runs a script from a user folder: $(win.eventdata.image)
Query · wazuh
field win.eventdata.company="(?i)^AutoIt Consulting Ltd" AND field win.eventdata.description="(?i)^AutoIt v\d Script" AND field win.eventdata.image="(?i)^[a-z]:\\+(users\\+public|programdata|users\\+[^\\]{1,64}\\+appdata\\+(local\\+temp|local|roaming))\\+[^\\]{1,64}\\+[^\\]{1,64}\.(exe|pif|com|scr)$" AND field win.eventdata.commandLine="(?i)^(?!.*\.au3(\\*"|\s|$)).*\.(exe|pif|com|scr)(\\*")?(\s+/[a-z0-9]{1,32})*\s+(\\*")?([a-z]:)?\\+(users\\+public|programdata|users\\+[^\\"]{1,64}\\+appdata\\+(local|roaming))\\+[^\\"]{1,64}\\+"
No license declared
socfortress/Wazuh-Rules publishes no license, and without an express grant the default is all rights reserved. The query above is synthesized from the rule rather than copied out of it, so you can see what the rule matches on; the rule as written stays upstream.
Read the full rule at Endpoint Threats/203000-endpoint_threats_windows.xml ↗. Why this rule is treated this way.
Fires when
Wazuh evaluates a chain top-down. Every rule above this one must match on the same event before this rule is tested at all.
-
decoded_as=windows_eventchannel AND field win.system.providerName="\.+" -
field win.system.channel="^Microsoft-Windows-Sysmon/Operational$" -
field win.system.severityValue="^INFORMATION$" -
field win.system.eventID="^1$" -
203002AutoIt interpreter in a user folder runs a script from a user folder · win.eventdata.company = (?i)^AutoIt Consulting Ltd, win.eventdata.description = (?i)^AutoIt v\d Script refinement level 13 this rulefield win.eventdata.company="(?i)^AutoIt Consulting Ltd" AND field win.eventdata.description="(?i)^AutoIt v\d Script" AND field win.eventdata.image="(?i)^[a-z]:\\+(users\\+public|programdata|users\\+[^\\]{1,64}\\+appdata\\+(local\\+temp|local|roaming))\\+[^\\]{1,64}\\+[^\\]{1,64}\.(exe|pif|com|scr)$" AND field win.eventdata.commandLine="(?i)^(?!.*\.au3(\\*"|\s|$)).*\.(exe|pif|com|scr)(\\*")?(\s+/[a-z0-9]{1,32})*\s+(\\*")?([a-z]:)?\\+(users\\+public|programdata|users\\+[^\\"]{1,64}\\+appdata\\+(local|roaming))\\+[^\\"]{1,64}\\+"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
61603 -
composes · Wazuh if_sid
92025 -
composes · Wazuh if_sid
92028 -
composes · Wazuh if_sid
92042 -
composes · Wazuh if_sid
92069