
In this lecture, we’ll dive together into the world of Kali Linux — the most popular and powerful operating system used in cybersecurity and penetration testing.
You’ll learn why it’s the go-to system for CTF competitions and how to set up your own working environment step by step.
We’ll start from scratch:
What is a Linux distribution, and why do we use Kali specifically?
The difference between Kali Live, Virtual, and Installed versions.
How to install Kali properly on VMware or VirtualBox.
Getting familiar with the interface, essential Terminal commands, and tool organization.
Understanding the Linux file system hierarchy and how directories are structured.
By the end of this lecture, you’ll be:
Ready to use Kali like a pro.
Confident in building a stable and secure testing environment.
Fully prepared for your first real CTF challenge ?
? Cryptography Section – Decoding Secrets and Understanding Algorithms
In this section, we’ll open a new door in the CTF world called Cryptography — one of the most exciting and challenging fields in competitions.
You’ll learn how hackers and cybersecurity experts use encryption to hide or retrieve information, and how you can decrypt encoded messages and extract hidden data from texts or files.
Topics we’ll cover include:
Introduction to cryptography and its types (classical and modern).
Classical encryption algorithms: Caesar Cipher, Vigenère.
Practical tools for decrypting and analyzing ciphers such as CyberChef.
How to identify the type of cipher based on the encrypted text (Cipher Identification).
Real-world examples and step-by-step solutions for CTF crypto challenges.
By the end of this section, you’ll be able to:
Understand the logic behind any encrypted or hashed text.
Quickly identify the encryption type and prepare the right decryption method.
Solve Crypto CTF challenges with confidence and professionalism ?
Base64 – The Encoding That Tricks Beginners
In the world of cryptography, Base64 is one of the most commonly used methods for data encoding — but it’s not real encryption.
Instead, it’s a way to convert data into a readable and transferable format using a specific set of characters.
In this lecture, you’ll learn:
How Base64 works and how it transforms text and files into a new encoded form.
The difference between encoding and encryption, and why Base64 is considered just encoding.
How to recognize Base64-encoded text by its distinctive pattern (often ending with = or ==).
How to decode it using tools like CyberChef or Linux commands such as base64 -d.
Real CTF examples containing Base64-encoded data and step-by-step decryption walkthroughs.
By the end of this lecture, you’ll be able to:
Instantly identify Base64-encoded text.
Decode it manually or with tools.
Combine Base64 with other techniques to solve more advanced CTF Crypto challenges.
Caesar Cipher & ROT13 – The Simplest and Most Classic Encryption
In this lecture, we’ll explore one of the oldest and simplest encryption techniques in history — the Caesar Cipher, along with its special case, ROT13.
It’s the perfect starting point to understand classical encryption before moving into advanced methods.
You’ll learn:
How the Caesar Cipher works by shifting letters through the alphabet by a fixed number.
How ROT13 is a specific case of Caesar Cipher that uses a shift of 13.
How to encrypt and decrypt Caesar manually and with a simple Python script.
How to recognize and analyze Caesar/ROT13 ciphertexts efficiently.
Real CTF crypto challenges involving Caesar or ROT13 and how to solve them step-by-step.
By the end of the lecture, you’ll be able to:
Understand the core logic behind classical shift ciphers.
Decrypt and analyze Caesar and ROT13-encoded messages.
Vigenère Cipher – Encryption with a Keyword
In this lecture, we’ll dive into one of the smartest and most famous classical encryption algorithms — the Vigenère Cipher.
It’s an enhanced version of the Caesar Cipher that adds a powerful twist: the keyword.
You’ll learn:
How the Vigenère Cipher works and how it encrypts text using a keyword instead of a fixed number.
The difference between monoalphabetic and polyalphabetic ciphers.
By the end of this lecture, you’ll be able to:
Understand how keyword-based encryption works and how it differs from Caesar Cipher.
Detect and analyze Vigenère-encrypted text effectively.
Confidently solve advanced Crypto CTF challenges involving the Vigenère Cipher.
Binary, Hex, and Morse Code – Reading and Decoding Basic Ciphers
In this lecture, we’ll explore three fundamental data representation systems that often appear in CTF Crypto challenges:
Binary
How letters and numbers are represented as sequences of 0s and 1s.
Reading and decoding binary-encoded texts and files step by step.
Hexadecimal
Understanding data representation in Hex format.
Converting between Hex, Binary, and ASCII.
Practical examples of Hex-encoded texts in CTF challenges.
Morse Code
Recognizing dots (.) and dashes (-) and translating them into letters.
Using Morse in hidden messages and real-world challenge solutions.
By the end of this lecture, you’ll be able to:
Quickly identify text encoded in Binary, Hex, or Morse.
Decode messages manually or using tools like CyberChef.
Combine these systems with other encryption techniques to solve more complex CTF challenges.
أكيد ?
إليك وصف قسم Challenges – Encryption ضمن دورة الـCTF بالعربية ثم بالإنجليزية، بصيغة تعليمية وجذّابة:
?️ تحديات التشفير – تطبيق عملي لكل ما تعلمته
في هذا القسم رح ندخل عالم تحديات التشفير الحقيقية (Crypto Challenges) — المكان اللي فيه بتطبق كل اللي تعلمته عن Caesar, ROT13, Vigenère, Base64, Binary, Hex, Morse، وغيرها.
رح نتعلم:
تحليل النصوص المشفّرة واكتشاف نوع التشفير بسرعة.
استخدام الأدوات العملية مثل CyberChef, Hashcat, John the Ripper لحل التحديات.
كتابة سكربتات بايثون بسيطة لتسهيل فك الشفرات تلقائيًا.
كيفية تقسيم التحديات الكبيرة إلى خطوات صغيرة وواضحة لحلها بسهولة.
التدرّب على تحديات متنوعة من مسابقات CTF فعلية، من المستوى المبتدئ حتى المتوسط.
بنهاية القسم رح تكون قادر على:
حل أي تحدي تشفير بسيط بثقة وذكاء.
دمج أكثر من نوع تشفير في تحدي واحد وفكّه خطوة بخطوة.
إعداد نفسك لتحديات CTF متقدمة في قسم التشفير ?
?️ Encryption Challenges – Practical Application of What You Learned
In this section, we’ll dive into real-world crypto challenges, where you’ll apply everything you learned about Caesar, ROT13, Vigenère, Base64, Binary, Hex, Morse, and more.
You’ll learn:
How to analyze encrypted texts and quickly identify the type of cipher.
How to use practical tools like CyberChef to solve challenges.
How to break down large challenges into clear, manageable steps.
Practice on a variety of real CTF challenges, from beginner to intermediate levels.
By the end of this section, you’ll be able to:
Confidently solve any simple encryption challenge.
Combine multiple cipher types in one challenge and decode it step by step.
Prepare yourself for advanced CTF crypto challenges ?
Introduction to Web – The Foundation for Web CTF Challenges
In this section, we’ll begin our journey into the world of web applications, one of the most common areas in CTF competitions.
You’ll learn:
How websites work: basic protocols like HTTP/HTTPS, GET and POST requests, and headers.
The basic structure of web applications: Frontend and Backend, and databases.
How to safely exploit simple vulnerabilities in a lab environment.
By the end of this section, you’ll be able to:
Quickly understand the structure of any website.
Identify and analyze common vulnerabilities.
Set up a safe testing environment to start Web CTF challenges.
Execute your first simple web exploitation step by step.
A tool for extracting and editing file metadata (Metadata)
ExifTool is a powerful and versatile tool for reading and writing metadata information in images, videos, and various document formats. It is widely used in forensic examination of images and files because metadata can contain valuable evidence such as creation timestamps, device model, camera settings, and even GPS locations.
Why ExifTool is important in forensic analysis
It can extract data that isn’t visible when opening the file normally (for example: timestamps, camera model, GPS information).
It helps reveal inconsistencies (for example: an image showing a date that does not match the suspect’s claim).
It uncovers metadata that is sometimes hidden or layered (XMP, IPTC, EXIF).
It enables comparison of metadata across a set of images to determine which ones originated from a particular camera or device.
strings — Extract printable text from binary files
The strings command is a simple yet powerful tool used to extract human-readable text from binary files, executables, or memory dumps. It scans a file for sequences of printable ASCII or Unicode characters and outputs them, helping analysts find hidden messages, passwords, URLs, or other clues embedded in files.
Why strings is useful in digital forensics:
Quickly identifies readable content in binary files, such as logs, malware samples, or corrupted documents.
Helps reveal potential credentials, hidden URLs, or commands within executables.
Assists in reverse engineering by exposing embedded text in programs.
Can be used on memory dumps or disk images to locate evidence without fully parsing the binary format.
Basic usage examples:
Extract strings from a file:
strings filename.bin
Extract strings with a minimum length of 5 characters:
strings -n 5 filename.bin
Extract Unicode strings:
strings -e l filename.bin
Redirect output to a file for further analysis:
strings filename.bin > output.txt
? Binwalk — Firmware analysis & file carving tool
Binwalk is a fast, widely used tool for analyzing binary files and firmware images. It scans files for embedded files, compressed archives, executable code, and known signatures — then helps you carve (extract) those embedded pieces for further inspection. Binwalk is a go‑to tool when you want to find hidden files, extract file systems from firmware, or inspect unknown blobs in CTF tasks and forensic investigations.
? Why it’s useful
Detect embedded files and file systems inside firmware images (JFFS2, SquashFS, cramfs, etc.).
Extract compressed blobs and images (gzip, LZMA, ZIP, PNG, JPEG…).
Carve out certificates, keys, scripts, and other artifacts that aren’t visible at first glance.
Entropy analysis helps detect encrypted or compressed regions.
Works great in CTFs for locating flags hidden in firmware or packed binaries.
⚙️ Common workflow & commands
(These are the most common, practical commands you’ll use.)
Scan a file for signatures (quick scan):
binwalk firmware.bin
This lists discovered signatures (offsets + type), giving you a map of what’s inside.
Extract discovered files (automatic carving):
binwalk -e firmware.bin
This creates an _firmware.bin.extracted/ directory with carved files and extracted file system images.
Recursive (matryoshka) extraction — dig deeper into nested archives:
binwalk -M -e firmware.bin
-M instructs binwalk to recursively extract archives found inside extracted files.
Entropy scan (spot compressed/encrypted regions):
binwalk -E firmware.bin
High entropy areas often indicate compressed or encrypted data — useful to focus manual analysis.
Open extracted file system for inspection (after extraction you’ll often find .squashfs, .tar, etc.). Mount or use unsquashfs / binwalk outputs to explore.
? Practical tips & pipeline
After binwalk -e, check the extracted folder and inspect suspicious files with strings, hexdump, file, or open images/texts directly.
Use strings to quickly find ASCII flags, URLs, or credentials inside carved binaries.
If you find a SquashFS or JFFS2 image, use unsquashfs or mount -o loop,ro to browse its filesystem.
Combine with foremost/photorec for additional carving, and grep/yara for indicators of compromise.
Always work on a copy of the original file — never modify the original evidence.
? Forensics & CTF notes
High entropy might indicate encryption — you may need to locate keys elsewhere in the image (often in plaintext segments or config files).
Timestamps and config files inside extracted file systems can give timeline clues.
Be aware that some vendors use custom packing; in such cases binwalk may detect signatures but not fully extract; manual carving or custom scripts may be necessary.
⚠️ Installation
On Debian/Ubuntu:
sudo apt update
sudo apt install binwalk
Nmap — Short Description
Nmap is a powerful network discovery and security auditing tool used to scan hosts and services, identify open ports, detect running services and versions, and perform basic vulnerability checks.
This lecture gives a practical introduction to Nmap’s common scan types (SYN, TCP connect, UDP), service/version detection, NSE scripts, output formats, and safe scanning practices — with hands‑on examples you can run in a lab environment.
Lecture Description: SSH Exploitation & Privilege Escalation Walkthrough
In this lecture, we walk through a full penetration testing challenge from initial reconnaissance to full root compromise. Students will learn how to identify open ports, analyze service banners, perform SSH brute-force attacks, gain initial access, and escalate privileges using a real-world misconfiguration.
We start by using Nmap to discover active services, followed by SSH banner enumeration to extract useful information about the system. Next, we conduct a targeted brute-force attack using Hydra to crack SSH credentials. After accessing the machine, we explore privilege escalation techniques, including enumerating sudo permissions and exploiting a sudoedit misconfiguration to gain root access.
Finally, the lecture demonstrates retrieving user and root flags, and discusses the security weaknesses that made the attack possible—such as weak passwords, service misconfigurations, and excessive privileges.
This session provides a hands-on, practical example of real attacker methodology, ideal for beginners and intermediate learners aiming to strengthen their penetration testing and CTF skills.
وصف الدورة
هذه الدورة هي مقدمة عملية وشاملة لعالم تحديات CTF ومهارات الأمن السيبراني. صممت لتناسب المبتدئين والمتوسطين، حيث تأخذك خطوة بخطوة من المفاهيم الأساسية إلى التطبيقات العملية الواقعية.
سيستكشف الطلاب فئات تحديات CTF مثل التشفير، استغلال الويب، التحليل الجنائي الرقمي، استغلال الثنائيات، وOSINT. من خلال منصات تدريبية مختارة مثل CTF101، Cryptohack، CTFlearn، picoCTF، OverTheWire (Bandit)، TryHackMe، Root Me، Hack The Box، وHackThisSite، سيتعلم الطلاب:
فهم مفاهيم الأمن السيبراني الأساسية ومنطق تحديات CTF
اكتساب خبرة عملية في أدوات مثل Kali Linux، Nmap، ExifTool، strings، Binwalk، وMetasploit
تعلم أساسيات التشفير وفك الشفرات عمليًا
تطوير مهارات التحليل، حل المشكلات، وكتابة التقارير (writeups)
بناء بيئة مختبرية آمنة للتدريب على الاختراق والاستكشاف
إعداد ملف إنجاز عملي يعكس مهاراتهم ويؤهلهم لسوق العمل
بنهاية الدورة، سيكون الطلاب قادرين على حل تحديات CTF بثقة، استخدام أدوات الأمن السيبراني، تحليل الثغرات، وتطبيق مبادئ الاختراق الأخلاقي بطريقة آمنة وقانونية.
ستتضمن الدورة تمارين عملية ومشاريع تطبيقية فردية وجماعية، مع اختبارات تقييم قصيرة وملاحظات فردية من المحاضر. سنوفر موارد قابلة للتحميل مثل سكربتات، قوائم ، وملفات مختبر للاستخدام المحلي. كما سننظم جلسات مراجعة حية وحلقات نقاش لحل المشكلات المتقدمة، ودعماً مجتمعياً عبر قناة خاصة للطلاب لتبادل الحلول والأفكار. في النهاية يحصل المشاركون على شهادة إتمام وملف يحتوي على قابلة للعرض أمام أصحاب العمل. يمكن أيضاً متابعة تقدمك عبر واجهة تتبع وملاحظات دورية لتحسين الأداء المهني والعملي وبناء شبكة مهنية قوية داعمة.