Book Image

Incident Response with Threat Intelligence

By : Roberto Martinez
Book Image

Incident Response with Threat Intelligence

By: Roberto Martinez

Overview of this book

With constantly evolving cyber threats, developing a cybersecurity incident response capability to identify and contain threats is indispensable for any organization regardless of its size. This book covers theoretical concepts and a variety of real-life scenarios that will help you to apply these concepts within your organization. Starting with the basics of incident response, the book introduces you to professional practices and advanced concepts for integrating threat hunting and threat intelligence procedures in the identification, contention, and eradication stages of the incident response cycle. As you progress through the chapters, you'll cover the different aspects of developing an incident response program. You'll learn the implementation and use of platforms such as TheHive and ELK and tools for evidence collection such as Velociraptor and KAPE before getting to grips with the integration of frameworks such as Cyber Kill Chain and MITRE ATT&CK for analysis and investigation. You'll also explore methodologies and tools for cyber threat hunting with Sigma and YARA rules. By the end of this book, you'll have learned everything you need to respond to cybersecurity incidents using threat intelligence.
Table of Contents (20 chapters)
1
Section 1: The Fundamentals of Incident Response
6
Section 2: Getting to Know the Adversaries
10
Section 3: Designing and Implementing Incident Response in Organizations
15
Section 4: Improving Threat Detection in Incident Response

Detecting potential threats using YARA rules

To start using YARA, you can download the most recent version from https://github.com/VirusTotal/yara/releases:

  1. In this case, we will use YARA v4.2.0, which can be downloaded directly from here: https://github.com/VirusTotal/yara/releases/download/v4.2.0/yara-v4.2.0-1885-win64.zip.
  2. Once you have downloaded the tool, unzip the .zip file into a new directory called yara, as shown in the C:\Users\Investigator\Workspace\Tools\yara path.

    Note

    You can add this directory to the environment variables of Windows to avoid explicitly specifying the path of YARA every time you execute a search using yara.

Once you have downloaded YARA, you are ready to create your first detection rule.

Open VS Code, click on the File menu, and select New File.

Now, click again on the File menu and select Save As….

  1. When the dialog box appears, change the save path to the C:\Users\Investigator\Workspace\Labs\Chapter_13 directory.
  2. ...