Book Image

Microsoft Defender for Cloud Cookbook

By : Sasha Kranjac
Book Image

Microsoft Defender for Cloud Cookbook

By: Sasha Kranjac

Overview of this book

Microsoft Defender for Cloud is a multi-cloud and hybrid cloud security posture management solution that enables security administrators to build cyber defense for their Azure and non-Azure resources by providing both recommendations and security protection capabilities. This book will start with a foundational overview of Microsoft Defender for Cloud and its core capabilities. Then, the reader is taken on a journey from enabling the service, selecting the correct tier, and configuring the data collection, to working on remediation. Next, we will continue with hands-on guidance on how to implement several security features of Microsoft Defender for Cloud, finishing with monitoring and maintenance-related topics, gaining visibility in advanced threat protection in distributed infrastructure and preventing security failures through automation. By the end of this book, you will know how to get a view of your security posture and where to optimize security protection in your environment as well as the ins and outs of Microsoft Defender for Cloud.
Table of Contents (12 chapters)

Enabling and configuring JIT access on a virtual machine

Operating systems, in our case virtual machines, use networks and ports to communicate. To establish communication, ports need to be accessible. Open, accessible ports are a serious security problem, while closed ports make communication impossible. The problem is, how do we enable communication while staying secure? To solve the problem and to have the best of both solutions, JIT virtual machine access makes ports accessible per request, for a predefined time range.

In this recipe, you will learn how to enable and configure JIT virtual machine access.

Getting ready

Open a web browser and navigate to https://portal.azure.com.

How to do it…

To enable and configure JIT virtual machine access, complete the following steps:

  1. In the Azure portal, open Microsoft Defender for Cloud.
  2. On the left-hand menu, click Workload protections.
  3. Under the Advanced protection section, click on the Just-in...