Answer incidents automatically (DUSA-Enrich-Incident)
Short on people? This does the first lookup for you. Not sure you’re ready? Run the 2-minute check with your Key Vault name: it checks your roles and the secret for you.
What it does
Section titled “What it does”When a new incident is created in Microsoft Sentinel, the DUSA-Enrich-Incident playbook reads the incident’s IP addresses, URLs, file hashes and domain names and looks each one up against DugganUSA (up to 10 per incident by default). It writes one comment into the incident: a table with a row per indicator showing our verdict, confidence, the malware family or actor, which of our sources hold it, its neighbors (same /24 network or same domain) and when we first and last saw it. It adds a tag per verdict, such as DUSA:observed or DUSA:not-held, so you can sort and filter your queue on them. If you choose the tag-and-raise mode, it also raises the incident to High when one of its indicators was seen by DugganUSA’s own sensors or is in our own research at confidence 80 or more, and writes a second comment saying why. It never lowers severity and never closes an incident. It works on any incident, not only ones our feed started.
A lookup that fails reads unknown. unknown never means clean, and neither does not-held: it only means we hold no record.
| Tag | What it means |
|---|---|
DUSA:observed |
Seen by DugganUSA sensors (edge, honeypot) |
DUSA:curated |
DugganUSA research, tied to a family or actor |
DUSA:feed |
On a public list we carry, named at its source |
DUSA:reference-only |
Named in public proof-of-concept code or vendor research: a reference, not a detection |
DUSA:block-coverage |
A range we carry covers it, but we have no exact record |
DUSA:adjacent-only |
Not held, but its /24 network or its domain is |
DUSA:not-held |
No record |
DUSA:unknown |
The lookup failed or was incomplete. Look it up again before trusting anything |
What leaves your tenant
Section titled “What leaves your tenant”Only public IP addresses, file hashes and domain names. For a URL, only its host name is sent, never the path or anything after ?. Private and internal addresses (10.x, 192.168.x, 172.16-31.x, loopback, 100.64.x and the like), single-word names, internal endings such as .local, .corp and .internal, and any domain you list in SkipDomains are never sent. Accounts, device names and mailboxes are never read.
What it costs
Section titled “What it costs”- Logic Apps bills you for every run. The playbook is an Azure Logic App on the Consumption plan, which charges for the steps each run executes. It runs once per new incident, so the bill follows how many incidents you get. See Azure Logic Apps pricing.
- Each indicator is one DugganUSA query against your key’s daily allowance. The default limit of 10 per incident keeps a noisy incident from using it up.
- It needs a Pro key. The lookup it uses is not open to Free keys: with a Free key every row reads
unknown. See plans.
Before you start
Section titled “Before you start”| You need | Why |
|---|---|
| A Log Analytics workspace with Microsoft Sentinel turned on | The playbook runs on Sentinel incidents. The DugganUSA feed itself is optional here, but see Microsoft Sentinel (Deploy to Azure) |
| A DugganUSA Pro API key | For the lookups |
| Owner, or Contributor plus User Access Administrator, on the workspace’s resource group | The deployment gives the playbook two roles. Without the right to grant roles, set GrantResponderRole to false and have an admin grant Microsoft Sentinel Responder to the playbook by hand |
| A Key Vault in that same resource group, using Azure role-based access control | The playbook reads your key from it. Step 1 covers this |
Everything is deployed into the resource group that holds your Sentinel workspace.
Step 1: Put your key in Key Vault
Section titled “Step 1: Put your key in Key Vault”The key never goes into the playbook. It sits in your own Key Vault, and the playbook reads it with its own Azure identity, so it does not show in the playbook’s settings or its run history.
- In the Azure portal, open Key vaults. If you already have a vault in your Sentinel resource group, open it and check Settings > Access configuration says Azure role-based access control. If not, select Create, pick the Sentinel resource group, give it a name, and on the Access configuration tab choose Azure role-based access control.
- To add a secret yourself you need a role that can write secrets, such as Key Vault Secrets Officer, on the vault (being Owner is not enough on its own). Add it under the vault’s Access control (IAM) if the next step is refused.
- In the vault, open Objects > Secrets, select Generate/Import, name it
dugganusa-api-key, paste your DugganUSA key as the value, and select Create.
Write down the vault’s name. You need it in step 2.
Step 2: Deploy to Azure
Section titled “Step 2: Deploy to Azure”The button opens a form in the Azure portal. Fill in:
| Field | Put in |
|---|---|
| Resource group | The one that holds your Sentinel workspace and your Key Vault |
| Key Vault Name | Your vault’s name from step 1 |
| Secret Name | Leave dugganusa-api-key unless you named the secret something else |
Duggan USA Key (DugganUSAKey) |
Leave empty. The key is already in your vault |
| Mode | Start with tag-only (comment plus tags). Move to tag-and-raise once you trust what you see |
| Skip Domains | Your own domains, so they are never sent, for example [".contoso.com","contoso.com"] |
| Everything else | Leave the defaults |
Select Review + create, then Create. It takes a minute or two and creates the Logic App DUSA-Enrich-Incident, its connection to Sentinel, and two role assignments for the playbook: Microsoft Sentinel Responder on the resource group (to comment and tag) and Key Vault Secrets User on that one secret (to read the key).
What you should see: The Azure portal Custom deployment form for DUSA-Enrich-Incident with the resource group chosen, Key Vault Name filled in, the DugganUSA key field left empty and Mode set to tag-only.
Prefer the command line? The source and an az deployment group create example are in the dugganusa-sentinel README.
Step 3: Attach it with an automation rule
Section titled “Step 3: Attach it with an automation rule”A playbook does nothing until an automation rule runs it. In the Microsoft Defender portal:
- Go to Microsoft Sentinel > Configuration > Automation.
- Select Create > Automation rule.
- Automation rule name:
DUSA enrich. Trigger: When incident is created. Leave conditions empty so it runs on every incident. - Actions: Run playbook, then pick DUSA-Enrich-Incident.
- If the playbook is not in the list, Sentinel is not yet allowed to run playbooks in that resource group. Select Manage playbook permissions, tick the resource group, and select Apply. This gives Sentinel the Microsoft Sentinel Automation Contributor role there, and you need Owner (or User Access Administrator) on the resource group to do it. If you deployed the playbook while this panel was open, close it and start the rule again: a new playbook does not appear in an open panel.
- Select Apply.
Still in the Azure portal for Sentinel? The same page is Microsoft Sentinel > Automation. Microsoft moves Sentinel to the Defender portal after March 31, 2027: see Moving Sentinel to the Defender portal.
Source for these steps: Microsoft Learn, Create and use automation rules and Run playbooks (checked December 3, 2026).
Step 4: Check it worked
Section titled “Step 4: Check it worked”The rule runs on incidents created after you saved it. It does not go back over old ones.
- Wait for the next incident that has an IP, domain, URL or file hash in it, and open it in Investigation & response > Incidents & alerts > Incidents.
- Open its comments (the incident’s activity log). Shortly after the incident is created you should see a comment starting DUSA enrichment (DugganUSA for Microsoft Defender), N indicator(s), followed by a table with the columns Indicator, Verdict, Confidence, Family / actor, Lanes, Neighbors, Seen and a short key to the verdicts.
- Unless you chose
comment-only, the incident’s tags include one or moreDUSA:tags. Intag-and-raisemode, a raised incident also has a comment starting DUSA: severity raised to High from with the reason.
What you should see: A Sentinel incident in the Defender portal with the DUSA enrichment comment open: a table with one row per indicator (verdict, confidence, family or actor, lanes, neighbors, seen) and DUSA: tags on the incident.
No comment? Look at the playbook’s own log: in the Azure portal open Logic apps > DUSA-Enrich-Incident > Run history.
| You see | What it means | Fix |
|---|---|---|
| No runs at all | The automation rule did not fire | Check the rule is enabled, its trigger is When incident is created, and its conditions are not filtering the incident out |
| A run failed at reading the key | The playbook cannot read your secret | Check the vault uses Azure role-based access control and the secret name matches Secret Name |
| A run failed at the comment or tag step | The playbook lacks Microsoft Sentinel Responder | Grant it to the playbook’s identity on the resource group (needed if you set GrantResponderRole to false) |
Every row reads unknown |
The key was refused | You need a Pro key, or the key is wrong or out of queries for today |
| A run succeeded but wrote no comment | The incident had no public IP, domain, URL or hash left after the private-address and SkipDomains filters (the step Condition_any is false) |
Nothing to look up. This is normal for incidents about accounts or devices only |
Related pages
Section titled “Related pages”- Microsoft Sentinel (Deploy to Azure): bring the DugganUSA feed into Sentinel.
- Defender XDR hunting and detections: match our indicators against your devices and mail.
- Sentinel Content hub solution: the packaged version, waiting on Microsoft’s review.
Something on this page wrong, or a step that did not match your screen? Tell us at [email protected]: it takes one email and we fix the page the same day.