T1219 CrowdStrike LogScale · LogScale

Detect Remote Access Tools in CrowdStrike LogScale

An adversary may use legitimate remote access tools to establish an interactive command and control channel within a network. Remote access tools create a session between two trusted hosts through a graphical interface, a command line interaction, a protocol tunnel via development or management software, or hardware-level access such as KVM (Keyboard, Video, Mouse) over IP solutions. Desktop support software and remote management software allow a user to control a computer remotely as if they are a local user inheriting the user or software permissions. This software is commonly used for troubleshooting, software installation, and system management. Adversaries may similarly abuse response features included in EDR and other defensive tools that enable remote access. Remote access tools may be installed and used post-compromise as an alternate communications channel for redundant access or to establish an interactive remote desktop session with the target system.

MITRE ATT&CK

Tactic
Command and Control
Technique
T1219 Remote Access Tools
Canonical reference
https://attack.mitre.org/techniques/T1219/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName=ProcessRollup2
| ImageFileName = /(?i)(teamviewer|teamviewer_service|anydesk|anydesk_service|screenconnect|connectwisecontrol\.client|logmein|lmi_rescue|logmeinrescue|ammyyadmin|aa_v3|supremo|supremoservice|rustdesk|splashtop|ateraagent|ninjaone|ninjaremote|simplehelp|dwrcs|dwrcst|tmate|tvnserver|vncviewer|uvnc_service|winvnc|chrome_remote_desktop|remote_assistance_host)\.exe$/i
| eval rat_category = case(
    ImageFileName = /(?i)(teamviewer|anydesk|screenconnect|connectwise)/, "Commercial RMM",
    ImageFileName = /(?i)(vnc|tvnserver|winvnc|uvnc)/, "VNC",
    ImageFileName = /(?i)(logmein|lmi_rescue)/, "LogMeIn",
    ImageFileName = /(?i)(ammyy|aa_v3)/, "AmmyyAdmin",
    ImageFileName = /(?i)(rustdesk|splashtop|supremo)/, "Other RMM",
    ImageFileName = /(?i)(atera|ninja|simplehelp|dwrcs)/, "MSP Tool",
    *,  "Unknown"
  )
| eval is_service_launched = if(ParentBaseFileName = /(?i)(services\.exe|svchost\.exe)/, "Yes", "No")
| eval is_user_launched = if(ParentBaseFileName = /(?i)(explorer\.exe|cmd\.exe|powershell\.exe)/, "Yes", "No")
| table([timestamp, ComputerName, UserName, ImageFileName, CommandLine, ParentBaseFileName, ParentCommandLine, rat_category, is_service_launched, is_user_launched])
| sort(timestamp, order=desc)
medium severity high confidence

CrowdStrike LogScale (Falcon) query detecting Remote Access Tool execution using ProcessRollup2 events. Matches known RMM and remote access binaries by image filename using regex, enriches with tool category, and annotates parent process context to distinguish managed service agent launches from adversary-initiated interactive remote sessions under MITRE ATT&CK T1219.

Data Sources

CrowdStrike Falcon sensor ProcessRollup2 eventsFalcon Data Replicator (FDR) process telemetry

Required Tables

ProcessRollup2

False Positives & Tuning

  • CrowdStrike-managed endpoints in organizations with contracted MSP support running NinjaRMM, Atera, or ScreenConnect as approved tools
  • IT administrators using AnyDesk or TeamViewer to remotely support endpoints outside business hours
  • Vendor-provided software bundles that include embedded RMM agents for hardware or software warranty support
Download portable Sigma rule (.yml)

Other platforms for T1219


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1AnyDesk Portable Execution from Temp Directory

    Expected signal: Sysmon Event ID 1: Process Create with Image=%TEMP%\anydesk_test.exe. Sysmon Event ID 3: Network connection to AnyDesk relay servers (*.net.anydesk.com). Sysmon Event ID 11: File creation in %TEMP% for the AnyDesk binary. Sysmon Event ID 22: DNS query for anydesk.com domains.

  2. Test 2TeamViewer Service Installation Detection

    Expected signal: Sysmon Event ID 12: Registry key created at HKCU\SOFTWARE\TeamViewer_Test. Sysmon Event ID 13: Registry value set for Run key persistence. Security Event ID 4688: reg.exe process creation with command line containing TeamViewer.

  3. Test 3VNC Server Execution Test

    Expected signal: Sysmon Event ID 1: Process Create with Image containing tvnserver.exe or cmd.exe (mock). If TightVNC present: Sysmon Event ID 3 for VNC listening on port 5900. Security Event ID 4688 with command line arguments.

Unlock Pro Content

Get the full detection package for T1219 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections