MalTrak
MODULE-BASED PROGRAM
[ADVANCED][6 MODULES][CERTIFIED]

Advanced Malware Development & EDR Evasion_

An advanced, module-based program covering malware development from machine code through a full operator toolchain. x64 assembly, shellcode, reflective DLL injection, EDR evasion, BYOVD kernel attacks, and building your own Cobalt Strike-like beacon from scratch. Amr Thabet.

Duration10days
Live hours707h / day
Modules21
CPE Credits70hours
  • Amr Thabet headshot

    Amr Thabet

    CYBERSECURITY EXPERT · MALWARE RESEARCHER

    Author of "Mastering Malware Analysis" book

// Overview

Overview

Red teamers and penetration testers develop tooling in C and use frameworks that are increasingly well-signatured. This program goes lower.

Students implement malware, shellcode, and injection techniques directly in x64 assembly, learning to control every byte of what they ship. The program starts at the machine code level and builds all the way up to a full operator toolchain: from Windows internals and PE literacy, through x64 assembly and C++ malware development, to shellcode, reflective DLL loaders from scratch against the PE32+ specification, advanced injection techniques for EDR and memory scanner evasion, BYOVD kernel-level attacks, and a complete Cobalt Strike-like beacon with real C2 check-in and operator commands.

Throughout the training, students encounter EDR and AV evasion at the signature level, behavioral level, ETW tracing, API hooking level, and kernel level, understanding common detection techniques and how to bypass them as each topic is covered.

// Training Benefits

Why this training is different

Module-based program

Six in-depth modules covering the full spectrum from Windows internals through a complete C++ beacon with C2 integration, designed to be taken at your own pace.

80+ hands-on exercises

Every technique is built, not just discussed. Labs are cumulative, and each module's output feeds into the next, building toward a complete offensive toolchain.

Cloud-hosted lab environment

Fully configured Windows lab VMs provided for the duration of the program, with a downloadable VM image at completion for continued practice.

Complete course workbook

Full workbook with lab skeletons, reference source code, and complete reference implementations for every exercise.

// What Sets This Apart

What makes this program different

This is the only training that covers low-level x64 assembly-based malware development at this depth in one continuous program. Working in x64 assembly unlocks a category of techniques that C++ and .NET tooling alone cannot produce: reflective DLL injection shellcode, obfuscators, code generators, and EDR evasion techniques with direct syscalls, API patching, and instruction-level control that this program covers with working implementations, not just theory.

The program also covers writing your own x64 code generator and obfuscator to evade signature-based detection, applicable to any x64 payload or implant. Students test their own generated output against static detection before the program ends.

// Full Program

6 modules · 21 sections of deep technical content

Module 01

Windows Internals & WinAPI Foundations

What the loader and EDR actually see. Processes, DLLs, memory, and the PE format on disk and in memory.

01

Process & Memory Fundamentals

  • Process Explorer: process tree, DLLs, handles, impersonation
  • DLL search order hijacking with Process Monitor
  • Hunting RWX and suspicious memory with Process Hacker
  • Walking the PEB manually in WinDbg
02

Debugging & PE Format

  • First steps in x64dbg: breakpoints, registers, memory map
  • SDDL decoding practice
  • Services: visibility and hiding (detection mindset)
  • Navigating the PE format with PE-bear
03

Static Analysis & LOLBIN Execution

  • Power Loader: basic static analysis (parts 1 and 2)
  • Jonap malware: static analysis of resource files
  • LOLBIN execution via InstallUtil and MSBuild (what blue team sees)
  • Lab: explain load order, find imports and sections, walk the PEB before writing your first implant
Module 02

Basic x64 Assembly Malware Development

x64 instruction encoding, building an assembler by hand, and writing your first malware entirely in assembly.

04

x64 Foundations & Encoding

  • Toolchain setup and x64 calling convention
  • x86-to-assembly bridge labs (for students who need the step up)
  • Hello Win32, DLL writing with rundll32, string utilities, XOR cipher
  • x64 instruction encoding: reading and writing machine code without relying on an assembler
05

Length Disassembly & Networking

  • Length disassembly: locating instruction boundaries for API hooking and shellcode generation
  • Winsock and HTTPS from assembly
  • VirtualAlloc + execute: the shellcode execution primitive
  • Enumerate files and processes
06

Dynamic API Resolution & Injection

  • Dynamic API resolution and import table hiding: keeping your malware's capabilities invisible to static analysis
  • Process injection via CreateRemoteThread and LoadLibrary
  • Lab: first malware completely in x64 assembly with dynamic API resolution, connects back to C&C server as a TCP reverse shell
  • Optional: keylogger and foreground window logger as API composition practice
