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

    Encoded PowerShell spawning reg.exe to enable RDP (fDenyTSConnections=0)

    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/)
    ills3c Intel&Coffee@Ills3C
    •updated yesterday•2•0•3

    Detects PowerShell execution with an encoded command that invokes reg.exe to modify the Terminal Server registry settings, specifically setting fDenyTSConnections to 0 to enable Remote Desktop.

    Microsoft Sentinel (KQL)

    Tags

    T1059.001 - PowerShellT1112 - Modify RegistryT1021.001 - Remote Desktop ProtocolTA0002 - ExecutionTA0112 - Defense ImpairmentTA0003 - PersistenceTA0008 - Lateral MovementProcess CreationCommand ExecutionPowershell Script ExecutionRegistry Value SetWindowsWindows Eventlog SecurityWindows Sysmonkql

    Found in

    • BlackSuit Ransomware Deployment via Cobalt Strike and SystemBCLast updated yesterday

    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?