Skip to content

Commit

Permalink
fix: condition
Browse files Browse the repository at this point in the history
  • Loading branch information
qasimqlf authored Feb 3, 2023
1 parent 71c2be5 commit 7332939
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ references:
- https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
author: Oddvar Moe, Sander Wiebing, oscd.community
date: 2020/10/12
modified: 2021/12/31
modified: 2023/02/03
tags:
- attack.t1112
- attack.defense_evasion
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\regedit.exe'
selection_img:
- Image|endswith: '\regedit.exe'
- OriginalFileName: 'REGEDIT.EXE'
selection_cli:
CommandLine|contains:
- ' /i '
- '.reg'
selection_2:
selection_cli_re:
CommandLine|re: ':[^ \\]'
filter:
CommandLine|contains:
Expand All @@ -33,7 +35,7 @@ detection:
- ' -e '
- ' -a '
- ' -c '
condition: all of selection* and not filter
condition: all of selection_* and not filter
fields:
- ParentImage
- CommandLine
Expand Down

0 comments on commit 7332939

Please sign in to comment.