8

Red Team Tasks and Cookbook

This chapter is meant to be a quick and dirty reference for red teamers that want to use PowerShell for their engagements. It is by no means complete but should help you get started.

After a short introduction to the phases of attack, we are going to look at what tools are usually used by red teamers for PowerShell-based engagements. After that, we will provide a PowerShell cookbook that covers most typical red team scenarios when it comes to PowerShell.

In this chapter, we will discuss the following topics:

  • Phases of an attack
  • Common PowerShell red team tools
  • Red team cookbook

Technical requirements

To get the most out of this chapter, ensure that you have the following:

  • Windows PowerShell 5.1
  • PowerShell 7.3 ...

Get PowerShell Automation and Scripting for Cybersecurity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.