Skip to main content

Sysrv Botnet

Sysrv is a  Go-based worm and botnet which targets exposed Windows and Linux-based servers. Devices enrolled into Sysrv’s botnet are then used to mine the Monero cryptocurrency.

Report a cyber attack: call 0300 303 5222 or email [email protected]

Summary

Sysrv is a  Go-based worm and botnet which targets exposed Windows and Linux-based servers. Devices enrolled into Sysrv’s botnet are then used to mine the Monero cryptocurrency.


Affected platforms

The following platforms are known to be affected:

Threat details

Introduction

First observed in December 2020, Sysrv (also known as Sysrv-hello) is a worm and botnet written in the Go language. It scans the internet for exposed Windows and Linux servers, and attempts to exploit multiple vulnerabilities to gain access. Devices enrolled into Sysrv’s botnet are then used to mine the Monero cryptocurrency, whilst information is collected to facilitate lateral movement.


Delivery & activities

Sysrv's worm component scans the internet to identify vulnerable systems to enrol into its botnet, using exploits which target remote code execution (RCE) or injection vulnerabilities in a wide variety of web technologies. There is evidence indicating that the set of exploits used for this are regularly being updated through its C2 infrastructure. If successful, a loader script, ldr.sh for Linux systems or ldr.ps1 for Windows systems, is downloaded from a command and control server (C2) via wget, curl or PowerShell. The script will prepare the target system for the deployment of Sysrv by attempting to remove any existing cryptocurrency miners, terminating services, and modifying the system firewall (T1562.004).

The loader script also performs lateral movement by using brute force attacks with SSH private keys (T1021.004), which have been collected from infected servers. The loader script is downloaded on any new exploited host and the delivery process begins again. It should be noted that not all variants of the loader script will perform this lateral movement function.

Sysrv is downloaded from the C2 server by the loader script. Sysrv consists of both the worm and the miner components in a single 64-bit binary. Sysrv maintains persistence by creating a scheduled task for Sysrv executions. It executes XMRig, a cryptocurrency miner that mines Monero, which is renamed to kthreaddi. The XMRig binary and its configuration file are removed after execution (T1070.004), and the loader script also removes it from the process list to evade detection on the host.


Remediation advice

To prevent and detect an infection, NHS Digital advises that:

  • Secure configurations are applied to all devices.
  • Security updates are applied at the earliest opportunity.
  • Tamper protection settings in security products are enabled where available.
  • Obsolete platforms are segregated from the rest of the network.
  • IT usage policies are reinforced by regular training to ensure all users know not to open unsolicited links or attachments.
  • Multi-factor authentication (MFA) and lockout policies are used where practicable, especially for administrative accounts.
  • Administrative accounts are only used for necessary purposes.
  • Remote administration services use strongly encrypted protocols and only accept connections from authorised users or locations.
  • Systems are continuously monitored, and unusual activity is investigated, so that a compromise of the network can be detected as early as possible.

Please note that the NCSC maintains guidance for securely configuring a wide range of end user device (EUD) platforms. For further details refer to their end user device security guidance pages.


Indicators of compromise

Network indicators

IPs

  • 185[.]239.242.71
  • 194[.]145.227.21
  • 194[.]40.243.98
  • 195[.]58.39.46
  • 31[.]210.20.120
  • 31[.]210.20.181
  • 31[.]42.177.123
  • 45[.]145.185.85

Domains

  • finalshell[.]nl

URLs

  • http://185[.]239.242.71/ldr.ps1
  • http://185[.]239.242.71/ldr.sh
  • http://185[.]239.242.71/sysrv.exe
  • http://194[.]145.227.21/ldr.sh
  • http://194[.]145.227.21/sysrv
  • http://194[.]40.243.98/ldr.sh
  • http://195[.]58.39.46/asap
  • http://31[.]210.20.120/ldr.sh
  • http://31[.]210.20.120/sysrv.exe
  • http://31[.]210.20.120/sysrvv
  • http://31[.]210.20.120/sysrvv
  • http://31[.]210.20.120/sysrvv
  • http://31[.]210.20.181/ldr.sh
  • http://31[.]42.177.123/sysrv.exe
  • http://31[.]42.177.123/sysrvv
  • http://31[.]42.177.123/sysrvv
  • http://45[.].145.185.85/sysrv.exe
  • http://45[.]145.185.85/ldr.ps1
  • http://45[.]145.185.85/sysrv
  • http://finalshell[.]nl/sysrv.exe
  • http://finalshell[.]nl/sysrv
