
Install and configure tools on the Windows lab machine for malware development and research, including Visual Studio Community Edition 2022 with C++, x64 dbg, Process Hacker 2, and internal suite.
Understanding Processes in Windows
A process is a running instance of a program in Windows. When you launch an application, Windows creates a process and provides it with the resources needed to execute.
Each process has its own virtual memory space and can contain one or more threads that perform the actual execution. Windows manages processes throughout their lifecycle, including creation, execution, and termination.
Understanding processes is an important foundation for learning Windows Internals, malware analysis, reverse engineering, debugging, and cybersecurity, because many Windows security concepts depend on how processes operate and interact with the operating system.
Learn to view and analyze Windows threads, identify thread IDs and start addresses, inspect instruction pointers, and compare kernel and user stacks using Process Hacker and Brockman.
Set up a two-machine Windows kernel debugging lab in VirtualBox with bridged networking, enable kernel debugging, configure wind debug, and load symbols from the Microsoft Public Symbol server.
Trace how a notepad file open moves from user mode to kernel mode, via kernel32.dll and ntdll, through the IO manager to the NTFS driver, then back, using WinDbg.
In this lecture we will peek into EPROCESS and ETHREAD structures in Windows kernel OS. We will understand PEB,TEB structures in user mode in Windows OS. We will see how PEB and TEB is related to each other in Windows OS.
Explore Windows kernel internals by viewing eprocess and ethread structures with WinDbg, and inspect kernel and user mode blocks such as the process involvement block and process environment block.
This module explains the architectural linkage between the TEB and PEB structures in Windows.
You will examine how each thread maintains its own TEB, which includes a direct pointer to the process-wide PEB. This design enables efficient access to shared process metadata such as the loader data, module lists, and runtime parameters.
We will also discuss how this relationship is leveraged in advanced techniques like manual API resolution, PEB traversal, and evasion strategies in malware.
Explore how Windows memory is allocated with the VirtualAlloc API in C++, including reserve versus commit and protection flags for read, write, and execute in malware development.
Experience a practical demo of allocating memory in the current process with virtual alloc, writing and printing data, then freeing memory using virtual free and memcpy.
demonstrates allocating memory in a remote Windows process, writing data to that memory, and using breakpoints to inspect execution, via a practical notepad example.
Understanding Windows Internals is one of the most important skills for anyone entering malware development, malware analysis, reverse engineering, or ethical hacking. This course is designed to give you a deep, practical understanding of how Windows really works behind the scenes, so you can build, analyze, and detect modern malware with confidence.
You will learn core Windows components such as processes, threads, memory management, system calls, handles, kernel objects, tokens, integrity levels, PE file loading, and the Windows security model. Each topic is explained in a simple, beginner-friendly manner with practical demonstrations, code examples, and real-world scenarios relevant to malware development and analysis.
Whether you want to write advanced malware, analyze malicious executables, bypass security controls, detect malicious behavior, or understand how red-team and threat actors operate, this course gives you the strong internal foundations required.
By the end, you will understand how malware interacts with Windows, how the OS reacts internally, and how to use this knowledge to develop more effective malware or to analyze and defend against sophisticated threats. This course prepares you for real-world malware development, BLUE team analysis, incident response, reverse engineering, and ethical hacking. It also strengthens your overall security mindset through deeper operating system awareness and practical understanding.