Lesson Plan: AI-Assisted Cybersecurity Learning (Wazuh & Wireshark)


🧭 Course Overview & Learning Objectives

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

  1. Prompt AI effectively to translate complex cyber logs and packet captures into plain English.
  2. Explain the purpose of Wazuh (SIEM/XDR), focusing on Logs, File Integrity Monitoring (FIM), and VirusTotal integration.
  3. Explain the purpose of Wireshark (packet analyzer) and use AI to diagnose network connection protocols and issues.
  4. Apply critical thinking to verify AI answers and avoid security hallucinations.

AI Cyber Learning Flow


🛡️ Part 1: Wazuh (The Watchtower)

Wazuh is a free, open-source platform that monitors system security. Think of it as a security guard for computers and servers. It collects logs, watches for unauthorized changes, and reports suspicious behavior.

1. Key Concepts Explained

FIM and VirusTotal Workflow

2. Hands-on Scenario: The Suspicious File Change

Scenario: A student finds an alert in Wazuh indicating that a file was modified in /usr/bin/ on a Linux server, and the VirusTotal integration flagged it. The log details look confusing.

The AI Prompt Strategy

Instead of guessing, students can ask an AI assistant to explain the alert details.

[!TIP] AI Prompt Example to copy & try:

Act as an entry-level cybersecurity mentor. I am a beginner. Explain this Wazuh alert log in plain English. Break down what FIM detected and what the VirusTotal scan results mean:

Alert: {"rule":{"level":12,"description":"VirusTotal: Alert - /usr/bin/malicious_tool - Threat detected"},"decoder":{"name":"json"},"data":{"virustotal":{"malicious":1,"positives":42,"scan_date":"2026-06-24","permalink":"https://www.virustotal.com/gui/file/hashvalue"},"file":"/usr/bin/malicious_tool","event":"modified"}}

AI Response Breakdown (What to expect)

The AI should explain:


🔍 Part 2: Wireshark (The Microscope)

Wireshark captures and displays the data traveling back and forth on a network in real-time. Think of it as a digital microscope for network cables and wireless connections.

1. Key Concepts Explained

Wireshark Diagnostics Flow

2. Hands-on Scenario: Troubleshooting a Failed Handshake

Scenario: A student is looking at packet capture (PCAP) data where a connection keeps failing. The packets show a cycle of SYN followed by RST (Reset) instead of the usual TCP three-way handshake (SYN -> SYN-ACK -> ACK).

The AI Prompt Strategy

The student can describe the packet sequence or paste raw packet bytes to get explanations.

[!TIP] AI Prompt Example to copy & try:

I am learning Wireshark and looking at a connection attempt that fails. I see the following packets:
Packet 1: Source: 192.168.1.50 -> Destination: 10.0.0.99 [TCP SYN]
Packet 2: Source: 10.0.0.99 -> Destination: 192.168.1.50 [TCP RST, ACK]

Can you explain what a TCP handshake is, what these packets mean, and why the connection is failing?

AI Response Breakdown (What to expect)

The AI should explain:


🤖 Part 3: Best Practices for Prompting AI in Cyber

Caution and Responsibility When using AI tools, students must follow professional standards.

1. The "Cyber Prompting" Framework (R-C-T-C)

To get the most accurate answers, students should use the following framework:

  1. Role: Tell the AI who it is (e.g., "Act as a friendly cybersecurity instructor").
  2. Context: Give background (e.g., "I am analyzing a lab network capture in Wireshark").
  3. Task: Clearly define the request (e.g., "List the filter query to find all DNS traffic").
  4. Constraints: Define limits (e.g., "Keep it simple, do not use complex jargon").

2. Safe Prompting Rules

[!IMPORTANT] Never upload real-world enterprise log data containing sensitive details to public AI models.

3. Critical Verification (Spotting AI Hallucinations)

AI models can make up commands, parameters, or flag explanations. Teach students to double-check AI-provided command line flags or syntax by looking at:


📝 Classroom Exercises & Discussion Prompts

Exercise 1: "Ask the Mentor"

  1. Provide students with a raw, obfuscated firewall log.
  2. Ask them to prompt the AI to find out:
    • Which IP address is the attacker?
    • Which port is being targeted?
  3. Have them write down the prompt they used and discuss what worked best.

Discussion: "When AI is Wrong"