Windows DNS Client: MEGA userstorage subdomain DNS query (EventID 3008)

Detects Windows DNS client queries for MEGA userstorage subdomains by matching the query name string.

FreeReviewedSigma · Medium · v2
Product
windows
Service
dns-client
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-01-16
Updated
2026-07-31
title: "Windows DNS Client: MEGA userstorage subdomain DNS query (EventID 3008)"
id: 6d29f727-ef37-4e4a-93bb-c5f9c19c1ef1
related:
  - id: 613c03ba-0779-4a53-8a1f-47f914a4ded3
    type: similar
  - id: 66474410-b883-415f-9f8d-75345a0a66a6
    type: derived
status: test
description: This rule flags Windows DNS client events where a DNS query name contains the MEGA userstorage.mega.co.nz domain. Attackers may use MEGA-hosted domains to stage or move data, making DNS activity a useful early indicator of potential exfiltration-related behavior. The detection relies on Microsoft-Windows-DNS Client operational telemetry, specifically EventID 3008 and the queried domain name string.
references:
  - https://research.nccgroup.com/2021/05/27/detecting-rclone-an-effective-tool-for-exfiltration/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/dns_client/win_dns_client_mega_nz.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2023-01-16
tags:
  - attack.exfiltration
  - attack.t1567.002
logsource:
  product: windows
  service: dns-client
  definition: "Requirements: Microsoft-Windows-DNS Client Events/Operational Event Log must be enabled/collected in order to receive the events."
detection:
  selection:
    EventID: 3008
    QueryName|contains: userstorage.mega.co.nz
  condition: selection
falsepositives:
  - Legitimate DNS queries and usage of Mega
level: medium
license: DRL-1.1