Skip to content

Commit

Permalink
fix: FPs with UserInitMprLogonScript rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Nov 9, 2019
1 parent fbe138e commit 038f205
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ detection:
exec_selection:
EventID: 1 # Migration to process_creation requires multipart YAML
ParentImage: '*\userinit.exe'
exec_exclusion:
exec_exclusion1:
Image: '*\explorer.exe'
exec_exclusion2:
CommandLine: '*\netlogon.bat'
create_selection_cli:
EventID:
Expand All @@ -33,7 +34,7 @@ detection:
create_keywords_cli:
CommandLine:
- '*UserInitMprLogonScript*'
condition: (exec_selection and not exec_exclusion) or (create_selection_reg and create_keywords_reg) or (create_selection_cli and create_keywords_cli)
condition: (exec_selection and not exec_exclusion1 and not exec_exclusion2) or (create_selection_reg and create_keywords_reg) or (create_selection_cli and create_keywords_cli)
falsepositives:
- exclude legitimate logon scripts
- penetration tests, red teaming
Expand Down

0 comments on commit 038f205

Please sign in to comment.