Windows ScreenConnect Remote Command Execution (EventID 200)

Detects ScreenConnect command execution on Windows by matching EventID 200 with an 'Executed command of length' message.

FreeReviewedSigma · Low · v2
Product
windows
Service
application
Author
Ali Alwashali (SigmaHQ), DRL 1.1
Published
2023-10-10
Updated
2026-07-31
title: Windows ScreenConnect Remote Command Execution (EventID 200)
id: e8cd7db6-6124-4014-b6e1-34a32e379c89
related:
  - id: b1f73849-6329-4069-bc8f-78a604bb8b23
    type: similar
  - id: 076ebe48-cc05-4d8f-9d41-89245cd93a14
    type: derived
status: test
description: This rule identifies ScreenConnect events where a remote command execution message is present (EventID 200) and the event payload includes the text 'Executed command of length'. This matters because attackers who gain access to an environment may leverage legitimate remote admin tooling to run commands covertly. It relies on Windows application logs containing the ScreenConnect provider name, event ID, and the specific command execution string in the event data.
references:
  - https://www.huntandhackett.com/blog/revil-the-usage-of-legitimate-remote-admin-tooling
  - https://github.com/SigmaHQ/sigma/pull/4467
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/application/screenconnect/win_app_remote_access_tools_screenconnect_command_exec.yml
author: Ali Alwashali, Huntrule Team
date: 2023-10-10
tags:
  - attack.execution
  - attack.t1059.003
logsource:
  service: application
  product: windows
detection:
  selection:
    Provider_Name: ScreenConnect
    EventID: 200
    Data|contains: Executed command of length
  condition: selection
falsepositives:
  - Legitimate use of ScreenConnect
level: low
license: DRL-1.1