• CommunityEnterprisePlans
  • Intel Exchange
    Intel ExchangeDetections
  • Resources
  • About
  • Leaderboard
Join CommunitySign In
    All Detections

    Detecting "Evil" Exchange Mail Rule Logic

    avatar
    GlassDiceBearhttps://www.dicebear.comhttps://creativecommons.org/publicdomain/zero/1.0/„Glass” (https://www.dicebear.com) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)
    Daniel Miller@dxmiller
    •updated Feb 2, 2026•17•0•128

    This query parses the complex JSON parameters of the New-TransportRule and Set-TransportRule commands to find instances where email is being secretly copied externally or security is being lowered.

    Microsoft Sentinel (KQL)

    Tags

    T1114.003 - Email Forwarding RuleT1114 - Email CollectionTA0010 - ExfiltrationTA0005 - Defense EvasionTA0009 - CollectionAdmin ActivityData ExfiltrationEmail SentOffice 365M365 Unified Audit LogMicrosoft Exchange Serverkql

    Community Inspired.
    AI Enhanced.
    Better Detections.

    Follow Us

    Company

    • About
    • Leaderboard

    Product

    • Community
    • Enterprise
    • Plans

    © 2026 Copyright. All Rights Reserved.

    Privacy PolicyTerms of Service

    Sign up to view this detection

    or

    Already have an account?