Attack & Defend: Watch Yourself Attack Yourself (for Free)

For months, the Cover6 Community meetups have walked the Breaking Into Cyber path one piece at a time: Intro to Cyber week by week, then the SOC Analyst side, then the Pentester side. This session brings it together. The whole point of the night is to answer a question we’ve been chasing for years: how do you get real, hands-on security experience for free?

The answer is to watch yourself attack yourself — run an attack against a target you’re allowed to test, then switch to the defender’s seat and find that same activity in the logs. When you can see both sides, you can try any technique and learn exactly what it looks like to a defender.

The two machines

  • The target: odapeeka.cover6solutions.com. A web server we stood up on purpose — “Odapeeka State University.” It’s public, and you are authorized to scan it. That’s rare and deliberate: a safe, legal place to practice.
  • The SIEM: Splunk. It’s watching the target. Every scan and probe that hits odapeeka lands in Splunk, which means your traffic does too. You don’t even have to filter for yourself — you can play SOC analyst and watch the whole internet knock on the door.

The rule, every time: only attack systems you own or have written permission to test. Odapeeka is cleared for it. Someone else’s network is not.

Do all of this free in Cover6: First Watch

Almost everything here you can do in our free Cover6: First Watch course — a hands-on lab with a real Splunk SIEM and a full attack scenario to investigate, free for your first week. First Watch is the primary course this all feeds into. If you want extra offensive practice on top of it, Cover6: First Shell is also free.

You attack from a Kali Linux box. We use one in the cloud; a Kali VM at home works just as well. The only tools you need are already on Kali: nmap for scanning, Nikto for the web, and curl for hand-crafted requests.

Seat 1: run the attack

Service scan with nmap

nmap -v -T4 -sV -Pn --top-ports 20 odapeeka.cover6solutions.com --open

What the flags mean: -v show results as they come, -T4 a brisk speed, -sV identify the service and version on each port, -Pn don’t ping first (assume it’s up), --top-ports 20 only the 20 most common ports, --open only show what’s open. Against odapeeka you’ll see 22 (SSH), 80 and 443 (web) open and the rest filtered.

Web scan with Nikto

nikto -h http://odapeeka.cover6solutions.com

Nikto is a web scanner on Kali. It walks the site looking for interesting pages, old software and common misconfigurations — and it’s loud, which makes it perfect for seeing what a scan looks like to a defender.

Web attack probes

curl -s "http://odapeeka.cover6solutions.com/index.php?id=1' OR '1'='1"
curl -s "http://odapeeka.cover6solutions.com/?q=<script>alert(1)</script>"
curl -s --path-as-is "http://odapeeka.cover6solutions.com/../../../../etc/passwd"

These are classic web attack attempts — SQL injection, cross-site scripting, and path traversal. Odapeeka won’t actually fall to them, but the attempts still land in the logs, and that’s the lesson: the attack doesn’t have to succeed to be worth detecting.

Seat 2: find yourself in Splunk

Switch to Splunk and set the time range to Last 24 hours (odapeeka is public and constantly scanned, so there’s always traffic to dig through). Start simple and build up. Every query below was run against the live SIEM before this was published.

Everything hitting the target:

index=main host=odapeeka

Who is hitting the site, by source IP:

index=main host=odapeeka sourcetype=access_combined | stats count by clientip

One source with a large, fast count and nothing else going on is almost always a scanner, not a person.

Your Nikto web scan:

index=main host=odapeeka sourcetype=access_combined Nikto | stats count by clientip, useragent

Nikto announces itself in the user-agent, so the scan is easy to spot. Your real attacks won’t be this polite, which is exactly why you practice seeing both.

Web attack attempts (cross-site scripting and path traversal):

index=main host=odapeeka sourcetype=access_combined ("etc/passwd" OR "alert" OR "script") | table _time, clientip, uri, status

You’ll see the exact request and the response code it got back. The attacks don’t have to succeed to show up: a 400 or 404 next to a hostile-looking URL is a detection all the same.

Read the raw events in the Events tab too. You’ll see your source address, the paths you hit, the user-agent, and the response code. That’s you, sitting in the defender’s logs.

Take it further

Once you can see your own traffic, try the things a real SOC analyst does:

  • Pretend you’re monitoring Odapeeka State University’s whole network, not just your own scans.
  • Pull a recent threat report, grab the indicators from it, and search the logs to see if those same attackers are knocking on odapeeka too.
  • Then practice the part that gets you hired: write the finding, build the brief, explain what you saw.

For emerging-threat practice, the Cover6 Watchroom on YouTube runs day and night with current threats and analyst questions.

Where this path leads

Attack & Defend is where the SOC Analyst and Penetration Tester paths on Chrysalus meet. Build your free Chrysalus profile to show employers what you can do, and make your first attack-and-catch timeline your first project.

We’re building a full Attack & Defend course around this exact loop — break it, catch it, stop it, fix it, prove it. It isn’t open yet. Join The 6, our free weekly brief, to hear when it opens.

Coming up at the meetup

Next week we shift to GRC — the start of the governance, risk and compliance path. After that, Cloud Security Fundamentals. There’s also a monthly CTF running at play.cover6solutions.com, with new challenges dropping in waves every Monday.

Hosted by Tyrone E. Wilson, founder and CEO of Cover6 Solutions. Join the community on Meetup (DMV · Atlanta · South Florida) and Discord.

The 6 — Free Newsletter

Job openings, new courses, upcoming events, and what’s working in cyber careers right now — straight to your inbox.

Free forever. Confirm by email, unsubscribe any time. We never share your address.

Shopping Cart
Scroll to Top