Reaper
- Type
- Botnet
- Capabilities
- Initial accessScanning
- Delivery
- Landing pageLure
- Platforms
- LinuxIOT
Reaper, also known as IoTroop or IoT Troop, is an IoT botnet malware family publicly identified in October 2017. It compromises internet-connected devices, including consumer routers, IP cameras, and digital video recorders, and recruits them into a botnet. Reaper incorporates portions of Mirai source code but differs from the original Mirai by propagating through known software and firmware vulnerabilities rather than relying primarily on default-password attacks.
Analyzed samples contained exploits for at least nine vulnerabilities affecting devices from manufacturers including AVTECH, D-Link, Linksys, and Netgear, as well as devices using GoAhead embedded web-server software. Reaper scans the internet for susceptible systems and uses remote code execution and command-injection flaws to install and execute its payload. Its embedded Lua engine and accompanying scripts provide an extensible framework for attack logic and additional functionality. Its scanning is less aggressive than Mirai's. Early observations established device recruitment and propagation, but did not establish destructive attacks or an operational DDoS campaign.
This IoT malware family is distinct from the macOS SHub infostealer variant also named Reaper and from the historical Reaper program developed to remove Creeper.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
46 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
The scripts also enumerate installed browser extensions, searching for password managers such as 1Password, Bitwarden, and LastPass, along with cryptocurrency wallet extensions including MetaMask and Phantom.
JavaScript running in the background collects system and browser information, including IP address, location data, WebGL fingerprinting details, and indicators tied to virtual machines, VPN use, and analysis environments.
Resource Development
2 techniques
Resource Development
The attack starts on fake software pages hosted on misspelled Microsoft web domains, such as mlcrosoft.co.com.
the infection vector wraps its payload inside a seemingly normal, signed application installer disguised as standard collaboration tools like Miro or WeChat.
Initial Access
4 techniques
Initial Access
The updated build, now called Reaper, spreads through fake websites that impersonate popular software... It uses a fake webpage to silently open your Mac’s Script Editor, pre-loaded with malicious code, and all a user has to do is click one button to unknowingly launch the infection.
Known as “IoT Troop” or “Reaper”, this threat targets IoT devices by exploiting vulnerabilities on internet-connected devices such as IP cameras and consumer grade routers.
Reaper uses fake WeChat and Miro installers as lures... Instead of forcing text interaction, the infection vector wraps its payload inside a seemingly normal, signed application installer disguised as standard collaboration tools like Miro or WeChat.
Attackers spoof well-known brands and host malware payloads on domains that look nearly identical to legitimate ones. They pass off malware downloads as Apple security updates...
Execution
8 techniques
Execution
Every 60 seconds, this hidden file communicates to the hackers’ server endpoint, and if the server sends back a code, the script runs it with the user’s high privileges.
Before finishing its initial run, Reaper establishes persistence using a directory structure built to mimic Google’s legitimate Keystone update service. It places a base64-decoded bash script named GoogleUpdate... then registers a LaunchAgent using a property list named com.google.keystone.agent.plist . This causes the script to execute silently every 60 seconds in the background.
Reaper drops a highly persistent User LaunchAgent script onto the host... The native LaunchAgent configuration is designed to trigger this GoogleUpdate beacon script automatically every 60 seconds, logging system details and checking in with the C2 server’s /api/bot/heartbeat endpoint.
the fake websites use a specific internet link format ( applescript:// ) to automatically open the built-in macOS Script Editor app. The hackers hide the malicious code inside the app by using extensive ASCII art and arbitrary whitespace injection to obfuscate the functional script sequences below the visible scroll boundary
File Name GoogleUpdate Encoded Base64 bash script planted as part of the persistence backdoor
the fake websites use a specific internet link format ( applescript:// ) to automatically open the built-in macOS Script Editor app... When a user clicks the play button, thinking they are running a normal system update, the script executes.
When wallet applications are present, hijacks them by terminating their processes and replacing the legitimate core application file with a malicious one called app.asar downloaded from the command-and-control (C2) server.
It even replaces real cryptocurrency wallet applications with fake versions to monitor future activity.
Persistence
5 techniques
Persistence
Every 60 seconds, this hidden file communicates to the hackers’ server endpoint, and if the server sends back a code, the script runs it with the user’s high privileges.
Before finishing its initial run, Reaper establishes persistence using a directory structure built to mimic Google’s legitimate Keystone update service. It places a base64-decoded bash script named GoogleUpdate... then registers a LaunchAgent using a property list named com.google.keystone.agent.plist . This causes the script to execute silently every 60 seconds in the background.
LaunchAgent com.google.keystone.agent.plist LaunchAgent property list used to register and persist the backdoor
Finally, it sets up a permanent backdoor inside a fake Google Software Update directory to maintain remote access to the computer.
If it finds any, it injects the wallet with malware to ensure continued funds theft.
Privilege Escalation
4 techniques
Privilege Escalation
Every 60 seconds, this hidden file communicates to the hackers’ server endpoint, and if the server sends back a code, the script runs it with the user’s high privileges.
Before finishing its initial run, Reaper establishes persistence using a directory structure built to mimic Google’s legitimate Keystone update service. It places a base64-decoded bash script named GoogleUpdate... then registers a LaunchAgent using a property list named com.google.keystone.agent.plist . This causes the script to execute silently every 60 seconds in the background.
LaunchAgent com.google.keystone.agent.plist LaunchAgent property list used to register and persist the backdoor
Finally, it sets up a permanent backdoor inside a fake Google Software Update directory to maintain remote access to the computer.
Stealth
8 techniques
Stealth
The hackers hide the malicious code inside the app by using extensive ASCII art and arbitrary whitespace injection to obfuscate the functional script sequences below the visible scroll boundary of the graphical user interface.
the campaign distributing an updated version of SHub Stealer under the build tag Reaper... attackers used fake download pages for popular apps such as WeChat and Miro to target victims.
If the server returns a “code” payload, the script decodes it, writes it to /tmp/.c.sh , runs it with the current user’s privileges, and then deletes it.
Reaper then checks the computer’s keyboard configuration. If the keyboard is set to the Russian language, the program completely shuts down.
When wallet applications are present, hijacks them by terminating their processes and replacing the legitimate core application file with a malicious one called app.asar downloaded from the command-and-control (C2) server.
It even replaces real cryptocurrency wallet applications with fake versions to monitor future activity.
Otherwise, it retrieves a second AppleScript containing the core extraction logic and runs it in memory via osascript, never directly touching the local disk.
It overrides console functions and runs a continuous debugger loop to obstruct security analysis. If a researcher opens DevTools, the page replaces its content with a Russian-language access denied message.
Defense Impairment
2 techniques
Defense Impairment
To avoid any Gatekeeper alerts, the SHub Reaper malware "clears the quarantine attributes with xattr -cr and uses ad hoc code signing on the modified application bundle"
If it finds any, it injects the wallet with malware to ensure continued funds theft.
Credential Access
5 techniques
Credential Access
Once the script runs, it displays a fake Apple security update message to trick the user into typing in their system password.
Earlier builds could already steal browser data, macOS Keychains, iCloud account data, and Telegram session information. The new version goes much further, now targeting Chrome, Firefox, Brave, Edge, Opera, Vivaldi, Arc, and Orion browsers, along with their extensions.
Earlier builds could already steal browser data, macOS Keychains, iCloud account data, and Telegram session information.
If it finds any, it injects the wallet with malware to ensure continued funds theft.
Earlier SHub versions harvested users’ browser data, cryptocurrency wallets, developer-related configuration files, macOS Keychain and iCloud account data, and Telegram session data. Reaper does all of this and more.
Discovery
6 techniques
Discovery
IoT malware spreads by scanning the Internet for other vulnerable devices... according to research released Oct. 20 by Chinese security firm Netlab 360, the scanning performed by the new IoT malware strain ... is not very aggressive, and is intended to spread much more deliberately than Mirai.
the malicious websites fingerprint the visitor's device... and enumerate installed browser extensions for password managers and cryptocurrency wallets
Reaper includes a FileGrabber routine that scans the Desktop and Documents folders for files likely to hold business or financial value.
Reaper then checks the computer’s keyboard configuration. If the keyboard is set to the Russian language, the program completely shuts down.
the malware performs a system check to determine if the victim uses a Russian keyboard/input, and if there’s a match, it reports a ‘cis_blocked’ event to the command-and-control (C2) server and exits without infecting the system
It overrides console functions and runs a continuous debugger loop to obstruct security analysis. If a researcher opens DevTools, the page replaces its content with a Russian-language access denied message.
Collection
6 techniques
Collection
The malware also carries an AMOS-style Filegrabber that hunts through Desktop and Documents folders for valuable files, including .docx, .wallet, .key, .csv, .xls, and .json formats.
Once the script runs, it displays a fake Apple security update message to trick the user into typing in their system password.
Files are staged in /tmp/shub_random/ before being split into 10MB chunks and uploaded to the attacker’s server via curl.
The malware also targets internet browsers like Chrome, Firefox, and Edge to steal saved passwords, along with browser extensions like 1Password and MetaMask.
Earlier SHub versions harvested users’ browser data, cryptocurrency wallets, developer-related configuration files, macOS Keychain and iCloud account data, and Telegram session data. Reaper does all of this and more.
specifically storing .docx, .pdf, .xlsx, .wallet , and .keys files into compressed 70MB chunked ZIP archives.
Command and Control
4 techniques
Command and Control
These archives are transmitted via standard curl commands to an external command-and-control server at hebsbsbzjsjshduxbs.xyz/gate/chunk.
Every time the LaunchAgent fires, the script sends system details to the attacker’s /api/bot/heartbeat endpoint. If the server returns a “code” payload, the script decodes it... Reaper includes a FileGrabber routine... uploaded to the attacker’s server via curl.
A global network of millions of hacked IoT devices can be used for a variety of purposes — such as serving as a sort of distributed proxy or anonymity network...
Otherwise, it retrieves a second AppleScript containing the core extraction logic and runs it in memory via osascript, never directly touching the local disk. If the server returns a “code” payload, the script decodes it, writes it to /tmp/.c.sh , runs it with the current user’s privileges, and then deletes it.
Exfiltration
2 techniques
Exfiltration
These archives are transmitted via standard curl commands to an external command-and-control server at hebsbsbzjsjshduxbs.xyz/gate/chunk .
The collected information is sent to the operators through a hardcoded Telegram bot before the next stage begins.
Impact
1 technique
Impact
Compromised devices could be used to support Distributed Denial of Service attacks (DDoS) against targets worldwide.
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.