Put your snort skills into practice and defend against a live attack. The room invites you to a challenge where you will investigate a series of traffic data and stop malicious activity under two different scenarios. Let’s start working with Snort to analyse live and captured traffic.
Before joining this room, we suggest completing the Snort room.
Note: There are two VMs attached to this challenge. Each task has dedicated VMs. You don’t need SSH or RDP, the room provides a “Screen Split” feature.
Task 2 Scenario 1 | Brute-Force
Use the attached VM to finish this task.
[+] THE NARRATOR
J&Y Enterprise is one of the top coffee retails in the world. They are known as tech-coffee shops and serve millions of coffee lover tech geeks and IT specialists every day.
They are famous for specific coffee recipes for the IT community and unique names for these products. Their top five recipe names are;
WannaWhite, ZeroSleep, MacDown, BerryKeep and CryptoY.
J&Y’s latest recipe, “Shot4J“, attracted great attention at the global coffee festival. J&Y officials promised that the product will hit the stores in the coming months.
The super-secret of this recipe is hidden in a digital safe. Attackers are after this recipe, and J&Y enterprises are having difficulties protecting their digital assets.
Last week, they received multiple attacks and decided to work with you to help them improve their security level and protect their recipe secrets.
This is your assistant J.A.V.A. (Just Another Virtual Assistant). She is an AI-driven virtual assistant and will help you notice possible anomalies. Hey, wait, something is happening…
[+] J.A.V.A.
Welcome, sir. I am sorry for the interruption. It is an emergency. Somebody is knocking on the door!
[+] YOU
Knocking on the door? What do you mean by “knocking on the door”?
[+] J.A.V.A.
We have a brute-force attack, sir.
[+] THE NARRATOR
This is not a comic book! Would you mind going and checking what’s going on! Please…
[+] J.A.V.A.
Sir, you need to observe the traffic with Snort and identify the anomaly first. Then you can create a rule to stop the brute-force attack. GOOD LUCK!
First of all, start Snort in sniffer mode and try to figure out the attack source, service and port.
Then, write an IPS rule and run Snort in IPS mode to stop the brute-force attack. Once you stop the attack properly, you will have the flag on the desktop!
Here are a few points to remember:
- Create the rule and test it with “-A console” mode.
- Use “-A full” mode and the default log path to stop the attack.
- Write the correct rule and run the Snort in IPS “-A full” mode.
- Block the traffic at least for a minute and then the flag file will appear on your desktop.
Question: Stop the attack and get the flag (which will appear on your Desktop)
Answer: THM{81b7fef657f8aaa6e4e200d616738254}
Question: What is the name of the service under attack?
Answer: SSH
Question: What is the used protocol/port in the attack?
Answer: TCP/22
Task 3 Scenario 2 | Reverse-Shell
First of all, start Snort in sniffer mode and try to figure out the attack source, service and port.
Then, write an IPS rule and run Snort in IPS mode to stop the brute-force attack. Once you stop the attack properly, you will have the flag on the desktop!
Here are a few points to remember:
- Create the rule and test it with “-A console” mode.
- Use “-A full” mode and the default log path to stop the attack.
- Write the correct rule and run the Snort in IPS “-A full” mode.
- Block the traffic at least for a minute and then the flag file will appear on your desktop.
Question: Stop the attack and get the flag (which will appear on your Desktop)
Answer: THM{0ead8c494861079b1b74ec2380d2cd24}
Question: What is the used protocol/port in the attack?
Answer: tcp/4444
Question: Which tool is highly associated with this specific port number?
Answer: Metasploit
If you have any queries regarding the above content, or you want to update anything in the content, then contact us with your queries. You can directly post your question in the group.
Connect with us on these platforms
Leave feedback about this