Skip to main content
Mallory
Malware1 associated actor24 associated CVEs

Sysrv

Tracked since May 15, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns24Associated
Actors1Associated
ATT&CK32Techniques
IOCs178Tracked
Type
Worm
Capabilities
Initial accessScanningBrute forceLateral movementPrivilege escalationPersistenceDefense evasion
Platforms
LinuxWindows

Sysrv is a Go-based, self-propagating malware family and cryptomining botnet first publicly identified in December 2020. It targets Linux and Windows servers, compromising exposed services to deploy the XMRig miner for unauthorized Monero mining. Early variants separated the worm and miner components, while later variants combined them or retrieved additional mining payloads after infection.

Sysrv scans for vulnerable services and propagates through remote code execution vulnerabilities, hardcoded credential dictionaries, and SSH access using keys and host information discovered on compromised systems. Targets include MySQL, Apache Tomcat, Jenkins, Oracle WebLogic, and numerous web applications. Its exploit arsenal includes Apache Struts vulnerabilities, PHPUnit CVE-2017-9841, Spring Cloud Gateway CVE-2022-22947, and Atlassian Confluence vulnerabilities CVE-2021-26084 and CVE-2023-22527. Some variants use MySQL user-defined functions for command execution and privilege escalation. Platform-specific Bash and PowerShell loaders retrieve and execute the worm and mining components.

Linux variants establish persistence through cron jobs and authorized SSH keys, terminate competing miners, disable firewalls, and remove security software. They also clear shell history, masquerade as system processes, and use local TCP listeners as single-instance checks. Many binaries are packed with UPX, and later versions introduce Go code obfuscation. Campaigns have used compromised websites and legitimate hosting services to distribute encoded mining payloads. Sysrv's principal objective is monetizing compromised computing resources rather than stealing cryptocurrency wallets or credentials.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

24 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2022-22947via cujo blogSpring Cloud Gateway Actuator SpEL Injection RCECVE-2017-5638, CVE-2022-22947 ... A Sysrv botnet instance written in Go.View vulnerability →Source ↗
CVE-2017-5638via cujo blogApache Struts 2 Jakarta Multipart Parser Remote Code ExecutionCVE-2017-5638, CVE-2022-22947 ... A Sysrv botnet instance written in Go.View vulnerability →Source ↗
CVE-2021-26084via imperva blogUnauthenticated RCE in Atlassian Confluence Webwork OGNL ProcessingThe requests shared common signatures and attempted to exploit multiple known web vulnerabilities in Apache Struts ( CVE-2017-9805 ) and Atlassian Confluence ( CVE-2023-22527 and CVE-2021-26084 ). | Sysrv is a well-documented botnet first identified in 2020, with the main payload being a worm written in Golang. It drops a cryptominer onto infected hosts before attempting to propagate itself using various methods, including network vulnerabilities.View vulnerability →Source ↗
CVE-2017-9805via imperva blogRemote Code Execution in Apache Struts 2 REST PluginThe requests shared common signatures and attempted to exploit multiple known web vulnerabilities in Apache Struts ( CVE-2017-9805 ) and Atlassian Confluence ( CVE-2023-22527 and CVE-2021-26084 ). | Sysrv is a well-documented botnet first identified in 2020, with the main payload being a worm written in Golang. It drops a cryptominer onto infected hosts before attempting to propagate itself using various methods, including network vulnerabilities.View vulnerability →Source ↗
CVE-2023-22527via imperva blogUnauthenticated Template Injection RCE in Atlassian ConfluenceThe requests shared common signatures and attempted to exploit multiple known web vulnerabilities in Apache Struts ( CVE-2017-9805 ) and Atlassian Confluence ( CVE-2023-22527 and CVE-2021-26084 ). | Sysrv is a well-documented botnet first identified in 2020, with the main payload being a worm written in Golang. It drops a cryptominer onto infected hosts before attempting to propagate itself using various methods, including network vulnerabilities.View vulnerability →Source ↗
CVE-2021-3129via cujo blogExploited in the wildUnauthenticated RCE in Laravel Ignition debug modeThe Ignition Remote Code Execution (RCE) exploit has the newest CVE number; it was published in January 2021 and was already used by Sysrv at the beginning of March. | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2017-9841via cujo blogExploited in the wildUnauthenticated Remote Code Execution in PHPUnitExploits with the corresponding CVE number: CVE-2017-9841 – PHPUnit RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2020-16846via cujo blogExploited in the wildCommand injection in SaltStack Salt netapi SSH clientExploits with the corresponding CVE number: CVE-2020-16846 – Saltstack RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2019-3396via cujo blogExploited in the wildServer-side template injection and RCE in Atlassian Confluence Widget ConnectorExploits with the corresponding CVE number: CVE-2019-3396 – Atlassian Confluence RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2019-7238via cujo blogExploited in the wildRemote Code Execution in Sonatype Nexus Repository Manager 3Exploits with the corresponding CVE number: CVE-2019-7238 – Nexus Repository Manager RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2018-7600via cujo blogExploited in the wildDrupalgeddon2Exploits with the corresponding CVE number: CVE-2018-7600 – Drupal RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗
CVE-2015-8562via cujo blogExploited in the wildUnauthenticated PHP Object Injection RCE in Joomla!Exploits with the corresponding CVE number: CVE-2015-8562 – Joomla! RCE | This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.View vulnerability →Source ↗

12 more CVEs associated with this family tracked in Mallory.

Threat actors

Associated threat actors

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.

View more details →
Keksec

This blog post takes a deep dive into the Sysrv botnet, which first made headlines at the end of December 2020 and has continued to evolve since then.

via cujo blogcujo.com
MITRE ATT&CK

Techniques & procedures

32 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence2

