Book Image

Cybersecurity – Attack and Defense Strategies - Second Edition

By : Yuri Diogenes, Dr. Erdal Ozkaya
Book Image

Cybersecurity – Attack and Defense Strategies - Second Edition

By: Yuri Diogenes, Dr. Erdal Ozkaya

Overview of this book

Cybersecurity – Attack and Defense Strategies, Second Edition is a completely revised new edition of the bestselling book, covering the very latest security threats and defense mechanisms including a detailed overview of Cloud Security Posture Management (CSPM) and an assessment of the current threat landscape, with additional focus on new IoT threats and cryptomining. Cybersecurity starts with the basics that organizations need to know to maintain a secure posture against outside threat and design a robust cybersecurity program. It takes you into the mindset of a Threat Actor to help you better understand the motivation and the steps of performing an actual attack – the Cybersecurity kill chain. You will gain hands-on experience in implementing cybersecurity using new techniques in reconnaissance and chasing a user’s identity that will enable you to discover how a system is compromised, and identify and then exploit the vulnerabilities in your own system. This book also focuses on defense strategies to enhance the security of a system. You will also discover in-depth tools, including Azure Sentinel, to ensure there are security controls in each network layer, and how to carry out the recovery process of a compromised system.
Table of Contents (20 chapters)
18
Other Books You May Enjoy
19
Index

Lab 1

Required Software:

Mongoose (https://github.com/lawrenceamer/0xsp-Mongoose/) and a victim PC that is Windows or Linux.

Scenario:

In this lab we will use Mongoose to launch a privilege escalation attack on a Windows device (it can also be a Linux device; most of the commandlets are the same).

Let's start Hacking!

  1. Once you download the tool from GitHub, run Command Prompt (cmd) as administrator, and change the path of cmd to the Windows agent folder, which in my case is: C:\ cd C:\Users\Erdal\Desktop\Mongoose\windows agent

    Figure 37: Changing the path of commands to the Windows agent folder

  2. You can execute the 64 or 32 bit command based on your computer. In my case this is: C:\Users\Erdal\Desktop\Mongoose\windows agent\64.exe

    Figure 38: Executing the command

    As you can see Mongoose rapidly discovers the details of your OS.

  3. You can use the agent.exe-h command to get help about the possible command options, as can be seen in the following screenshot...