Like the best-selling Black Hat Python, Black Hat Go explores the darker side of the popular Go programming language. This collection of short scripts will help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset.
Black Hat Go explores the darker side of Go, the popular programming language revered by hackers for its simplicity, efficiency, and reliability. It provides an arsenal of practical tactics from the perspective of security practitioners and hackers to help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset, all using the power of Go.
You'll begin your journey with a basic overview of Go's syntax and philosophy and then start to explore examples that you can leverage for tool development, including common network protocols like HTTP, DNS, and SMB. You'll then dig into various tactics and problems that penetration testers encounter, addressing things like data pilfering, packet sniffing, and exploit development. You'll create dynamic, pluggable tools before diving into cryptography, attacking Microsoft Windows, and implementing steganography.
You'll learn how to:
Make performant tools that can be used for your own security projectsCreate usable tools that interact with remote APIsScrape arbitrary HTML dataUse Go's standard package, net/http, for building HTTP serversWrite your own DNS server and proxyUse DNS tunneling to establish a C2 channel out of a restrictive networkCreate a vulnerability fuzzer to discover an application's security weaknessesUse plug-ins and extensions to future-proof productsBuild an RC2 symmetric-key brute-forcerImplant data within a Portable Network Graphics (PNG) image.
Are you ready to add to your arsenal of security tools? Then let's Go!