Sysrv continually incorporated new exploits to spread more effectively... Exploits with the corresponding CVE number: CVE-2019-7238 – Nexus Repository Manager RCE ... CVE-2021-3129 – Ignition RCE

Execution

5 techniques
T1053.003CronEvidence3

Edit crontab file to achieve persistence

T1059Command and Scripting InterpreterEvidence2

Post exploitation, the malware will deliver a loader script: ld.sh for Linux and ld.ps1 for Windows. The loader is responsible for dropping and running the XMRig Miner and the Golang worm on the exploited service.

T1059.001PowerShellEvidence3

Two Sysrv loader scripts are circling for Linux and Windows: ldr.sh and ldr.ps1 ... the latter in Powershell

T1059.004Unix ShellEvidence3

Two Sysrv loader scripts are circling for Linux and Windows: ldr.sh and ldr.ps1 ... the former in Bash

T1203Exploitation for Client ExecutionEvidence1

Sysrv continually incorporated new exploits to spread more effectively... CVE-2019-7238 – Nexus Repository Manager RCE ... CVE-2021-3129 – Ignition RCE ... Apache Tomcat RCE

Persistence

4 techniques
T1053.003CronEvidence3

Edit crontab file to achieve persistence

T1098.004SSH Authorized KeysEvidence2

Hardcoded SSH key for persistence

T1505.003Web ShellEvidence1

The malware will send Get requests and will parse the parameters with the jsp file: %s/1.jsp? win= %s& linux= %s. These parameters will contain the dropper script URL. The jsp script will then drop and run the loaders.

T1543Create or Modify System ProcessEvidence1

If crontab command is not available install cron via apt, crontabs via yum and start the appropriate services

Privilege Escalation

4 techniques
T1053.003CronEvidence3

Edit crontab file to achieve persistence

T1068Exploitation for Privilege EscalationEvidence1

After a successful login, it will run a shellcode to gain a local privilege escalation using mysql UDF.

T1098.004SSH Authorized KeysEvidence2

Hardcoded SSH key for persistence

T1543Create or Modify System ProcessEvidence1

If crontab command is not available install cron via apt, crontabs via yum and start the appropriate services

Stealth

9 techniques
T1027Obfuscated Files or InformationEvidence1

The first obfuscated sample appeared in April 2021... This sample also had obfuscated Go packages and some function names... the obfuscation tool used is gobfuscate

T1027.002Software PackingEvidence1

Most malicious samples were packed with vanilla UPX

T1036MasqueradingEvidence1

Upon executing the binary in a controlled environment... the binary operates under the name kthreaddk, a frequently observed identifier for this strain of malware.

T1070Indicator RemovalEvidence2

/tmp/ folder cleanup

T1070.003Clear Command HistoryEvidence2

Bash history cleanup

T1070.004File DeletionEvidence1

In addition to disabling UFW and killing several running services

T1218System Binary Proxy ExecutionEvidence1

Get function to download binary (curl, get, php -r)

T1218.004InstallUtilEvidence1

2550 execve ( "/bin/sh" , [ "/bin/sh" , "-c" , "echo '* * * * * /dev/disk/by-partuuid/3hxr47' | /usr/bin/crontab -" ]

T1497.001System ChecksEvidence2

64-bit check (getconf LONG_BIT) ... Exit if a 32-bit system is detected ... Checking for the presence of nvidia-smi tool, listing GPUs for cryptomining

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence3

Removing and renaming the iptables binary Aliyun AV software uninstaller Docker xmr image removal

Credential Access

3 techniques
T1110Brute ForceEvidence4

tries to infiltrate the servers with a hardcoded password dictionary attack

T1110.003Password SprayingEvidence1

MySql: Port 3306 The malware will run a credential spraying brute force attack. The malware uses a hardcoded dictionary of weak credentials, such as root:123456 , for this attack.

T1649Steal or Forge Authentication CertificatesEvidence1

the loader does not possess the capabilities to gather and use SSH keys for subsequent propagation... the script then turns to enumerating all the private keys stored on the hosts

Discovery

3 techniques
T1046Network Service DiscoveryEvidence3

The worm module simply initiates port scans against random IPs to find vulnerable Tomcat, WebLogic, and MySQL services

T1057Process DiscoveryEvidence1

Checks for competing botnets and cryptominers, kills their processes

T1497.001System ChecksEvidence2

64-bit check (getconf LONG_BIT) ... Exit if a 32-bit system is detected ... Checking for the presence of nvidia-smi tool, listing GPUs for cryptomining

Lateral Movement

2 techniques
T1021.004SSHEvidence2

SSH brute-force

T1210Exploitation of Remote ServicesEvidence1

In an older version, the worm has also attempted to exploit WebLogic’s latest vulnerability: CVE-2020-14882.

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence1

Within the configuration file... '{ ... "url": "194.38.23.2:8080" }'

T1105Ingress Tool TransferEvidence4

The malware propagation starts with a simple loader script file, which pulls down those modules upon successful execution.

T1571Non-Standard PortEvidence1

In Sysrv’s case, a check is implemented to see whether a hardcoded TCP port is open on the infected system ... We have observed the following TCP port numbers being leveraged as Mutex ports: 52013 ... 52021

Impact

2 techniques
T1489Service StopEvidence1

Other known cryptocurrency miners such as kthreaddi, sysrv, and sysrv012 are stopped or killed. Other running processes listening on ports 3333, 4444, 5555, 7777, and 9000 are stopped.

T1496Resource HijackingEvidence2

At its core, Sysrv is a worm and a cryptocurrency miner ... The main goal of the Sysrv botnet is to mine the Monero cryptocurrency.

Indicators of compromise

Observables

178 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+7 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching178Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities24CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping32Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.