Module 03

Basic C++ Malware Development

Moving assembly tradecraft into C++. String encryption, PE parsing, reverse shells, and a full injected backdoor.

07

C++ Foundations & PE Parsing

  • Encrypt a string in C++ (first Win32 console patterns)
  • PE parser in C++, parts 1–3: headers, section table and RVAToOffset, import table
  • TCP reverse shell in C++
  • Browser-based reverse shell terminal (Next.js + xterm.js)
08

AMSI, Persistence & Integration

  • PowerShell WebClient download and execute (contrast with in-process code)
  • Antimalware Scan Interface (AMSI)
  • PowerShell DSC persistence (what gets logged and persisted)
  • Lab: injected TCP backdoor + browser C&C tying assembly injection to C++ operator logic
Module 04

Shellcode Development & Reflective DLL Injection

PEB walking, custom API resolution, and implementing a complete reflective DLL loader from scratch in shellcode.

09

PEB Walking & API Resolution

  • PEB walking and finding KERNEL32 (x64 and x86 compare)
  • Custom GetProcAddress: resolving APIs by name
  • Custom GetProcAddress: resolving APIs using checksums
  • Shellcode development: writing position-independent payloads for process injection
10

Shellcode Execution & Encryption

  • API resolution, payload execution, encryption and decryption
  • Lab: file download shellcode (x64)
  • PE32+ internals and manual mapping: owning the format your loader depends on
11

Reflective DLL Loading

  • Reflective DLL loading from scratch: shellcode that loads a DLL reflectively (completely fileless)
  • Lab: reflective DLL loader shellcode (multi-part implementation)
  • Homework: shellcode analysis on APT-style material; manual unpack / forced DEP exercise
Module 05

EDR Evasion & Kernel-Level Attacks

From userland hook bypasses and ETW patching to BYOVD kernel exploitation. Terminate the EDR, disable Code Integrity, and load unsigned drivers.

12

