Closed n00bsteam closed 1 year ago
yeah, this has to do with the logic conversion. I still have not figured it out. Problem is that Sigma can use more logic combinations than Wazuh; mostly problems are with OR logic.
Here's the detection section of that Sigma rule:
detection:
rundll_image:
Image|endswith: '\rundll32.exe'
rundll_ofn:
OriginalFileName: 'RUNDLL32.EXE'
selection:
CommandLine|contains|all:
- 'comsvcs'
- 'MiniDump' #Matches MiniDump and MinidumpW
- 'full'
condition: (rundll_image or rundll_ofn) and selection
It should create two rules that contains the below from the sigma rule: rundll_image and selection rundll_ofn and selection
Not sure how to fix this atm, will be working on it as I can.
Ok, then
<field name="win.eventdata.commandLine" negate="no" type="pcre2">(?i)comsvcs</field>
<field name="win.eventdata.commandLine" negate="no" type="pcre2">(?i)MiniDump</field>
<field name="win.eventdata.commandLine" negate="no" type="pcre2">(?i)full</field>
must be at first rule?
I believe this is fixed, but the rule no longer exists.
Have some rules duplicated. Example: