Hermit
- Type
- Spyware
- Capabilities
- ExfiltrationPrivilege escalationDefense evasionSpoofing
- Delivery
- SmishingLanding pageLure
- Platforms
- AndroidiOS
Hermit is a commercial mobile spyware platform attributed to the Italian surveillance vendor RCS Lab, associated with its subsidiary Tykelab, and used in government surveillance operations. It targets Android and iOS devices. Documented deployments include operations in Italy and Kazakhstan, with the latter identified in April 2022 following nationwide protests. Its targeting encompasses high-profile individuals such as business executives, journalists, human rights activists, academics, and government officials.
Hermit uses a modular architecture that downloads surveillance components after installation, concealing much of its functionality from the initial application. Its capabilities include remotely activating the microphone, recording audio and calls, making or redirecting calls, capturing screenshots, and collecting messages, call logs, contacts, photographs, location information, and other sensitive data for transmission to operator-controlled infrastructure. Android implementations dynamically load modules, perform emulator and application-integrity checks, and support obtaining or using root privileges. The iOS implementation has incorporated privilege-escalation exploits.
Distribution uses targeted SMS links and deceptive download pages impersonating telecommunications providers, smartphone manufacturers, or messaging services. In some campaigns, operators worked with victims’ internet service providers to disable mobile data connectivity, then sent messages promoting a fake carrier application as necessary to restore service. Android samples can display legitimate brand webpages while surveillance continues in the background. iOS delivery has abused Apple’s Developer Enterprise Program to distribute signed 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
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.