Syscall Hooking & Bypasses

  • EDR architecture, hooking mechanisms, and bypasses
  • Userland hook detection and bypass: identifying and avoiding EDR instrumentation in the target process
  • Direct syscalls in x64 assembly for EDR evasion
  • Implementing Hell's Gate (parts 1 and 2)
  • Indirect syscalls (Hell's Hall style)
  • Patchless patching with hardware breakpoints
  • Lab: working malware paths that bypass common userland EDR hooks
13

Notification Routines & Advanced Injection

  • Notification routines and filter drivers (file filters and WFP): what they are, how to extract them, registration, and bypasses
  • Module hollowing: execution that lives inside a legitimate, signed module in memory
  • Cavity injection: injecting into existing image-backed RX memory with no new allocations to avoid memory scanners
  • Transacted hollowing variant
  • Lab: malware that implements cavity-based process injection with reflective DLL injection shellcode for a fileless, less detectable payload
14

ETW & Logging Bypasses

  • Intro to ETW and bypasses
  • ETW patching, hiding malware activities and blending-in
  • Implementing ETWWriteFull patch (improved patching)
  • ETW bypass with hardware breakpoints and VEH
  • Multi-threaded ETW suppression
  • Intro to session hijacking (concept) and patchless patching
15

ETW-TI, ELAM & PowerShell Bypasses

  • Explaining ETW-TI and discussing bypass ideas
  • Remote kernel debugging intro: observing EDR from the kernel side (lab VM)
  • Explaining the concept and implementing unmanaged PowerShell
  • AMSI init failed and patchless HWBP paths
  • PowerShell without IEX, Add-Type, ScriptBlock smuggling
  • Lab: unmanaged PowerShell + ETW bypass implementation and integration into the malware
16

BYOVD & Kernel-Level Attacks

  • BYOVD exploitation: loading a vulnerable driver for kernel read/write access
  • EPROCESS manipulation: walking the kernel process list via EPROCESS structures
  • Terminate EDR processes: killing protected EDR services from kernel space
  • PPL killer: stripping Protected Process Light from any process
  • Token elevation: stealing SYSTEM tokens to escalate your malware
  • Disable Code Integrity (DSE): turning off Driver Signature Enforcement to load unsigned drivers
  • EDR Silencer: blinding EDR telemetry at the kernel level
  • Load unsigned rootkits: leveraging DSE bypass to deploy kernel-mode code
  • Terminate sessions and manipulate process protection fields
  • Lab: building a complete BYOVD EPROCESS read/write tool (CLI and BOF versions)
17

Anti-Debugging Techniques

  • Anti-VM and PEB checks
  • EnumWindows, RDTSC timing, NtSystemDebugControl
Module 06

Advanced C++ Malware Development: Build Your Own Cobalt Strike-Like Beacon From Scratch

Build a full C++ implant with Havoc C2 integration, Cobalt Strike BOF compatibility, BYOVD kernel attacks as inline-execute modules, and a code generation capstone.

18

Havoc C2 Setup & Basic Agent

  • Havoc installation, basic check-in malware (part 1), and malleable C2 profiles
  • Basic check-in malware (part 2)
  • Implementing multiple commands in the agent
  • Havoc hardening: bypassing network-level detections and traffic analysis
  • Unmanaged PowerShell + ETW/AMSI bypass inside the agent command surface
19

Cobalt Strike BOF Development & Inline Execute

  • What is a Cobalt Strike BOF (COFF object file) and why it matters
  • Building a Cobalt Strike BOF loader from scratch (inline-execute)
  • Developing custom BOFs: from COFF compilation to agent integration
  • BYOVD EPROCESS read/write as an inline-execute BOF module
  • Filesystem transfer commands and data exfiltration via the agent
20

BYOVD Kernel Attacks via the Agent

  • Integrating the BYOVD driver into the agent's command surface
  • EDR termination, PPL removal, and token theft from inside the beacon
  • Kernel debugging lab (advanced, isolated VM)
  • Optional: token impersonation, LSASS dump techniques, PowerShell from injected memory (lab scope only)
21

Binary Modification & Code Generation

  • Entry point obscuring: hiding where your code begins
  • Inline API hooking improved with length disassemblers and code generators
  • Code generation engines: building tooling that never produces the same binary twice
  • Shellcode generators and obfuscators: applying generation to real payloads
  • Capstone lab: students leave with a complete toolchain (loader, injector, generator, and C++ agent) tested live against real-world enterprise EDR

// The Journey

From machine code to a working beacon

The six modules build on each other. You start with Windows internals, understanding what the loader and EDR see, then write your first malware entirely in x64 assembly. From there, the same tradecraft moves into C++ for maintainability, before you develop shellcode and implement reflective DLL injection from the PE32+ specification. The EDR evasion module covers everything from userland hook bypasses and syscalls through ETW patching to full BYOVD kernel exploitation: terminating EDR processes, disabling Driver Signature Enforcement, stripping PPL, and loading unsigned kernel-mode code. The final module brings it all together into a Cobalt Strike-like beacon built from scratch on Havoc C2, with Cobalt Strike BOF compatibility, inline-execute, Havoc hardening for network-level evasion, and a code generation capstone that produces byte-distinct output on every build.

// Deep Dive

BYOVD kernel attacks

Module 5 includes a dedicated section on BYOVD (Bring Your Own Vulnerable Driver) exploitation. Students build a kernel read/write tool that walks EPROCESS structures to manipulate any process on the system: terminating EDR processes from kernel space, stripping Protected Process Light (PPL), elevating tokens to SYSTEM, disabling Code Integrity (DSE) to load unsigned drivers, and silencing EDR telemetry at the kernel level. This tool is built both as a standalone CLI and as a Cobalt Strike BOF for inline-execute through the beacon, and tested against a real EDR in the lab.

// Deep Dive

Build your own beacon

Module 6 is about building a real implant, not running someone else's. Students build a complete C++ beacon from scratch on top of Havoc C2: from basic check-in and malleable C2 profiles through unmanaged PowerShell with ETW/AMSI bypass, to a full Cobalt Strike BOF loader that can run any COFF object file inline. The module covers Havoc hardening to bypass network-level detections, integrates the BYOVD kernel attacks as agent commands, and closes with a code generation capstone where students combine their loader, injection technique, evasion layers, and generator, then test the result against real-world enterprise EDR detections.

// Target Audience

Who this training is for

Red Team Operators & Pentesters

Offensive security professionals who want to develop and customize their own tooling at the lowest level, beyond what C2 frameworks provide out of the box.

Malware Analysts

Analysts who want to go beyond reversing and start implementing, understanding how modern implants work by building them.

Security Developers

Developers moving into offensive security who want to understand how modern implants work at the binary level, from assembly through C++ agents.

// Prerequisites

  • Proficiency in C or C++ and reading/writing x64 assembly is recommended but not required
  • Familiarity with the Windows API and basic Windows internals
  • Experience with a debugger (WinDbg or x64dbg) and a disassembler (IDA, Ghidra, or Binary Ninja)
  • 4–5 years in offensive security, penetration testing, or low-level development (strong devs with less security experience are also a good fit)
  • Preparatory material is sent to registered students in advance

// Takeaways

What you'll walk away with

  1. 01

    Shellcode & reflective DLL injection

    Write position-independent shellcode and implement reflective DLL injection from the PE32+ specification in x64 assembly.

  2. 02

    EDR evasion & kernel-level attacks

    Implement EDR evasion from userland hook bypasses, syscalls, and ETW patching to kernel-level BYOVD attacks. Terminate EDR processes, disable Code Integrity, load unsigned drivers, and strip PPL protections.

  3. 03

    Build a Cobalt Strike-like beacon

    Develop a complete C++ implant from scratch with Havoc C2 integration, Cobalt Strike BOF compatibility, inline-execute, and a custom x64 code generation engine that never produces the same binary twice.

// Is This For You

Who should take this program

Red team operators and penetration testers looking to develop and customize their own offensive tooling. Malware analysts who want to go beyond reversing and start implementing. Developers moving into offensive security who want to understand how modern implants work at the lowest level.

Not a good fit for anyone expecting a course on C2 frameworks only, initial access tradecraft, or post-exploitation without coding. This program is about what happens at the binary level, and how that binary becomes a maintained, hardened beacon.

// Your Trainers

Learn from people who do this work

Amr ThabetLead
Amr Thabet

CYBERSECURITY EXPERT · MALWARE RESEARCHER

Amr Thabet is a cybersecurity expert with 12+ years of experience in malware research and incident handling. He has worked with Fortune 500 companies worldwide and is the author of "Mastering Malware Analysis". Amr specialises in advanced malware hunting, digital forensics, threat hunting, and Windows internals security.

Author of "Mastering Malware Analysis" book

// ROI for Your Organization

Persuade your manager

Custom tooling capability

Your team builds its own offensive tooling from the ground up, reducing reliance on well-signatured public frameworks that defenders already detect.

Complete toolchain they keep

Every participant leaves with a complete, working toolchain (loader, injector, code generator, and C++ beacon) that they built themselves and own.

Applicable to any engagement

The techniques taught are not framework-specific. Everything built during the program is applicable to any payload or implant your team brings to an engagement.

// Pricing

Simple, transparent pricing.

6 in-depth modules of live, instructor-led training (70+ hours)

Certificate of completion

Access to a cloud-based lab environment for the duration of the program

Downloadable VM image at completion for continued practice

Training slides

Exercise workbook with all exercises and step-by-step solutions

Lab skeleton code and reference source for every exercise

Complete reference implementations for all 80+ labs

Source code, malware samples, and additional training materials

Preparatory reading delivered before the program

3-week post-training lab access with additional exercises

// FAQ

Frequently asked questions

Is this the same as the 4-day training offered at conferences?

No. The 4-day version is an intensive assembly-and-evasion core that covers parts of Modules 2, 4, 5, and the code-generation capstone. The full program adds Windows internals and PE fluency (Module 1), a complete C++ malware and PE-parser track (Module 3), the full beacon-building module with Cobalt Strike BOF development (Module 6), and the extended ETW / Hell's Gate / filter-driver / BYOVD kernel attack material.

Do I need to know x64 assembly before enrolling?

Recommended but not required. The program starts with toolchain setup and x64 calling conventions, and includes bridge labs for students stepping up from x86. Preparatory material is sent to registered students in advance.

What kind of lab environment is provided?

Fully configured cloud-hosted Windows VMs for the duration of the program. Students may download a preconfigured VM image at the end to continue practicing. The lab environment remains accessible for three weeks after the training.

How much of the program is hands-on?

Approximately 65% hands-on, 35% lecture. Labs are cumulative, and each module's output feeds into the next, building toward a complete toolchain tested against a live EDR.

Who is NOT a good fit for this program?

Anyone expecting a course on C2 frameworks only, initial access tradecraft, post-exploitation without coding, or lateral movement / Active Directory content. This program is about what happens at the binary level, and in the full program, how that binary becomes a maintained beacon.

What does the BYOVD kernel attack section cover?

Students build a complete BYOVD exploitation tool, both a standalone CLI and a Cobalt Strike BOF version for inline-execute. The tool uses a vulnerable driver for kernel read/write, then walks EPROCESS structures to terminate EDR processes, strip PPL protections, steal SYSTEM tokens, disable Code Integrity (DSE), silence EDR telemetry, and load unsigned kernel-mode code.

// Next edition coming soon

Learn it live.
Use it on your next case.

6 modules · 21 sections · live and hands-on with Amr Thabet.