Skip to content

05 Microsoft Sentinel

A SIEM is valuable only when it helps you turn security telemetry into detection, investigation, and response.

Welcome to the Microsoft Sentinel Lab.

In the previous Azure security labs, you worked with:

  • Azure RBAC

  • Microsoft Entra ID Security

  • Azure Network Security

  • Microsoft Defender for Cloud

Now you will bring these telemetry sources together and focus on:

How do we detect suspicious activity, investigate incidents, hunt for threats, and decide what happens next?

This lab moves you from:

I know what Microsoft Sentinel is.

to:

I can use security telemetry and KQL to investigate Azure and Microsoft security activity systematically.

This lab is especially relevant for:

  • SOC Analysts

  • Security Operations Analysts

  • Microsoft Sentinel Analysts

  • Cloud Security Analysts

  • Detection Engineers

  • Incident Responders

  • Azure Security Engineers

Item Details
Lab Microsoft Sentinel
Difficulty Beginner β†’ Intermediate
Estimated Time 2–4 hours
Primary Focus SIEM, Detection, Investigation & Threat Hunting
Target Roles SOC Analyst, Security Operations Analyst, Cloud Security Analyst
Certification Alignment SC-200, AZ-500, SC-100
Career Skill Security Monitoring & Incident Investigation
Environment Azure / Microsoft Sentinel lab workspace
Cost Awareness Log ingestion, retention, and some integrated services can generate charges

Microsoft Sentinel and Log Analytics can generate charges based on:

  • data ingestion

  • retention

  • connected data sources

  • query/storage design

For this lab:

  • use a small workspace

  • connect only required data

  • avoid unnecessary high-volume sources

  • keep retention appropriate for learning

  • review Azure Cost Management afterward

If your environment does not include every Defender or Entra feature, use the data and sample scenarios available to you.

You have joined the Security Operations Center as a junior Security Operations Analyst.

The organization uses Azure and Microsoft security services.

The SOC receives security signals from:

  • Microsoft Entra ID

  • Azure resources

  • Microsoft Defender

  • cloud workloads

  • other connected systems

The team is concerned that:

  • alerts are reviewed inconsistently

  • analysts rely too heavily on dashboards

  • KQL skills are weak

  • incidents are not properly correlated

  • threat hunting is mostly reactive

  • investigation notes are inconsistent

  • high-noise detections create alert fatigue

Your mission is to establish a basic Microsoft Sentinel investigation workflow.

By the end of this lab, you should be able to:

  • explain Microsoft Sentinel

  • understand Log Analytics workspaces

  • review data connectors

  • identify useful security telemetry

  • write basic KQL

  • investigate security events

  • understand analytics rules

  • distinguish alerts from incidents

  • review incident entities

  • build investigation timelines

  • perform basic threat hunting

  • identify false positives

  • understand automation concepts

  • document SOC findings

  • answer Sentinel interview questions

You should understand:

  • basic cybersecurity

  • authentication

  • logs

  • incidents

  • Microsoft Entra ID

  • Azure Activity Log

  • Defender for Cloud

  • basic incident response

Recommended previous learning:

  • SC-900

  • SC-200

  • AZ-500

  • Microsoft Entra ID Security Lab

  • Microsoft Defender for Cloud Lab

Think:

Security Telemetry
↓
Log Analytics
↓
Detection Logic
↓
Alert
↓
Incident
↓
Investigation
↓
Threat Hunting
↓
Response

For every incident ask:

What activity triggered the detection?

Which identity is involved?

Which host, resource, application, or service?

When did the activity begin?

What happened before and after?

What else may be affected?

Benign, false positive, suspicious, or confirmed malicious?

What should happen next?

Navigate to:

Azure Portal β†’ Microsoft Sentinel

Select or create your lab workspace.

Review:

  • overview

  • incidents

  • logs

  • analytics

  • hunting

  • data connectors

  • automation

Do not memorize interface placement.

The interface changes.

Focus on the workflow.

πŸ§ͺ Task 2 β€” Review the Log Analytics Workspace

