Windows DNS Queries to Malware Hosting and URL Shortener Domains

Alert on Windows DNS queries to domains tied to URL shorteners and malware hosting services.

FreeReviewedSigma · Medium · v2
Product
windows
Category
dns_query
Author
Ahmed Nosir (@egycondor) (SigmaHQ), DRL 1.1
Published
2025-06-02
Updated
2026-07-31
title: Windows DNS Queries to Malware Hosting and URL Shortener Domains
id: c1fbee1e-3480-4f12-9379-e17a6ab65127
status: experimental
description: This rule matches DNS query names containing specific domains associated with malware hosting platforms and URL shorteners. Attackers may use these services to deliver payloads or obscure final destinations through redirection. The detection relies on Windows DNS query telemetry, specifically the queried name field.
references:
  - https://cloud.google.com/blog/topics/threat-intelligence/apt41-innovative-tactics
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/dns_query/dns_query_win_common_malware_hosting_services.yml
author: Ahmed Nosir (@egycondor), Huntrule Team
date: 2025-06-02
tags:
  - attack.command-and-control
  - attack.t1071.004
logsource:
  product: windows
  category: dns_query
detection:
  selection:
    QueryName|contains:
      - msapp.workers.dev
      - trycloudflare.com
      - infinityfreeapp.com
      - my5353.com
      - reurl.cc
      - lihi.cc
      - tinyurl.com
  condition: selection
falsepositives:
  - Legitimate use of these services is possible but rare in enterprise environments
level: medium
license: DRL-1.1
related:
  - id: f8c1e80b-c73a-476a-ae24-6c72528b1521
    type: derived