Kable Academy Β· Cybersecurity Lab Series

Using AI to Learn
Cyber Tools

A beginner-friendly guide to Wazuh and Wireshark β€” with AI as your study partner every step of the way.

Wazuh SIEM Wireshark AI-Assisted Learning FIM Β· VirusTotal Β· Logs Network Protocols Beginner Friendly
Section 1 Β· Overview
What We're Learning & Why
Two powerful tools β€” one for monitoring systems, one for watching network traffic β€” and how AI becomes your on-demand tutor for both.
πŸ›‘οΈ

Wazuh

A free, open-source Security Information and Event Management (SIEM) platform. It watches your computers for suspicious activity, tracks file changes, and alerts you when something looks wrong.

SIEM Β· Log Analysis
πŸ”

Wireshark

The world's most popular network packet analyzer. It lets you see every piece of data flowing across your network in real time β€” like an X-ray for your internet traffic.

Packet Analysis Β· Protocols
πŸ€–

AI Assistants

Claude, ChatGPT, and Gemini act as your personal tutors. You can paste alerts, logs, or packet captures and ask "what does this mean?" in plain English.

Claude Β· ChatGPT Β· Gemini

How These Tools Work Together

πŸ’» Your Computer
Endpoint / Network
β†’
Wazuh Agent
Watches the system
β†’
Wazuh Dashboard
Alerts + Logs
β†’
AI Assistant
"What does this mean?"
🌐 Network Traffic
Packets flowing across wire
β†’
Wireshark
Captures packets
β†’
Protocol Analysis
HTTP, DNS, TCP...
β†’
AI Assistant
"Is this normal?"

🎯 Learning Objectives

By the end of this lesson, students will be able to:

πŸ›‘οΈ Wazuh Goals

  • Navigate the Wazuh dashboard and understand alert levels
  • Enable File Integrity Monitoring (FIM) on a directory
  • Connect Wazuh to VirusTotal for malware scanning
  • Read and interpret a security log entry

πŸ” Wireshark Goals

  • Start a packet capture on a network interface
  • Apply display filters to focus on specific traffic
  • Identify common protocols: HTTP, DNS, TCP, TLS
  • Follow a TCP stream to see a full conversation

πŸ€– AI Learning Goals

  • Write effective prompts to explain tool output
  • Use AI to decode unfamiliar log entries or alerts
  • Ask AI for step-by-step setup guidance
  • Use AI to verify understanding (explain it back)

πŸ“š Lesson Structure

SectionTopicDurationTools
1Overview & Tool Introduction15 minβ€”
2How to Use AI as a Study Partner20 minClaude / ChatGPT / Gemini
3Wazuh Dashboard Basics30 minWazuh
4File Integrity Monitoring + VirusTotal30 minWazuh + VirusTotal
5Reading Logs & Alerts25 minWazuh
6Wireshark Interface & Capturing30 minWireshark
7Network Protocols Deep Dive35 minWireshark
8Real-World Scenarios30 minBoth + AI
9Knowledge Check Quiz15 minβ€”
Section 2 Β· AI-Assisted Learning
Making AI Work for You
AI tools like Claude, ChatGPT, and Gemini aren't just for writing essays. They're powerful learning accelerators for technical subjects like cybersecurity.

🟒 Great AI Uses

  • Explain what a confusing alert means
  • Walk through a setup step by step
  • Decode an unfamiliar log format
  • Ask "what should I look for next?"
  • Summarize what a protocol does
  • Check if your understanding is correct

πŸ”΄ Limitations to Know

  • AI can't see your live screen
  • Older AI models have a knowledge cutoff
  • Always verify critical security steps
  • AI can make mistakes β€” cross-check
  • Don't paste real private IP/credentials
  • Use AI as a tutor, not a replacement

🟑 Pro Tips

  • Be specific β€” paste the actual output
  • Add context: "I'm a beginner learning..."
  • Ask for analogies to understand concepts
  • Say "explain like I'm 16" if needed
  • Ask follow-up questions freely
  • Ask AI to quiz you on what you learned