Section titled β€œπŸ§ͺ Task 2 β€” Review the Log Analytics Workspace”

Microsoft Sentinel operates with a Log Analytics workspace.

Review:

  • workspace name

  • resource group

  • Region

  • retention

  • connected data

Think:

Security Sources
↓
Log Analytics Workspace
↓
Queries / Detection
↓
Sentinel

Navigate to:

Microsoft Sentinel β†’ Data connectors

Review available connectors.

Possible sources may include:

  • Microsoft Entra ID

  • Azure Activity

  • Microsoft Defender

  • Windows security events

  • network devices

  • third-party services

Data Source Connected? Security Value Volume Priority

Ask:

What security question does this data source help us answer?

Do not connect sources simply because they are available.

πŸ§ͺ Task 4 β€” Identify Core Azure Security Telemetry

Section titled β€œπŸ§ͺ Task 4 β€” Identify Core Azure Security Telemetry”

For this lab, identify useful telemetry such as:

Helps answer:

Who authenticated, from where, and under what conditions?

Helps answer:

Which identity or application configuration changed?

Helps answer:

Who changed Azure resources?

Helps answer:

What suspicious activity or workload risk was detected?

Navigate:

Microsoft Sentinel / Log Analytics β†’ Logs

Inspect available tables.

Your exact tables depend on connected sources.

Before writing a query ask:

Which table contains the evidence I need?

Start with the simplest pattern:

TableName
| where TimeGenerated > ago(24h)

Understand:

Table
↓
Filter
↓
Transform
↓
Summarize
↓
Present

Use a suitable available table.

Concept:

SigninLogs
| where TimeGenerated > ago(24h)

Then add another condition.

Example:

SigninLogs
| where TimeGenerated > ago(24h)
| where UserPrincipalName contains "test"

Use the fields available in your workspace.

Always translate the query:

Show sign-in events from the last 24 hours for this test user.

If you cannot explain the query, simplify it.

Reduce output to useful fields.

Example concept:

SigninLogs
| where TimeGenerated > ago(24h)
| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName

Do not pull 50 columns if you only need five.

Investigation queries should make evidence easier to understand.

Example:

SigninLogs
| where TimeGenerated > ago(24h)
| project TimeGenerated, UserPrincipalName, IPAddress
| order by TimeGenerated desc

This helps build timelines.

Use aggregation to answer questions.

Example concept:

SigninLogs
| where TimeGenerated > ago(24h)
| summarize Count=count() by UserPrincipalName
| order by Count desc

This query may help answer:

Which users generated the most sign-in activity?

The count itself is not proof of malicious activity.

It is context.

Use your available sign-in data.

Build a query that identifies failed authentication.

Your exact field syntax may vary depending on the schema.

Record:

  • user

  • source IP

  • application

  • time

  • failure reason

User IP Attempts Application Time Window

Ask:

Is this a user mistake, automation issue, password spray, or brute-force-like pattern?

πŸ§ͺ Task 12 β€” Investigate a Successful Sign-In After Failures

Section titled β€œπŸ§ͺ Task 12 β€” Investigate a Successful Sign-In After Failures”

Scenario:

A user has repeated failed sign-ins followed by a successful authentication.

Build a timeline.

Failed Login
↓
Failed Login
↓
Failed Login
↓
Successful Login
  • same IP?

  • different IP?

  • same device?

  • same application?

  • what happened after success?

The successful login may be more important than the failed attempts.

Use the appropriate Azure activity table where available.

Search for resource changes.

Examples may include:

  • NSG changes

  • VM changes

  • resource creation

  • role-related changes

Ask:

Did suspicious identity activity lead to Azure resource modification?

πŸ§ͺ Task 14 β€” Build a User Activity Timeline

Section titled β€œπŸ§ͺ Task 14 β€” Build a User Activity Timeline”

Select one test or sample user.

Build a timeline combining available identity and Azure activity.

Example:

09:10
Sign-In
09:14
Resource Group Viewed
09:20
NSG Changed
09:27
New Resource Created

You should be able to explain:

What did the user do after authentication?

Navigate:

Microsoft Sentinel β†’ Analytics

Review:

  • active rules

  • templates

  • scheduling concepts

  • severity

  • entity mapping

Telemetry
↓
KQL / Detection Logic
↓
Threshold / Conditions
↓
Alert

Choose one rule or template.

Document:

Rule Name:
Threat Being Detected:
Data Source:
Logic:
Frequency:
Severity:
Potential False Positives:
Response:

Ask:

Why would this activity be suspicious?

If you cannot answer that, you do not fully understand the rule.

πŸ§ͺ Task 17 β€” Design a Failed-Login Detection

Section titled β€œπŸ§ͺ Task 17 β€” Design a Failed-Login Detection”

Conceptual scenario:

Detect a high number of authentication failures for one identity in a short period.

Document:

  • source data

  • threshold

  • time window

  • severity

  • false positives

  • investigation steps

Ask:

  • what is normal?

  • how many failures are expected?

  • which users are service accounts?

  • what applications create noise?

πŸ§ͺ Task 18 β€” Design a Privileged-Activity Detection

Section titled β€œπŸ§ͺ Task 18 β€” Design a Privileged-Activity Detection”

Scenario:

Detect unexpected privileged role changes.

Consider telemetry around:

  • role assignment

  • privileged access changes

  • high-impact administrators

Privileged changes should generally receive greater monitoring because the potential impact is higher.

An alert represents a security signal generated by detection logic or connected security products.

For an available alert review:

  • name

  • severity

  • time

  • entity

  • evidence

  • source product

Incidents can group related alerts into one investigation.

Think:

Suspicious Sign-In Alert
+
Privilege Change Alert
+
Defender Endpoint Alert
↓
Single Incident

One security signal.

The investigation case.

This distinction matters operationally.

Review an available or sample incident.

Record:

  • incident title

  • severity

  • status

  • owner

  • alerts

  • entities

  • timeline

Item Details
Incident
Severity
Identity
Host / Resource
IP
Detection Source
Initial Assessment

Entities may include:

  • accounts

  • hosts

  • IP addresses

  • URLs

  • files

  • cloud resources

They connect evidence.

Example:

User A
↓
Signed in from IP X
↓
Changed VM Y
↓
VM Y contacted IP Z

This is much more useful than isolated alerts.

πŸ§ͺ Task 23 β€” Build an Investigation Timeline

Section titled β€œπŸ§ͺ Task 23 β€” Build an Investigation Timeline”

Use incident evidence and logs.

Create:

Time Event Entity Evidence Significance

A strong SOC investigation tells a chronological story.

Choose:

False Positive
Benign Positive
Suspicious
Confirmed Malicious
Needs Escalation

The detection was technically incorrect.

The detection correctly identified the activity, but the activity was legitimate.

Example:

A privileged administrator legitimately performs a rare action.

The rule may correctly detect it.

The activity is still benign.

Use a standard format.

Incident:
Summary:
Affected Entities:
Evidence Reviewed:
Timeline:
Assessment:
Scope:
Actions Taken:
Recommended Next Steps:

Do not write:

Checked logs. Looks okay.

Write evidence-based conclusions.

Threat hunting starts with a hypothesis.

Example:

Privileged accounts may be active outside expected working hours.

Hypothesis
↓
Relevant Data
↓
Query
↓
Analyze Results
↓
Validate
↓
Expand Scope

πŸ§ͺ Task 27 β€” Create a Privileged-Activity Hunt

Section titled β€œπŸ§ͺ Task 27 β€” Create a Privileged-Activity Hunt”

Identify:

  • privileged identities

  • sign-in/activity time

  • unusual access windows

  • unusual locations

Document your hypothesis and result.

Concept:

Identify users authenticating from IPs rarely observed in the environment.

You may need to:

  • summarize by IP

  • identify low-frequency values

  • correlate with users

Rare activity is:

worth investigation.

Not:

automatically malicious.

πŸ§ͺ Task 29 β€” Hunt for Suspicious Azure Changes

