~ / honeypot / outlaw-mdrfckr-key-planter
25 November 2026 · Updated 27 November · Honeypot investigation · 10 min read

The same SSH key since 2018: an Outlaw/Dota “mdrfckr” login, command by command, and a second file that was only a newline

honeypotcowriesshoutlawdotacryptominingpersistence

A Brazilian home-ISP address guessed the root password on my honeypot, deleted ~/.ssh, installed a public key whose comment is mdrfckr, set a new root password, cleaned out rival bots and profiled the CPU. Every step matches a script that security researchers have documented since 2018. The key file has the same SHA-256 it has had for years. A second file, which my pipeline had queued as a sample, was a single newline.

TL;DR

Source179[.]216[.]16[.]184, AS28573 Claro NXT Telecomunicacoes Ltda, Brazil. AbuseIPDB classes it as a fixed-line ISP. Not on Spamhaus DROP
AccessSSH as root with 1qaz2wsx@123, a keyboard-pattern password. Two sessions: the first ran 19 commands, the second logged in and ran nothing
What it didCleared the immutable flags on ~/.ssh, deleted the directory and wrote a single key with the comment mdrfckr, changed the root password, killed and deleted two rival scripts, emptied /etc/hosts.deny, then read the CPU, memory, architecture, running processes and cron jobs
What it did not doDownload anything. No URL, no wget, curl or tftp, no payload. The session ended where the published script goes on to fetch its miner
Files recordeda8460f44…f8f2, the mdrfckr authorized_keys file, and 01ba4719…546b, one newline
VerdictFirst stage of the Outlaw (Dota) SSH botnet. High confidence on the family: the key comment, the key, the file hash and the command order all match published reports. No attribution to a person or group
ReputationAbuseIPDB 100% (992 reports from 477 users in 90 days), VirusTotal 6 malicious and 4 suspicious of 92 engines, OTX 30 pulses. GreyNoise was rate limited, so no GreyNoise data

Update: three more sources ran the same script within two hours

I ran the sensor's 24-hour highlights report at 16:50 CST and found the same sequence from three more addresses. The tooling this article describes recognised all four as the same family. All times are CST.

SourceLogged inPassword it guessedKey file recorded
179[.]216[.]16[.]184 (Brazil, this article)14:381qaz2wsx@123yes
165[.]154[.]207[.]2 (AS142002 Scloud Pte Ltd, on Spamhaus DROP)16:27Root123456789yes
202[.]150[.]138[.]153 (Indonesia, AS23949 PT Comtronics Systems)16:31Pa$$word!*yes
134[.]255[.]183[.]8816:38hello2026yes

Each ran 19 commands and each recorded the same two files described below, the key file and the newline. (My first draft of this update said the Indonesian address had no recorded file. It did. My highlights report cut every list of addresses at three without saying so, and I read the cut as a fact. That is fixed.) Each source set a different random root password, four different values in four runs, which is why I do not publish them: a value is good for one host and one run.

All four present the same SSH client: banner SSH-2.0-libssh_0.9.6 (51 sightings from four addresses in 24 hours) and HASSH f555226df1963d1d3c09daf865abdc9a, which my sensor links across all four addresses. That is the libssh 0.9.x fingerprint the SANS ISC lists for this campaign from December 2022 on. Stock libraries share fingerprints, so it supports the match and does not make it. Four sources in two hours is also a reminder that this is a tool running across many hosts, not one operator at a keyboard.

Update 2: ten sources in six hours

I ran the highlights report again at 22:00 CST on 25 Nov. The same script has now come from ten addresses between 14:38 and 20:47 CST. The first four are in the table above. These are the other six:

Source Logged in (CST) Passwords that worked Commands
50[.]6[.]204[.]157 (United States, AS31898; AbuseIPDB and Shodan name Newfold Digital, a hosting provider) 18:54 Pa$$Word123, Pa$sword1! 38 (two runs of 19)
154[.]116[.]254[.]157 (Angola, AS327806, a national IT agency's network; AbuseIPDB class: government) 19:03 the same two 38 (two runs of 19)
43[.]133[.]219[.]90 (network not looked up) 19:10 P4SSWORD!@# 19
173[.]212[.]241[.]30 (network not looked up) 19:20 Password2! 19
2[.]26[.]0[.]94 (on Spamhaus DROP) 19:31 test4321 19
128[.]1[.]198[.]78 (network not looked up) 20:47 zaq12wsxcde3 19

Same script, same files. The highlights report flags all ten as having dropped a file and planted the key, and the same chattr -ia .ssh; lockr -ia .ssh line appears against every one. For the six I opened in full, the two files are the key file and the newline file. Eight of the ten ran the 19 commands once. 50[.]6[.]204[.]157 and 154[.]116[.]254[.]157 ran them in two sessions each, with a different random root password in each run.

The same two guesses in every list. For the six sources whose guess lists I opened in full (the Brazilian, Scloud, Indonesian, German, Angolan and American addresses), two entries appear in every one: rootssssss23424123123 as both username and password, and root with the password root3245gs5662d34111111111. The two sources that ran twice also share two accepted passwords and most of their other guesses, in a different order. A tool working through a shared list would look like that; ten independent bots would not.

The same client. HASSH f555226df1963d1d3c09daf865abdc9a is now on 11 addresses in the sensor's seven-day data (187 sightings of the SSH-2.0-libssh_0.9.6 banner): the ten above and 222[.]208[.]64[.]40, which has 13 records in the sensor's fingerprint index. I have not opened that eleventh address, so I do not know whether it logged in.

The sources look like earlier victims. Shodan's record for the Angolan address lists 119 known vulnerabilities on an Ubuntu web and SSH host. The German address, 134[.]255[.]183[.]88, shows a container-management console (Portainer) and a MongoDB port open on the same machine. The Indonesian one runs MikroTik RouterOS and the Brazilian one an old Dropbear SSH. That is how a worm looks from outside: the machines attacking you are the last round's victims. It supports the reading in the assessment below and does not change it.

What the analysis lab holds. The lab has a case for each of the two files. For the key file it records MalwareBazaar's entry from 4 May 2021 (no family, tag "Linux malware"), ThreatFox's XMRig record, and VirusTotal at 32 of 73 engines (trojan.shell/malkey). For the newline file it records one byte, VirusTotal 0 of 74, and no confirmed malware, which is what a newline should get. Nothing in either case adds to the commands above.

Update 3: 47 addresses by 27 November

I ran the Sigma replay again at 17:22 CST on 27 Nov. The script has now come from 47 addresses in 57 sessions, up from 24 and 28 a day earlier, and the a8460f44… key file below was recorded from all 47. 27 of them arrived in the 24 hours to 17:08. Ten use the passwd form of the password change and have no cleanup step. The counts, the shared guess-list usernames and an address list for the last 24 hours are in 24 addresses became 47 in twenty hours.

Why this one is worth a write-up

Most of what lands on a honeypot has to be decoded: obfuscated one-liners, hex markers, binaries with no history. This session is the opposite. It is a fixed script that has barely changed in years, and it shows up with the same indicators on sensors all over the world. One researcher's DShield sensor logged 24 different source addresses writing this exact file in a single week of April 2026. That makes it a good case for two questions: what each line is for, and how much of that a triage tool can work out without help. The first answer is in the next section. The second is in the one after, where my tooling gets five things wrong.

The session, command by command

Each session ran 19 commands. The card I kept for the Brazilian session was cut off after 14. The full list from the Indonesian session in the update above shows the last five (rows 15 to 19), and the first 14 match the Brazilian card line for line, apart from lines 8 and 9, which are in the opposite order. I did not investigate why. I list the five from the Indonesian session and have not seen them in the Brazilian one. Reading the table: the first two lines take control of the account, the next three lock rivals and the owner out, and the rest is reconnaissance for the next stage.

#CommandWhat it is for
1cd ~; chattr -ia .ssh; lockr -ia .sshRemoves the immutable and append-only flags on ~/.ssh. A previous infection, or an administrator, may have locked the directory against changes. lockr is not a standard Linux command: Cowrie's emulated shell logs it as failed, and it appears in published copies of this line. I did not establish what it is for, so I treat it as a marker only.
2cd ~ && rm -rf .ssh && mkdir .ssh && echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4…+oRw== mdrfckr">>.ssh/authorized_keys && chmod -R go= ~/.ssh && cd ~The persistence step. It deletes everything in ~/.ssh (every existing key, known_hosts, config), recreates the folder, appends one RSA public key and removes group and other permissions so sshd accepts the file. The effect on a real server is two things at once: the attacker gets passwordless root, and any administrator who logged in with a key is locked out.
3cat /proc/cpuinfo | grep name | wc -lCounts the CPU cores. A miner is sized to the number of threads.
4echo "root:<password>"|chpasswd|bashSets a new root password. The weak one that let the bot in no longer works, so a rival brute-forcing the same host fails and the owner is locked out. The trailing |bash receives empty input because chpasswd prints nothing. I am not publishing the password it chose.
5rm -rf /tmp/secure.sh; rm -rf /tmp/auth.sh; pkill -9 secure.sh; pkill -9 auth.sh; echo > /etc/hosts.deny; pkill -9 sleep;Deletes and kills two scripts that other bots leave in /tmp, so a competitor cannot keep the host. Empties /etc/hosts.deny, which clears any TCP-wrapper block list. Killing sleep processes is my reading: rival scripts often restart themselves from a sleep loop, and this stops that.
6cat /proc/cpuinfo | grep name | head -n 1 | awk '{print $4,$5,$6,$7,$8,$9;}'The CPU model name, trimmed to the words after the label.
7free -m | grep Mem | awk '{print $2 ,$3, $4, $5, $6, $7}'Total, used, free, shared, cache and available memory in megabytes.
8, 9which ls, ls -lh $(which ls)Looks up the ls binary and prints its size and permissions. This reads as a check on whether the system has real tools or an emulated or replaced shell. I did not see what the script compares the answer with.
10crontab -lLists the account's scheduled jobs: other miners' persistence, or the owner's.
11wWho is logged in, and what they are running. Is an administrator watching?
12uname -mThe architecture, which picks the matching miner build.
13cat /proc/cpuinfo | grep model | grep name | wc -lA second core count by a different grep.
14topProcesses and load: any competing miner shows up here.
15, 16uname, uname -aKernel name, hostname, kernel release and architecture. A second, fuller look than line 12.
17whoamiConfirms the account the script is running as. After line 4 it is the root login it just locked in.
18lscpu | grep ModelThe CPU model, by a third method.
19df -h | head -n 2 | awk 'FNR == 2 {print $2;}'The size of the first filesystem: how much room there is for the miner and its files.

The public key in line 2 begins AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4cun2lhr4KUhBGE7VvAcwdli2a8db and ends +oRw==, and it is the same key that the SANS ISC reports as unchanged since 2018. The exponent field JQ decodes to 37, which is unusual for an RSA key and makes the prefix a good thing to search for.

The two files Cowrie recorded

Cowrie, the emulated SSH shell my honeypot runs, logs a file whenever the session creates one, and it reports the file as a download event even when no URL is involved. Two such events came out of this session.

SHA-256What it isEvidence
a8460f446be540410004b1a8db4083773fa46f7fe76fa84219c93daa1669f8f2The authorized_keys file written by line 2. A text file holding one public key. By my arithmetic it is 389 bytes: ssh-rsa (8), 372 base64 characters, mdrfckr (8) and a newline (1). The file is not malware on its own; it is the persistence artifact.This is the hash the SANS ISC publishes for the file, and it says it has not changed since 2018. ThreatFox lists it as IOC 1831951 (XMRIG, confidence 85%, tags backdoor, malkey, ssh-key-plant, first seen 14 June 2026). The size is my calculation; the hash match is what makes it an identification.
01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546bThe SHA-256 of a single newline. It is what echo > /etc/hosts.deny writes in line 5.Computed, and a one-line file is easy to confirm. It is harmless and it is not a payload. My pipeline queued it for analysis anyway, which is the second mistake below.

What my tooling got wrong

What happens next on a real host

Everything above is what I captured. The following is what published research says comes next, and I did not observe any of it. Elastic Security Labs and Kaspersky describe the same botnet: after the SSH compromise the actor downloads a first-stage shell script named tddwrt7s.sh, which fetches an archive (dota.tar.gz in older reports, dota3.tar.gz in newer ones). The archive unpacks into a hidden folder .rsync and holds a modified XMRig miner installed as kswapd0, an obfuscated Perl IRC bot of the Shellbot family for remote control, and an SSH brute-force tool that targets the next hosts. The botnet is worm-like: each infected machine becomes a scanner. Trend Micro described the Perl backdoor and miner combination in 2019.

That matters for reading the source address. A residential line with 992 abuse reports in 90 days, and an old Dropbear 0.51 SSH service on port 22 in Shodan's record (a version that points at an embedded device or router rather than a server), looks more like an infected machine than an operator's own server. The Indonesian source supports that reading: Shodan lists a MikroTik RouterOS device on its address, on a fixed-line ISP with 2,372 AbuseIPDB reports from 918 users, which fits an infected machine on a customer line or the router itself, and I cannot tell which. That is a weak inference and I rate it low to medium confidence.

Assessment

Limits

Detection and defense (for real systems)

MITRE ATT&CK

IDTechniqueEvidence
T1110.001Brute Force: Password Guessingroot with a keyboard-pattern password
T1078.003Valid Accounts: Local AccountsSuccessful root login
T1222.002File and Directory Permissions Modification: Linuxchattr -ia .ssh, lockr -ia .ssh
T1098.004Account Manipulation: SSH Authorized KeysLine 2
T1098Account Manipulationchpasswd
T1685Disable or Modify ToolsDeleting and killing rival scripts. This is the closest fit; ATT&CK has no technique for killing another bot
T1686Disable or Modify System Firewallecho > /etc/hosts.deny, with TCP wrappers as a loose match
T1082, T1033, T1057System Information, System Owner/User, Process Discoverycpuinfo, free, uname -m, w, top
T1497.001Virtualization/Sandbox Evasion: System Checksls -lh $(which ls). Low confidence

Technique ids are from ATT&CK v20.1. Version 20 retired T1562.001 and T1562.004 (Impair Defenses is now a tactic, Defense Impairment), so the two rows above use their replacements, T1685 and T1686. An earlier version of this table showed the old ids.

IOCs

ipv4    179[.]216[.]16[.]184          source (AS28573, Brazil)
ipv4    165[.]154[.]207[.]2           same script, 16:27 CST (AS142002, Spamhaus DROP)
ipv4    202[.]150[.]138[.]153         same script, 16:31 CST
ipv4    134[.]255[.]183[.]88          same script, 16:38 CST
ipv4    50[.]6[.]204[.]157            same script twice, 18:54 CST
ipv4    154[.]116[.]254[.]157         same script twice, 19:03 CST (AS327806, Angola)
ipv4    43[.]133[.]219[.]90           same script, 19:10 CST
ipv4    173[.]212[.]241[.]30          same script, 19:20 CST
ipv4    2[.]26[.]0[.]94               same script, 19:31 CST (Spamhaus DROP)
ipv4    128[.]1[.]198[.]78            same script, 20:47 CST
ipv4    222[.]208[.]64[.]40           same SSH client, 13 sessions, no login seen (not examined)
banner  SSH-2.0-libssh_0.9.6          x51 from four addresses in 24 h; x187 from 11 addresses in 7 days (low specificity)
sha256  a8460f446be540410004b1a8db4083773fa46f7fe76fa84219c93daa1669f8f2   mdrfckr authorized_keys file
sha256  01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b   one newline; NOT an indicator, listed so nobody chases it
text    mdrfckr                       key comment, unchanged since 2018
key     ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4cun2lhr4KUhBGE7VvAcwdli2a8db…  (RSA, exponent 37; ends +oRw==)
cmd     cd ~; chattr -ia .ssh; lockr -ia .ssh
cmd     cd ~ && rm -rf .ssh && mkdir .ssh && echo "ssh-rsa …mdrfckr">>.ssh/authorized_keys && chmod -R go= ~/.ssh
path    /tmp/secure.sh, /tmp/auth.sh  rival scripts this script deletes
hassh   51cba57125523ce4b9db67714a90bf6e   libssh 0.6.x, Oct-Nov 2022
hassh   f555226df1963d1d3c09daf865abdc9a   libssh 0.9.x, Dec 2022 on
hassh   03a80b21afa810682a776a7d42e5e6fb   libssh 0.11.1, April 2026   (all three: low specificity, they change)
cred    root / 1qaz2wsx@123           as guessed on this session
cred    rootssssss23424123123         username = password; present in every guess list opened (6 sources)
cred    root / root3245gs5662d34111111111same lists

References

Captured on a deliberately exposed honeypot. All indicators are defanged; do not visit them. Sensor location and addressing are withheld. Attribution is limited to what the evidence supports.

← All honeypot investigationstonyjucha.com