πŸ€– Prompt Recipes for Cyber Learning

Copy these prompt templates and fill in your actual output from Wazuh or Wireshark:

I'm a cybersecurity student using Wazuh for the first time. I just got this alert and I don't understand what it means. Can you explain it in simple terms and tell me if it's something to be concerned about? [paste your alert here]

I'm looking at this Wireshark packet capture and I can see traffic I don't recognize. Can you explain what this protocol is doing and whether this looks normal for a home or school network? Protocol: DNS Destination: 8.8.8.8 Info: Standard query 0x1234 A google.com

Walk me through, step by step, how File Integrity Monitoring works in Wazuh. I'm a complete beginner. Use an analogy to help me understand the concept before getting technical.

I found this in my Wireshark capture. Can you tell me: 1. What protocol this is 2. What it's doing 3. Whether this is suspicious 4. What filter I should use to see more of this type of traffic [paste packet info here]

πŸ†š Comparing the AI Tools

AI ToolStrength for Cyber LearningBest ForLimit
Claude (Anthropic)Detailed, nuanced explanations with good context awarenessAnalyzing logs, understanding concepts deeplyNo real-time browsing by default
ChatGPT (OpenAI)Very large knowledge base, good code examplesConfiguration help, scripting, step-by-step guidesCan confidently give wrong answers
Gemini (Google)Integrates with Google search for current infoLooking up current CVEs, recent threatsSometimes less detailed on niche tools
πŸ’‘ Classroom Strategy: Use AI as a "Rubber Duck" β€” explain what you're seeing out loud (or in text), then let the AI confirm or correct your understanding. This technique is proven to accelerate learning.
Section 3 Β· Wazuh SIEM
Wazuh Dashboard Basics
Wazuh is like a security camera system for your computers. The dashboard is where you watch what's happening across all your monitored machines.

πŸ—οΈ How Wazuh Is Built

πŸ–₯️

Wazuh Manager

The brain of the operation. It receives data from agents, processes alerts, and applies security rules. Usually runs on a Linux server.

Central Server
🀝

Wazuh Agent

A small program installed on each computer you want to monitor (Windows, Linux, or Mac). It watches the local system and sends events to the manager.

Installed on Endpoints
πŸ“Š

Wazuh Dashboard

The web interface you use to view everything. See real-time alerts, browse logs, check compliance, and investigate incidents β€” all in one place.

Web UI

πŸ“Š The Wazuh Dashboard β€” What You See

Here's a simulation of what a Wazuh alerts view looks like:

Wazuh Β· Security Events
Last 24 hours Β· 3 agents online
12
πŸ”΄ VirusTotal: Malicious file detected β€” suspicious.exe
Rule 87105 Β· Agent: Windows-Desktop-01 Β· 192.168.1.42 Β· 14:22:08
7
🟑 FIM: File added to monitored directory /root
Rule 554 Β· Agent: Ubuntu-Server Β· 10.0.0.5 Β· 14:21:55
5
🟑 Multiple failed SSH login attempts (brute force)
Rule 5763 Β· Agent: Ubuntu-Server Β· 10.0.0.5 Β· 14:19:32
3
🟒 User login successful β€” admin
Rule 5501 Β· Agent: Windows-Desktop-01 Β· 192.168.1.42 Β· 14:18:10

🚨 Understanding Alert Levels

LevelSeverityExampleAction
1–3InformationalSuccessful login, normal file accessMonitor, no immediate action
4–6LowMultiple failed logins, unusual processLog and review when convenient
7–11MediumFile added to monitored folder, policy violationInvestigate within same day
12–15High / CriticalMalware detected, rootkit foundRespond immediately
πŸ’‘ AI Use: When you see an unfamiliar rule number like Rule 5763, ask AI: "What does Wazuh rule 5763 detect? Is this serious?" β€” you'll get an instant explanation.

