Skip to content

Commit bd97ee1

Browse files
SamirbousAegrah
andauthored
Update rules/windows/credential_access_bruteforce_admin_account.toml
Co-authored-by: Ruben Groenewoud <[email protected]>
1 parent 8fb8c55 commit bd97ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/windows/credential_access_bruteforce_admin_account.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ from logs-system.security*, logs-windows.forwarded*, winlogbeat-* metadata _id,
121121
not winlog.event_data.Status in ("0xc000015b", "0xc000005e", "0xc0000133", "0xc0000192", "0xc00000dc")
122122
// truncate the timestamp to a 60-second window
123123
| eval Esql.time_window = date_trunc(60 seconds, @timestamp)
124-
| 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
124+
| 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
125125
| where Esql.failed_auth_count >= 50
126126
| KEEP winlog.computer_name, source.ip, Esql.time_window, winlog.logon.type, Esql.*
127127
'''

0 commit comments

Comments
 (0)