IERG 4851

Course
Overview

Cyber Security Laboratory is where we turn security concepts into careful, hands-on practice.

Instructor: Yajin Zhou Homepage

We will learn through authorized CTF challenges, local experiments, and short writeups that explain the evidence behind each result.

Credits: Adapted for IERG 4851 from the instructor-provided 01-01 Overview deck and the IERG4851 2026-T1 course package. Reference structure: Professor Zhou's Software Security material and ZJU CTF101 Labs.

Instructor

Yajin Zhou works on security problems where software, systems, and real-world incentives meet.

SYSTEMS

System security

How we locate vulnerabilities and build effective defenses.

AI + WEB3

Emerging systems

Security for AI, AI for security, blockchain systems, and smart contracts.

CYBERCRIME

Real-world impact

Understanding cybercrime that leverages cryptocurrencies and digital infrastructure.

Why a security laboratory?

Security is not only a list of bugs. It is a way of thinking about how a system can behave when someone looks for an unexpected path.

Think adversarially

Ask what inputs, assumptions, permissions, or states a system may have missed. This is how we discover what needs protection.

Learn attack to build defense

We study attacks to understand failure modes. The goal is not to attack for its own sake; it is to design, build, and maintain systems with stronger security properties.

Attack is a learning method. Building and defending secure systems is the destination.

Learning Objectives

The central idea of this course is simple: learn offense to build defense.

ATTACK AS A LEARNING TOOL

Understand how systems fail.

Study common vulnerabilities and attacks in a safe laboratory. Read the code, inputs, memory, and assumptions that make an attack possible.

DEFENSE AS THE GOAL

Build stronger systems.

Turn every observed failure mode into a design or implementation lesson: what should have been checked, isolated, validated, or protected?

01

Observe

Read the system and its assumptions.

02

Attack

Learn how a weakness is exposed.

03

Defend

Choose a practical protection.

04

Build

Make secure choices from the start.

An exploit is evidence of a failed assumption, not the final product of this course.

What should you bring?

You do not need to arrive as a CTF expert. Curiosity and patience matter more. These foundations will help us move faster.

C and assembly

Read basic C and become comfortable seeing how a program becomes machine instructions.

Operating systems

Processes, files, permissions, memory, and the command line are recurring ideas.

Networking

Know the basic client-server model and how requests move across a network.

We will introduce tools and concepts as we need them. Ask early when a foundation feels unfamiliar.

Where to find materials

The course website is the public index for the schedule and browser-based slides.

COURSE WEBSITE

IERG 4851

yajin.org/teaching/IERG4851/2026/

Open the weekly outline to find each lecture's slides.

COURSE COMMUNICATION

Blackboard

blackboard.cuhk.edu.hk

Course announcements and discussion are on Blackboard. Check it regularly, and always read the task instructions before you begin a lab.

Teaching support

INSTRUCTOR

Yajin Zhou

Office: SHB 714

Available Friday 11:20-12:30, or make an appointment through email.

TEACHING ASSISTANT

Zhentao XIE

[email protected]

Office: SHB 725 & 726

Course structure

We move through one CTF category at a time, starting with the Pwn foundations that support later binary and systems work.

WEEKS 01-06

Introduction + Pwn

CTF foundations, memory, the stack, shellcode, mitigations, format strings, heap, and kernel-security context.

WEEKS 07-10

Web + Reverse

Client and backend security, then static and dynamic reverse engineering.

WEEKS 11-13

Crypto + Misc

Cryptography, followed by two Misc sessions on forensics and an AI/Web3 taster.

Course Assessment

5 LABS

100%

Each lab is a core part of the course assessment.

Bonus assignment

For each lab, we will have a bonus assignment.

Explain your steps

Again, do not directly use AI to generate the answer. We will ask students to explain the detailed steps to solve the challenge.

No final examination

We do not have the final exams.

Submitting your work

A submission is strongest when another person can follow your reasoning without guessing what happened.

Include

The task goal, relevant evidence, the commands or method you used, the result, and a brief security explanation.

Check first

Use the deadline, format, and submission policy stated for that specific exercise. Ask before assuming an exception or late-submission rule.

AI for security: learn faster, verify harder.

AI can make the learning curve much less steep. Use it as a patient tutor and a thinking partner, not as a substitute for evidence.

USE AI TO LEARN

Unpack the basics

Ask for a plain-language explanation of an assembly instruction, an ELF header field, a GDB error, or a security concept. Request a small, harmless example.

USE AI TO ORGANIZE

Build a next-step checklist

Give AI the facts you observed and ask which local tool could answer the next question. Keep the task goal and authorized boundary in the prompt.

USE YOUR OWN JUDGEMENT

Reproduce and explain

AI can be confidently wrong. Run the check yourself, inspect the output, and be able to explain every command and conclusion in your writeup.

In CTF, an answer only matters when you can reproduce it on the provided challenge and explain why it works.

Academic integrity

Security learning is collaborative, but submitted work must show your own understanding.

Discuss ideas

Compare interpretations, ask questions, and help each other understand a concept or tool.

Do not copy solutions

Do not directly copy code, exploit payloads, answers, or writeups from another student or an unapproved source.

When in doubt, cite the source and ask the teaching team what collaboration is acceptable for that exercise.

Take care of yourself

Your health matters more than this course. Security problems can be frustrating, and struggling alone rarely helps.

Ask early

Reach out when a task, workload, or foundation becomes difficult. We can help make a realistic study plan.

Make a good decision

If the course is not the right fit, discuss options early rather than carrying avoidable stress through the term.

Permission
comes first.

Security techniques can be useful or harmful. In this course, every practical action stays inside the laboratory and CTF environments we provide.

It is acceptable to analyze your own systems or a target you have explicit permission to test. Accessing someone else's system without permission is unethical and can be a serious crime.