06:00 UTC Charta Aetatis Cyberpunk

Console For you Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
Defence & Detection · MyDFIR · · 1:35 runtime

Part 6 of the Free MYDFIR Wazuh Challenge - Build a Custom SSH Brute-Force Detection Rule

In the wiki Wazuh
Transcript 251 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

I do want to create a custom rule that says something along the lines of three failed SSH log ons within say five or two minutes. Essentially, I used a prompt that says create a rule where greater than or equal to three SSH login failures were observed. And this is pretty much what it gave me. I am going to paste all of this into the free community so you can simply copy and paste it and test it for yourself. All right, so now let's go ahead and test it out. So I'll click on save. And it says changes will not take effect until a reload is performed. Click on reload and while that's doing its thing, take a look at the description. It says multiple SSH login failures observed from the same source IP. And that's pretty much what I wanted to say. So if we happen to see three failed login attempts within 120 seconds, this custom

rule should trigger. Going back over to our discover and instead of last 15 minutes, let's do last five minutes. And

we have no results. Let's go and generate this one more time.

Fail once. Fail twice. And the last one. Perfect. Now in theory, our custom rule should now trigger. Let's go ahead and refresh and here we go. Multiple SSH

login failures observed from the same source IP. So now that we have this, we can now configure active response so Wazuh can perform some automated actions.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers
That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks