An email from "your university IT team" asks you to re-confirm your password before midnight.
Who really sent it?
A file called notes.pdf appears in your Downloads folder. No PDF reader can open it.
What is it really?
A friend sends you only this: TWVldCBtZSBhdCB0aGUgbGlicmFyeQ==
Is that a secret code?
You change one number in the course-registration web address… and see someone else's timetable.
Why did that happen?
What if you could investigate what is happening, instead of simply wondering?
Part 1 · The hook
What is cybersecurity?
Protecting accounts, devices and data from being stolen, damaged or misused, and understanding how attacks work so we can stop them.
Student accounts
Your email, learning platform and Wi-Fi logins, protected by passwords and 2FA (a second proof, like a code on your phone).
University websites
The grades portal must show your grades, and only yours.
Personal data
Names, student ID numbers, addresses, payment details. Valuable to criminals, protected by law.
Spotting phishing
Phishing = "fishing" for your password with a fake message used as bait.
Understanding how apps get exploited
An exploit uses a mistake (a "bug") in software to make it do something it was never meant to do. Defenders study exploits so they can find and fix bugs before criminals do.
It's much more than "hacking"
Cybersecurity people…
defend systems
investigate incidents
build secure software
break things ethically to fix them
write policy and teach others
Part 1 · The hook
Meet the different areas
⚑ CTF = you'll meet this as a CTF category today
⚑ CTF
Web Security
Find and fix flaws in websites and web apps.
⚑ CTF
Digital Forensics
Examine files, disks and devices to work out what happened.
⚑ CTF
Cryptography
The science of secret messages: codes, ciphers, encryption.
inside forensics
Network Security
Protect data travelling between computers, each identified by an IP address (like a postal address for a device).
⚑ CTF
Reverse Engineering
Take a program apart to understand how it works.
⚑ CTF
Binary Exploitation
Find memory mistakes in programs that make them misbehave.
⚑ CTF
OSINT
Investigate using information that is already public.
blue-team CTFs
Incident Response
The "firefighters": they react, contain and recover when an attack happens.
CTFs let you try almost all of these in one weekend, in a safe and legal playground.
Part 2 · Understanding CTFs
So, what is a CTF?
Capture The Flag is a treasure hunt, except the clues are hidden in files, websites, network traffic, code and encrypted messages.
ChallengeA puzzle with a hidden secret inside.
FlagThe secret text that proves you solved it.
CategoryThe type of puzzle: crypto, web, forensics…
PointsHarder challenge = more points. Most points wins.
SubmitPaste the flag into the competition website to score.
Anatomy of a flag
FLAG{you_found_the_secret}
FLAG = the prefix{ } = the wrapperinside = the secret text
Every competition picks its own format, e.g. picoCTF{…} or HTB{…}. The rules page always tells you.
Real challenges include dead ends too, and that's part of the fun.
Part 2 · Understanding CTFs
How does a CTF work?
From signing up to climbing the scoreboard, in eight steps.
01 · JOIN
Register yourself or a team on the CTF website.
02 · BROWSE
See the board of challenges by category and points.
03 · CHOOSE
Pick one that matches your interest or level.
04 · INVESTIGATE
Download the file or open the website it gives you.
05 · SPOT CLUES
Anything odd? The title, file names, formats, hints.
06 · TOOLS + LOGIC
Test ideas one at a time with the right tool.
07 · FIND IT
Spot the text in the agreed flag format.
08 · SUBMIT
Paste it in, earn points, climb the scoreboard.
Typical event: online, 24–48 hours, solo or in teams. Practice platforms have no timer at all, so you can learn at your own pace.
Stuck? Many beginner platforms offer hints. After a competition, players publish writeups: step-by-step explanations of their solutions.
For each one: what it is · a typical challenge · clues to look for · how to approach it · tools · a tiny example · where to practise. Some CTFs file steganography under Forensics or Misc.
01
Category · Beginner-friendly
OSINT
Difficulty
Open Source Intelligence: answering questions using information that is already publicly available. ("Open source" here means public, not free software.)
Campus SnapshotOSINT · 100 pts
"Our club posted this photo from last year's event. In which city was it taken? Flag format: FLAG{city}"
event_photo.jpg
FLAG{...}Submit
Illustrative challenge, written for this workshop
Clues to look for
Signs and shop namesLanguage on signsLandmarks and skylineCar number platesShadows and weatherUsernamesHidden photo metadata
Metadata = "data about data". A photo file can secretly store the camera model, the date and sometimes GPS coordinates. The standard format for photo metadata is called EXIF.
Drag the slider until the text makes sense. Trying every possible key like this is called a brute-force attack, and with only 25 keys it takes seconds.
Bonus: XOR, the CTF favourite
XOR compares bits: different = 1, same = 0. Applying the same key twice gives back the original.
01000001 'A'⊕ 00100000 key
= 01100001 'a'
A beginner's game plan
Encoding, cipher or hash? Look at the characters and the length.
Try the simplest ideas first: Base64, hex, ROT13.
Still stuck? Ask an identifier tool to guess the cipher.
Peel layer by layer: challenges often stack several encodings.
Tools: why and when
CyberChefbrowserThe "cyber Swiss army knife". Chain operations like recipe steps; its Magic operation auto-detects common encodings.
dCodebrowserUnknown classic cipher? Hundreds of solvers plus a Cipher Identifier.
PythonoptionalRepetitive or custom? A few lines of code beat 1000 clicks. Learn it later.
Open it with the specialised tool: Wireshark for PCAPs, Autopsy for disk images.
Build a timeline of what happened.
Tiny example: three commands
$ file essay.pdf
essay.pdf: Zip archive data, at least v2.0
$ xxd -l 8 essay.pdf
00000000: 504b 0304 1400 0000 PK......
$ strings capture.pcap | grep FLAG
FLAG{packets_tell_stories}
file names the real type · xxd shows bytes in hex · strings prints readable text · | passes the output to the next command
A terminal is a text window where you type commands instead of clicking. These three are built into most Linux systems and macOS. On Windows, use WSL (Linux inside Windows).
Tools: why and when
WiresharkinstallGot a .pcap? Read each conversation; Export Objects pulls out files that were transferred.
AutopsyinstallGot a disk image? A point-and-click tool, built on The Sleuth Kit, that recovers deleted files.
CyberChefbrowserFound weird data? Decode what you extracted.
Volatility 3advancedGot a RAM dump? Lists the programs and connections that were in memory.
Websites are built from many parts. One small mistake can expose data or allow something unintended.
How the web talks: HTTP
HTTP is the language of browsers and servers: a request asks, a response answers. A cookie is a small note the site stores in your browser so it remembers you are logged in (your session).
Authentication
"Who are you?" Showing your student card at the library entrance.
Authorization
"What may you do?" Your card opens the library, not the professors' office.
Student PortalWeb · 100 pts
"Our new grades portal is totally secure. Can you log in as admin?"
http://portal.ctf.example
Illustrative challenge, written for this workshop
Clues to look for
Comments in the HTMLHidden form fieldsCookies like role=studentNumbers in URLs: ?id=1042Chatty error messages/robots.txt
<!-- Elements --><form action="/login" method="POST"><input name="user"><input name="pass" type="password"><!-- TODO: delete test account test / test123 --></form>Application › Cookies: role = student← what if it said admin?Network:
POST /login 200 OKPayload: user=student&pass=test123
Response: {"role":"student","redirect":"/grades"}
GET /grades200 OK← examine request and response details
SQL injection (concept)
If a site glues your input into a database query (SQL, the language of databases), crafted input can change what it means. Fix: parameterised queries.
XSS (concept)
Cross-Site Scripting: if a site shows your input without cleaning it, browsers may run it as code, in other visitors' browsers. Fix: encode output.
Tools: why and when
Browser DevToolsbuilt inAlways first. F12 shows the HTML, cookies and every request.
Burp Suite CommunityinstallEdit requests. A proxy to pause, modify and resend them. Free edition.
Working out how a program works, without its original source code.
Analogy: a puzzle box with no instructions. You shake it, look through the cracks and press buttons until you understand what's inside.
Source code = instructions written by humans (e.g. in C). Compiling turns it into machine code, an executable (.exe on Windows, ELF on Linux). Assembly is a human-readable spelling of machine code: tiny steps like "move", "compare", "jump". You don't need to read it on day one.
GatekeeperReversing · 200 pts
"This program asks for a password. Find it, and it will reward you."
gatekeeper (Linux executable)
Illustrative challenge, written for this workshop
Clues to look for
Readable text insideComparisons with fixed valuesFunction names like check_passwordFile type: .exe, ELF, .apk, .pyc
Study it without running it: read its text, decompile it. Like reading the puzzle box's blueprint.
Dynamic analysis
Run it and observe, ideally inside a virtual machine (a safe "computer inside your computer").
A beginner's game plan
Identify the file type.
Run strings: sometimes the answer is just sitting there.
Run it (safely) and watch what it does.
Open it in Ghidra and find the password check.
Rebuild the logic and get the flag.
Tiny example
$ strings gatekeeper
Enter password:
Wrong password!
s3cr3t_k3y
Correct! Here is your flag:
// Ghidra's decompiler turns machine code back into C-like codeif (strcmp(input, "s3cr3t_k3y") == 0) {
puts("Correct! Here is your flag:");
print_flag();
}
Tools: why and when
GhidrainstallThe main tool. Free decompiler released by the NSA. Needs Java.
stringsbuilt inFirst 10 seconds of every challenge.
IDAinstallDisassembly and decompilation. Inspect native executables and maps with a powerful debugger.
JADXinstallAndroid app? Turns .apk files into readable Java code.
x64dbginstallWindows debugger. Step through 32-bit and 64-bit binaries and inspect registers, memory and calls.
Making a program misbehave by giving it input it wasn't built to handle.
Memory (RAM) = a program's workspace: a long row of numbered boxes, each holding one byte.
Buffer = a fixed number of boxes set aside for some data, e.g. 8 boxes for a name.
Stack = short-term memory for the function currently running, piled up like plates. Heap = memory requested while the program runs, for data whose size isn't known in advance.
Buffer overflow = writing more data than the buffer holds, so it spills into the neighbouring boxes.
Try it: overflow the buffer
buffer: name[8]
0x4011b600
saved return address
The return address is a note telling the program where to continue when a function ends. Overwrite it with garbage and the program crashes. In CTFs, players carefully control what gets overwritten.
The C language gives programmers direct control of memory, with no automatic safety checks. Copying too much data is an easy mistake to make.
Learning basic C and how memory is laid out is what makes this category "click".
Overflow 101Pwn · 300 pts
"Only VIPs can see the flag."
nc vip.ctf.example 1337
nc (netcat) connects you to the program running on the CTF's server.
Illustrative challenge, written for this workshop
A beginner's game plan
Run the program: what does it ask for?
Check which defences it has with checksec.
Read the source if given, or decompile it in Ghidra.
Find where input is copied without a size check.
Watch memory step by step in a debugger.
checksec lists defences such as stack canaries (tripwire values that detect overflows), NX (memory that can't run code) and PIE (randomised addresses).
Tools: why and when
GDBinstallThe debugger: pause a program and inspect memory at any moment.
pwndbgGDB add-onMakes GDB show memory, registers and the stack clearly.
GhidrainstallUnderstand the program before you attack it.
checksecinstallOne command to see a program's defences. Also included in pwntools.
Advanced, but beginner-friendly pwn exists: pwn.college (free, by Arizona State University) starts from zero, and the CyLab library has easy Binary Exploitation challenges.
08
Category · Difficulty varies
Miscellaneous
Difficulty
Everything that doesn't fit anywhere else. This category rewards curiosity and creative thinking.
Logic puzzles
Riddles where the trick is noticing the pattern.
Programming puzzles
"Answer 500 maths questions in 30 seconds." Only a script can do that.
Weird formats
Broken QR codes, Morse code, Braille, obscure file types.
Maths problems
Number puzzles and sequences.
Audio challenges
A picture hidden in a spectrogram: a picture of a sound's frequencies over time.
General skills
Linux command-line tasks: find the file, read the permissions…
Beep BoopMisc · 100 pts
"We recorded this strange sound from the lab radio."
signal.wav
Illustrative challenge, written for this workshop
Clues to look for
Short and long beeps → Morse?Noise → look at the spectrogramLists of numbers → letter codes?"Too many questions" → automate
Pro tip:RkxBR3 at the start always means "FLAG{" in Base64. Spot it instantly next time!
Part 5 · Let's try something! · Challenge 2 of 2
Spot the clue
A forensics challenge gives you this file. The description says: "My holiday photo got corrupted. Can you recover the memories?"
Preview not available
holiday_photo.jpg
Type (from extension)JPEG image
Size4.7 MB
Opens in photo viewer?No: "file format not supported"
What would you inspect first?
Vote first (hands up for each option), then click to see what each one would tell you.
File name: a hint, not proof
"holiday_photo" is what the creator wants you to believe. Worth noting (holiday? memories?), but it proves nothing about what the file is.
Extension: just a label
".jpg" is part of the name. Rename cat.jpg to cat.mp3 and not a single byte changes. A "JPEG" that no viewer can open is suspicious.
Metadata: good instinct!
ExifTool reports File Type: ZIP, not JPEG, and there's no camera data at all. ExifTool checks the file's real signature, so this already tells you something is off.
Contents: the smoking gun 🎯
The first bytes are 50 4B 03 04 ("PK"), the signature of a ZIP archive, not a JPEG (FF D8 FF). Rename it to .zip, open it, and inside is flag.txt.
Expert answer: there's no single right answer. Pros check all four in under a minute, but "what is this file really?" comes first, because every other clue depends on it. Quick triage: file → ExifTool → strings → hex editor.
All challenges shown in this deck are illustrative examples written for this workshop. Links checked November 2026. Visual style inspired by the Canva template "Electric Blue and Black Modern Computer Security Presentation". All illustrations are original SVG.