← Back to SOC feed Coverage →

Abuse.ch Recent Threat Feed (1)

kql MEDIUM Azure-Sentinel
DeviceFileEventsDeviceImageLoadEventsDeviceProcessEvents
huntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-04-25T09:00:00Z · Confidence: medium

Hunt Hypothesis

Files matching known malicious hashes from abuse.ch’s recent threat feed may indicate the presence of recently active malware, and proactively hunting for these hashes in Azure Sentinel helps identify potential compromise early before further damage occurs. SOC teams should prioritize this hunt to quickly isolate and remediate threats leveraging real-time threat intelligence.

KQL Query

let MaxAge = ago(1d);
let AbuseFeed = toscalar (
    (externaldata(report:string)
    [@"https://bazaar.abuse.ch/export/txt/sha256/recent/"]
    with (format = "txt"))
    | where report !startswith '#'
    | summarize make_set(report)
);
union (
    DeviceProcessEvents
    | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
), (
    DeviceFileEvents
    | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
), ( 
    DeviceImageLoadEvents
    | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
)

Analytic Rule Definition

id: 8bd9e7c0-82b9-43b4-b58e-53d1ee6d9180
name: Abuse.ch Recent Threat Feed (1)
description: |
  This query will hunt for files matching the current abuse.ch recent threat feed based on Sha256. Currently the query is set up to analyze the last day worth of events, but this is configurable using the MaxAge variable.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceProcessEvents
  - DeviceFileEvents
  - DeviceImageLoadEvents
tactics:
- Execution
- Persistence
- Privilege escalation
- Credential Access
- Discovery
- Impact
- Exploit
- Malware, component
- Ransomware
query: |
  let MaxAge = ago(1d);
  let AbuseFeed = toscalar (
      (externaldata(report:string)
      [@"https://bazaar.abuse.ch/export/txt/sha256/recent/"]
      with (format = "txt"))
      | where report !startswith '#'
      | summarize make_set(report)
  );
  union (
      DeviceProcessEvents
      | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
  ), (
      DeviceFileEvents
      | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
  ), ( 
      DeviceImageLoadEvents
      | where Timestamp > MaxAge and SHA256 in (AbuseFeed)
  )

Required Data Sources

Sentinel TableNotes
DeviceFileEventsEnsure this data connector is enabled
DeviceImageLoadEventsEnsure this data connector is enabled
DeviceProcessEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Campaigns/Abuse.ch Recent Threat Feed (1).yaml