Tia N.List

CTI · reported · 2026-09-23

EvilTokens PhaaS Storm-2992 compromises 12,000+ inboxes via AI-powered device-code phishing and inbox rule persistence

Full story & timeline

Actors

Storm-2992

Malware / tools

EvilTokens

Campaigns

—

CVEs

—

Victim sectors

—

Geography

—

MITRE ATT&CK

Indicators

No curated indicators tied to this case.

Detections

Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.

Sigma raw

title: EvilTokens PhaaS Suspicious Inbox Rule Creation via Device Code Phishing
id: 7c3e8a1f-4b2d-4e9c-a6f1-3d8e5c7b2a94
status: experimental
description: Detects creation of suspicious Microsoft 365 inbox rules that move, delete, or mark messages as read — a persistence and concealment technique used by EvilTokens (Storm-2992) after stealing OAuth tokens via device-code phishing flows.
references:
  - https://www.bleepingcomputer.com
  - https://www.microsoft.com/en-us/security/blog
author: Tia N. List
date: 2026-09-23
tags:
  - attack.credential-access
  - attack.t1621
  - attack.t1539
  - attack.t1098
logsource:
  product: m365
  service: audit
detection:
  selection_rule_created:
    EventOperation: New-InboxRule
  selection_rule_modified:
    EventOperation: Set-InboxRule
  selection_suspicious_actions:
    Parameters|contains:
      - 'MoveToFolder'
      - 'DeleteMessage'
      - 'MarkAsRead'
      - 'SoftDelete'
  selection_suspicious_folders:
    Parameters|contains:
      - 'Deleted Items'
      - 'Junk Email'
      - 'RSS Feeds'
      - 'Conversation History'
      - 'Notes'
  condition: (selection_rule_created or selection_rule_modified) and (selection_suspicious_actions or selection_suspicious_folders)
falsepositives:
  - Legitimate automation rules created by IT administrators
  - Third-party email management tools
level: medium

Splunk SPL raw

# unmasking-eviltokens-getting-to-the-root-of-device-code-phishing — Splunk SPL variant (derived from unmasking-eviltokens-getting-to-the-root-of-device-code-phishing.sigma via sigma convert)
# source-sha256: ff0b28f8422d450ca269c0465cfb9caff594fdeca0b248968cf7e8c8182540a6 v1
EventOperation IN ("New-InboxRule", "Set-InboxRule") Parameters IN ("*MoveToFolder*", "*DeleteMessage*", "*MarkAsRead*", "*SoftDelete*") OR Parameters IN ("*Deleted Items*", "*Junk Email*", "*RSS Feeds*", "*Conversation History*", "*Notes*")

KQL (Sentinel / Defender) raw

# unmasking-eviltokens-getting-to-the-root-of-device-code-phishing — KQL variant (derived from unmasking-eviltokens-getting-to-the-root-of-device-code-phishing.sigma via sigma convert)
# source-sha256: ff0b28f8422d450ca269c0465cfb9caff594fdeca0b248968cf7e8c8182540a6 v1
(EventOperation in~ ("New-InboxRule", "Set-InboxRule")) and ((Parameters contains "MoveToFolder" or Parameters contains "DeleteMessage" or Parameters contains "MarkAsRead" or Parameters contains "SoftDelete") or (Parameters contains "Deleted Items" or Parameters contains "Junk Email" or Parameters contains "RSS Feeds" or Parameters contains "Conversation History" or Parameters contains "Notes"))

References

Source on GitHub