Book description
Your one-stop guide to learning and implementing Red Team tactics effectively
Key Features
- Target a complex enterprise environment in a Red Team activity
- Detect threats and respond to them with a real-world cyber-attack simulation
- Explore advanced penetration testing tools and techniques
Book Description
Red Teaming is used to enhance security by performing simulated attacks on an organization in order to detect network and system vulnerabilities. Hands-On Red Team Tactics starts with an overview of pentesting and Red Teaming, before giving you an introduction to few of the latest pentesting tools. We will then move on to exploring Metasploit and getting to grips with Armitage. Once you have studied the fundamentals, you will learn how to use Cobalt Strike and how to set up its team server.
The book introduces some common lesser known techniques for pivoting and how to pivot over SSH, before using Cobalt Strike to pivot. This comprehensive guide demonstrates advanced methods of post-exploitation using Cobalt Strike and introduces you to Command and Control (C2) servers and redirectors. All this will help you achieve persistence using beacons and data exfiltration, and will also give you the chance to run through the methodology to use Red Team activity tools such as Empire during a Red Team activity on Active Directory and Domain Controller.
In addition to this, you will explore maintaining persistent access, staying untraceable, and getting reverse connections over different C2 covert channels.
By the end of this book, you will have learned about advanced penetration testing tools, techniques to get reverse shells over encrypted channels, and processes for post-exploitation.
What you will learn
- Get started with red team engagements using lesser-known methods
- Explore intermediate and advanced levels of post-exploitation techniques
- Get acquainted with all the tools and frameworks included in the Metasploit framework
- Discover the art of getting stealthy access to systems via Red Teaming
- Understand the concept of redirectors to add further anonymity to your C2
- Get to grips with different uncommon techniques for data exfiltration
Who this book is for
Hands-On Red Team Tactics is for you if you are an IT professional, pentester, security consultant, or ethical hacker interested in the IT security domain and wants to go beyond Penetration Testing. Prior knowledge of penetration testing is beneficial.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Red-Teaming and Pentesting
- Pentesting 2018
- Foreplay - Metasploit Basics
-
Getting Started with Cobalt Strike
- Technical requirements
- Planning a red-team exercise
- Introduction to Cobalt Strike
- Cobalt Strike setup
-
Cobalt Strike interface
- Toolbar
- Connecting to another team server
- Disconnecting from the team server
- Configure listeners
- Session graphs
- Session table
- Targets list
- Credentials
- Downloaded files
- Keystrokes
- Screenshots
- Payload generation – stageless Windows executable
- Payload generation – Java signed applet
- Payload generation – MS Office macros
- Scripted web delivery
- File hosting
- Managing the web server
- Server switchbar
- Customizing the team server
- Summary
- Questions
- Further reading
-
./ReverseShell
- Technical requirement
- Introduction to reverse connections
-
Introduction to reverse shell connections
- Unencrypted reverse shell using netcat
- Encrypted reverse shell for *nix with OpenSSL packages installed
- Encrypted reverse shell using ncat
- Encrypted reverse shell using socat
- Encrypted reverse shell using cryptcat
-
Reverse shell using powercat
- reverse_tcp
- reverse_tcp_rc4
- reverse_https
- reverse_https with a custom SSL certificate
- Meterpreter over ngrok
-
Reverse shell cheat sheet
- Bash reverse shell
- Zsh reverse shell
- TCLsh/wish reverse shell
- Ksh reverse shell
- Netcat reverse shell
- Telnet reverse shell
- (G)awk reverse shell
- R reverse shell
- Python reverse shell
- Perl reverse shell
- Ruby reverse shell
- Php reverse shell
- Lua reverse shell
- Nodejs reverse shell
- Powershell reverse shell
- Socat reverse shell over TCP
- Socat reverse shell over UDP
- Socat reverse shell over SSL (cert.pem is the custom certificate)
- Summary
- Questions
- Further reading
- Pivoting
-
Age of Empire - The Beginning
- Technical requirements
- Introduction to Empire
- Empire setup and installation
- Empire fundamentals
- Empire post exploitation for Windows
- Empire post exploitation for Linux
- Empire post exploitation for OSX
- Popping up a Meterpreter session using Empire
- Slack notification for Empire agents
- Summary
- Questions
- Further reading
- Age of Empire - Owning Domain Controllers
- Cobalt Strike - Red Team Operations
- C2 - Master of Puppets
- Obfuscating C2s - Introducing Redirectors
- Achieving Persistence
- Data Exfiltration
-
Assessment
- Chapter 1: Red-Teaming and Pentesting
- Chapter 2: Pentesting 2018
- Chapter 3: Foreplay – Metasploit Basics
- Chapter 4: Getting Started with Cobalt Strike
- Chapter 5: ./ReverseShell
- Chapter 7: Age of Empire – The Beginning
- Chapter 8: Age of Empire – Owning Domain Controllers
- Chapter 9: Cobalt Strike – Red Team Operations
- Chapter 10: C2 – Master of Puppets
- Chapter 11: Obfuscating C2s – Introducing Redirectors
- Chapter 13: Data Exfiltration
- Other Books You May Enjoy
Product information
- Title: Hands-On Red Team Tactics
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788995238
You might also like
book
Cybersecurity Attacks – Red Team Strategies
Develop your red team skills by learning essential foundational tactics, techniques, and procedures, and boost the …
book
A Guide to the Project Management Body of Knowledge (PMBOK® Guide) – Seventh Edition and The Standard for Project Management (ENGLISH)
PMBOK® Guide is the go-to resource for project management practitioners. The project management profession has significantly …
audiobook
The Art of Leadership
Many people think leadership is a higher calling that resides exclusively with managers who practice or …
audiobook
Crucial Conversations
The book that revolutionized business communications has been updated for today's workplace. Crucial Conversations provides powerful …