vendor binary

The MiMi Chat App Supply Chain Attack

Updated 5 Oct 2026 · Incident date 26 May 2022

Trojanized MiMi chat builds installed backdoors on Windows and macOS, with macOS builds 2.3.0 and later modified from 26 May 2022.

Trend Micro and Sekoia link the activity to Iron Tiger, also called LuckyMouse. The victims they found were in Taiwan and the Philippines.

What happened

Attackers changed the MiMi installers on the developer's download servers so that they carried backdoor code.

  • They added a block of packed JavaScript to electron-main.js. Sekoia gives the path mimi.app/Contents/Resources/app/electron-main.js.
  • On macOS, the script downloads a backdoor named rshell.
  • On Windows, it downloads an executable, a DLL and a binary file. The DLL side-loads into a signed program and runs the HyperBro backdoor.
  • Trend Micro reports that the attackers modified one macOS release within 1.5 hours of its release.
  • Both the clean and the bad installers were unsigned, so the macOS developer warning gave no signal.

Trend Micro downloaded a malicious macOS installer from the legitimate servers in June 2022. It found ten targets in Taiwan and two in the Philippines.

Affected versions

  • macOS: 2.3.0 to 2.3.2 (Trend Micro) or 2.3.0 to 2.3.3 (Sekoia). First change on 26 May 2022.
  • Windows: 2.2.0 and 2.2.1. Trend Micro dates the compromised build to 23 November 2021.
  • Clean: Trend Micro lists 2.2.10 (6 May 2022) as clean.
  • The Android and iOS apps are not affected.
  • Sekoia SHA-256 for 2.3.0: f6e0e5c9b9d43e008805644d937770b399f859cbba475ad837805d9adec13a2c
  • 2.3.1: 4742c1987fdd968d7f094dc5a3ea3e9b5340b47e5a61846ac6ac7ae03fc7288f
  • 2.3.2: 64e771c894616100202e83f3574f8accc8453138af6709367c99157e33bb613a
  • 2.3.3: 466981b6aa38ae35a2c0e21a2066b4e803cc0bf76409eeb605892604c20ccf3a

Indicators of compromise

  • Download server for rshell: 139.180.216.65.
  • rshell command servers: 103.79.76.88 and 103.79.77.178 (Sekoia), and center.veryssl.org (Trend Micro).
  • Linux rshell server: 45.142.214.193.
  • Earlier HyperBro server: 138.124.180.108.
  • Domain seen in victim requests: trust.veryssl.org.
  • rshell SHA-256: 8c3be245cbbe9206a5d146017c14b8f965ab7045268033d70811d5bcc4b796ec and 3a9e72b3810b320fa6826a1273732fee7a8e2b2e5c0fd95b8c36bbab970e830a.
  • Windows DLL: dlpprem32.dll, signed with a revoked Cheetah Mobile Inc. certificate.
  • Guid file written by rshell: /tmp/guid.
  • Keepalive packets every 40 seconds over unencrypted TCP. Sekoia publishes a Suricata rule for the 25-byte beacon.

How to check

Check for the guid file and hash the installer you used.

ls -l /tmp/guid; shasum -a 256 ~/Downloads/*.dmg | grep -iE 'f6e0e5c9|4742c198|64e771c8|46698132'

Check the app for the packer string. A match means the file holds packed code.

grep -l 'eval(function(p,a,c,k,e,d)' /Applications/mimi.app/Contents/Resources/app/electron-main.js

What to do now

  1. Remove MiMi from every machine that ran an affected build.
  2. Block 139.180.216.65, 103.79.76.88, 103.79.77.178 and veryssl.org at the firewall.
  3. Treat the host as compromised. rshell gives the attacker a shell and file access. Rotate credentials that the machine held.
  4. Reinstall from a build that you checked against a known-good copy.

Frequently asked questions

What did the MiMi backdoor do?

On macOS it downloaded rshell, a backdoor that runs shell commands and handles files. On Windows it ran the HyperBro backdoor.

Does rshell stay after a restart?

Sekoia saw no persistence in rshell. A restart can remove the process but does not remove the exposure.

Sources

  1. sekoia.com/blog/luckymouse-uses-a-backdoored-electron-app-to-target-macos
  2. trendmicro.com/en_us/research/22/h/irontiger-compromises-chat-app-Mimi-targets-windows-mac-linux-users.html
  3. securityweek.com/chinese-cyberspies-use-supply-chain-attack-deliver-windows-macos-malware/

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 172 attacks in the library · What is a supply chain attack? · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start the free 14-day trialBrowse the attack library