Host indicators

SHA256 hashes

  • 03e1806272242fae788c8728bc5796482890601839c0c5012855424ce253c95d
  • 064869b60b9cdb2b39daa30280770e63d9151fe3cc9f6db3813953cd71bdba8f
  • 0703482c9cfd573924c028db0a2563b7e936993a345ad6d92e9cff73030cebc5
  • 0783a9793100e6a32b21183239f955989c8901d18260092309efae91ccc075da
  • 0c13b3528088c308ac28971fba93939c66da2eabef66a4d3790c0b1817221535
  • 0f02a4180528a850cf24310f2e88c365695e35adbe6ba023288283599348b16d
  • 1384790107a5f200cab9593a39d1c80136762b58d22d9b3f081c91d99e5d0376
  • 15e0b4302902a425dcd0476a60a0d96a17c5a6cdd9fe13c2d09c5055e48178e4
  • 18a877f11f2ba2d7ae05ee8644a5cbd687282df4010dd0cb7680aec2e00d98ce
  • 1c91ed47c3c0baa74fa15c9b02330701dd02fc1e9b44963e1fe9a650ef7b78ef
  • 1d42661ed8ee86d6329d27158ba9d1cf6291b1d3c6554ba50b683643f0b89959
  • 1dd2c66843fcf5512b4dda518c2d5010edf06ab701f0380777b1b305ce9c98b0
  • 22ef90a2b3c23d3c890358fff4ec1210e4ceaaf46d8bef525294151b0e88ce15
  • 28dcdabaab2837b944a260048792ee4141ab0b3061637d7b9097706292c76877
  • 296d3d3ed5feeda7f6d99adc9da2566cb6c460194066acccac941a7b09bedfc3
  • 2d1b6deaccca69f67a6a207ecebb0010e62cd4d87298374c957236c78606f62e
  • 2d5de0dfa05c2a2649a4537b3f935f3ab2c029eeb3a07ab33592611388c845aa
  • 30c3965452d35eab07243e2b193a3de678c1be6719753ed00b164785ae57ea98
  • 3ea2df69b99f78fc0768ecf8190293f2b277b6de6e7b8e668f40b8a4910df17c
  • 41abb26f7c6dbc59ed4fc9f323211b4d422937700d866a7c5d12625f85fe6be6
  • 472fa4d13d8d71762af7fe5d574ad0d7c7c2983d228fd0944f0ee706e5b9d551
  • 4a588b7f30c91dd5603ffb0ea48cbd9f589f44b7fcb980b9bb9959d87dd344ad
  • 4fd37fa6ccf027e11409e3ca3b8109b2830cb3d7842303e67e6d0c087ae1b419
  • 5208cda8463eee0ac2cf0273dcd4036aa1e2be0de2c45b4ffd71e4c92bac3f2b
  • 544d20fc286d0803dee86a9c34b4c348333e320a4e33fd2730079701cb6e108f
  • 588b0838cc4c0fc64bfc1e5eeab2c9a59248e4e28a859ecbbac6bfe88bda703d
  • 58d96898ae28a806c8056799d703cad8a5bac95772458512395f77b8b6f73585
  • 5c902be344f9e089e60c36bbe3345fb5bd9c3c0b4cec349a6bb18da7faef0908
  • 5f5d599d4d0f9149440a6f813c6db3759d4fdbf7abe991c3af3aa59dc8c4027f
  • 6464434e5040b6bab0dd8b55b906dc1d068a21de5684e75e5eb51aa2608ef0ad
  • 6750e584ad0c21588e0add09c6ebe0cc9affe1673ac848b1761359170cf08bb7
  • 6a77d927c3e749c92b3f8847804c0de509050ad24aaf72519314df9226c3acb0
  • 6cab9f43cf738ba5ca9fb519f898f6ae10b11391d76191c395fe2c5bcbe5c100
  • 72483800c412e2204731b12c9d8fff1bc84f7af8f0b258299bb4f091a57ab23a
  • 73366b91ed479f3394fe2f211edac36df0e90d6be41b7ee0559582a324484e40
  • 752f181073449404df442a56b067951a8ed5a5419129ca5a416e80c376295b54
  • 774fad3fd2c7add5842b58c1127b9061d38027debcd3917910a8ec6b6aec9d08
  • 77a9f3d4f498c8a84e09c89fd75d98eea31954cc17d948b876c00c638c95a7b6
  • 7a546057a47ee02f6436e51d6d61f1b63c525307f9b5076a8edfe2cf4ae68769
  • 7ff5f2b3145d1e54a84f5bcc13ae6838baac2d6c20951d19608166833753d96f
  • 80bc76202b75201c740793ea9cd33b31cc262ef01738b053e335ee5d07a5ba96
  • 8223164dd8e2c7d6b2f0da63639186564335ba6a1bfc11cf31493d5c48f3abaf
  • 8353823b0dc71e1feec1a2ba5e509966d5dae7f5105489c1e628baa73b314d76
  • 848ed7e90c767e7ab2b1a93f9b8ca9c41eb02c3c76bf8b7dfd806fe26c1f431e
  • 8d0585970d1f6996ee8a034ee1f482bb0df32599e618312c0830e2fb04b6af5a
  • 8f421d90d2697cc38d24858ab894a119719a217157c151eaf9fe9ff55f6387a5
  • 934b422f0b8d26bd1c094bd532ddd947a702262c27991d757a9a6e3672014e98
  • 98e10d9c5bfd7a26ff3eb68d232109b6fbe0b0ec39f763f574301fb55e52a067
  • 9b2023a0e22f22860a7a46a67c9eba2c4831db66244603fd961fbb5c38b55272
  • 9c9b7da616239290db831a9305e1a46d45c112c761deaea5ed4c36aea7433891
  • 9d85b4e7202521d435a871b7de5f8affd30603687cf6e6f39f1420e9223b2bea
  • 9fd4fbab33dbedf48706096ab4ae19e25648f33d2e9fba62118fea726c918848
  • a41f2f0d431e750e911fc8f70c8b764f141f19fef2e6b0b70192d502d59ae39a
  • a999d7f95af4084b1e4276ee329e9b466c4d88a14cfc87007587d18a4a6c9f8a
  • ac0d8aceb01077b5ff3de02c6c63971054104bedabf3732ed169646a3f7e10e9
  • af279402867f3ef8d9e8bacde3aff359b1c6f3f2d581b914f12cb9d914199a0d
  • b480b65704fb998bafa8893221e691daa906a80206196eda1ac3c0cdcc5c1c49
  • b7e06689bde2614505a70cd0b4be24688be78d05057a134cc3f16919763bf65f
  • ba46915f06d99c4dbb9d07767a86e979893f46333a8a93fce6e040452dfc1155
  • bcb02047374196acdf0285a656a8d378cecd6115c403d0bc9f743b4e3ffd6fed
  • be8d067e762c5da8e616f62e882881b82c8627943bdf006e304fd9a4f784763f
  • beaa0639a67f7fc7937a100f01a550ecb8c8b608251f4d02a97d9a0a15de1304
  • bf2c450d4d3519de51fbd31def04a0e6786e13a568ddefcaa62d812cc72ffc4c
  • c07838598435a26f658654db4ce816914e6cfe70056382471362407d6093e1fa
  • c75c47694c5affa6c7eb4259ec3e4f29c740872305229b271e57bd90816e86b6
  • d42090b274d285e759de296239bd7b8e5d97270b2d2ae189aed80e68ba82b591
  • d50864f13378b333784f7469df98ef2ea438489ccf0649622897a7712a9c18f8
  • d8336694afc213433470e9481de2f5d3f57dbeaf5763f62d137be103f63c45dc
  • dd31b774397c6e22375d4f2fe26e38e82ae164bc73cf58314b18b8eed26802f0
  • dd5b4de5a1c68aad5a2efb08db55cb3e09f8ddffc19c95c1ecf9d06c6edf2d40
  • e51e35ce9737838d1a26be7285ba78a137d11c6725382944f34bde86f16cc893
  • e627aff93c1e095786b5a5248425ec62c1ea8b049d487cfa6e9cfdf2a0ddbd7b
  • f115f7826b7857be4522b84a17077a49d0ec0835010da31060acf85bab87778c
  • f36b692e27631a5cc96f705ad06fa4496b70fc59c4ed3b6f9a2efffff503975c
  • f4098b2e1e861baac736ea9e71c45e488330a3f7a799460f35573014e04152c0
  • f487b23309808e468889baf10c852284b7833b8ac06fd405d1b19abafc8e17fb
  • f674e83e44bbb3ddf76c3622b9b8b0be16edf60f4021a91b5959e528684c481f

Last edited: 6 May 2021 1:03 pm