Skip to content

Commit c6562d3

Browse files
fix: SMB Create Remote File Admin Share - filtered out local ip
1 parent 556835d commit c6562d3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

rules/windows/builtin/security/win_security_smb_file_creation_admin_shares.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ references:
77
- https://securitydatasets.com/notebooks/atomic/windows/lateral_movement/SDWIN-200806015757.html?highlight=create%20file
88
author: Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research)
99
date: 2020-08-06
10-
modified: 2021-11-27
10+
modified: 2025-07-16
1111
tags:
1212
- attack.lateral-movement
1313
- attack.t1021.002
@@ -19,9 +19,11 @@ detection:
1919
EventID: 5145
2020
ShareName|endswith: 'C$'
2121
AccessMask: '0x2'
22-
filter:
22+
filter_main_subjectusername:
2323
SubjectUserName|endswith: '$'
24-
condition: selection and not filter
24+
filter_optional_local_ip:
25+
IpAddress: '::1'
26+
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
2527
falsepositives:
2628
- Unknown
2729
level: high

0 commit comments

Comments
 (0)