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

Chapter 6: Building a Comprehensive Knowledge Graph

In the previous chapter, we learned a lot about different graph database systems, with a special focus on Neo4j Desktop. We covered the basic object types of graph databases and how to create and retrieve them. As a part of leveraging our home-field advantage, we can gather external and internal metadata about systems to build out a view of the home field upfront to benefit a large number of teams across the organization. Now we will continue exploring the idea of modeling the home field by walking through practical examples of how to import and model a wide range of data sources into a graph database and how to query and traverse the graph to answer interesting questions. This will include a brief detour on how to query information from an AWS account and how to export data using the AWS CLI tool.

To do that, we will work on a fictional Shadow Bunny corporation and learn methods to map out assets the organization is leveraging...