I'm new to Wazuh. I see an alert that says "Rule 554 - File added to the system" with a severity level of 7. Can you explain: 1. What this rule is detecting 2. Why it matters for security 3. What I should look at next in the dashboard

Section 4 Β· FIM + VirusTotal
File Integrity Monitoring + VirusTotal
FIM watches folders for any changes. When combined with VirusTotal, Wazuh can automatically check if new files are malicious β€” before a human even notices them.

πŸ“ What is File Integrity Monitoring (FIM)?

Imagine you have a very important filing cabinet. FIM is like having a guard who memorizes every folder and document in that cabinet. The moment anything is added, changed, or deleted β€” the guard immediately tells you.

βž•

File Added

A new file appears in a monitored directory. Could be legitimate software β€” or malware being installed quietly.

Rule 554
✏️

File Modified

An existing file's contents, permissions, or ownership changed. Critical system files should rarely change unexpectedly.

Rule 550
πŸ—‘οΈ

File Deleted

A file was removed from the monitored directory. Could indicate an attacker covering their tracks.

Rule 553

🦠 How VirusTotal Integration Works

FIM β†’ VirusTotal Workflow

πŸ“ File Dropped
into monitored folder
β†’
FIM Detects
generates file hash
β†’
Hash Sent
to VirusTotal API
β†’
VT Checks
70+ AV engines
β†’
Alert Fired
in Wazuh dashboard

πŸ”‘ What is a File Hash?

A hash is like a fingerprint for a file. Even if you rename a virus "homework.pdf", its hash stays the same. VirusTotal has a database of millions of known malware hashes.

File Hash Example
# Same malware file, different names β€” same hash File: suspicious.exe MD5 Hash: d41d8cd98f00b204e9800998ecf8427e SHA1 Hash: da39a3ee5e6b4b0d3255bfef95601890afd80709 # VirusTotal checks this hash against its database # Result: "45 out of 72 antivirus engines flagged this file"

πŸ“‹ A VirusTotal Alert in Wazuh

When VirusTotal finds a match, here's what the alert looks like in Wazuh's log file:

alerts.log β€” VirusTotal Detection
{ "timestamp": "2025-06-20T14:22:08.376+0000", "rule": { "level": 12, "description": "VirusTotal: Alert - suspicious.exe detected", "id": "87105" }, "agent": { "name": "Windows-Desktop-01", "ip": "192.168.1.42" }, "data": { "virustotal": { "positives": "45", ← 45 AV engines flagged it! "total": "72", ← out of 72 total "malicious": "1", "source": { "file": "/home/user/Downloads/suspicious.exe", "md5": "d41d8cd98f00b204e9800998ecf8427e" } } } }
πŸ’‘ AI Use: Paste this entire JSON block into Claude or ChatGPT and ask: "Can you explain each field in this Wazuh VirusTotal alert as if I've never seen JSON before?"

I got a Wazuh alert showing a file scored 45/72 on VirusTotal. Is that definitely malware? What should I do next? Can a legitimate file ever get false positives on VirusTotal? Explain for a beginner.

βš™οΈ Quick Config Reference

This is the key configuration that enables VirusTotal in Wazuh. You don't need to memorize it β€” use AI to help you understand each line.

ossec.conf β€” VirusTotal Integration
<!-- Tell Wazuh to use VirusTotal --> <integration> <name>virustotal</name> <api_key>YOUR_FREE_VT_KEY_HERE</api_key> <group>syscheck</group> <!-- trigger on FIM alerts --> <alert_format>json</alert_format> </integration> <!-- Tell Wazuh WHAT to monitor with FIM --> <syscheck> <directories check_all="yes" realtime="yes"> /home/user/Downloads </directories> </syscheck>
Section 5 Β· Wazuh Logs
Reading Logs & Alerts
Logs are the raw evidence of everything that happens on a system. Learning to read them is one of the most important skills in cybersecurity.

πŸ“š Key Log Files in Wazuh

