You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
I want to make a Alert which matches following Scenarios Scenario 1 3 Failed login attempt followed by 1 successful login attempt over RDP 3 Failed login attempt followed by 1 successful login attempt over SSH
I've made Alerts for single conditions like BruteForce, but couldn't figure out how to make a 2 or more condition based Alert.
I've tried making Alerts using buckets, but couldn't get this working.
Lucio Donda
unread,
Jul 10, 2023, 3:53:16 PM7/10/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Dhiraj, We have some documentation on what is mandatory to do or have in order to create custom rules -> alerts. Have you checked that? When you say that you've tried using buckets, can you elaborate? Have you detected the events (and logs) that you need in order to achieve this? Where you able to decode them, if so, have you test them using the log test? Let me know and if possible share with us what you've got in order for us to help better!
Dhiraj Ambigapathi
unread,
Jul 11, 2023, 4:10:12 AM7/11/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Lucio,
I've created Per Bucket Monitor to detect rule.id 5760 and then alerts are triggered when they hit a certain threshold in 1 hour. I wanted to detect 5760 and then 5710, which are two conditions one after another for 1 IP (attackers IP). My Decoders are working, but don't know how to create an Alert for 2 or more conditions.
Lucio Donda
unread,
Jul 11, 2023, 11:54:29 AM7/11/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Dhiraj, sorry for the late response I was investigating with other teammates.
And the result will be something like: New rule 57XX sub-rule of 5710 (triggered by the same logs) but only if 5760 was triggered in the timeframe period defined.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Lucio,So I want to detect if someone has tried to bruteforce (i.e 5760 or 5710) and then got access onto system successfully (i.e 5501). So Once rule is created it must detect for individual attacks and detect one IP as one instance.
Lucio Donda
unread,
Jul 13, 2023, 11:34:53 AM7/13/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Dhiraj: As state before, if you define that srcip then it will detect only if the source ip where the bruteforce and the logged process was the same. Several IPs triggering the same rule won't accumulate. I've found a similar case scenario but with different intentions, the user is trying to avoid an alert being fired by an specific set of IPs. Take a look over here -> https://github.com/wazuh/wazuh/issues/10928#issuecomment-976300555 Let me know if that helped you!
Dhiraj Ambigapathi
unread,
Jul 13, 2023, 11:47:44 AM7/13/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Lucio, I will test all these and update you
Message has been deleted
Lucio Donda
unread,
Jul 17, 2023, 8:06:55 AM7/17/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Dhiraj: First of all do not forget to click on answer to all In order to others users of the community have access to this conversation: Answering this:
Hi Lucio,
So I tried the following rule, where I'm detecting if 5710 (failed login is detected) when in a time period of 3600 a 5501 was detected for a certain IP (srcip). But it is not working. Can you help here? I want IP (srcip) to be dynamic so that it detects each if a IP has performed 5 failed attempts (5710) then a successful attempt (5501).