The low-level foundation for security work: C, x64 assembly and Windows internals
Reverse engineering, malware analysis, exploit development and detection engineering all assume you can read C and x64 assembly and know how a Windows process is put together. Step Into Labs teaches exactly that foundation by having you write it: real code, run on real Windows, checked mission by mission, with a debugger that shows the registers, the stack and the generated assembly.
What you will be able to do
- Pointers, the stack, the heap and what memory corruption really is
- How C compiles to x64 assembly, and reading gcc output at -O0 and -O2
- The Windows x64 calling convention, shadow space and stack frames
- Binary layouts, the PE format and a PE inspector in Rust
- Processes, threads, virtual memory, page protections and DLL loading
- ntdll, the Native API, NTSTATUS, system calls, the PEB and the loader
Lessons to look at first
- PointersStep Into C · Addresses, &, *, NULL, out-parameters and pointers to pointers.
- Dynamic MemoryStep Into C · Stack vs heap, malloc / calloc / realloc / free, memcpy and memset.
- DebuggingfreeStep Into C · Breakpoints, stepping, variables, the call stack and crashes, with a real debugger.
- Binary Data & LayoutsStep Into C · Exact-width integers, packed structs, offsetof and parsing byte buffers.
- Memory: Pages, Protections and HeapsStep Into C · VirtualAlloc reserve vs commit, VirtualProtect and VirtualQuery, private heaps, and when to use which.
- ProcessesStep Into C · Process ids vs handles, CreateProcessW, waiting and exit codes, STILL_ACTIVE, and capturing a child's output.
- DLLs & Dynamic LoadingStep Into C · Imports vs LoadLibrary, GetProcAddress and typed function pointers, missing exports, and reference counts.
- ntdll & the Native APIStep Into C · How a Win32 call reaches the kernel: kernel32, ntdll, NTSTATUS, and what a system call is.
- The PEB & the LoaderfreeStep Into C · The process environment block, its fields, your command line, and the loader's list of modules.
- The StackStep Into x64 Assembly · push and pop, callee-saved registers, local variables, alignment and recursion.
- The Win64 Calling Convention in DepthStep Into x64 Assembly · Floating-point arguments in xmm registers, mixed arguments, varargs, alignment, and what you see in real Win32 disassembly.
- Debugging AssemblyStep Into x64 Assembly · Registers, flags and the stack, one instruction at a time.
- Reading Compiler OutputStep Into x64 Assembly · What gcc makes of C at -O0 and -O2: frames, spills, lea math, magic division and cmov.
- Unsafe & Raw PointersStep Into Rust · What unsafe allows, *const and *mut, pointer arithmetic, byte views and repr(C).
- Capstone: a PE InspectorStep Into Rust · Read a Windows executable's headers from disk, safely, with errors, structs and slices.
Who this is for
Aspiring and working reverse engineers, malware analysts, SOC and DFIR analysts, red teamers, exploit developers, detection engineers and CTF players.
Questions
Do I need to install a compiler or debugger?
No. Everything runs in the browser: a Monaco code editor, and your code is built by real toolchains (gcc / MinGW-w64, the GNU assembler, rustc) on a sandboxed server. The Windows lessons call the real Win32 API on real Windows. There is also a built-in debugger (GDB underneath) that records your program so you can step forwards and backwards, and a disassembler with a control-flow graph.
Is it good preparation for reverse engineering, malware analysis or exploit development?
Yes, as a foundation. It teaches what those fields assume you already know: memory and pointers, how C becomes x64 assembly, the Win64 calling convention and stack frames, reading compiler output, binary layouts and the PE format, the Win32 API, ntdll, the Native API, the PEB and the loader. It is not a malware or exploitation course itself.
How is it different from video courses and tutorials?
You learn by writing code that is actually compiled and run, and every mission is graded by running your program against test inputs, so you know immediately whether it works and why not. The debugger can step backwards in time and shows the generated assembly next to your source.
How much does it cost?
Two complete lessons are free with no sign-up. Step Into C is $149, and the complete bundle with all three courses (C, x64 assembly and Rust) is $199, one-time. Step Into Labs is currently in closed beta.
Start with a free lesson
No sign-up: open the debugger lesson and run your first program in a few seconds.