File PathContainsWhen to Check It
/var/ossec/logs/alerts/alerts.logAll triggered security alertsPrimary file for incident investigation
/var/ossec/logs/ossec.logWazuh system events and errorsWhen Wazuh itself has a problem
/var/ossec/logs/integrations.logVirusTotal and other integration resultsAfter enabling external integrations
/var/ossec/logs/active-responses.logAutomatic response actions takenVerify automatic threat removal worked

🧩 Anatomy of a Log Entry

Let's break down a real Wazuh alert entry piece by piece:

Full Alert Entry β€” Annotated
{ "timestamp": "2025-06-20T14:22:08Z", ← WHEN it happened (UTC time) "rule": { "level": 12, ← HOW serious (1–15 scale) "description": "Malware detected", ← WHAT happened (human readable) "id": "87105" ← rule number (look this up!) }, "agent": { "name": "Windows-Desktop-01", ← WHICH computer reported it "ip": "192.168.1.42" ← that computer's IP address }, "full_log": "File /Downloads/bad.exe added", ← raw original event "syscheck": { "path": "/home/user/Downloads/bad.exe", ← exact file location "event": "added", ← what happened to the file "md5_after": "d41d8cd98f00b..." ← file's unique fingerprint } }
πŸ’‘ AI Tip: Copy any confusing log output and ask Claude or ChatGPT: "Explain this Wazuh log entry line by line. What happened, where, when, and how serious is it?"

πŸ” Common Log Patterns to Know

A brute force attack tries many passwords quickly. In logs you'll see many "authentication failure" entries from the same IP in a short time window.

SSH Brute Force β€” Log Pattern
14:05:01 sshd: Failed password for root from 203.0.113.45 14:05:02 sshd: Failed password for root from 203.0.113.45 14:05:03 sshd: Failed password for root from 203.0.113.45 ... (8 more times in 30 seconds) # Wazuh Rule 5763: Multiple authentication failures (level 10)

Wazuh correlates these failures and fires a single high-severity alert, which is much easier to spot than reading thousands of individual log lines.

When a critical system file changes unexpectedly, it could mean an attacker modified it. FIM captures the "before and after" state of the file.

FIM Modified File
"event": "modified", "path": "/etc/passwd", ← important user account file! "md5_before": "abc123...", ← hash before the change "md5_after": "xyz789...", ← hash after the change "mtime_after": "2025-06-20T14:22:08"

The /etc/passwd file controls user accounts on Linux. If this changes without a known reason, it's a major red flag.

Web server logs show incoming HTTP requests. SQL injection attacks include database code in the URL or form fields, hoping to trick the server.

Apache Web Log β€” SQL Injection Attempt
203.0.113.77 - - [20/Jun/2025:14:22:08] "GET /login?id=1' OR '1'='1 HTTP/1.1" 400 512 ↑ This is SQL injection code # Wazuh Rule 31101: Web attack - SQL injection attempt (level 6)

The string 1' OR '1'='1 is classic SQL injection. Wazuh's built-in rules automatically detect and alert on these patterns.

I found this pattern in my Wazuh logs β€” many failed SSH logins from the same IP address within seconds. Can you: 1. Explain what type of attack this is 2. Tell me how Wazuh detects it 3. Suggest what I should do to protect the server 4. Explain what "brute force" means in simple terms

Section 6 Β· Wireshark
Wireshark Interface & Basics
Wireshark shows you every packet of data traveling on your network β€” like putting a magnifying glass on the invisible highway of internet traffic.

πŸ“¦ What is a Packet?

πŸ“¬ The Mail Analogy

When you send a large document over the internet, it gets broken into small pieces called packets. Each packet is like an envelope β€” it has a "from" address (source IP), a "to" address (destination IP), and some content. Wireshark lets you open and read every one of those envelopes.

πŸ–₯️ The Wireshark Interface

Here's a simulation of Wireshark with real packet data. Click on a row to see packet details.

