Hermit
- Type
- Spyware
- Capabilities
- ExfiltrationPrivilege escalationDefense evasionSpoofing
- Delivery
- SmishingLanding pageLure
- Platforms
- AndroidiOS
Hermit is a commercial mobile spyware platform attributed to Italian surveillance vendor RCS Lab and associated with its subsidiary Tykelab. It targets Android and iOS devices and is marketed for lawful interception. Documented deployments include Italy and Kazakhstan, with Android activity identified in Kazakhstan in April 2022. Its surveillance targets have included journalists, human rights activists, business executives, academics, and government officials.
Hermit uses a modular architecture that downloads additional surveillance components after installation. Its capabilities include remotely activating the microphone, recording audio and calls, making and redirecting calls, capturing screenshots, and collecting messages, call logs, contacts, photos, device location, and other sensitive information. Android variants perform emulator and application-integrity checks before communicating with command-and-control infrastructure and dynamically load downloaded modules. The platform includes functionality for obtaining and using elevated privileges; an analyzed iOS application incorporated multiple privilege-escalation exploits, including one targeting CVE-2021-30983.
Distribution uses targeted SMS links and deceptive websites, with applications impersonating mobile carriers, smartphone manufacturers, or messaging services. In some campaigns, attackers coordinated with a target’s internet service provider to disable mobile data, then instructed the target to install a purported carrier application to restore connectivity. Android samples displayed legitimate support webpages while conducting surveillance in the background. Operators also abused Apple’s Developer Enterprise Program to distribute iOS applications outside normal App Store review.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
At the same time, Tykelab’s parent company, RCS Lab, has developed a powerful phone hacking tool, Hermit, which once installed on a victim’s device can be used to remotely activate the phone’s microphone, as well as record calls, access messages, call logs, contacts, photos and other sensitive data.
Its surveillance products include Hermit, a phone-hacking tool that once installed on a device can be used to record calls and remotely access messages, call logs, contacts, photos, and other sensitive data.
Techniques & procedures
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
In some cases, we believe the actors worked with the target’s ISP to disable the target’s mobile data connectivity.
there had been an attempt to infect his phone with Predator, a piece of surveillance software developed by Cytrox, now part of Greek company Intellexa.
Initial Access
3 techniques
Initial Access
These products, often referred to as spyware, range from software and tools that enable remote access to a computer system without the consent of the user, administrator, or owner of the computer system.
Google published details of a previously unknown but sophisticated hacking package called Hermit... and provided lists of fake internet domains which the company had set up to lure targets to download the software. They included domains masquerading as Apple and Facebook, as well various telecom providers.
All campaigns TAG observed originated with a unique link sent to the target. Once clicked, the page attempted to get the user to download and install a malicious application on either Android or iOS.
Execution
3 techniques
Execution
With system access, intermediaries are able to collect, exploit, extract, intercept, retrieve, alter, delete, or transmit content.
Intermediaries are fundamentally different than other entities that operate within the marketplace for OCC. Intermediaries are largely found as partners within the OCC supply chain, complimenting product development through vulnerability research to complete exploit chains or as auxiliary support during technology deployment.
Once clicked, the page attempted to get the user to download and install a malicious application on either Android or iOS.
Privilege Escalation
2 techniques
Privilege Escalation
The code contained references to exploit usage... If the device is confirmed to be exploitable then it will communicate with the C2 to acquire the files necessary to exploit the device and start its root service.
These modules will attempt to modify the shared preferences of the SuperSU app in order to enable the execution of root commands without user interaction.
Stealth
4 techniques
Stealth
They included domains masquerading as Apple and Facebook, as well various telecom providers.
deleteApk Boolean indicating whether APK files should be deleted if anti-emulation checks fail.
Before communication happens, Hermit performs a series of checks to ensure that it isn’t being analyzed. This includes looking for the presence of an emulator and signs that the app itself has been modified to make analysis easier.
Hermit can be asked by the C2 to download modules from any URL and then load them dynamically.
Defense Impairment
1 technique
Defense Impairment
Attackers were able to distribute infected apps on iOS by enrolling in Apple’s Developer Enterprise Program. This allowed bad actors to bypass the App Store’s standard vetting process and obtain a certificate that 'satisfies all of the iOS code signing requirements on any iOS devices.'
Credential Access
2 techniques
Credential Access
Its surveillance products include Hermit, a phone-hacking tool that once installed on a device can be used to record calls and remotely access messages, call logs, contacts, photos, and other sensitive data.
Account Steal stored account emails.
Discovery
1 technique
Discovery
Before communication happens, Hermit performs a series of checks to ensure that it isn’t being analyzed. This includes looking for the presence of an emulator and signs that the app itself has been modified to make analysis easier.
Collection
6 techniques
Collection
collect data such as call logs, contacts, photos, device location and SMS messages.
Its surveillance products include Hermit, a phone-hacking tool that once installed on a device can be used to record calls and remotely access messages, call logs, contacts, photos, and other sensitive data.
Screen Capture Take pictures of the screen. Use root to run ‘screencap’.
Clipboard Steal current and future clipboard content.
Hermit, which once installed on a victim’s device can be used to remotely activate the phone’s microphone
With system access, intermediaries are able to collect, exploit, extract, intercept, retrieve, alter, delete, or transmit content.
Command and Control
3 techniques
Command and Control
The first malicious step is to decrypt an embedded configuration file with properties that are used to communicate with the C2 server.
Hermit can be asked by the C2 to download modules from any URL and then load them dynamically.
Les analyses de l’ANSSI ont démontré qu’un attaquant avait compromis ces équipements et y avait installé des outils d’administration à distance (Remote Administration Tool – RAT).
Exfiltration
1 technique
Exfiltration
Hermit is a highly configurable surveillanceware with enterprise-grade capabilities to collect and transmit data.
Observables
32 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.