Study guide · Microsoft Sentinel
Microsoft Sentinel: SIEM and SOAR from the Cloud
In this course you get to know Microsoft Sentinel. Sentinel collects security data from the whole environment, detects attacks in it and helps you respond quickly. First it is about what a SIEM and a SOAR are. Then you learn how data gets into Sentinel and what it costs. After that come detection with analytics rules, working with incidents and the active search for attackers. Finally it is about automation, roles and the Microsoft Defender portal. The online retailer Nordlicht accompanies you again as an example.
What Microsoft Sentinel is
Microsoft Sentinel is a cloud-native SIEM solution with SOAR capabilities. Both abbreviations matter.
- SIEM stands for security information and event management. A SIEM collects logs and events from many sources. It brings them together, analyzes them for threats and reports suspicious patterns as alerts.
- SOAR stands for security orchestration, automation and response. It means orchestrating and automating the response to incidents. Tools are linked, and recurring steps run on their own. In Sentinel this happens through automation rules and playbooks.
Cloud-native means: Sentinel is a service in Azure. You do not have to run any server infrastructure of your own for the SIEM. The servers, storage and maintenance of a classic SIEM are no longer needed, and the service grows with the volume of data. Even so, Sentinel can take in data from other clouds and from your own data center.
Microsoft describes the work of Sentinel in four areas:
- Collect: gather data from the whole environment, from users, devices, applications and infrastructure.
- Detect: find threats, with analytics rules and threat intelligence from Microsoft.
- Investigate: clear up incidents with artificial intelligence and active hunting.
- Respond: react to incidents quickly and automatically.
Sentinel is not the same as Microsoft Defender for Cloud. Defender for Cloud protects cloud resources. It assesses their security posture and reports attacks on workloads. Sentinel, on the other hand, is the central SIEM. It takes in the alerts from Defender for Cloud and links them with data from many other sources. Analysts then work on the incidents in Sentinel. A team that does this work is called a security operations center, or SOC for short.
Collecting and displaying data
Data gets into Sentinel through data connectors. There are connectors for Microsoft services such as Microsoft Entra ID or Defender XDR, for other clouds and for products from many vendors. You connect your own sources through interfaces.
Many firewalls and network devices in your own data center send their events via Syslog. They often use the Common Event Format, or CEF for short. Such devices send their data to a Linux machine acting as a forwarder. The Azure Monitor Agent runs there. It transfers the events to Azure.
Sentinel is built on Azure Monitor. The data is stored in a Log Analytics workspace in which you enable Sentinel. This workspace also determines the data location. The data is stored in the region where you created the workspace. If you have requirements about where data is stored, you choose the region accordingly. You can also create several workspaces, for example for different regions.
You write queries in the Kusto Query Language, or KQL for short. Analytics rules, hunting queries and workbooks use this language. Log Analytics and advanced hunting in Microsoft Defender XDR use KQL as well.
Vendors store similar events in very different forms. This is where the Advanced Security Information Model, or ASIM for short, helps. It maps data from different sources to a uniform schema, for example for DNS or network events. A query with ASIM parsers then works the same way for all sources.
In the content hub, Microsoft and partners provide ready-made solutions. A solution is a package for a product or a scenario. It bundles data connectors, workbooks, analytics rules, hunting queries and playbooks.
Workbooks are interactive dashboards. They show the data as charts, tables and key figures. There are ready-made templates for many connectors. So if you want to see sign-in statistics right after connecting Microsoft Entra ID, you save the matching template in the workspace and open it. You can still customize it afterwards.
Costs and storage
The costs of Sentinel depend mainly on the volume of data that is ingested and stored. Billing is per gigabyte. There are two models:
- Pay-as-you-go: You pay for every gigabyte ingested.
- Commitment tiers: You book a fixed daily volume, starting at 100 gigabytes per day. In return, the price per gigabyte is lower. Volumes above the tier cost the same discounted price.
So anyone who steadily ingests around 300 gigabytes a day saves money with a matching commitment tier. Longer retention costs extra.
Some Microsoft sources cost nothing to ingest. These include the Azure activity logs, the Office 365 audit logs and the security alerts from Microsoft Defender products. For most other data you pay by volume.
There are several ways to lower costs:
- A transformation in the data collection rule, or DCR for short, filters data as soon as it is ingested. It removes unneeded fields and rows with KQL. Whatever is discarded costs nothing. Sensitive fields can also be removed this way before they are stored.
- The Sentinel data lake stores large, rarely used volumes of data cheaply and for a long time. The analytics tier, on the other hand, is meant for real-time detection and is more expensive. Raw firewall data that you must keep for years but rarely investigate therefore belongs in the data lake. Queries run there when needed, with KQL or notebooks.
Sometimes an analyst has to search old data that is only kept in long-term retention. Search jobs are made for this. They run in the background over large volumes of data. The hits land in a separate table in the workspace. You analyze them there as usual.