Wireshark Β· Capturing eth0
FileEditViewGoCaptureAnalyzeStatisticsHelp
Filter: Apply β†’
No.TimeSourceDestinationProtoLengthInfo
10.000192.168.1.58.8.8.8DNS72Standard query A google.com
20.0128.8.8.8192.168.1.5DNS88Standard query response 142.250.80.14
30.013192.168.1.5142.250.80.14TCP6649832 β†’ 443 [SYN] Seq=0
40.025142.250.80.14192.168.1.5TLS1514TLSv1.3 Server Hello, Certificate
50.042192.168.1.510.0.0.1HTTP429GET /index.html HTTP/1.1
β–Ό Domain Name System (query)
  Transaction ID: 0x1234
  Flags: 0x0100 Standard query
  Questions: 1
  β–Ό Queries:
    Name: google.com
    Type: A (Host Address)

β‘  Packet List (Top)

Every captured packet in order. Color-coded by protocol. This is your timeline of network events.

β‘‘ Packet Details (Middle)

Drill down into a selected packet. See each layer of the network stack β€” Ethernet β†’ IP β†’ TCP β†’ Application.

β‘’ Packet Bytes (Bottom)

The raw hex and ASCII data of the packet. This is exactly what was on the wire.

🎨 Color Coding in Wireshark

ColorProtocol / TypeWhat It Means
β–  Light PurpleTCPGeneric TCP connection traffic
β–  Light BlueUDPUDP traffic (DNS, streaming, VoIP)
β–  Light GreenHTTPUnencrypted web traffic
β–  YellowARP / ICMPNetwork control messages, ping
β–  Black/RedErrorsPacket errors, TCP problems

I just opened Wireshark for the first time and I'm seeing hundreds of packets every second. I'm overwhelmed. Can you: 1. Explain what a "packet" is in simple terms 2. Tell me the most important 3-4 things to look at as a beginner 3. Suggest the best first filter to apply to reduce the noise 4. Explain what the different colors mean

Section 7 Β· Network Protocols
Protocols Deep Dive
Protocols are the languages that computers use to talk to each other. Wireshark lets you read every word of these conversations.

🌐 Key Protocols to Know

Analogy: DNS is the internet's phone book. You type "google.com" β€” DNS translates that to an IP address like 142.250.80.14 so your computer knows where to go.

DNS Query in Wireshark
# Query β€” your computer ASKS: "Where is google.com?" Source: 192.168.1.5 β†’ Destination: 8.8.8.8 Protocol: DNS Info: Standard query 0x1234 A google.com # Response β€” DNS server ANSWERS: "It's at 142.250.80.14" Source: 8.8.8.8 β†’ Destination: 192.168.1.5 Protocol: DNS Info: Standard query response A 142.250.80.14 # Wireshark filter to see DNS traffic: dns

Security note: Unusually long domain names or high volumes of DNS requests can indicate DNS tunneling β€” a way attackers hide data exfiltration inside DNS packets.

Analogy: HTTP is how your browser orders a webpage. It sends a "GET" request ("give me this page") and the server sends back the content. HTTP is unencrypted β€” anyone watching can read it.

HTTP Request/Response
# Browser requests a webpage GET /login HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 # ⚠️ Login form over HTTP (unencrypted!) POST /login HTTP/1.1 Content: username=student1&password=mypassword123 ↑ ANYONE on the network can see this! # Wireshark filter: http

Security note: In Wireshark, you can right-click any HTTP packet β†’ "Follow TCP Stream" to see the entire conversation, including usernames and passwords sent over unencrypted HTTP.

Analogy: TLS is like putting your HTTP conversation inside a locked box. You can see packets are being sent, but their contents are encrypted β€” Wireshark shows "Application Data" instead of readable text.

TLS Handshake Sequence
ClientHello β†’ Server says "Hello, I support TLS 1.3" ServerHello β†’ Server says "Hello back, here's my certificate" Certificate β†’ Server proves its identity Key Exchange β†’ Both sides create a shared secret key Encrypted! β†’ All further data is encrypted # After handshake, you see this instead of content: Info: Application Data ← encrypted, can't read # Wireshark filter for TLS traffic: tls

