Skip to content

Commit 51c94ac

Browse files
add new selection block
1 parent 3c9f29a commit 51c94ac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rules/windows/process_creation/proc_creation_win_lolbin_sftp_indirect_cmd_execution.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ logsource:
1515
category: process_creation
1616
product: windows
1717
detection:
18-
selection:
18+
selection_img:
1919
Image|endswith: '\sftp.exe'
2020
CommandLine|contains: 'ProxyCommand='
21-
condition: selection
21+
selection_child:
22+
Image|endswith: '\ssh.exe'
23+
CommandLine|contains: 'ProxyCommand='
24+
CommandLine|endswith: 'sftp'
25+
condition: 1 of selection_*
2226
falsepositives:
2327
- Legitimate use of SFTP with proxy commands for administration or networking tasks
2428
level: high

0 commit comments

Comments
 (0)