Book Image

Cybersecurity Attacks – Red Team Strategies

By : Johann Rehberger
Book Image

Cybersecurity Attacks – Red Team Strategies

By: Johann Rehberger

Overview of this book

It's now more important than ever for organizations to be ready to detect and respond to security events and breaches. Preventive measures alone are not enough for dealing with adversaries. A well-rounded prevention, detection, and response program is required. This book will guide you through the stages of building a red team program, including strategies and homefield advantage opportunities to boost security. The book starts by guiding you through establishing, managing, and measuring a red team program, including effective ways for sharing results and findings to raise awareness. Gradually, you'll learn about progressive operations such as cryptocurrency mining, focused privacy testing, targeting telemetry, and even blue team tooling. Later, you'll discover knowledge graphs and how to build them, then become well-versed with basic to advanced techniques related to hunting for credentials, and learn to automate Microsoft Office and browsers to your advantage. Finally, you'll get to grips with protecting assets using decoys, auditing, and alerting with examples for major operating systems. By the end of this book, you'll have learned how to build, manage, and measure a red team program effectively and be well-versed with the fundamental operational techniques required to enhance your existing skills.
Table of Contents (17 chapters)
1
Section 1: Embracing the Red
6
Section 2: Tactics and Techniques

Importing cloud assets

Pretty much every cloud provider offers REST API interfaces and command-line tools to query and enumerate information about the resources that exist within a cloud account or subscription.

Let's look at AWS. In case you have never used AWS, here we will briefly introduce you to a few of the cloud concepts. AWS allows us to run virtual machines (and other services) in the cloud, hosted by Amazon. It also offers an Identity and Access Management (IAM) system. IAM can be used to create different users, groups, and policies within an AWS account. This is in order to delegate workflows and isolate permissions and access.

In many ways, it's useful to think of a cloud provider account, such as AWS or Microsoft Azure, as a virtual datacenter. The customer can control who has access to it and what each user can do inside the virtual datacenter.

In this section, we will create an AWS group and user that we will leverage later on to export data.

...