MeshAgent
- Type
- RAT
- Capabilities
- PersistencePost exploitationReconnaissanceDefense evasion
- Delivery
- Phishing
- Platforms
- WindowsLinux
MeshAgent, also called MeshCentral Agent, is the endpoint component of the legitimate open-source MeshCentral remote-management platform. It is not inherently malicious, but threat actors abuse it for command-and-control and persistent remote access. Its functionality includes remote desktop viewing and input control, command-line access, file management and transfer, and hardware and software inventory. Agents connect to a configured MeshCentral server over WebSocket connections, including attacker-controlled infrastructure in malicious deployments.
Malicious operators use MeshAgent to conduct reconnaissance, execute commands, stage files, and download or activate additional implants. Service-based installation supports lasting access, while customized builds and renamed binaries, directories, and services can complicate detection. Observed deployments include Windows endpoints and Linux-based VMware vCenter Server Appliances. Distribution includes phishing campaigns and installation after attackers have already obtained access through compromised credentials or exploitation.
LilacSquid, also tracked as UAT-4820, has used MeshAgent for post-compromise persistence, reconnaissance, and additional implant deployment. Awaken Likho has used it in operations targeting Russian government entities and enterprises. Operation ShadowCloud operators used MeshAgent to stage components that subsequently deployed GitDoor and GraphDoor against government-sector targets in Asia and Africa. In a BlackNevas-linked ransomware intrusion, attackers installed MeshAgent on a compromised vCenter appliance to maintain remote control and later deploy Ligolo-ng. MeshAgent has also been installed through compromised poker-software update systems to observe players' screens.
Associated vulnerabilities
4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
14 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Root SSH login to vCenter deploys MeshAgent within a minute
The group leverages MeshAgent for maintaining post-compromise persistence following successful exploitation. Upon execution, MeshAgent connects to its C2 server, conducts initial reconnaissance and downloads or activates additional implants.
The group leverages MeshAgent for maintaining post-compromise persistence following successful exploitation. Upon execution, MeshAgent connects to its C2 server, conducts initial reconnaissance and downloads or activates additional implants.
MeshAgent, Splashtop, RustDesk, AnyDesk, Atera and even Chrome Remote Desktop have all turned up across Qilin incidents.
As final payloads, the attackers use LockBit and Babuk ransomware, as well as Tactical RMM and MeshAgent to maintain persistence.
+8 more in the app. View in Mallory
Techniques & procedures
36 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
6 techniques
Resource Development
T1583 Acquire Infrastructure QuadSwitcher acquired infrastructure to host their tooling.
k0t has been observed using Namecheap to acquire domains for their campaigns.
PhantomCore gains access to servers of legitimate sites and later uses them to store samples of MeshAgent, PhantomTaskShell, and Rsocx
PhantomCore buys commercial software XenArmor All‑In‑One Password Recovery Pro and uploads the free utilities MeshAgent, RSocx, and Rclone
MITRE ATT&CK Mapping ... Resource Development Stage Capabilities: Upload Malware T1608.001 Dropbox-hosted payload
PhantomCore uploads MeshAgent and RSocx to directories on compromised legitimate sites and phishing sites, and uploads XenArmor All‑In‑One Password Recovery Pro and RClone to VPS servers
Initial Access
4 techniques
Initial Access
PhantomCore uses external services for remote access: SSH (tunneling) and MeshAgent
it seems that the threat actor attacked the development company and distributed installers with malware strains
Quick Heal’s team has identified hacker group APT36 (Transparent Tribe) deploying CrimsonRAT malware through sophisticated phishing attacks along with an RMM tool known as MeshAgent, he said.
PhantomCore emails links to phishing sites that lead to MeshAgent being downloaded when visited
Execution
7 techniques
Execution
tâche planifiée \MeshUserTask (MeshAgent)
“After gaining access, the extortion group deploys web shells, a legitimate RMM tool (MeshAgent) and performs fileless command execution.”
The earliest known indicators of compromise... This was a test of reliable code execution: powershell.exe Invoke-WebRequest -Uri http://REDACTED.oastify.com/REDACTED
"SmartApeSG ClickFix to unidentified RAT to MeshAgent" and "SmartApeSG fake verification page with ClickFix instructions."
PhantomCore lures users of targeted systems into clicking phishing links to download MeshAgent
a malicious setup file is uploaded to the website of a Korean VPN service provider instead of the normal installer. Accordingly, users may mistakenly think that they have executed a normal setup file, but a malware strain is also installed in the system and executed.
PsExec is one of the most consistent lateral movement and deployment tools used by Storm-2570 ... to move laterally and install renamed MeshAgent binaries across compromised environments.
Persistence
4 techniques
Persistence
tâche planifiée \MeshUserTask (MeshAgent)
"By installing multiple tools at once, the hackers ensure they have 'persistent, privileged access.' If an IT team finds and deletes one, the others allow the attacker to stay hidden."
PhantomCore uses external services for remote access: SSH (tunneling) and MeshAgent
It installs as a Windows service, connects over WebSocket TLS on port 443, and waits for commands.
Privilege Escalation
3 techniques
Privilege Escalation
tâche planifiée \MeshUserTask (MeshAgent)
"By installing multiple tools at once, the hackers ensure they have 'persistent, privileged access.' If an IT team finds and deletes one, the others allow the attacker to stay hidden."
It installs as a Windows service, connects over WebSocket TLS on port 443, and waits for commands.
Stealth
5 techniques
Stealth
Storm-2570 ... uses Base64-encoding to obfuscate the commands being executed.
The actor renames MeshAgent-related binaries or services with victim-themed names, such as meshagent64-[organization name].exe, likely to make the tool appear more legitimate.
At the end of August 2024, QuadSwitcher compromised a technology company in Western Europe, downloading PuTTY from http://130.185.75[.]198:8000/plink.exe using certutil.exe ... The threat actor also downloaded MeshAgent ... also via certutil.exe.
“download … Scan_docs%2398097960.msi … Execution: Finally, the script executes the downloaded file.”
"modified a Windows Registry value SystemComponent=1 to hide MeshAgent from the 'Programs and Features' list."
Defense Impairment
1 technique
Defense Impairment
Most malware samples had certificates disguised as valid ones from this company. There were also multiple samples signed with valid certificates.
Discovery
1 technique
Discovery
MITRE ATT&CK Mapping ... Discovery System Information Discovery T1082 Hardware inventory via MeshAgent
Lateral Movement
2 techniques
Lateral Movement
Anubis also exploited authentic remote access and admin tools such as MeshAgent, Total Software Deployment, ScreenConnect, UltraVNC, and Zoho Assist to merge with usual IT operations while handling control of target systems.
A host within an organization had not been onboarded to Huntress at the time of exploitation and resulted in lateral movement to another endpoint.
Collection
1 technique
Collection
MITRE ATT&CK Mapping ... Collection Screen Capture T1113 MeshAgent KVM capability
Command and Control
5 techniques
Command and Control
"Login console from the malicious Mesh C2 server."
MeshAgent... communicating over encrypted WebSocket (WSS) to an attacker-controlled server... T1071.001 Application Layer Protocol: Web Protocols
The infection did not immediately deploy all of its components. Instead, the threat actor maintained a presence on the system and introduced additional tooling over the course of several days.
Root SSH login to vCenter deploys MeshAgent within a minute
MITRE ATT&CK Mapping ... Command and Control Encrypted Channel: Asymmetric Crypto T1573.002 TLS with self-signed MeshCentral CA
Impact
2 techniques
Impact
dropping tools like MeshAgent to facilitate remote access and enable encryption, destruction, or modification of data
dropping tools like MeshAgent to facilitate remote access and enable encryption, destruction, or modification of data
Observables
68 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
63 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.