@fukusuket Could you take a look at this?
Under the sigma specifications it says that group-by is mandatory but I think this is a mistake as it then says that it is optional.
author: Zach Mathis
date: 2021/12/20
modified: 2022/05/21
title: PW Guessing
description: Search for many 4625 wrong password failed logon attempts in a short period of time.
id: 35e8a0fc-60c2-46d7-ba39-aafb15b9854e
level: medium
status: stable
logsource:
product: windows
service: security
detection:
selection:
Channel: Security
EventID: 4625
SubStatus: "0xc000006a" #Wrong password
filter:
IpAddress: "-"
condition: selection and not filter | count() by IpAddress >= 5
timeframe: 5m
falsepositives:
- User mistyping password
tags:
- attack.t1110.003
- attack.credential_access
references: https://attack.mitre.org/techniques/T1110/003/
ruletype: Hayabusa
These rules work fine, however, I also want to be able to do | count() >= 5 type rules by deleting group-by. So Hayabusa will just check if the referenced rule has a certain amount of hits in a timeframe and not filter by the same defined field(s). (Pattern 1 in the hayabusa-rules documentation)
When I delete
group-by:
- IpAddress
I get the error: Failed to convert 'group-by' to Vec
I am guessing that this also affects Value Count rules and that we can't do selection | count(TargetUserName) > 10 type rules. (Pattern 3 in the hayabusa-rules documentation)
Could you see if you can make the group-by filtering optional?
@fukusuket Could you take a look at this? Under the sigma specifications it says that
group-by
is mandatory but I think this is a mistake as it then says that it is optional.I am currently testing with this rule:
This is the same as the following count rule:
These rules work fine, however, I also want to be able to do
| count() >= 5
type rules by deletinggroup-by
. So Hayabusa will just check if the referenced rule has a certain amount of hits in a timeframe and not filter by the same defined field(s). (Pattern 1 in the hayabusa-rules documentation)When I delete
I get the error:
Failed to convert 'group-by' to Vec
I am guessing that this also affects Value Count rules and that we can't do
selection | count(TargetUserName) > 10
type rules. (Pattern 3 in the hayabusa-rules documentation)Could you see if you can make the
group-by
filtering optional?