Crisis, also known as Morcut and identified as Hacking Team’s Remote Control System (RCS) / DaVinci on macOS, is a commercial spyware/implant family associated with Hacking Team. Publicly discussed samples were found for Windows, OS X, iOS, and Android, with a newer platform version referred to as Galileo. On macOS, Crisis consists of a dropper, main backdoor, spy modules, an injected bundle/XPC component, encrypted configuration, and optional 32-bit and 64-bit kernel extensions used as a rootkit.
Documented capabilities include microphone and webcam capture, screenshots, keylogging, mouse tracking, browser spying, interception/recording of Skype or Microsoft Messenger activity, arbitrary bundle injection into GUI applications, and encrypted HTTP-based command-and-control. The malware used AES-128-CBC for logs and configuration and negotiated a session key with the server during its initial authentication exchange. The first C2 communication was an HTTP POST to / over port 80; one analyzed sample communicated with 176.58.100.37. Additional infrastructure referenced in the content includes ar-24.com, 176.58.121.242, and 176.79.146.167.
On macOS, the dropper was described as a 32-bit x86 Mach-O binary that manually resolved APIs via dyld/libSystem, determined OS version from SystemVersion.plist, unpacked embedded payloads into $HOME/Library/Preferences/jlc3V7we.app/, then forked and executed the main backdoor module IZsROY7X.-MP. Persistence was established via a LaunchAgent named com.apple.mdworker in ~/Library/LaunchAgents. The backdoor suppressed Apple System Log messages by overriding asl_send(), used sysctl-based anti-debugging checks, created shared memory segments, installed an Input Manager at ~/Library/ScriptingAdditions/appleHID, and injected its bundle into running applications using AppleScript events.
The rootkit component communicated with userland through /dev/pfCPU and supported hiding files, processes, and its own kernel extension. Analyses cited separate 32-bit and 64-bit variants, file hiding by name rather than full path, and ioctl-based control without authentication or cryptography. Hidden names included com.apple.mdworker.plist, jlc3V7we.app, pfCPU, and appleHID. The rootkit was described as small and capable of hiding files and processes, but also as poorly designed and detectable in some scenarios.
Observed infection vectors in the content include exploits such as Flash or Word and social engineering. Antivirus labels across analyzed samples consistently referenced Crisis/Morcut, including ClamAV WIN.Trojan.Crisis, McAfee Morcut.a, Trend Micro JAVA_MORCUT.A, PCTools Malware.OSX-Crisis, Avast Win32:Crisis, and Sophos W32/Crisis-A. Sample hashes explicitly mentioned in the content include SHA256 10fa7fa952dfc933b96d92ccd254a7655840250a787a1b4d9889bf2f70153791 for a macOS dropper, SHA256 53cd1d6a1cc64d4e8275a22216492b76db186cfb38cec6e7b3cfb7a87ccb3524 for a JAR sample, and SHA256 c93074c0e60d0f9d33056fd6439205610857aa3cf54c1c20a48333b4367268ca for a Win32 executable.
The content also notes that Danabot operators were observed delivering Crisis as ransomware to already compromised systems, but that does not change the primary characterization in the supplied material of Crisis as a Hacking Team spyware/implant family.
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.
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
HackingTeam’s Remote Control System. Officially sold as DaVinci. Known as Crisis or Morcut. Samples found for Windows, OS X, iOS, Android. New version called Galileo.
49 distinct techniques documented for this family, organized by ATT&CK tactic.
Danabot operators upload other malware to their infrastructure for further spreading.
The Crisis ransomware family, also known as Dharma, was first observed in 2016, distributed mainly by spam emails but also via manually hacked RDP access.
The page, found at http://freeme.eu5.org/scandale%20(2).doc prompted the user for the installation of malicious java, file, 'adobe.jar'. This file then facilitated the installation of a multi-platform (OSX and Windows) backdoor.
The Crisis ransomware family, also known as Dharma, was first observed in 2016, distributed mainly by spam emails but also via manually hacked RDP access.
This email... urges the recipient to read a 'very important message' and it contained the following attachment: ... veryimportant.doc. The attachment is malicious.
Mamfakinch.com received a message via their website directing recipients to a remote webpage... The page... prompted the user for the installation of malicious java, file, 'adobe.jar'.
We just need to write a small webserver or CGI or something else, that extracts the necessary data from the request and sends a valid response to uninstall Crisis .
• lionSendEventToPid does two things: – Forces AppleScript to load in the target. – Injects the bundle using AppleScript events.
After unpacking all the code and data, it will fork and execute the main backdoor module, IZsROY7X.-MP .
System calls are executed via the classic interrupt 80 call. | The next step is to find dyld address in process memory. This will be used to manually solve symbols using a simple hashing algorithm.
• A bundle is injected into targets. • To hook interesting functions. • Send data to the main backdoor module.
• Delivered via exploits: Flash, Word, etc(?).
The last interesting bit is the method name called _communicateWithAgents . It’s big and still not reversed but it seems to involve shared memory... agents are the infected applications with the spying module, which dump information to the main backdoor module.
Execution will continue with a method called _resizeSharedMemoryWindow . Here some kernel shared memory settings will be changed. They are kern.sysv.shmmax , kern.sysv.shmall . Since this requires root privileges, it will only work if the backdoor module was installed as root.
The Crisis ransomware family, also known as Dharma, was first observed in 2016, distributed mainly by spam emails but also via manually hacked RDP access.
If mdworker.flg is found then the method _createInternalFilesAndFolders will be called... It will create the rootkit bundle... WeP1xpBU.wA-.kext , fix the permissions to root:wheel... If the backdoor is running as root, it will try to connect to the rootkit or load it if connection failed.
the following registry entry created to ensure persistence: ... software\microsoft\windows\currentversion\run... A registry key is added which ensures the persistence of the backdoor after reboot
Call method makeBackdoorResident , which will create the Launch Agent com.apple.mdworker.plist at ~/Library/LaunchAgents . This will be responsible for starting the backdoor module.
If mode is Ah57K and target is Lion, the /etc/authorization file will be modified by the method enableSetugidAuth . It modifies the privilege system.privilege.setugid_appkit , which will allow AppKit apps to run setuid/setgid.
• Injection into target applications. • How is the bundle injected into targets?
If mdworker.flg is found then the method _createInternalFilesAndFolders will be called... It will create the rootkit bundle... WeP1xpBU.wA-.kext , fix the permissions to root:wheel... If the backdoor is running as root, it will try to connect to the rootkit or load it if connection failed.
the following registry entry created to ensure persistence: ... software\microsoft\windows\currentversion\run... A registry key is added which ensures the persistence of the backdoor after reboot
Call method makeBackdoorResident , which will create the Launch Agent com.apple.mdworker.plist at ~/Library/LaunchAgents . This will be responsible for starting the backdoor module.
The difference between the two modes is that the Ah56K mode does not try to escalate privileges, while the other one tries it using a spoofed authentication dialog with System Preferences icon... the backdoor executable creates a copy of itself named System Preferences and launches it.
Here the System Preferences backdoor copy will be made and launched, the mdworker.flg will be set, and also make the backdoor module SUID root... the backdoor module will be set SUID root if higher privileges are obtained.
What this util does is to read the kernel extensions information via the /dev/kmem device
• Kernel rootkit. • 32 bits kernel extension: Lft2iRjk.7qa. • 64 bits kernel extension: 3ZPYmgGV.TOA.
• Sdbm hash used to “obfuscate” the symbols names. • Packed with MPRESS in two samples.
• Dynamically resolves all other required symbols. • Search for the dyld symbols that allow to retrieve loaded images.
The contents are encrypted and their size should be always 104 bytes for this request... The first 32 bytes of the response are decrypted... The last 32 bytes of the server response are then decrypted with this session key and processed.
• Written to ~/Library/Preferences/xxxxxx.app/. • Random app name.
• Injection into target applications. • How is the bundle injected into targets?
The next step is to verify is a file called off.flg exists at the backdoor executable location... If it does exist, then the following will happen: Remove off.flg file.
It opens and mmaps /mach_kernel , verifies if connection to rootkit is available via the file descriptor to /dev/pfCPU , starts solving symbols and sends them to the rootkit via ioctl calls.
It is executed via rundll32... C:WINDOWSsystem32rundll32.exe "C:DOCUME~1ADMINI~1LOCALS~1jlc3V7weIZsROY7X.-MP",F1dd208 ... The following command is run, executing the file: "V46lMhsH.shv" C:WINDOWSSystem32rundll32.exe "C:DOCUME~1ADMINI~1LOCALS~1UbY5xEcDV46lMhsH.shv",F7ed728
[Inf. Module]: Spread to VMWare %S – VMWare Installation...OK ... The strings describing the Virtual Machine infection are the same as those described in the Symantec report on the Moroccan malware.
The first important operation that is executed is to verify if the current OS is supported, using getSystemVersionMajor:minor:bugFix: method. Lion and Snow Leopard are valid targets, but also Leopard.
• Hide files and processes.
• Hide files and processes.
The code to hide files and folders is pretty standard – hook getdirentries* stuff and hide whatever you want, and the same for process hiding – play with allproc LIST and remove whatever you need to.
Execution will continue with a method called _resizeSharedMemoryWindow . Here some kernel shared memory settings will be changed. They are kern.sysv.shmmax , kern.sysv.shmall . Since this requires root privileges, it will only work if the backdoor module was installed as root.
• Anti-debug measure #1. • A dormant thread that checks for debugger presence and exits if present. • Sysctl anti-debugging (Technote QA1361).
If mode is Ah57K and target is Lion, the /etc/authorization file will be modified by the method enableSetugidAuth . It modifies the privilege system.privilege.setugid_appkit , which will allow AppKit apps to run setuid/setgid.
The main() starts at 0x3B5C and the start of hostilities is with overriding asl_send()... The objective is to avoid error & warning messages to be written to the log files.
• Keylogger/mouse tracker.
The leaked tools included ... sophisticated platforms capable of providing remote access, keylogging, general information recording and exfiltration.
If mode is Ah57K and target is Lion, the /etc/authorization file will be modified by the method enableSetugidAuth . It modifies the privilege system.privilege.setugid_appkit , which will allow AppKit apps to run setuid/setgid.
SHA1(MachineSerialNumber+Logged on username)
SHA1(MachineSerialNumber+Logged on username)
[Inf. Module]: Spread to VMWare %S – VMWare Installation...OK ... The strings describing the Virtual Machine infection are the same as those described in the Symantec report on the Moroccan malware.
The first important operation that is executed is to verify if the current OS is supported, using getSystemVersionMajor:minor:bugFix: method. Lion and Snow Leopard are valid targets, but also Leopard.
• Anti-debug measure #1. • A dormant thread that checks for debugger presence and exits if present. • Sysctl anti-debugging (Technote QA1361).
• Keylogger/mouse tracker.
The leaked tools included ... sophisticated platforms capable of providing remote access, keylogging, general information recording and exfiltration.
• Screenshots.
the ability to retrieve Skype audio and video frames directly from memory, bypassing stream encryption.
the ability to retrieve Skype audio and video frames directly from memory, bypassing stream encryption.
• C&C traffic over HTTP. • Encrypted data over HTTP. • REST Protocol.
The startup function is called mchook_start and does nothing besides creating a character device called /dev/pfCPU . This is the communication channel with the rootkit and contains commands to hide files, transfer solved symbols, stop rootkit activities, etc.
The file 'veryimportant.doc' is a downloader that downloads the second stage of the malware via HTTP... This is also a downloader that downloads the 3rd stage which appears to be the actual backdoor.
• There are at least three encryption keys. • The session key dynamically negotiated with the server. • Encrypted data over HTTP.
The Crisis ransomware family, also known as Dharma, was first observed in 2016, distributed mainly by spam emails but also via manually hacked RDP access. Upon launch, the malware sets up persistence on a victim’s operating system and starts encrypting files...
20 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.