sigma
sigma copied to clipboard
Added a new rule for wlrmdr whitelisting bypass
Added a new rule for detecting winlogon reminder app whitelisting bypass
Before push you can test localy
PS D:\rootme\sigma> python .\tests\test_rules.py
MITRE ATT&CK LIST LENGTHS: 864 707 14 133 546
.Rule rules\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml has a invalid condition 'selection_one OR selection_two' : 'or','and','not','of' are lowercase
FRule rules\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml has the following incorrect tag attack.defence_evasion
F..F.........................Rule rules\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml has a title that has not title capitalization. Words: 'whitelist, bypass'
F
======================================================================
FAIL: test_condition_operator_casesensitive (__main__.TestRules)
----------------------------------------------------------------------
- ['rules\\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml']
+ [] : There are rules using condition whitout lowercase operator
======================================================================
FAIL: test_confirm_correct_mitre_tags (__main__.TestRules)
----------------------------------------------------------------------
- ['rules\\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml']
+ [] : There are rules with incorrect/unknown MITRE Tags. (please inform us about new tags that are not yet supported in our tests) and check the correct tags here: https://attack.mitre.org/
======================================================================
FAIL: test_event_id_instead_of_process_creation (__main__.TestRules)
----------------------------------------------------------------------
- ['rules\\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml']
+ [] : There are rules still using Sysmon 1 or Event ID 4688. Please migrate to the process_creation category.
======================================================================
FAIL: test_title (__main__.TestRules)
----------------------------------------------------------------------
- ['rules\\sysmon_wlrmdr_lolbas_app_whitelist_bypass.yml']
+ [] : There are rules with non-conform 'title' fields. Please check: https://github.com/SigmaHQ/sigma/wiki/Rule-Creation-Guide#title
----------------------------------------------------------------------
Ran 32 tests in 186.648s
FAILED (failures=4)
PS D:\rootme\sigma>
For selection selection_two calc is not launch with only this 3 args, there is allready one win_pc_lolbin_wlrmdr.yml
As @frack113 mentioned the 2nd selection in your rule is already covered by the rule 9cfc00b6-bfb7-49ce-9781-ef78503154bb and due to inactivity for this PR. I added the "Parent" execution to the rule in #3759
Will close this PR.