Book description
The first stop for your security needs when using Go, covering host, network, and cloud security for ethical hackers and defense against intrusion
About This Book
- First introduction to Security with Golang
- Adopting a Blue Team/Red Team approach
- Take advantage of speed and inherent safety of Golang
- Works as an introduction to security for Golang developers
- Works as a guide to Golang security packages for recent Golang beginners
Who This Book Is For
Security with Go is aimed at developers with basics in Go to the level that they can write their own scripts and small programs without difficulty. Readers should be familiar with security concepts, and familiarity with Python security applications and libraries is an advantage, but not a necessity.
What You Will Learn
- Learn the basic concepts and principles of secure programming
- Write secure Golang programs and applications
- Understand classic patterns of attack
- Write Golang scripts to defend against network-level attacks
- Learn how to use Golang security packages
- Apply and explore cryptographic methods and packages
- Learn the art of defending against brute force attacks
- Secure web and cloud applications
In Detail
Go is becoming more and more popular as a language for security experts. Its wide use in server and cloud environments, its speed and ease of use, and its evident capabilities for data analysis, have made it a prime choice for developers who need to think about security.
Security with Go is the first Golang security book, and it is useful for both blue team and red team applications. With this book, you will learn how to write secure software, monitor your systems, secure your data, attack systems, and extract information.
Defensive topics include cryptography, forensics, packet capturing, and building secure web applications.
Offensive topics include brute force, port scanning, packet injection, web scraping, social engineering, and post exploitation techniques.
Style and approach
John Leon has divided the book into two parts which present the team playing defense against anyone breaking into servers and the team playing (ethical!) offense to perform said attacks. All Go scripts and programs are workable solutions that can be easily understood and expanded upon by anyone with a system administrator's level view of networking and cloud-based systems. Golang developers will profit from a swift and incisive approach to security.
Table of contents
- Introduction to Security with Go
- The Go Programming Language
- Working with Files
- Forensics
- Packet Capturing and Injection
- Cryptography
- Secure Shell (SSH)
- Brute Force
- Web Applications
-
Web Scraping
-
Web scraping fundamentals
- Finding strings in HTTP responses with the strings package
- Using regular expressions to find email addresses in a page
- Extracting HTTP headers from an HTTP response
- Setting cookies with an HTTP client
- Finding HTML comments in a web page
- Finding unlisted files on a web server
- Changing the user agent of a request
- Fingerprinting web application technology stacks
- Using the goquery package for web scraping
- How to protect against web scraping
- Summary
-
Web scraping fundamentals
- Host Discovery and Enumeration
- Social Engineering
- Post Exploitation
- Conclusions
- Another Book You May Enjoy
Product information
- Title: Security with Go
- Author(s):
- Release date: January 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788627917
You might also like
book
Hands-On Security in DevOps
Protect your organization's security at all levels by introducing the latest strategies for securing DevOps Key …
book
Container Security
To facilitate scalability and resilience, many organizations now run applications in cloud native environments using containers …
book
Securing DevOps
Securing DevOps explores how the techniques of DevOps and security should be applied together to make …
book
Web Application Security
While many resources for network and IT security are available, detailed knowledge regarding modern web application …