Skip to content

Commit e2222c2

Browse files
SamirbousAegrah
andauthored
Update rules/windows/credential_access_bruteforce_multiple_logon_failure_same_srcip.toml
Co-authored-by: Ruben Groenewoud <[email protected]>
1 parent 1f21a60 commit e2222c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/windows/credential_access_bruteforce_multiple_logon_failure_same_srcip.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ from logs-system.security*, logs-windows.forwarded*, winlogbeat-* metadata _id,
136136
not winlog.event_data.Status in ("0xc000015b", "0xc000005e", "0xc0000133", "0xc0000192", "0xc00000dc")
137137
// truncate the timestamp to a 60-second window
138138
| eval Esql.time_window = date_trunc(60 seconds, @timestamp)
139-
| stats Esql.failed_auth_count = COUNT(*), Esql.target_user_name_values = VALUES(winlog.event_data.TargetUserName), Esql.user_domain_values = VALUES(user.domain), Esql.error_codes = VALUES(winlog.event_data.Status) by winlog.computer_name, source.ip, Esql.time_window, winlog.logon.type
139+
| stats Esql.failed_auth_count = COUNT(*), Esql.target_user_name_values = VALUES(winlog.event_data.TargetUserName), Esql.user_domain_values = VALUES(user.domain), Esql.error_codes = VALUES(winlog.event_data.Status), Esql.data_stream_namespace.values = VALUES(data_stream.namespace) by winlog.computer_name, source.ip, Esql.time_window, winlog.logon.type
140140
| where Esql.failed_auth_count >= 100
141141
| KEEP winlog.computer_name, source.ip, Esql.time_window, winlog.logon.type, Esql.*
142142
'''

0 commit comments

Comments
 (0)