Key concept: HTTPS = HTTP + TLS. The padlock in your browser means traffic is encrypted. Security analysts look for connections using old TLS versions (TLS 1.0/1.1) which have known vulnerabilities.

Analogy: TCP is like a phone call β€” before you talk, you establish a connection. It guarantees everything gets delivered in order, and asks for missing pieces to be re-sent.

TCP Three-Way Handshake
# Step 1 β€” Your computer: "Want to connect?" (SYN) 192.168.1.5 β†’ 142.250.80.14 [SYN] Seq=0 # Step 2 β€” Server: "Yes, and you?" (SYN-ACK) 142.250.80.14 β†’ 192.168.1.5 [SYN, ACK] Seq=0 Ack=1 # Step 3 β€” Your computer: "Great, let's go!" (ACK) 192.168.1.5 β†’ 142.250.80.14 [ACK] Seq=1 Ack=1 # Connection established! Data can now flow. # Security: Lots of SYN packets without ACK = Port Scan tcp.flags.syn == 1 and tcp.flags.ack == 0

Security note: If Wireshark shows many SYN packets to different ports from one source, that's a port scan β€” an attacker mapping out your open services.

Analogy: ICMP ping is like knocking on a door to see if anyone's home. "Are you there?" β€” "Yes, I'm here!" It's used to test network connectivity.

ICMP Ping Traffic
# Normal ping: 192.168.1.5 β†’ 8.8.8.8 ICMP Echo (ping) request 8.8.8.8 β†’ 192.168.1.5 ICMP Echo (ping) reply time=12ms # ICMP Tunneling (suspicious!) # An attacker can hide data inside ping packets # Normal ping payload = 32 bytes # Suspicious ping payload = 1,400 bytes with hidden data # Wireshark filter: icmp

🎯 Wireshark Filter Cheat Sheet

These are the filters you'll use most often as a beginner. Type them in the filter bar at the top of Wireshark:

dns
Show only DNS queries and responses
http
Show only HTTP web traffic (unencrypted)
tls
Show TLS/HTTPS encrypted connections
tcp
Show all TCP connection traffic
icmp
Show ping and ICMP messages only
ip.addr == 192.168.1.5
Show all traffic to/from one IP address
ip.src == 10.0.0.5
Show traffic FROM a specific IP only
tcp.port == 80
Show traffic on TCP port 80 (HTTP)
tcp.port == 443
Show HTTPS traffic on port 443
http.request.method == "POST"
Show HTTP POST requests (form submissions)
dns and ip.addr == 8.8.8.8
DNS traffic going to Google's DNS server
!(arp or dns or icmp)
Exclude common "noise" protocols

I'm using Wireshark and I found this packet: Source: 192.168.1.100 Destination: 8.8.8.8 Protocol: DNS Length: 847 bytes Info: Standard query TXT "aHR0cDovL21hbHdhcmUuY29t..." This seems unusual to me. Can you explain what DNS TXT records are used for, why a 847-byte DNS query is suspicious, and what attack this might indicate?

Section 8 Β· Real-World Scenarios
Putting It All Together
These scenarios walk through realistic situations where a beginner analyst would use Wazuh, Wireshark, and AI together to investigate and respond.
S1
🦠 Malware Download Detected
Tools: Wazuh + FIM + VirusTotal + AI

The Situation: A student at a school downloads a file called "free_game_crack.exe" from an unknown website. Minutes later, Wazuh fires an alert.

Alert Received
Level 12 β€” CRITICAL Rule 87105: VirusTotal: Alert - free_game_crack.exe Agent: StudentPC-Lab3 | IP: 192.168.10.23 VT Score: 58/72 antivirus engines detected this file File: C:\Users\Student\Downloads\free_game_crack.exe MD5: a3f5c2d1e4b7a8c9d0e1f2a3b4c5d6e7

