ServHelper is a Windows malware family associated with the financially motivated threat actor TA505 and observed in its operations since November 2018. The family includes a backdoor variant providing remote desktop access through reverse SSH tunneling and variants that primarily download or install additional payloads. It has been distributed through phishing emails containing weaponized Microsoft Office documents, including payment-themed Excel spreadsheets, with Windows Installer used to retrieve and execute malicious installation packages. ServHelper campaigns have targeted financial institutions across multiple countries.
Full-featured variants support command execution, host reconnaissance, data theft, and unauthorized remote access. ServHelper can collect the victim's username, execute PowerShell scripts to obtain system information, and download and execute DLL payloads through Rundll32. It creates local accounts and adds them to the Remote Desktop Users and Administrators groups, modifies Terminal Services configuration, and tunnels RDP traffic to attackers. Persistence mechanisms include scheduled tasks, Windows services, and Registry autostart entries. It also supports self-deletion.
ServHelper installation chains have used encrypted and compressed payloads, executable packing, and User Account Control bypass techniques, including DLL side-loading and abuse of an elevated scheduled task. Some deployments use a modified RDP Wrapper Library to enable expanded remote desktop functionality. Variants observed in 2019 downloaded or embedded encrypted archives containing legitimate NetSupport Manager components configured for attacker-controlled remote access. Reduced-functionality variants primarily act as intermediary droppers for NetSupport RAT rather than retaining the family's full backdoor capabilities.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
ServHelper has created a new user and added it to the "Remote Desktop Users" and "Administrators" groups.
60 distinct techniques documented for this family, organized by ATT&CK tactic.
TA505 semble avoir procédé à la distribution de ses charges malveillantes uniquement par campagnes de courriels d’hameçonnage... L’unique vecteur d’infection pour l’instant connu du mode opératoire TA505 demeure le courriel d’hameçonnage incluant une pièce jointe ou un lien malveillant.
This variant is compiled and delivered as an NSIS installer ... that usually arrives to its target as an attachment on an email luring the victim to open it.
One path for infection starts with the compromise of a legitimate site that hosts cryptographically signed MSI installers. These install popular software such as Discord.
This includes collecting information with WMI queries to identify if the user is an administrator.
schtasks /run /tn \Microsoft\Windows\DiskCleanup\SilentCleanup /I | Out-Null
[ServHelper](https://attack.mitre.org/software/S0382) contains modules that will use [schtasks](https://attack.mitre.org/software/S0111) to carry out malicious operations.(Citation: Proofpoint TA505 Jan 2019)
The script ‘ready.ps1’ sets up a class for a few functions and detonates the ‘get-content.ps1’ script which handles installing and setting up a number of executable files along with a backdoor and persistence.
[ServHelper](https://attack.mitre.org/software/S0382) has the ability to execute a PowerShell script to get information from the infected host.(Citation: Trend Micro TA505 June 2019)
[ServHelper](https://attack.mitre.org/software/S0382) can execute shell commands against [cmd](https://attack.mitre.org/software/S0106).(Citation: Proofpoint TA505 Jan 2019)(Citation: Deep Instinct TA505 Apr 2019)
we found an Excel attachment with malicious macros embedded in the file
a campaign targeting China spoofed FedEx-themed emails ... had malicious URLs in the message content that lead to the download of a malicious document
Opening the documents will enable the macros and download the same FlawedAmmyy downloader
it will add the installed RDP Wrapper Library 'appcache.xml' as TermService’s Service DLL as its main target to be executed... This modification done by ServHelper will make sure it runs every time the service is started.
The escalation of privilege enables deployment and installation of its other components. The hijack was done through Fubuki together with the vulnerable Windows components 'Sysprep.exe' and 'Wusa.exe'.
The update-request module will be launched through a UAC bypass attempt which abuses a scheduled task \Microsoft\Windows\DiskCleanup\SilentCleanup by modifying the registry value HKCU:\Environment\windir...
schtasks /run /tn \Microsoft\Windows\DiskCleanup\SilentCleanup /I | Out-Null
[ServHelper](https://attack.mitre.org/software/S0382) contains modules that will use [schtasks](https://attack.mitre.org/software/S0111) to carry out malicious operations.(Citation: Proofpoint TA505 Jan 2019)
“ServHelper has commands for adding a remote desktop user…”
[ServHelper](https://attack.mitre.org/software/S0382) has added a user named "supportaccount" to the Remote Desktop Users and Administrators groups.(Citation: Proofpoint TA505 Jan 2019)
The PowerShell module changes the registry keys related to the Windows service Terminal Server. The Terminal Server service is changed so that it listens on a non-default TCP port 7201...
APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.
[ServHelper](https://attack.mitre.org/software/S0382) has created a new user named "supportaccount".(Citation: Proofpoint TA505 Jan 2019)
A new Remote Desktop service Termservice is created and its ServiceDLL value is set to point into the ServHelper DLL loader C:\Windows\branding\mediasrv.png.
[ServHelper](https://attack.mitre.org/software/S0382) may attempt to establish persistence via the <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run\</code> run key.(Citation: Deep Instinct TA505 Apr 2019)
an .ISO file with an embedded .LNK file
A newer command that appears to hijack a user account with a known password (“123”). It does so by creating and scheduling a task... net user <command argument username> 123
schtasks /run /tn \Microsoft\Windows\DiskCleanup\SilentCleanup /I | Out-Null
[ServHelper](https://attack.mitre.org/software/S0382) contains modules that will use [schtasks](https://attack.mitre.org/software/S0111) to carry out malicious operations.(Citation: Proofpoint TA505 Jan 2019)
The mining payloads will only exist in the memory as PE modules and it will be loaded by injecting them reflectively into the legitimate process c:\windows\system32\msiexec.exe.
“ServHelper has commands for adding a remote desktop user…”
[ServHelper](https://attack.mitre.org/software/S0382) has added a user named "supportaccount" to the Remote Desktop Users and Administrators groups.(Citation: Proofpoint TA505 Jan 2019)
A new Remote Desktop service Termservice is created and its ServiceDLL value is set to point into the ServHelper DLL loader C:\Windows\branding\mediasrv.png.
[ServHelper](https://attack.mitre.org/software/S0382) may attempt to establish persistence via the <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run\</code> run key.(Citation: Deep Instinct TA505 Apr 2019)
an .ISO file with an embedded .LNK file
If the running instance of PowerShell is not in Administrator level, the installer will try to escalate privilege by using DLL hijacking with the use of Fubuki from UACME project.
The PowerShell command was encrypted with a combination of Base64 encoding and Triple DES Algorithm... Afterwards, it will prepare the payload to be dropped by decrypting it using Base64 decoding and GZip decompression.
there are two files that do not appear to be related to RDPWrap which are also UPX packed.
These files are written as hardcoded files to disk. $fldr=$env:systemroot+"\branding\" $bf="mediasvc.png" $rf="mediasrv.png" $cf="wupsvc.jpg"
[ServHelper](https://attack.mitre.org/software/S0382) has created a new user named `supportaccount`.(Citation: Proofpoint TA505 Jan 2019)
The mining payloads will only exist in the memory as PE modules and it will be loaded by injecting them reflectively into the legitimate process c:\windows\system32\msiexec.exe.
Many entries explicitly describe deleting artifacts 'to cover tracks,' 'evade detection,' 'remove evidence,' 'reduce their footprint,' or as part of 'post-intrusion cleanup process.' Examples include APT28 deleting files to cover tracks, FIN5 using SDelete to clean up the environment, and Dragonfly deleting operational files as part of cleanup.
[ServHelper](https://attack.mitre.org/software/S0382) has a module to delete itself from the infected machine.(Citation: Proofpoint TA505 Jan 2019)(Citation: Deep Instinct TA505 Apr 2019)
runmemxor : Download XOR encrypted .DLL and decrypt and run
an .LNK file that uses command line msiexec to execute an MSI file from a URL
[ServHelper](https://attack.mitre.org/software/S0382) contains a module for downloading and executing DLLs that leverages <code>rundll32.exe</code>.(Citation: Deep Instinct TA505 Apr 2019)
Upon execution, the loader will check if it is running on a virtualized environment... by checking for the presence of a file, C:\aaa_TouchMeNot_.txt ... If the file is present, installation will stop.
Similar to many kinds of backdoor malware, ServHelper is able to lurk quietly in a sleep state... using the function GetSystemTime().
it will add the installed RDP Wrapper Library 'appcache.xml' as TermService’s Service DLL as its main target to be executed... This modification done by ServHelper will make sure it runs every time the service is started.
The escalation of privilege enables deployment and installation of its other components. The hijack was done through Fubuki together with the vulnerable Windows components 'Sysprep.exe' and 'Wusa.exe'.
The update-request module will be launched through a UAC bypass attempt which abuses a scheduled task \Microsoft\Windows\DiskCleanup\SilentCleanup by modifying the registry value HKCU:\Environment\windir...
runmem : Download .DLL in memory and run runmemxor : Download XOR encrypted .DLL and decrypt and run
The PowerShell module changes the registry keys related to the Windows service Terminal Server. The Terminal Server service is changed so that it listens on a non-default TCP port 7201...
takeown.exe /A /F rfxvmt.dll icacls.exe rfxvmt.dll /inheritance:d icacls.exe rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
The malware uses a signed and verified certification from Sectigo RSA Code Signing CA to spread... pegas.dll is actually a signed and verified module by certification company Sectigo RSA Code Signing CA.
A newer command that appears to hijack a user account with a known password (“123”). It does so by creating and scheduling a task... net user <command argument username> 123
During installation, it will prepare its installation directory, C:\Program Files\windows mail\, by adding it on the target scan exclusion of Windows Defender using Add-MpPreference -ExclusionPath.
ServHelper includes the functionality to remotely control the infected system, log keystrokes, exfiltrate users' confidential data...
ServHelper ... accepts the following commands: ... getchromepasswords getmozillacookies getchromecookies ...
A newer command that appears to hijack a user account with a known password (“123”). It does so by creating and scheduling a task... net user <command argument username> 123
[ServHelper](https://attack.mitre.org/software/S0382) will attempt to enumerate the username of the victim.(Citation: Proofpoint TA505 Jan 2019)
This includes collecting information with WMI queries to identify if the user is an administrator... It uses net.exe, a legitimate Windows OS process, to collect this information. Local group administrators reconnaissance.
[ServHelper](https://attack.mitre.org/software/S0382) will attempt to enumerate Windows version and system architecture.(Citation: Proofpoint TA505 Jan 2019)
The C2 responds to execute “net group /domain” in cmd.exe... mainly they are looking for Domain machines which clearly shows their attack platform and target
Upon execution, the loader will check if it is running on a virtualized environment... by checking for the presence of a file, C:\aaa_TouchMeNot_.txt ... If the file is present, installation will stop.
Similar to many kinds of backdoor malware, ServHelper is able to lurk quietly in a sleep state... using the function GetSystemTime().
[ServHelper](https://attack.mitre.org/software/S0382) has commands for adding a remote desktop user and sending RDP traffic to the attacker through a reverse SSH tunnel.(Citation: Proofpoint TA505 Jan 2019)
ServHelper includes the functionality to remotely control the infected system, log keystrokes, exfiltrate users' confidential data...
Once ServHelper establishes remote desktop access, the malware contains functionality for the threat actor to “hijack” legitimate user accounts or their web browser profiles and use them as they see fit.
Later versions download a self-extracting RAR file from the C&C server (/cp/cp.exe) and decompress it using the password “123”.
Over the last six years there has been an increased shift by malware authors to secure their C&C communications using the SSL/TLS protocol to stymie detection and blend in with normal traffic.
[ServHelper](https://attack.mitre.org/software/S0382) uses HTTP for C2.(Citation: Proofpoint TA505 Jan 2019)
The ServHelper module contains typical backdoor functionality. It launches many threads, some for tunneling the traffic over OpenSSH (which may be downloaded from a C2 server) tunnel...
Agrius tunnels RDP traffic through deployed web shells to access victim environments via compromised accounts.
[ServHelper](https://attack.mitre.org/software/S0382) may download additional files to execute.(Citation: Proofpoint TA505 Jan 2019)(Citation: Deep Instinct TA505 Apr 2019)
ServHelper includes the functionality to remotely control the infected system ... and install the NetSupport remote access tool.
The Terminal Server service is changed so that it listens on a non-default TCP port 7201 instead of the default port 3389.
“OilRig… used tunneling tools to tunnel RDP into the environment.” / “ServHelper… sending RDP traffic to the attacker through a reverse SSH tunnel.”
The encrypted sample — via XOR encoding/URL encoding — also received a response from the C&C encrypted with XOR
[ServHelper](https://attack.mitre.org/software/S0382) may set up a reverse SSH tunnel to give the attacker access to services running on the victim, such as RDP.(Citation: Proofpoint TA505 Jan 2019)
320 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
60 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.