{"T1219.001":"Chain with T1219.001 for deeper attack path","T1219.002":"Chain with T1219.002 for deeper attack path","T1219.003":"Chain with T1219.003 for deeper attack path"}
T1219 Remote Access Tools
High-Level Description
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 (usually graphical interface) and remote management software (typically command line interface) 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. It may also be used as a malware component to establish a reverse connection or back-connect to a service or adversary-controlled system.
Installation of many remote access tools may also include persistence (e.g., the software's installation routine creates a Windows Service). Remote access modules/features may also exist as part of otherwise existing software (e.g., Google Chrome’s Remote Desktop).
Kill Chain Phase
Command and Control (TA0011)
Platforms: Linux, macOS, Windows
What to Check
Identify if Remote Access Tools technique is applicable to target environment
Check Linux systems for indicators of Remote Access Tools
Check macOS systems for indicators of Remote Access Tools
Check Windows systems for indicators of Remote Access Tools
Verify mitigations are bypassed or absent (5 known mitigations)
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Atomic Test 1: TeamViewer Files Detected Test on Windows
An adversary may attempt to trick the user into downloading teamviewer and using this to maintain access to the machine. Download of TeamViewer installer will be at the destination location when sucessfully executed.
Supported Platforms: windows
Elevation Required: Yes
Atomic Test 2: AnyDesk Files Detected Test on Windows
An adversary may attempt to trick the user into downloading AnyDesk and use to establish C2. Download of AnyDesk installer will be at the destination location and ran when sucessfully executed.
Supported Platforms: windows
Elevation Required: Yes
Atomic Test 3: LogMeIn Files Detected Test on Windows
An adversary may attempt to trick the user into downloading LogMeIn and use to establish C2. Download of LogMeIn installer will be at the destination location and ran when sucessfully executed.
Supported Platforms: windows
Elevation Required: Yes
Atomic Test 4: GoToAssist Files Detected Test on Windows
An adversary may attempt to trick the user into downloading GoToAssist and use to establish C2. Download of GoToAssist installer will be at the destination location and ran when sucessfully executed.
Supported Platforms: windows
Elevation Required: Yes
Atomic Test 5: ScreenConnect Application Download and Install on Windows
An adversary may attempt to trick the user into downloading ScreenConnect for use as a C2 channel. Download of ScreenConnect installer will be in the Downloads directory.
Msiexec will be used to quietly insall ScreenConnect.
Supported Platforms: windows
Elevation Required: Yes
If Atomic Red Team tests are not applicable, manually verify the technique by:
Identify Attack Surface: Determine if the target environment is susceptible to Remote Access Tools by examining the target platforms (Linux, macOS, Windows).
Assess Existing Defenses: Review whether mitigations for T1219 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Remediation Guide
M1038 Execution Prevention
Use application control to mitigate installation and use of unapproved software that can be used for remote access.
M1037 Filter Network Traffic
Properly configure firewalls, application firewalls, and proxies to limit outgoing traffic to sites and services used by remote access software.
M1034 Limit Hardware Installation
Block the use of IP-based KVM devices within the network if they are not required.
M1031 Network Intrusion Prevention
Network intrusion detection and prevention systems that use network signatures may be able to prevent traffic to remote access services.
M1042 Disable or Remove Feature or Program
Consider disabling unnecessary remote connection functionality, including both unapproved software installations and specific features built into supported applications.
Detection
Behavior-Chain Detection for Remote Access Tools (Tool-Agnostic)