FinFisher
- Type
- Spyware
- Capabilities
- ExfiltrationPersistenceDefense evasionProcess injection
- Delivery
- PhishingLure
- Platforms
- WindowsmacOSLinuxAndroid
FinFisher, also known as FinSpy, is a commercial spyware suite associated with Gamma Group and Munich-based FinFisher GmbH. Marketed exclusively to government intelligence and law-enforcement customers, it provides covert remote access, device surveillance, and data exfiltration through desktop and mobile surveillance agents. Variants support Windows, macOS, Linux, and Android.
FinSpy enables operators to access communications, files, and internet activity and activate device microphones and cameras. Its command-and-control architecture uses customer-hosted FinSpy Master servers and externally hosted FinSpy Relays that obscure the location of the controlling infrastructure. Windows agents have used process injection, including process hollowing, and bootkit-based persistence. Anti-analysis measures include environment and debugger checks, instruction obfuscation, control-flow flattening, and mixed Boolean-arithmetic expressions.
Documented delivery methods include deceptive executable attachments, weaponized Microsoft Office documents, and trojanized software installers. Campaigns have redirected legitimate software-download requests to malicious installers through HTTP redirects. Analyzed mobile samples have also relied on user-installed application packages; these cases do not establish zero-click mobile infection.
FinFisher has been used against journalists, activists, opposition figures, law firms, and dissidents, including targets outside the operating government's territory. Documented cases include surveillance in Bahrain and infections of Ethiopian dissidents in the United Kingdom and United States. Its government customers and surveillance deployments span multiple countries.
Associated vulnerabilities
8 CVEs 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
18 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
FinFisher is a sophisticated computer spyware suite, written by Munich-based FinFisher GmbH, and sold exclusively to governments for intelligence and law enforcement purposes.
FinFisher is a sophisticated computer spyware suite, written by Munich-based FinFisher GmbH, and sold exclusively to governments for intelligence and law enforcement purposes.
FinFisher is a sophisticated computer spyware suite, written by Munich-based FinFisher GmbH, and sold exclusively to governments for intelligence and law enforcement purposes.
FinFisher is a sophisticated computer spyware suite, written by Munich-based FinFisher GmbH, and sold exclusively to governments for intelligence and law enforcement purposes.
FinFisher is a sophisticated computer spyware suite, written by Munich-based FinFisher GmbH, and sold exclusively to governments for intelligence and law enforcement purposes.
+12 more in the app. View in Mallory
Techniques & procedures
85 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The October 2024 European Commission guidelines define listed export controls for six types of surveillance technology, including intrusion software: “software that allows operators to covertly and remotely access electronic devices, in order to obtain data, track users or eavesdrop using a device's built-in microphone or cameras.”
Initial Access
7 techniques
Initial Access
Bootable USB Key Failure FinSpy Version 3.0. When building an infection and requesting creation of a bootable usb key... | Unable to create bootable iso image and bootable infection dongle ... tried both bootable iso image and bootable infection dongle
ClamAV blocked Webinfection ... silently were blocking our injected Javascript Code. as soon as the AV was disabled, the injected code was executed. | FinFly Web ... I tried updating it online but I get a /.../bin/update not accessible message.
The Phineas Fisher leaks unveiled what many suspected about these commercial spyware developers: they were knowingly selling surveillance tools to authoritarian regimes who used them to spy on civilians.
At the time, members of the advocacy group Bahrain Watch in Washington, D.C., and London had been targeted via email by what appeared to be malware.
According to U.S. Government technical analysis, malicious cyber actors most often exploited vulnerabilities in Microsoft’s Object Linking and Embedding (OLE) technology. OLE allows documents to contain embedded content from other applications such as spreadsheets.
It is more likely to be installed by sending a deceptive link to the target. | And make sure your employees are all freshly trained on the do's and don'ts of malware infection paths and protection strategies, like clicking on links in email (that's a don't)
ESET... reported that FinFisher spyware was being delivered using network injection attacks in two (unnamed) countries... We cannot exclude that targets of this campaign were redirected to the browserupdate[.]download page through network injection.
Execution
11 techniques
Execution
If the configuration contains a “removal date,” then automatic removal is scheduled for this time.
upload an executable to the target computer and then execute it
The other .rar files contained a Word document with an embedded ASCII-encoded PE file containing a custom macro set to automatically run upon document startup.
U.S. Government reporting has identified the top 10 most exploited vulnerabilities by state, nonstate, and unattributed cyber actors from 2016 to 2019 as follows: CVE-2017-11882, CVE-2017-0199, CVE-2017-5638, CVE-2012-0158, CVE-2019-0604, CVE-2017-0143, CVE-2018-4878, CVE-2017-8759, CVE-2015-1641, and CVE-2018-7600.
Just like Bahraini samples, the malware relocates itself and drops a JPG image with the same filename as the sample when executed by an unsuspecting user. This appears to be an attempt to trick the victim into believing the opened file is not malicious.
the ability to trick smart phone users into installing spyware from websites.
After the attachment was opened, FinSpy was surreptitiously downloaded onto his computer from a server located at an Ethiopian IP address.
MoonBounce ... перехватывает несколько функций Boot-сервисов. Первая функция размещает в памяти шеллкод уровня Ring 0, другая — перехватывает функцию, которая передает управление ядру ОС, а затем перехватывает функцию выделения памяти внутри ядра ExAllocatePool.
[FinFisher](https://attack.mitre.org/software/S0182) uses DLL side-loading to load malicious programs.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018) A [FinFisher](https://attack.mitre.org/software/S0182) variant also uses DLL search order hijacking.(Citation: FinFisher Citation)(Citation: Securelist BlackOasis Oct 2017)
Today, we move into a stealthier realm: Dylib Hijacking. The concept is classic: instead of creating a new service that triggers security alerts, we subvert an existing, legitimate application by hijacking its dynamic library dependencies.
[FinFisher](https://attack.mitre.org/software/S0182) has used the <code>KernelCallbackTable</code> to hijack the execution flow of a process by replacing the <code>__fnDWORD</code> function with the address of a created [Asynchronous Procedure Call](https://attack.mitre.org/techniques/T1055/004) stub routine.(Citation: FinFisher exposed )
Persistence
10 techniques
Persistence
In order to maintain persistence, an obfuscated script is added to the following files: ~/.profile ~/.profile1 ~/.bash_profile ~/.bash_profile1 ~/.kde/Autostart/udev2.sh ~/.kde4/Autostart/udev2.sh
If the configuration contains a “removal date,” then automatic removal is scheduled for this time.
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
Bootkits are a type of malware that infects the boot process of a computer, allowing attackers to gain persistent access and control over the system.
Secure Boot is designed to thwart UEFI bootkits, a form of malware that alters the Unified Extensible Firmware Interface, the successor to the BIOS, both of which begin the initial boot sequence. Because these bootkits load before the OS and most other code, they can be difficult to detect.
Some [FinFisher](https://attack.mitre.org/software/S0182) variants incorporate an MBR rootkit.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Installing persistence by creating a logind.pslist file in /System/Library/LaunchAgents/ (T1543.001).
[FinFisher](https://attack.mitre.org/software/S0182) creates a new Windows service with the malicious executable for persistence.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
It then installs: /System/Library/LaunchDaemons/com.apple.logind.plist This creates persistence on reboot... android.permission.RECEIVE_BOOT_COMPLETED
[FinFisher](https://attack.mitre.org/software/S0182) establishes persistence by creating the Registry key <code>HKCU\Software\Microsoft\Windows\Run</code>.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Privilege Escalation
11 techniques
Privilege Escalation
In order to maintain persistence, an obfuscated script is added to the following files: ~/.profile ~/.profile1 ~/.bash_profile ~/.bash_profile1 ~/.kde/Autostart/udev2.sh ~/.kde4/Autostart/udev2.sh
If the configuration contains a “removal date,” then automatic removal is scheduled for this time.
Process injection is a widespread defense evasion technique employed often within malware and fileless adversary tradecraft, and entails running custom code within the address space of another process. | IAT HOOKING AND INLINE HOOKING (A.K.A USERLAND ROOTKITS) IAT hooking is a technique that malware uses to change the import address table.
[FinFisher](https://attack.mitre.org/software/S0182) injects itself into various processes depending on whether it is low integrity or high integrity.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
To ensure interception, the app independently obtains root privileges by exploiting the vulnerability CVE-2016-5195, aka 'Dirty Cow'.
[FinFisher](https://attack.mitre.org/software/S0182) uses token manipulation with NtFilterToken as part of UAC bypass.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Installing persistence by creating a logind.pslist file in /System/Library/LaunchAgents/ (T1543.001).
[FinFisher](https://attack.mitre.org/software/S0182) creates a new Windows service with the malicious executable for persistence.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
It then installs: /System/Library/LaunchDaemons/com.apple.logind.plist This creates persistence on reboot... android.permission.RECEIVE_BOOT_COMPLETED
[FinFisher](https://attack.mitre.org/software/S0182) establishes persistence by creating the Registry key <code>HKCU\Software\Microsoft\Windows\Run</code>.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
[FinFisher](https://attack.mitre.org/software/S0182) performs UAC bypass.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Stealth
29 techniques
Stealth
Add flag to put rootkit asleep and to waken the rootkit FinSpy | Add flag to put rootkit asleep and to waken the rootkit ... putting the rootkit asleep at the last day of the warrant, and waken the rootkit again
[FinFisher](https://attack.mitre.org/software/S0182) is heavily obfuscated in many ways, including through the use of spaghetti code in its functions in an effort to confuse disassembly programs. It also uses a custom XOR algorithm to obfuscate code.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
A [FinFisher](https://attack.mitre.org/software/S0182) variant uses a custom packer.(Citation: FinFisher Citation)(Citation: Securelist BlackOasis Oct 2017)
Because the FinSpy VM is a weak and ineffective software protection, unpacking it is not very difficult. Over half of the VM instructions in the bytecode program for the sample we're analyzing already contain raw x86 machine code. It turns out that FinSpy only truly virtualizes a handful of x86 instruction types...
API functions are loaded dynamically, whereas in others they are referenced from the IAT of the binary, so these cases need to be handled accordingly.
Control-flow flattening is a code transformation that removes structure from a control-flow graph... In its most basic form, control-flow flattening has a central basic block—the dispatcher—that directs the control flow to the individual blocks. This is realized by a state variable that tracks which block will be visited next.
[FinFisher](https://attack.mitre.org/software/S0182) contains junk code in its functions in an effort to confuse disassembly programs.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[FinFisher](https://attack.mitre.org/software/S0182) renames one of its .dll files to uxtheme.dll in an apparent attempt to masquerade as a legitimate file.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Process injection is a widespread defense evasion technique employed often within malware and fileless adversary tradecraft, and entails running custom code within the address space of another process. | IAT HOOKING AND INLINE HOOKING (A.K.A USERLAND ROOTKITS) IAT hooking is a technique that malware uses to change the import address table.
[FinFisher](https://attack.mitre.org/software/S0182) injects itself into various processes depending on whether it is low integrity or high integrity.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Possibility of removing Collected Data from the Target before transfer to Server
It then overwrites the files, renames them several times, and deletes them, in an apparent effort to frustrate forensic analysis.
[FinFisher](https://attack.mitre.org/software/S0182) uses token manipulation with NtFilterToken as part of UAC bypass.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
[FinFisher](https://attack.mitre.org/software/S0182) extracts and decrypts stage 3 malware, which is stored in encrypted resources.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
The protected, virtualized sample must have the same behavior as a non-protected sample.
[FinFisher](https://attack.mitre.org/software/S0182) obtains the hardware device list and checks if the MD5 of the vendor ID is equal to a predefined list in order to check for sandbox/virtualized environments.(Citation: Microsoft FinFisher March 2018)
Bootkits are a type of malware that infects the boot process of a computer, allowing attackers to gain persistent access and control over the system.
Secure Boot is designed to thwart UEFI bootkits, a form of malware that alters the Unified Extensible Firmware Interface, the successor to the BIOS, both of which begin the initial boot sequence. Because these bootkits load before the OS and most other code, they can be difficult to detect.
Some [FinFisher](https://attack.mitre.org/software/S0182) variants incorporate an MBR rootkit.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Stalkerware скрывает иконку из launcher (T1564.001, Hidden Files and Directories), но остаётся видимым в Settings -> Apps -> Show all apps и в выводе adb shell pm list packages -3
Trojen detected by AntiVirus FinFly Web ... the trojen popup comes behind the Youtube video in the self created website and in some websites the trojen does not appear at all.
MoonBounce ... перехватывает несколько функций Boot-сервисов. Первая функция размещает в памяти шеллкод уровня Ring 0, другая — перехватывает функцию, которая передает управление ядру ОС, а затем перехватывает функцию выделения памяти внутри ядра ExAllocatePool.
[FinFisher](https://attack.mitre.org/software/S0182) uses DLL side-loading to load malicious programs.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018) A [FinFisher](https://attack.mitre.org/software/S0182) variant also uses DLL search order hijacking.(Citation: FinFisher Citation)(Citation: Securelist BlackOasis Oct 2017)
Today, we move into a stealthier realm: Dylib Hijacking. The concept is classic: instead of creating a new service that triggers security alerts, we subvert an existing, legitimate application by hijacking its dynamic library dependencies.
[FinFisher](https://attack.mitre.org/software/S0182) has used the <code>KernelCallbackTable</code> to hijack the execution flow of a process by replacing the <code>__fnDWORD</code> function with the address of a created [Asynchronous Procedure Call](https://attack.mitre.org/techniques/T1055/004) stub routine.(Citation: FinFisher exposed )
This payload would then be loaded into memory and executed... The shellcode then decrypts the payloads and run it in memory.
While most of the functions are flattened, the only non-flattened function is of particular interest: in an endless loop, it performs anti-debug checks and terminates the application if any of the checks fail.
Following the Arab Spring protests in 2011, activists from Bahrain identified suspicious emails which were identified as social engineering attempts to persuade them to launch applications containing malicious software.
Defense Impairment
4 techniques
Defense Impairment
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
FinSpy ... патчит код, ответственный за проверку цифровых подписей ... ESPecter отключает проверку цифровой подписи драйверов, чтобы загрузить в систему подменный beep.sys или winsys.dll.
But what made the software especially sophisticated was how well it avoided detection. Its creators specifically engineered it to elude antivirus software made by Kaspersky Lab, Symantec, F-Secure and others.
[FinFisher](https://attack.mitre.org/software/S0182) clears the system event logs using <code> OpenEventLog/ClearEventLog APIs </code>.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Credential Access
8 techniques
Credential Access
It would be good to have a module which can sniff HTTP/S connections for HTTP/S POST parameters and their contents.
The government deployed ... Pegasus spyware to target civil society figures both domestically and abroad in what Amnesty described as “unlawful surveillance attacks.”
Keylogger doesnt catch Fn keys ... Keylogger export ... Unable to retrieve Keylogger data | keylogger mixup FinSpy When visualizing data, the keylogger module does not show the correct information.
[FinFisher](https://attack.mitre.org/software/S0182) hooks processes by modifying IAT pointers to CreateWindowEx.(Citation: FinFisher Citation)(Citation: Elastic Process Injection July 2017)
FinSpy can also record Internet telephone calls, text messages, and file transfers transmitted through Skype
Browser Password Retrieval ... Browsers change their behaviors in terms of storing passwords ... 3rd party passwords storages instead of the internal browser storage e.g. like LastPass
Man-in-the-Middle (MitM) attacks had been used to spread FinFisher, with the “man” in both cases most likely operating at the ISP level. On 8 October 2017, the same campaign resurfaced ... using the same (and very uncommon) structure of HTTP redirects to achieve “on-the-fly” browser redirection, only this time distributing Win32/StrongPity2 instead of FinFisher.
Shall we copy again communication keys from ./finspy_master/data/certs from offline to remote master?
Discovery
9 techniques
Discovery
[FinFisher](https://attack.mitre.org/software/S0182) queries Registry values as part of its anti-sandbox checks.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
It would be good to have a module which can sniff HTTP/S connections for HTTP/S POST parameters and their contents.
[FinFisher](https://attack.mitre.org/software/S0182) checks its parent process for indications that it is running in a sandbox setup.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
[FinFisher](https://attack.mitre.org/software/S0182) checks if the victim OS is 32 or 64-bit.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
[FinFisher](https://attack.mitre.org/software/S0182) enumerates directories and scans for certain files.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
The protected, virtualized sample must have the same behavior as a non-protected sample.
[FinFisher](https://attack.mitre.org/software/S0182) obtains the hardware device list and checks if the MD5 of the vendor ID is equal to a predefined list in order to check for sandbox/virtualized environments.(Citation: Microsoft FinFisher March 2018)
[FinFisher](https://attack.mitre.org/software/S0182) probes the system to check for antimalware processes.(Citation: FinFisher Citation)(Citation: Securelist BlackOasis Oct 2017)
While most of the functions are flattened, the only non-flattened function is of particular interest: in an endless loop, it performs anti-debug checks and terminates the application if any of the checks fail.
Lateral Movement
1 technique
Lateral Movement
Bootable USB Key Failure FinSpy Version 3.0. When building an infection and requesting creation of a bootable usb key... | Unable to create bootable iso image and bootable infection dongle ... tried both bootable iso image and bootable infection dongle
Collection
10 techniques
Collection
The court listed “exfiltrating or causing information to be exfiltrated from the devices” among the causative acts; FinSpy also enabled access to files and communications stored on targets’ devices.
The government deployed ... Pegasus spyware to target civil society figures both domestically and abroad in what Amnesty described as “unlawful surveillance attacks.”
Keylogger doesnt catch Fn keys ... Keylogger export ... Unable to retrieve Keylogger data | keylogger mixup FinSpy When visualizing data, the keylogger module does not show the correct information.
[FinFisher](https://attack.mitre.org/software/S0182) hooks processes by modifying IAT pointers to CreateWindowEx.(Citation: FinFisher Citation)(Citation: Elastic Process Injection July 2017)
[FinFisher](https://attack.mitre.org/software/S0182) takes a screenshot of the screen and displays it on top of all other windows for few seconds in an apparent attempt to hide some messages showed by the system during the setup process.(Citation: FinFisher Citation)(Citation: Microsoft FinFisher March 2018)
Clipboard recording FinSpy Clipboard recording modules would be useful to an investigation.
The majority cited “activating or causing the device’s microphones ... to be activated and used for recordings.”
The majority cited “activating or causing the device’s ... cameras to be activated and used for recordings.”
Man-in-the-Middle (MitM) attacks had been used to spread FinFisher, with the “man” in both cases most likely operating at the ISP level. On 8 October 2017, the same campaign resurfaced ... using the same (and very uncommon) structure of HTTP redirects to achieve “on-the-fly” browser redirection, only this time distributing Win32/StrongPity2 instead of FinFisher.
screen recording zip archiving have issue ... multiple zip files are created
Command and Control
9 techniques
Command and Control
the sample attempts to connect to both Internet-based and SMS-based command & control servers... net.rmi.device.api.fsmbb.core.com.* Appears to contain the mechanics of communication with the command & control server, including the plaintext TLV-based wire protocol. | The ‘logind’ process attempts to talk to a remote command and control server... After the user accepts these permissions, the sample attempts to connect to both Internet-based and SMS-based command & control servers.
We located a version of FinSpy that does not use the normal FinSpy handshake, but instead uses a protocol based on HTTP POST requests for communication with the C&C server.
We have a target who is hitting the proxy but not appearing on the Master...
relay server ... proxy server ... HTTP Tunnelling support ... using normal linux iptables forwarding which forward all packet fronm the target to the proxy server
The majority identified “the transmission of files to install FinSpy on devices located in the U.K.” as a causative act.
SyncData.app exfiltrates base64 encoded data about the device... the configuration information for which appears to be stored in base64 encoded form... Consistent with other platforms, the windows mobile version appears to use base64 encoding for all communications.
The attacks often include fake or maliciously packaged security tools; intriguing, or ideological, or movement-relevant content... Researchers and security professionals have already profiled many of these RATs, including DarkComet, Blackshades Remote Controller, Xtreme RAT, njRAT, and ShadowTech.
The spyware communicates with the Command & Control (C&C) server using HTTP POST requests. The data sent to the server is encrypted... compressed... and base64 encoded.
ESET... reported that FinFisher spyware was being delivered using network injection attacks in two (unnamed) countries... We cannot exclude that targets of this campaign were redirected to the browserupdate[.]download page through network injection.
Exfiltration
3 techniques
Exfiltration
FinFisher captures and exfiltrates SMS messages. FrozenCell has read SMS messages for exfiltration. Pallas captures and exfiltrates all SMS messages... Rotexy can also send a list of all SMS messages on the device to the command and control server. RuMMS uploads incoming SMS messages to a remote command and control server. Stealth Mango uploads SMS messages. Windshift has included SMS message exfiltration...
The FinFisher product for mobile phones can send stolen data back using SMS messages. We found one sample of a mobile phone version of FinFisher that contained a phone number in Indonesia, which the spyware used to send stolen data back over SMS.
The Citizen Lab research linked the malware sent to pro-democracy activists to FinSpy, part of the FinFisher spyware tool kit. It can secretly take remote control of a computer, copying files, intercepting Skype calls and logging every keystroke.
Observables
197 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
173 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.