Section titled β€œπŸ§ͺ Task 29 β€” Hunt for Suspicious Azure Changes”

Search Azure activity for high-impact changes such as:

  • network exposure

  • privilege changes

  • security configuration changes

Then ask:

Which identity performed the change?

πŸ§ͺ Task 30 β€” Hunt for Activity After Suspicious Authentication

Section titled β€œπŸ§ͺ Task 30 β€” Hunt for Activity After Suspicious Authentication”

Scenario:

A suspicious sign-in occurs.

Query the next 30–60 minutes of activity.

Look for:

  • role changes

  • network changes

  • resource creation

  • security changes

An alert should lead to:

What happened next?

πŸ§ͺ Task 31 β€” Convert a Hunt Into a Detection Concept

Section titled β€œπŸ§ͺ Task 31 β€” Convert a Hunt Into a Detection Concept”

Suppose your hunt identifies a useful suspicious pattern.

Document:

Threat:
Telemetry:
Query Logic:
Threshold:
False Positives:
Severity:
Incident Response:
Threat Hunt
↓
Repeatable Pattern
↓
Analytics Rule
↓
Continuous Detection

This is an important SOC maturity concept.

Explore Sentinel workbooks available in your environment.

Understand their purpose for:

  • visualization

  • operational monitoring

  • security trends

  • investigations

Dashboards are useful for visibility.

They do not replace:

  • querying

  • investigation

  • context

Navigate to Sentinel automation capabilities.

Understand automation use cases such as:

  • assignment

  • incident tagging

  • incident status changes

  • notification

  • workflow triggering

Start with low-risk repetitive activities.

Examples:

New High Incident
↓
Assign SOC Queue
↓
Add Tag
↓
Notify Analyst

Security-response playbooks may orchestrate actions through supported automation workflows.

Possible examples:

  • notify analyst

  • create ticket

  • enrich IP information

  • disable account

  • block indicator

Do not automatically disable accounts just because:

an alert fired.

Consider:

  • detection confidence

  • business impact

  • reversibility

  • approval requirements

πŸ§ͺ Task 35 β€” Design an Identity-Response Workflow

Section titled β€œπŸ§ͺ Task 35 β€” Design an Identity-Response Workflow”

Scenario:

High-confidence compromised administrator account.

Design:

Detection
↓
Sentinel Incident
↓
Validate
↓
Disable / Restrict Identity
↓
Revoke Access
↓
Notify SOC
↓
Investigate Scope

Containment should reduce threat activity without preventing investigation.

πŸ§ͺ Task 36 β€” Design a Cloud Resource Investigation

Section titled β€œπŸ§ͺ Task 36 β€” Design a Cloud Resource Investigation”

Scenario:

Suspicious Azure NSG modification.

Investigate:

Sentinel Alert
↓
Identity
↓
Azure Activity
↓
Affected NSG
↓
Affected Workload
↓
Network Exposure
↓
Subsequent Activity

πŸ§ͺ Task 37 β€” Correlate Sentinel With Defender for Cloud

Section titled β€œπŸ§ͺ Task 37 β€” Correlate Sentinel With Defender for Cloud”

Scenario:

Defender reports suspicious VM activity and Sentinel contains related identity events.

Create:

Defender Alert
↓
Affected VM
↓
User / Identity
↓
Sentinel Investigation
↓
Azure Activity
↓
Scope

Real incidents often cross:

  • identity

  • endpoint

  • cloud

  • network

πŸ§ͺ Task 38 β€” Build a Detection Coverage Matrix

Section titled β€œπŸ§ͺ Task 38 β€” Build a Detection Coverage Matrix”
Threat Scenario Telemetry Detection Investigation Source
Failed logins Entra sign-in Analytics rule Sentinel
Privilege change Entra audit Analytics rule Sentinel
Azure resource change Azure Activity Analytics rule Sentinel
VM threat Defender Defender alert Sentinel/Defender

Ask:

Which important threat scenarios currently have no detection?

Select a noisy rule or conceptual example.

Ask:

  • how many alerts?

  • how many are real?

  • what common benign behavior exists?

  • can logic improve?

Too many low-value alerts lead analysts to:

  • miss important incidents

  • rush investigations

  • close alerts mechanically

Detection quality matters.

Possible improvements:

  • narrow target population

  • adjust threshold

  • add exclusions

  • include asset criticality

  • add enrichment

Do not create exclusions simply to:

make alerts disappear.

Understand why behavior is legitimate.

Example:

Finding ID:
SENT-001
Title:
Privileged Identity Activity Lacks Dedicated Detection
Severity:
High
Observation:
High-impact administrator role changes are logged but no dedicated Sentinel detection monitors unexpected changes.
Risk:
Unauthorized privilege changes may remain unnoticed.
Recommendation:
Create and tune detection logic for privileged-role activity with clear SOC ownership and investigation procedures.
Finding ID:
SENT-002
Title:
Critical Azure Security Telemetry Not Connected to Sentinel
Severity:
Medium / High
Observation:
Security operations does not receive required telemetry from an in-scope Azure environment.
Risk:
SOC analysts may be unable to detect or investigate suspicious activity.
Recommendation:
Validate logging requirements and onboard the necessary telemetry with appropriate retention and monitoring.

πŸ§ͺ Task 43 β€” Create an Alert Quality Finding

Section titled β€œπŸ§ͺ Task 43 β€” Create an Alert Quality Finding”
Finding ID:
SENT-003
Title:
High-Noise Detection Generates Excessive False/Benign Alerts
Severity:
Medium
Risk:
Excessive alert volume may create analyst fatigue and reduce the likelihood of timely response to genuine incidents.
Recommendation:
Review detection logic, baseline expected behavior, tune thresholds and exclusions, and measure detection quality after changes.

πŸ§ͺ Task 44 β€” Build a SOC Assessment Checklist

Section titled β€œπŸ§ͺ Task 44 β€” Build a SOC Assessment Checklist”
Control Status Risk Recommendation
Required data connectors
Identity telemetry
Azure activity telemetry
Defender integrations
Analytics rules
High-value detections
Alert tuning
Incident ownership
Threat hunting
Automation
Incident documentation

🚨 Incident Scenario β€” Suspicious Administrator

Section titled β€œπŸš¨ Incident Scenario β€” Suspicious Administrator”

Scenario:

A privileged Entra account signs in from an unusual location. Shortly afterward, a production NSG is modified.

Use:

Sign-In
↓
Identity Context
↓
Azure Activity
↓
NSG Change
↓
Affected Workloads
↓
Scope
↓
Response

Investigate:

  • authentication result

  • MFA

  • source IP

  • resource modification

  • later activity

Scenario:

Multiple users show authentication failures from the same source IP.

Then one user successfully authenticates.

Investigate:

  • affected users

  • source IP

  • time window

  • failure reasons

  • successful account

  • post-login activity

🚨 Incident Scenario β€” Compromised Workload

Section titled β€œπŸš¨ Incident Scenario β€” Compromised Workload”

Scenario:

Defender reports suspicious VM activity.

Sentinel also contains unusual authentication from the VM’s associated user.

Correlate:

Defender
+
Identity
+
Azure Activity
+
Network
=
Incident Context

Practise without notes.

10. How would you search a user’s activity over 24 hours?

Section titled β€œ10. How would you search a user’s activity over 24 hours?”

20. How is hunting different from incident investigation?

Section titled β€œ20. How is hunting different from incident investigation?”

22. What should happen when a hunt reveals a repeatable pattern?

Section titled β€œ22. What should happen when a hunt reveals a repeatable pattern?”

A user generates 50 failed logins followed by a successful sign-in.

A strong answer should include:

Review User
↓
Source IP
↓
Authentication Details
↓
Time Pattern
↓
Successful Login
↓
Post-Login Activity
↓
Decision

Sentinel shows a privileged role assignment that occurred at 2 AM.

Do not automatically label it malicious.

Investigate:

  • identity performing the assignment

  • business change window

  • PIM activation

  • target user

  • later actions