How to Respond with AI Help:

Don't panic. The alert means Wazuh caught it β€” the file is flagged but may not have run yet.

Ask AI: "I got this Wazuh alert: [paste alert]. The file scored 58/72 on VirusTotal. What should I do immediately? Step by step, please."

Isolate the machine if possible β€” disconnect it from the network to prevent any potential spread.

Check if it ran: Look in Wazuh for process creation events around the same time. Ask AI: "How do I check in Wazuh if a file was executed?"

Use Wireshark to check if that computer made any unexpected outbound connections after the download.

Document everything β€” time, file name, hash, what actions you took. This is an incident report.

S2
πŸ“‘ Suspicious Network Traffic
Tools: Wireshark + AI

The Situation: A student notices their internet feels slow. They open Wireshark and notice one computer is sending large amounts of data outbound to an unknown IP address at 3 AM.

Suspicious Traffic in Wireshark
# Filter used: ip.src == 192.168.1.55 and not (dns or arp) # Observed at 3:14 AM β€” 847 packets in 60 seconds 192.168.1.55 β†’ 185.220.101.45 TCP 1514 [ACK] ... 192.168.1.55 β†’ 185.220.101.45 TCP 1514 [ACK] ... 192.168.1.55 β†’ 185.220.101.45 TCP 1514 [ACK] ... ... (continues for 60 seconds) # Total data transferred: ~1.2 GB outbound to unknown IP # This IP is in the Netherlands

Investigation Steps:

Note the unknown IP: 185.220.101.45 β€” write it down.

Ask AI: "I'm seeing a computer on my network sending 1.2 GB to IP 185.220.101.45 at 3 AM. What could cause this? Is this suspicious? What questions should I ask?"

Look up the IP using a free tool like AbuseIPDB or VirusTotal's IP lookup. Ask AI how to do this.

Follow the TCP stream in Wireshark: Right-click a packet β†’ Follow β†’ TCP Stream. This shows the full conversation.

Check Wazuh for any alerts on that same computer at the same time β€” any unauthorized process starting?

Correlation: This pattern (large outbound transfers at off-hours to foreign IPs) is a classic indicator of data exfiltration.

S3
πŸ” SSH Brute Force + Response
Tools: Wazuh Logs + Wireshark + AI

The Situation: Wazuh fires a medium-severity alert. Someone is trying to guess the SSH password for a Linux server over and over.

Wazuh Alert
Level 10: Multiple authentication failures Rule 5763: sshd: Brute force trying to get access to system Agent: Ubuntu-Server | IP: 10.0.0.5 Source IP of attacker: 203.0.113.47 (Location: Russia) Attempts in 30 seconds: 47 Usernames tried: root, admin, ubuntu, user, pi, test

Using AI to Understand and Respond:

I got this Wazuh brute force alert on my SSH server. An IP in Russia tried 47 passwords in 30 seconds. My server is online and I'm worried. Can you: 1. Explain what a brute force attack is 2. Tell me if my server is already compromised 3. Give me beginner-friendly steps to block this attacker 4. Explain what "fail2ban" is and if I need it

Check if they succeeded: In Wazuh logs, look for a "Successful SSH login" from that IP shortly after the failed attempts.

Verify with Wireshark: Apply filter tcp.port == 22 and ip.addr == 203.0.113.47 β€” did any connection stay established?

Block the IP: AI can walk you through blocking an IP on Linux with ufw or on Windows with the firewall.

Long-term fix: Ask AI to explain how to disable password SSH login and use key-based authentication instead.

Section 9 Β· Knowledge Check
Test Your Understanding
Answer these questions to check what you've learned. Use the questions you get wrong as prompts to ask your AI assistant for deeper explanation!
πŸ’‘ After the Quiz: For every question you got wrong, copy the question into Claude or ChatGPT and ask: "I got this cybersecurity question wrong. Can you explain the correct answer and the concept behind it?"