Skip to main content
T1219Command and Controlmedium difficulty

Remote Access Tools

Remote Access Tools (T1219) is command-and-control hiding in plain sight: instead of custom malware, the adversary drives the intrusion through legitimate RMM software like AnyDesk, ScreenConnect or Atera. The binaries are signed and often allow-listed, so it looks like help-desk work. For a SOC analyst the detection question shifts from 'is this malware?' to 'is this authorised?'.

Practice detecting Remote Access Tools on realistic SIEM, XDR, Firewall alerts in SOCSimulator Operations.

SIEMXDRFirewall

What is Remote Access Tools?

Remote Access Tools is documented as technique T1219 in MITRE ATT&CK® v19.1 under the Command and Control tactic. Detection requires visibility into SIEM, XDR, Firewall telemetry.

Attackers rarely drop custom implants for T1219. They fetch a legitimate RMM client such as AnyDesk, ScreenConnect, Atera or Splashtop three ways: a portable no-install binary written to a user-writable path like %TEMP% or Downloads that runs in the user context without admin rights, a silent MSI or service install that registers under Event 4697, or hijacking a tool the org already sanctions. CISA observed actors running AnyDesk and ScreenConnect as self-contained portable executables precisely because that skips the admin-privilege and software-control gates.

Once running, the client dials the vendor's relay infrastructure over 443. AnyDesk brokers sessions through its relay network; ScreenConnect and Atera phone home to their cloud tenants. On the wire it is ordinary outbound TLS to a legitimate SaaS host, so it survives the egress filtering and TLS inspection that would trip a raw C2 beacon. The operator gets a full interactive desktop or shell, not a scripted implant.

Because the binary is vendor-signed, the filename is worthless as an indicator: anyone can rename anydesk.exe to svchost_helper.exe and the signature still validates. The reliable pivot is the PE's signed metadata, the CompanyName and ProductName fields that identify the RMM vendor even when the file is renamed, paired with the first-seen relay domain or app ID. Match on publisher and destination, not on the name on disk.

Where Remote Access Tools fits in an attack

T1219 sits in the middle of the intrusion. Initial access comes first, usually phishing, a callback or help-desk lure, or an exposed RDP or VPN edge. CISA's AA23-025A documented a callback-phishing campaign where a help-desk-themed email carried a phone number; the victim called, was steered to a malicious domain, and pulled down portable AnyDesk and ScreenConnect. Once that RMM channel is live it becomes durable interactive C2, the platform the operator runs discovery, lateral movement, and payload staging from.

The pattern is heavily documented. CISA warns the same tradecraft runs from commodity refund-scam crews through ransomware affiliates and nation-state APTs, because RMM lets them skip custom malware and hide inside traffic that looks like help-desk work. MSP compromise is the amplifier: one abused RMM tenant reaches every downstream customer, which is how a single RMM foothold scales into mass ransomware across an MSP's client base.

Detection Strategies

The following detection strategies help SOC analysts identify Remote Access Tools activity. These methods apply across SIEM, XDR, Firewall environments and can be implemented as detection rules, correlation queries, or behavioral analytics in your security platform.

other
# Egress to remote-access relay infrastructure from a user segment
(app-id = "remote-access-tools"
  OR sni IN ("*.anydesk.com", "api.playanext.com", "*.teamviewer.com", "*.screenconnect.com"))
AND src_zone = "user-workstations"
AND action = "allow"
=> alert + require help-desk ticket

Egress to RMM relay infrastructure from a normal user segment. Alert on any RMM app-id or relay SNI the help-desk has not sanctioned, and block unapproved remote-access tools at the perimeter.

Simulated example generated by SOCSimulator Research
src_ip=10.20.4.117 dst_ip=195.90.220.14 dst_port=443
sni=relay-eu-1.anydesk.com app-id=anydesk category=remote-access-tools action=allowed

Tuning and false positives

This is the technique where legitimate use drowns the signal. Your real help desk, a contracted MSP, and any sanctioned remote-support tool throw the same Event 4697 service installs and the same relay traffic an attacker would. Alerting on 'AnyDesk seen' alone will bury the SOC in help-desk noise. The fix is an allow-list built from what your environment actually runs: the specific RMM products IT sanctions, the accounts and endpoints they run on, and the relay domains or app IDs those tools legitimately use.

