Skip to main content

Phishing Detection with Sentinel

Hunt inbound phishing in Microsoft Sentinel using a simple mail log table and KQL.

1. Data

We have a table that has direction, sender, recipient, subject, attachment, and message content.

2. Hunt for unknown email sender

  1. Open Microsoft Sentinel.
  2. Go to Logs.
  3. Run this query to list inbound email from outside the organization domain.
Sentinel logs table Inbound external email last 90 days

3. Targeted filter

Use this when you have a known phishing subject and you want exact matches fast.
Filter inbound by subject

4. Attachment triage

This is the first pivot when a user reports a suspicious attachment.
Inbound external email with attachment

5. Turn hunt into a scheduled rule

So we can detect the phishing email periodically
  1. Go to Analytics.
  2. Create a Scheduled query rule.
  3. Use the Attachment triage query as the starting point.
  4. Set query frequency to 5 minutes.
  5. Map entities for sender and recipient if the schema supports it.
  6. Create incidents so triage starts in the Incidents queue.