Step Into Labs

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.

Open the course Pricing

What you will learn

Prerequisites: Step Into C, or experience in another language. Price: included in the $199 bundle, together with C and x64 assembly.

Syllabus

0x01

Foundations

Variables, types, functions and control flow in Rust.

  1. Hello, Rustprintln!, variables, mutability, integer types and formatting. · 4 missions · 25 min
  2. Functions & Control FlowExpressions, functions, if, loop / while / for, ranges and match. · 4 missions · 30 min
0x02

Ownership & Types

The idea Rust is built on, then structs, enums, pattern matching, traits and generics.

  1. Ownership & BorrowingMoves, clones, shared and mutable references, String vs &str. · 4 missions · 35 min
  2. Structs, Enums & Optionimpl blocks, derive, enums that carry data, exhaustive match and Option instead of NULL. · 4 missions · 35 min
  3. Traits & GenericsShared behavior with traits, generic functions, trait objects and the standard traits. · 5 missions · 40 min
0x03

Robust Rust

Errors as values, vectors, slices, iterators and lifetimes.

  1. Error HandlingResult, match, the ? operator, error messages and exit codes. · 4 missions · 35 min
  2. Vectors, Slices & IteratorsVec, slices, iterator chains, HashMap, sorting and deduplicating. · 4 missions · 30 min
  3. LifetimesHow long a borrow lives: lifetime parameters, structs that borrow, and zero-copy parsing. · 4 missions · 40 min
0x04

Systems Rust

Bytes and binary data, unsafe and raw pointers, FFI and the Windows API.

  1. Bytes & Binary Datau8 slices, byte strings, endianness conversions, parsing headers and checksums. · 4 missions · 30 min
  2. Unsafe & Raw PointersWhat unsafe allows, *const and *mut, pointer arithmetic, byte views and repr(C). · 4 missions · 35 min
  3. FFI: Talking to Cextern blocks, C strings, callbacks into Rust, and wide strings for Windows. · 4 missions · 35 min
  4. The Windows API from Rustwin32Declaring kernel32 functions, GetLastError, VirtualAlloc, GetProcAddress and your own PE headers. · 4 missions · 45 min
  5. Safe Wrappers for Win32win32UTF-16 the std way, errors as Result with real messages, and handles that close themselves. · 4 missions · 40 min
  6. DLLs, Threads and Modules from Rustwin32LoadLibraryW and GetProcAddress behind a safe type, std threads on Win32 threads, and module paths. · 4 missions · 35 min
0x05

Capstone

A PE header inspector: files, bytes, errors, structs and lifetimes together.

  1. Capstone: a PE InspectorRead a Windows executable's headers from disk, safely, with errors, structs and slices. · 5 missions · 60 min
01 · read

Understand the machine

Short lessons with memory diagrams: what the CPU and memory are doing, not just syntax.

02 · write

Write real code

A full editor in the browser. Your Rust is built by a real toolchain and actually runs.

03 · verify

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.