Skip to content

Offensive Golang Bonanza: Writing Golang Malware

Ben Kurtz

Ben Kurtz breaks down the mechanics of developing offensive Golang malware, demonstrating EDR evasion techniques, memory injection, and cross-platform compilation.

Summary

The Rapid Rise of Golang in Offensive Operations

Golang has emerged as a preferred language for red teams and nation-state threat actors due to its static binary compilation, cross-platform support, and rich standard library.

Core Building Blocks of Golang Implants

Ben Kurtz walks through developing robust offensive Golang components, from in-memory PE execution to encrypted command-and-control (C2) communications.

Bypassing Modern EDR and Network Monitoring

Kurtz demonstrates techniques for bypassing endpoint detection, including dynamic API unhooking, direct system calls in Go, and obfuscating runtime symbol tables.

Defensive Engineering and Hunting Golang Implants

The author provides defensive analysts with Yara signatures and binary analysis guidelines to deobfuscate and reverse engineer Go binaries.

Related talks