Step Into Rust
Learn Rust interactively, all the way down to unsafe, FFI and Win32
An interactive Rust course in your browser: ownership, borrowing, traits, errors and lifetimes, then bytes, unsafe, raw pointers, FFI with C and calling the Windows API from Rust with safe wrappers. Every mission is checked by running your code.
- 15lessons
- 62missions
- ~9 hof material
- Intermediatelevel
What you will learn
- Ownership, borrowing and lifetimes
- Structs, enums, Option and pattern matching
- Traits and generics
- Error handling with Result
- Vectors, slices and iterators
- Bytes and binary parsing
- unsafe Rust and raw pointers
- FFI between Rust and C
- Calling the Win32 API from Rust and writing safe wrappers
- A PE file inspector capstone
Prerequisites: Step Into C, or experience in another language. Price: included in the $199 bundle, together with C and x64 assembly.
Syllabus
Foundations
Variables, types, functions and control flow in Rust.
- Hello, Rustprintln!, variables, mutability, integer types and formatting. · 4 missions · 25 min
- Functions & Control FlowExpressions, functions, if, loop / while / for, ranges and match. · 4 missions · 30 min
Ownership & Types
The idea Rust is built on, then structs, enums, pattern matching, traits and generics.
- Ownership & BorrowingMoves, clones, shared and mutable references, String vs &str. · 4 missions · 35 min
- Structs, Enums & Optionimpl blocks, derive, enums that carry data, exhaustive match and Option instead of NULL. · 4 missions · 35 min
- Traits & GenericsShared behavior with traits, generic functions, trait objects and the standard traits. · 5 missions · 40 min
Robust Rust
Errors as values, vectors, slices, iterators and lifetimes.
- Error HandlingResult, match, the ? operator, error messages and exit codes. · 4 missions · 35 min
- Vectors, Slices & IteratorsVec, slices, iterator chains, HashMap, sorting and deduplicating. · 4 missions · 30 min
- LifetimesHow long a borrow lives: lifetime parameters, structs that borrow, and zero-copy parsing. · 4 missions · 40 min
Systems Rust
Bytes and binary data, unsafe and raw pointers, FFI and the Windows API.
- Bytes & Binary Datau8 slices, byte strings, endianness conversions, parsing headers and checksums. · 4 missions · 30 min
- Unsafe & Raw PointersWhat unsafe allows, *const and *mut, pointer arithmetic, byte views and repr(C). · 4 missions · 35 min
- FFI: Talking to Cextern blocks, C strings, callbacks into Rust, and wide strings for Windows. · 4 missions · 35 min
- The Windows API from Rustwin32Declaring kernel32 functions, GetLastError, VirtualAlloc, GetProcAddress and your own PE headers. · 4 missions · 45 min
- Safe Wrappers for Win32win32UTF-16 the std way, errors as Result with real messages, and handles that close themselves. · 4 missions · 40 min
- DLLs, Threads and Modules from Rustwin32LoadLibraryW and GetProcAddress behind a safe type, std threads on Win32 threads, and module paths. · 4 missions · 35 min
Capstone
A PE header inspector: files, bytes, errors, structs and lifetimes together.
- Capstone: a PE InspectorRead a Windows executable's headers from disk, safely, with errors, structs and slices. · 5 missions · 60 min
Understand the machine
Short lessons with memory diagrams: what the CPU and memory are doing, not just syntax.
Write real code
A full editor in the browser. Your Rust is built by a real toolchain and actually runs.
The watchdog checks it
Your program is run against test inputs. Pass, and the next mission unlocks. Fail, and you see exactly why.
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.
Do I need programming experience?
No. Step Into C starts from zero and assumes nothing. The assembly and Rust courses build on it.
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.
Which assembly syntax and platform?
x86-64 (x64) assembly in Intel syntax with the GNU assembler, using the Windows x64 calling convention, so you can call C and Win32 functions from assembly.
Is it Windows-only?
The C fundamentals, assembly basics and Rust fundamentals are portable. The systems modules target Windows: the Win32 API, Windows internals and calling Win32 from assembly and Rust. You only need a browser on any operating system.
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 Step Into Rust
Try a complete lesson free, no sign-up needed.