IERG 4851

Cyber Security Laboratory

Fall 2026 · 2026-27 Term 1 · CUHK, Information Engineering
Instructor: Prof. Zhou Yajin Friday 09:30-11:15 Lady Shaw Building LT4

Course overview

A hands-on introduction to cyber security through authorized Capture The Flag challenges and laboratory exercises.

How we learn

Observe the supplied artefact, form a hypothesis, test it in the authorized environment, and explain the result.

In-class practice

Short practical exercises build confidence with tools, program behaviour, and security reasoning.

Course rule

Work only on files, binaries, and systems explicitly provided for this course or a CTF event.

Teaching Assistant

Weekly outline

Tentative. Topics and materials may be adjusted as the course progresses. New slides will appear in the lecture materials list.
Upcoming sessions: Kernel Exploitation I is on 20 Nov, followed by the guest lecture When Intelligence Becomes a Threat: Recent Security Incidents and the Role of AI Agents on 27 Nov. Kernel Exploitation II is on 4 Dec, and the final make-up session on 8 Dec will cover Misc.
WeekDateTopicSlides
1Sep 11Course Introduction & In-class Quiz; lab environment setup00 · Course Overview
01 · Introduction to CTF
01-06 · Exercise Readmes
Ungraded report: Blackboard, 17 Sep 23:59
2Sep 18Pwn 1 — Buffer Overflow & ret2libc02-01 · Buffer Overflow & ret2libc (PDF)
02 Lab · In-Class Manual
Ungraded practice record: Blackboard, Sep 24 23:59
3Sep 25Pwn 2 — ret2libc with ASLR & ret2libc 64bit03-01 · ret2libc with ASLR, 32-bit (PDF)
03-02 · ret2libc 64-bit (PDF)
03 Lab · In-Class Manual
03 Demo/Lab · Classroom Code
4Oct 2No class — Academic leaveNo lecture
5Oct 9Pwn 3 — Format String05-01 · Format String (PDF)
05 Lab · In-Class Manual
6Oct 16Pwn 4 — Heap06-01 · Heap (PDF)
06 Lab · In-Class Manual
7Oct 23In-class CTF — 60 min solving, then walk-throughsIn class · no slides
8Oct 30Contactless Cards — MIFARE Classic, its keys and access bits, live scoreboard08 Slides · Contactless Cards, Inside Out
08 Lab · In-Class Manual
08 Demo · card & reader
In class · scoreboard on the projector
9Nov 6The Web, from the Request Up — HTTP, cookies, XSS, CSRF, live scoreboard09 Slides · The Web
09 Lab · In-Class Manual
In class · scoreboard on the projector
10Nov 13Web 2 — Backend Vulnerabilities (SQLi, SSRF, upload, command injection)10 Slides · Backend Vulnerabilities
10 Lab · In-Class Manual
In class · scoreboard on the projector
11Nov 20Pwn 5 — Kernel Exploitation I: Linux kernel and vulnerability analysis11-01 · Ret2user (PDF)
11 Lab · Kernel ret2usr
Safe module source
Vulnerable module source
ret2usr demo source
12Nov 27Guest Lecture — When Intelligence Becomes a Threat: Recent Security Incidents and the Role of AI AgentsGuest lecture
13Dec 4Pwn 5 — Kernel Exploitation II: Kernel ROP and mitigationsTo be posted
Final sessionDec 8
Tue, 1:30 p.m. - 3:15 p.m.
MiscMake-up session · Venue: SC 139 (Science Centre, Room 139)