Skip to content

New solution: DugganUSA Threat Intelligence (TAXII 2.1 feed: connector page, analytic rules, hunting queries, workbook) - #15880

Open
Patrick Duggan (pduggusa) wants to merge 3 commits into
Azure:masterfrom
pduggusa:dugganusa-threat-intelligence
Open

Patrick Duggan (pduggusa) wants to merge 3 commits into
Azure:masterfrom
pduggusa:dugganusa-threat-intelligence

Conversation

@pduggusa

Copy link
Copy Markdown

Change(s):

  • Adds a new Community-supported solution, Solutions/DugganUSA Threat Intelligence (version 3.0.0):
    • Data/Solution_DugganUSA.json, SolutionMetadata.json (publisherId microsoftsentinelcommunity, offerId azure-sentinel-solution-dugganusa, domain Security - Threat Intelligence, support tier Community, support name/email/link set), ReleaseNotes.md, README.md
    • Data Connectors/DugganUSA_ThreatIntelligence_TAXII.json: a connector page (GenericUI, same pattern as the PRODAFT USTA IoC solution) for the built-in Threat Intelligence - TAXII connector. Connection status from ThreatIntelIndicators, the TAXII values as copyable fields, and a Deploy to Azure link to a template that creates the TAXII connection with the API key as a securestring.
    • Five Scheduled analytic rules: IPv4 indicator matched in ASIM NetworkSession (Medium, 1h); domain indicator matched in ASIM Dns (Medium, 1h); successful Microsoft Entra ID sign-in from an IP indicator (High, 1h); daily digest of failed Entra ID sign-ins from IP indicators (Informational, 1d); key-shaped secret written to logs (High, 1h)
    • Eight hunting queries: the ASIM IP and DNS matches over a longer window; four over Microsoft Defender XDR tables (DeviceNetworkEvents IP and domain/URL, DeviceFileEvents/DeviceProcessEvents file hash, EmailEvents/EmailUrlInfo/UrlClickEvents); a 30-day retro-hunt; a 30-day secret sweep
    • Workbooks/DugganUSAThreatIntelligence.json
    • Package/ (mainTemplate.json, createUiDefinition.json, testParameters.json, 3.0.0.zip) generated with Tools/Create-Azure-Sentinel-Solution/V3/createSolutionV3.ps1
  • Adds Logos/DugganUSA.svg and Workbooks/Images/Logos/DugganUSA.svg
  • Appends the workbook entry to Workbooks/WorkbooksMetadata.json and adds its preview images Workbooks/Images/Preview/DugganUSAThreatIntelligenceWhite.png and DugganUSAThreatIntelligenceBlack.png
  • No custom data connector, table or parser, so no sample data. Ingestion uses the built-in Threat Intelligence - TAXII connector (ThreatIntelligenceTaxii), the same pattern as the HoneyLabs and Datazag solutions. Content selects DugganUSA indicators by TAXII friendly name or by the STIX created_by_ref identity, and skips expired, inactive and deleted indicators.

Reason for Change(s):

  • Lists the DugganUSA STIX 2.1 / TAXII 2.1 feed in the Content hub with a guided connect step (API root https://analytics.dugganusa.com/api/v1/taxii/, collection dugganusa-threat-intel, API key as the TAXII password), plus detection content and a workbook that match the indicators against customer telemetry.

Version Updated:

  • N/A, new solution (3.0.0; analytic rules, hunting queries and workbook at 1.0.0)

Testing Completed:

  • Yes. Package installed in a Microsoft Sentinel workspace on 2026-12-04 by deploying Package/mainTemplate.json: deployment Succeeded (18 resources); content package azure-sentinel-solution-dugganusa 3.0.0 with 5 AnalyticsRule, 8 HuntingQuery, 1 DataConnector (GenericUI DugganUSAThreatIntelligence) and 1 Workbook templates. After that install, two text-only fixes went into the package: "Sentinel" to "Microsoft Sentinel" in one connector-page sentence (branding check), and tostring() around parse_url(RemoteUrl).Host inside coalesce() in the retro-hunt query (KQL type check). Validators below were rerun on the final package.
  • Workbook rendered with live data from the connector (78.9K active indicators, average confidence 73.3, 20.2K at or above the default floor of 80).
  • Connector page rendered: status Connected, last log received minutes before, Deploy to Azure button present, all four copyable fields (friendly name, API root URL, collection ID, username) render with copy buttons. An existing Threat Intelligence - TAXII connection in the workspace was left untouched.
  • Connector ingestion into ThreatIntelIndicators through the built-in TAXII connector verified in the same workspace. TAXII discovery, API root, collections and paged objects verified with Basic auth (any username, API key as password).
  • Local validation: .script/local-validation/validate.js --diff master passes JSON, YAML, Data Connector, Content (MS Branding), Logo, Documents Link, Workbook Template, Workbook Metadata and Solution checks; ARM-TTK (Docker) passes on mainTemplate.json and createUiDefinition.json; the detection template schema tests (22/22) and non-ASCII tests (63/63) pass. KQL for all 5 rules, 8 hunting queries, the workbook and the connector page parses with Kusto.Language against the repo's CustomTables/CustomFunctions schemas (27/27); the repo's KQL test project itself needs x64, so CI runs it.

Checked that the validations are passing and have addressed any issues that are present:

  • Yes, locally (see above). We will address anything the CI validations raise.

🤖 Generated with Claude Code

Adds the DugganUSA Threat Intelligence solution (TAXII 2.1 connector page, 5 analytic rules, 8 hunting queries, workbook), its logos, workbook preview images and WorkbooksMetadata entry.
@github-actions github-actions Bot added Community Solution Community-contributed Sentinel solution Solution Solution specialty review needed labels Dec 4, 2026
@v-atulyadav v-atulyadav added the New Solution For new Solutions which are new to Microsoft Sentinel label Dec 4, 2026
@v-atulyadav
v-atulyadav requested a balanced review from Copilot December 4, 2026 04:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved query defects can miss IPv6 indicators, falsely attribute malicious-link clicks, and misidentify hosts, while dependency metadata references the wrong indicator table.

46 open issues

And 26 more that still need to be addressed.

What changed in this PR

Adds a Community-supported DugganUSA Threat Intelligence solution to Microsoft Sentinel, using the built-in TAXII connector.

Changes:

  • Adds five analytic rules and eight hunting queries for indicator matching and exposed secrets.
  • Adds solution metadata, setup documentation, and deployment assets.
  • Registers the workbook and adds branding assets.
File Description
Workbooks/​WorkbooksMetadata.json Registers the DugganUSA workbook.
Workbooks/​Images/​Logos/​DugganUSA.svg Adds workbook branding.
Solutions/​DugganUSA Threat Intelligence/​SolutionMetadata.json Defines publisher, category, and support.
Solutions/​DugganUSA Threat Intelligence/​ReleaseNotes.md Records the initial release.
Solutions/​DugganUSA Threat Intelligence/​README.md Documents setup and content.
Solutions/​DugganUSA Threat Intelligence/​Package/​testParameters.json Supplies deployment parameters; excluded from review.
Solutions/​DugganUSA Threat Intelligence/​Package/​createUiDefinition.json Defines installation UI; excluded from review.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSARetroHunt.yaml Matches indicators against historical telemetry.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSALeakedSecretSweep.yaml Searches historical logs for secrets.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSAIPIndicatorNetworkSession.yaml Hunts network-session IP matches.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSAIPIndicatorDeviceNetworkEvents.yaml Hunts endpoint IP matches.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSAIndicatorEmailUrlsAndClicks.yaml Correlates email indicators and clicks.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSAFileHashIndicatorDeviceEvents.yaml Hunts file-hash matches.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSADomainUrlIndicatorDeviceNetworkEvents.yaml Hunts endpoint domain and URL matches.
Solutions/​DugganUSA Threat Intelligence/​Hunting Queries/​DugganUSADomainIndicatorDns.yaml Hunts DNS indicator matches.
Solutions/​DugganUSA Threat Intelligence/​Data/​Solution_DugganUSA.json Defines solution content selections.
Solutions/​DugganUSA Threat Intelligence/​Data Connectors/​DugganUSA_ThreatIntelligence_TAXII.json Adds TAXII setup page; excluded from review.
Solutions/​DugganUSA Threat Intelligence/​Analytic Rules/​DugganUSALeakedSecretInLogs.yaml Detects secrets written to logs.
Solutions/​DugganUSA Threat Intelligence/​Analytic Rules/​DugganUSAIPIndicatorSigninFailedDigest.yaml Summarizes failed sign-ins from listed IPs.
Solutions/​DugganUSA Threat Intelligence/​Analytic Rules/​DugganUSAIPIndicatorSignin.yaml Detects sign-in activity from listed IPs.
Solutions/​DugganUSA Threat Intelligence/​Analytic Rules/​DugganUSAIPIndicatorNetworkSession.yaml Detects network-session IP matches.
Solutions/​DugganUSA Threat Intelligence/​Analytic Rules/​DugganUSADomainIndicatorDns.yaml Detects DNS indicator matches.
Logos/​DugganUSA.svg Adds solution branding.

Review effort: Balanced

requiredDataConnectors:
- connectorId: ThreatIntelligenceTaxii
dataTypes:
- ThreatIntelligenceIndicator
requiredDataConnectors:
- connectorId: ThreatIntelligenceTaxii
dataTypes:
- ThreatIntelligenceIndicator
requiredDataConnectors:
- connectorId: ThreatIntelligenceTaxii
dataTypes:
- ThreatIntelligenceIndicator
requiredDataConnectors:
- connectorId: ThreatIntelligenceTaxii
dataTypes:
- ThreatIntelligenceIndicator
Comment on lines +42 to +54
| project TimeGenerated, SrcIpAddr, DstIpAddr, DstPortNumber, SrcHostname, DvcAction, EventVendor, EventProduct;
union
(Sessions | extend TI_ip = DstIpAddr, LocalIp = SrcIpAddr, Direction = "to indicator"),
(Sessions | extend TI_ip = SrcIpAddr, LocalIp = DstIpAddr, Direction = "from indicator")
| where isnotempty(TI_ip)
| join kind=inner DugganUSA_IPs on TI_ip
| where isempty(ValidUntil) or TimeGenerated < ValidUntil
| summarize
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated),
SessionCount = count(),
LocalIps = make_set(LocalIp, 50),
LocalHosts = make_set(SrcHostname, 50),
Comment on lines +46 to +52
| project Indicator, Kind, Source, Hits, FirstSeen, LastSeen, Confidence, IndicatorName
| order by Confidence desc, Hits desc
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: Indicator
Comment on lines +46 to +53
| project Indicator, Kind, Source, Hits, FirstSeen, LastSeen, Confidence, IndicatorName
| order by Confidence desc, Hits desc
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: Indicator
version: 1.0.0
"BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\DugganUSA Threat Intelligence",
"Version": "3.0.0",
"Metadata": "SolutionMetadata.json",
"TemplateSpec": true,
"BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\DugganUSA Threat Intelligence",
"Version": "3.0.0",
"Metadata": "SolutionMetadata.json",
"TemplateSpec": true,
"BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\DugganUSA Threat Intelligence",
"Version": "3.0.0",
"Metadata": "SolutionMetadata.json",
"TemplateSpec": true,
…d Edge sections

Workbook 1.1.0 adds two sections:
- 30-day lookback: active DugganUSA IPs and domains at or above the
  confidence floor, matched against the logs the workspace already holds
  (the same tables as the retro-hunt hunting query), with a coverage line
  so a zero is read against how much was checked.
- Edge: blocks and canary hits from the DugganUSA edge shield, read from
  DugganUSAEdgeDecisions_CL and hidden unless that table exists.

Solution version 3.0.1, package rebuilt with the V3 tool, release notes,
README and workbook metadata updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pduggusa

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="DugganUSA LLC"

- Dependencies name ThreatIntelIndicators, the table the content reads
- TemplateSpec false for a 3.x solution
- IPv6 indicators match every spelling (parse_ipv6) in sign-in, digest, device and retro-hunt joins
- Retro-hunt: Microsoft 365 ClientIP keeps IPv6; IP and DNS entities mapped separately
- URL keys lowercase scheme and host only; paths keep case
- Domain hunt matches every parent domain; events grouped with Timestamp (ReportId repeats)
- Network session: local host follows the direction
- Email hunt: clicks counted on the matched URL; recipient match case-insensitive
- Leaked-secret: full private key captured, fingerprint on the base64 body
- KQL validation schemas for AppTraces, AppRequests, AppDependencies, FunctionAppLogs,
  AppServiceConsoleLogs, ContainerAppConsoleLogs_CL, ContainerLogV2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pduggusa
Patrick Duggan (pduggusa) requested a review from a team as a code owner December 4, 2026 16:42
@pduggusa

Copy link
Copy Markdown
Author

Thanks for the review. Version 3.0.2 (beba0e1) addresses every comment:

  • Data dependencies: all rules and hunting queries now declare ThreatIntelIndicators, the table they read.
  • TemplateSpec: set to false for this 3.x solution, and the package was regenerated with createSolutionV3.ps1.
  • IPv6: the sign-in rule, the failed sign-in digest, the device network hunt and the retro-hunt now join on parse_ipv6(), so compressed and expanded forms match.
  • Retro-hunt:
    • OfficeActivity.ClientIP strips a port only from IPv4:port or [IPv6]:port.
    • IP and DNS entities are mapped from separate columns.
  • URL keys: only the scheme and host are lowercased; the path and query keep their case. Only a bare / path is dropped.
  • Domain hunt:
    • Matches every parent domain, not just the last 2 to 4 labels.
    • Groups on Timestamp, ReportId and DeviceId.
  • Network session: the local host follows the direction of the session (DstHostname for inbound).
  • Email hunt: clicks are counted on the matched URL (or anywhere in the message for a sender match), and the recipient join is case-insensitive.
  • Leaked secret: the full private key is captured, and its fingerprint is the SHA-256 of the base64 body.
  • KqlValidations: added CustomTables schemas for AppTraces, AppRequests, AppDependencies, FunctionAppLogs, AppServiceConsoleLogs, ContainerAppConsoleLogs_CL and ContainerLogV2, which the fuzzy union in the two leaked-secret queries references.

All 13 queries run without error in a live Sentinel workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Solution Community-contributed Sentinel solution New Solution For new Solutions which are new to Microsoft Sentinel Solution Solution specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants