Skip to Content
Black Hat Go
book

Black Hat Go

by Tom Steele, Chris Patten, Dan Kottmann
January 2020
Intermediate to advanced content levelIntermediate to advanced
368 pages
9h 46m
English
No Starch Press
Content preview from Black Hat Go

14BUILDING A COMMAND-AND-CONTROL RAT

Image

In this chapter, we’ll tie together several lessons from the previous chapters to build a basic command and control (C2) remote access Trojan (RAT). A RAT is a tool used by attackers to remotely perform actions on a compromised victim’s machine, such as accessing the filesystem, executing code, and sniffing network traffic.

Building this RAT requires building three separate tools: a client implant, a server, and an admin component. The client implant is the portion of the RAT that runs on a compromised workstation. The server is what will interact with the client implant, much like the way Cobalt Strike’s team ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Black Hat Python, 2nd Edition

Black Hat Python, 2nd Edition

Justin Seitz, Tim Arnold
Head First Go

Head First Go

Jay McGavren
TCP/IP Guide

TCP/IP Guide

Charles M. Kozierok

Publisher Resources

ISBN: 9781098122645