Then invert the logic. Signal is the tool NOT on the sanctioned list, for example an Atera install in a ScreenConnect-only shop, a first-seen relay endpoint, and RMM launched from %TEMP% or a portable path instead of Program Files. Tie every hit to a change or help-desk ticket: a sanctioned tool with a matching ticket is noise, an unsanctioned tool or an off-hours session with no ticket is worth a look. Keep the relay allow-list per vendor, since one AnyDesk relay pool looks like any other.

Example Alerts

These realistic alert examples show what Remote Access Tools looks like in your security tools. Use them to tune detection rules and train analysts to recognize true positives versus false positives in live environments.

HighSIEM

Unauthorized RMM Installed as a Service

Security Event 4697 recorded an AnyDesk service installed from a per-user TEMP path on a finance workstation. AnyDesk is not on the sanctioned help-desk tool list, and installation from Temp is consistent with a portable, no-install binary dropped by an attacker.

HighXDR

AnyDesk Relay Traffic from User Segment

An AnyDesk process on WS-FIN-14 established an outbound session to relay-eu-1.anydesk.com over 443. The device has no prior AnyDesk history and the user has no help-desk ticket, indicating interactive remote control rather than sanctioned support.

CriticalXDR

ScreenConnect Spawned a Command Shell

ScreenConnect.ClientService.exe launched cmd.exe from its TEMP working directory. A remote-access agent spawning an interactive shell is hands-on-keyboard activity, chaining the C2 channel directly into command execution.

Responding to Remote Access Tools

When an unsanctioned RMM alert fires, answer three questions fast. Is there a help-desk or change ticket that explains a remote session on this host right now? Is the tool on the sanctioned list at all? Did the RMM process spawn a child shell, such as ScreenConnect launching cmd.exe or powershell.exe, or reach out to other hosts? A signed binary with a ticket and no child processes is almost always the real help desk.

Escalate when it stacks up: an unsanctioned tool, plus a live interactive session, plus no ticket. Contain by killing the active session and the client process, then block the relay domain and the vendor app ID at the egress proxy so it cannot reconnect. If the RMM spawned a shell or touched a second host, treat it as hands-on-keyboard: isolate the endpoint, capture the process tree and the operator's relay ID for scoping, and hunt that same relay ID across the fleet.

Frequently Asked Questions

How do SOC analysts detect Remote Access Tools?
Detection centers on SIEM, XDR, Firewall telemetry for the command and control phase of the attack. Build an allow-list of the remote-access tools your help-desk actually uses, then alert on the install or execution of any other RMM binary (AnyDesk, TeamViewer, ScreenConnect, Atera, Splashtop, LogMeIn, GoToAssist, Parsec, and portable no-install variants). Flag remote-access tools installed as a Windows service via Security Event 4697, and process starts whose signed metadata (company/product) identifies an RMM vendor. The binaries are legitimate, so identity, not maliciousness, is the trigger.
What does a Remote Access Tools alert look like?
A representative SIEM detection is "Unauthorized RMM Installed as a Service" (high severity): Security Event 4697 recorded an AnyDesk service installed from a per-user TEMP path on a finance workstation. AnyDesk is not on the sanctioned help-desk tool list, and installation from Temp is consistent with a portable, no-install binary dropped by an attacker.
Which tools detect Remote Access Tools, and how can I practice?
Remote Access Tools (T1219) is best surfaced with SIEM, XDR, Firewall telemetry, which exposes the command and control signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.
Glossary

What is Command and Control? SOC Glossary

Command and Control (C2) refers to the infrastructure and communication channels adversaries use to remotely direct malw…

Read more
Glossary

What is NDR? SOC Glossary

Network Detection and Response (NDR) is a security platform that passively monitors network traffic, using machine learn…

Read more
Glossary

What is Firewall? SOC Glossary

A firewall is a network security control that inspects traffic crossing a boundary and permits or denies it against a co…

Read more
Glossary

What is IOC? SOC Glossary

An Indicator of Compromise (IOC) is an observable artifact, such as a file hash, IP address, domain name, URL, registry …

Read more
Career Path

SOC Analyst (Tier 2) Career Guide: Salary & Skills

Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…

Read more
Career Path

Threat Hunter Career Guide: Salary & Skills

Threat Hunters do not wait for alerts. You develop hypotheses based on threat intelligence and adversary behavior models…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Tool

XDR Training Console: SOCSimulator

The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…

Read more
Tool

Firewall Training Console: SOCSimulator

The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…

Read more
Comparison

SOCSimulator Vs. Letsdefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Glossary

SOC Glossary: Security Operations Terminology

Complete glossary of Security Operations Center terminology for aspiring SOC analysts.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more