Book Image

Hands-On Red Team Tactics

By : Himanshu Sharma, Harpreet Singh
Book Image

Hands-On Red Team Tactics

By: Himanshu Sharma, Harpreet Singh

Overview of this book

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.
Table of Contents (16 chapters)

Chapter 11: Obfuscating C2s – Introducing Redirectors

  1. Yes. you can use a Windows based redirector, provided you have socat installed for dumb pipe redirection or XAMPP/WAMP installed for smart redirection.
  2. We're not the actual attacker here. There are a set of rules that even a red teamer has to follow. We should configure and install our own redirectors unless the organization asked us to use theirs. Remember, if the motivation behind the engagement is negative, then it's just another cyber attack and not a simulated one.
  3. You can use any web server which supports web request redirection. You can also use NGINX instead of Apache for robust connections.
  4. Only if it is allowed by the organization and mentioned in the RoE and if by any chance the red teamers took things too far, the organization's legal advisors will be available to make things clear.
  5. We can...