Sigma rule: Mailbox Export to Exchange Webserver

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ea89cec29460, updated 2023-04-30T00:00:00.000Z.

Rule

Title
Mailbox Export to Exchange Webserver
Status
test
Level
critical
Author
Florian Roth (Nextron Systems), Rich Warren, Christian Burkard (Nextron Systems)
Date
2021-08-09
Modified
2023-04-30
File
rules/windows/builtin/msexchange/win_exchange_proxyshell_mailbox_export.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a successful export of an Exchange mailbox to untypical directory or with aspx name suffix which can be used to place a webshell or the needed role assignment for it

Log source

product
windows
service
msexchange-management

Detection

export_command:
    '|all':
        - 'New-MailboxExportRequest'
        - ' -Mailbox '
export_params:
    - '-FilePath "\\\\' # We care about any share location.
    - '.aspx'
role_assignment:
    '|all':
        - 'New-ManagementRoleAssignment'
        - ' -Role "Mailbox Import Export"'
        - ' -User '
condition: (export_command and export_params) or role_assignment

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.persistence
  • attack.t1505.003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/msexchange/win_exchange_proxyshell_mailbox_export.yml

Sources and licences

  • SigmaHQ

    "Mailbox Export to Exchange Webserver" by Florian Roth (Nextron Systems), Rich Warren, Christian Burkard (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/msexchange/win_exchange_proxyshell_mailbox_export.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Mailbox Export to Exchange Webserver",
entity page, dataset version ref-ea89cec29460, updated 2023-04-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/516376b4-05cd-4122-bae0-ad7641c38d48 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 516376b4-05cd-4122-bae0-ad7641c38d48, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.