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

Graph database basics

Before installing Neo4j and creating nodes and running queries, let's discuss the basic concepts of a graph database briefly. At a high level, a graph database models nodes and their relationships. In order to do so, there are a set of basic object types it uses, all of which we will explore in this section.

Although we are mostly going to use Neo4j in the next two chapters, Neo4j is not the only option. The following screenshot shows Studio, the user interface of OrientDB, another popular graph database system:

Figure 5.1: Studio - a user interface to model and explore OrientDB graph databases

Figure 5.1: Studio – a user interface to model and explore OrientDB graph databases

As shown in the preceding screenshot, there are nodes such as bob and SATURN, and edges such as MANAGES and MEMBER_OF. Nodes and edges are two of the basic object types of graph database systems. Let's explore the core object types in more detail.

Nodes or vertices

The first object type is the node, or vertex. Staying...