Add more keys concerned with lsa ppl protection#5399
Add more keys concerned with lsa ppl protection#5399swachchhanda000 wants to merge 4 commits intoSigmaHQ:masterfrom
Conversation
rules/windows/process_creation/proc_creation_win_reg_lsa_ppl_protection_disabled.yml
Show resolved
Hide resolved
rules/windows/process_creation/proc_creation_win_reg_lsa_ppl_protection_disabled.yml
Show resolved
Hide resolved
rules/windows/process_creation/proc_creation_win_reg_lsa_ppl_protection_disabled.yml
Show resolved
Hide resolved
| filter: | ||
| CommandLine|contains: | ||
| - "01" | ||
| - "02" |
There was a problem hiding this comment.
What is filtered here? Can you give an example? (Is it a main or optional filter?)
There was a problem hiding this comment.
When modifying the registry using the reg command, you can pass a value using either of the following formats:
/d 0 /d 00000000
For example:
The intention of rule is to catch this commandline
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "RunAsPPL" /t REG_DWORD /d "0"
But, This means the rule will be triggered if the value is set like this:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "RunAsPPL" /t REG_DWORD /d "00000001"
or similarly with other non-zero DWORD values like "00000002".
There was a problem hiding this comment.
- so it's a main filter
- maybe you can rewrite the rule to be more robust? Maybe it works without this filter. It's a regex if it has to be.
- maybe use /v /d with windash
There was a problem hiding this comment.
I just find out we cannot really use this logic too as it is also possible to use 0x0
There was a problem hiding this comment.
You should care about any modification of these key/values via CLI. So drop the filter.
And move the rule to medium
Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
a6254cb to
b9a91bb
Compare
Summary of the Pull Request
Add more keys concerned with lsa ppl protection
Changelog
update: LSA PPL Protection Disabled Via Reg.EXE - Add more keys regarding LSA PPL
Example Log Event
Fixed Issues
SigmaHQ Rule Creation Conventions