A detection generates hundreds of incidents every day.

A strong response should discuss:

  • detection intent

  • true positive rate

  • baseline

  • thresholds

  • exclusions

  • data quality

An analyst sees a Defender alert in Sentinel for a compromised VM.

Discuss:

  • affected resource

  • user/identity

  • timeline

  • Azure Activity

  • network context

  • scope

  • containment

A security manager asks you to connect every possible data source to Sentinel.

Do not answer:

yes.

Discuss:

  • detection requirements

  • value of telemetry

  • data volume

  • cost

  • retention

  • ownership

Use:

Alert
↓
Validate
↓
Entities
↓
Evidence
↓
Timeline
↓
Scope
↓
Severity
↓
Action
↓
Documentation

Avoid:

β€œI would run a KQL query.”

A stronger answer is:

β€œI would first identify the affected entities and investigation question, select the relevant telemetry, use KQL to build a timeline and correlate activity, determine whether the event is legitimate or malicious, assess scope, and then recommend containment or escalation.”

That sounds like a Security Operations Analyst.

After completing the lab, create a sanitized SOC portfolio package.

Include:

Show:

Entra Logs
Azure Activity
Defender Alerts
Other Security Data
↓
Log Analytics
↓
Microsoft Sentinel
↓
Detection
↓
Incident
↓
SOC

Include 5–10 queries and explain:

What security question does each query answer?

Document:

  • alert

  • evidence

  • entities

  • timeline

  • conclusion

  • response

Document:

  • hypothesis

  • query

  • findings

  • recommendation

Document:

  • threat

  • telemetry

  • detection logic

  • false positives

  • response

Instead of:

Knowledge of Microsoft Sentinel.

Use:

Investigated simulated Microsoft Sentinel incidents using KQL and correlated Microsoft Entra, Azure Activity, and Defender telemetry to determine incident scope and recommended response.

Or:

Developed KQL-based threat-hunting and detection exercises for suspicious authentication, privileged activity, and Azure resource changes, including alert tuning and incident documentation.

After this lab, you should be able to:

  • explain Sentinel

  • explain Log Analytics

  • identify useful data connectors

  • write basic KQL

  • search identity activity

  • analyze Azure resource activity

  • understand analytics rules

  • distinguish alerts and incidents

  • analyze entities

  • build investigation timelines

  • classify incidents

  • perform basic threat hunting

  • explain automation concepts

  • tune noisy detections

  • document investigations professionally

If your Sentinel workflow is still:

open incident β†’ read alert β†’ close incident,

repeat the lab.

The goal is:

Use telemetry to establish what happened, determine whether it matters, understand the scope, and recommend the right action.

After completing the lab:

  • remove temporary analytics rules

  • remove test automation

  • remove unnecessary data connectors

  • review workspace retention

  • remove temporary test resources

  • confirm no intentionally insecure lab configuration remains

  • review Sentinel and Log Analytics costs

You have now practised:

Telemetry Collection
↓
KQL Investigation
↓
Detection
↓
Alerts
↓
Incidents
↓
Entity Correlation
↓
Threat Hunting
↓
Response
↓
Documentation

These are core capabilities for:

  • SOC Analysts

  • Security Operations Analysts

  • Microsoft Sentinel Analysts

  • Detection Engineers

  • Cloud Security Analysts

  • Incident Responders

You have now completed the core Azure hands-on security labs:

Azure RBAC
↓
Microsoft Entra ID Security
↓
Azure Network Security
↓
Microsoft Defender for Cloud
↓
Microsoft Sentinel

The next step is to move from individual technical exercises into professional repeatable assessment methodology, just as we did in the AWS path.

➑️ Next: Azure Security Assessment Runbook

In the next runbook, you will systematically assess:

  • tenant and subscription structure

  • Microsoft Entra identity security

  • Azure RBAC

  • privileged access

  • network exposure

  • VNets and NSGs

  • Defender for Cloud

  • logging and Sentinel

  • storage and Key Vault

  • Azure Policy

  • security findings

  • risk rating

  • remediation

  • executive reporting