ISFB
- Type
- Banking trojan
- Capabilities
- Credential theftSession hijackingKeyloggingExfiltrationPersistencePost exploitationDefense evasionProcess injection
- Delivery
- PhishingMalvertisingSeo poisoning
- Platforms
- Windows
ISFB, also known as Ursnif and as a successor lineage of Gozi, is a long-running Windows banking trojan family used for online banking fraud, credential theft, and broader post-compromise monetization. It emerged as a heavily reworked descendant of leaked Gozi code and evolved into multiple branches operated by different criminal groups, including variants such as Dreambot and later loader-oriented branches. Over time, the family shifted from classic banking theft toward acting as a modular access platform and malware loader for additional payloads, including ransomware-enabling operations.
ISFB is designed to intercept, analyze, and modify web traffic on infected systems, including HTTPS sessions, enabling man-in-the-browser style fraud, web injects, form grabbing, and browser content replacement. Documented capabilities include theft of browser credentials and cookies, banking data, email and FTP data, certificates, screenshots, files, and keylogged input. Some branches also support SOCKS proxying, plugin loading, execution of downloaded payloads, and remote control functions. The malware commonly injects into browser processes and explorer.exe, with distinct components handling traffic interception, command processing, and system-level tasking.
The family uses flexible command-and-control mechanisms. Known implementations support predefined domain lists, domain generation, signed configuration updates, encrypted communications, and stealthier retrieval methods through COM automation of Internet Explorer components. Reverse-engineering of modern loaders shows staged delivery, host fingerprinting, registry-based storage of payloads and scripts, PowerShell-assisted execution, APC-style process injection, and self-deletion. Persistence has been observed through autorun registration and Registry Run keys.
ISFB infections have been delivered through multiple vectors depending on operator and campaign, including malicious Office macro documents, phishing, and fake software installers distributed via malvertising or SEO-poisoned download pages. It has also been observed as a payload delivered by other malware such as BatLoader. The malware primarily targets Windows endpoints and has historically focused on financial theft, especially online banking users, while later campaigns increasingly supported broader criminal intrusion workflows.
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.
I’m finally getting round to writing this post – for the past few months I have been analysing different versions of ISFB/Ursnif/Gozi... In a nutshell, ISFB is a banking trojan used to steal financial information from unsuspecting victims.
ISFB is a malware family encapsulating a whole set of tools primarily used to defraud online banking accounts; it is a banking trojan.
Techniques & procedures
69 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
distributing large volumes (of spam, exploit kit, bundle…)
Certain groups “partner” with other groups that are able to distribute malicious spam (malspam) on a large scale... a lot of groups, including Group 53, have to distribute their own malicious documents.
Ursnif is mostly spread through spear phishing emails... In our analysis, phishing emails with a macro embedded XLS attachment or a zip attachment containing an HTA file initiated the infection chain.
The operators are known to use that feature to maintain a constant feed of fresh login credentials for SMTP accounts, plus a list of valid emails to spam.
Execution
9 techniques
Execution
Ursnif Mitre Att&ck TTP Map: ... Windows Management Instrumentation (T1047)
This is then executed using COM API once again, rather than calling a well known API such as ShellExecuteExW()
The malicious actor(s) create a custom action to run the malicious PowerShell inline script. The malicious script resides under AI_DATA_SETTER action name and contains the instructions to download the malicious update.bat file from the C2 domain
Loader feature: It can load a 2nd stage attack as EXE or DLL or execute any command through CMD/Powershell.
This specific sample of ISFB is version 2.14.60, and can be attributed to a specific ISFB v2 group based on the infection routine used – specifically the macros that execute a powershell command that is simply Base64 encoded.
The code is responsible for importing DLLs using the previously imported API’s... The DLLs that are loaded are; NTDLL.DLL, KERNEL32.DLL, AND OLEAUT32.DLL.
When a victim opens the Word document... the document content deceives victims to click the “Enable Content” button.
When a victim opens the Word document, it displays a security warning message... the document content deceives victims to click the “Enable Content” button... the malicious VBA code is executed because the code is in an AutoOpen sub that is executed at opening the document.
It does not directly create the process “iexplorer.exe”, but COM does because Ursnif creates a COM instance by calling API “CoCreateInstance”... The COM object can also be created by the string ID “InternetExplorer.Application”.
Persistence
3 techniques
Persistence
Four registry keys are created, containing the two downloaded, encrypted executables, the Powershell script, and a WMIC command executing the Powershell script | It does so by altering 3 registry keys: SOFTWARE\Microsoft\Internet Explorer\Main\IE10RunOnceLastShown_TIMESTAMP ... Check_Associations
Ursnif Mitre Att&ck TTP Map: ... Create or Modify System Process: Windows Service (T1543.003)
Upon execution, ISFB creates a persistence via Registry Run Keys under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Privilege Escalation
5 techniques
Privilege Escalation
The script performs process injection using the API such as OpenThread, VirtualAlloc, and QueueUserAPC... We have observed ISFB injecting itself into a running explorer.exe process.
QueueUserAPC is executed, specifying the current thread within its process... SleepEx is used to trigger an alertable state completing the APC injection
After downloading the binary file, it retrieves the handle of explorer.exe process and calls UpdateProcThreadAttribute to perform parent PID spoofing... to evade detection.
Ursnif Mitre Att&ck TTP Map: ... Create or Modify System Process: Windows Service (T1543.003)
Upon execution, ISFB creates a persistence via Registry Run Keys under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Stealth
15 techniques
Stealth
In another infection scenario, we observed that the phishing email is sent with a zip attachment having an HTA file. After de-obfuscating several layers...
the configuration acts as a lookup table, pointing to the real configuration data such as the URLs or Botnet ID – this means the loader doesn’t have to search the entire config to locate a certain value
the malware XORs the first DWORD of the decompressed data with the XOR key stored in the structure... Back in the calling function, the malware then overwrites the decompressed executable using a rolling XOR algorithm.
Detection strategies should focus on identifying suspicious ISO files, unusual process executions (especially involving renamed system utilities)...
The script performs process injection using the API such as OpenThread, VirtualAlloc, and QueueUserAPC... We have observed ISFB injecting itself into a running explorer.exe process.
QueueUserAPC is executed, specifying the current thread within its process... SleepEx is used to trigger an alertable state completing the APC injection
one last function is called in the loader, and it is responsible for deleting the original file, leaving no visible trace of any infections
After downloading the binary file, it retrieves the handle of explorer.exe process and calls UpdateProcThreadAttribute to perform parent PID spoofing... to evade detection.
After the code is Base64 decoded... It continues to decode the data, then decompresses it to get the final PowerShell code.
Ursnif Mitre Att&ck TTP Map: ... System Binary Proxy Execution – Regsvr32 (T1218.010)
PowerShell script downloads a DLL file from an embedded URL and executes it using rundll32.exe.
all the anti-malware sandboxes of the industry
Once the strings have been decrypted, ISFB then calls a function that utilizes one of the decrypted strings – IsWow64Process. As you probably have guessed, this checks to see if the architecture of the system is 64 bit or not.
Next, the malware will allocate a brand new section of memory using NtCreateSection(), which will be set to Read-Write-eXecute... the program begins to copy over the executable to the new addresses, however it skips the entire MZ header and simply copies everything from the PE header. | there are several calls to API’s, in particular VirtualProtect. VirtualProtect is responsible for changing the permissions/protection of different memory regions...
Ursnif uses some anti-analysis techniques... Ursnif registers a vectored exception handler... when Ursnif reads data in this area, the access violation exception happens so that the exception handler function gets called.
Defense Impairment
1 technique
Defense Impairment
Four registry keys are created, containing the two downloaded, encrypted executables, the Powershell script, and a WMIC command executing the Powershell script | It does so by altering 3 registry keys: SOFTWARE\Microsoft\Internet Explorer\Main\IE10RunOnceLastShown_TIMESTAMP ... Check_Associations
Credential Access
9 techniques
Credential Access
Post-infection activities may include credential theft...
GET_KEYLOG - отправить данные кейлоггера... KEYLOG_ON[= list] - включить кейлог, для заданного списка процессов
Ursnif Mitre Att&ck TTP Map: ... Input Capture: GUI (Graphical User Interface) Input Capture (T1056.002)
the malware injects itself into the web browser and capture every HTTP POST request, which makes credential and stealing credit card easy.
The stealer is used to detect email software like Outlook and steal the credentials and the contacts list.
GET_COOKIES - собрать cookie FF и IE, SOL-файлы Flash... и выслать на сервер.
MITRE ATT&CK Tactic Unsecured Credentials ID T1552.001 MITRE ATT&CK Technique Unsecured Credentials: Credentials In Files Description The ISFB version observed is capable of accessing browser credentials and cookies, Thunderbird and Outlook profiles, POP3, SMTP passwords.
The Ursnif version we observed can exfiltrate browser credentials and cookies, Thunderbird and Outlook profiles, POP3, SMTP passwords.
After decryption, it collects Chrome, Firefox, and Microsoft Edge browsers’ sensitive info like credentials, cookies, etc. via this grabber module
Discovery
10 techniques
Discovery
List of installed drivers – driver query
Ursnif Mitre Att&ck TTP Map: ... Application Window Discovery (T1010)
Registry query information (details of installed applications) – reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
We can see that the loader calls GetUserNameW() and GetComputerNameW() , before performing a CRC32 calculation on the Username and Computer Name
Ursnif malware also collects and sends the following sensitive system information: ... List of processes – task list /svc
It collects some information from the host machine like computer name, username, uptime, and CRC... Ursnif malware also collects and sends the following sensitive system information: Output of System Info command
- найти файл по маске и оправить на сервер... GET_FILES=* - найти все файлы, соответствующие заданной маске, и отправить на сервер
all the anti-malware sandboxes of the industry
Once the strings have been decrypted, ISFB then calls a function that utilizes one of the decrypted strings – IsWow64Process. As you probably have guessed, this checks to see if the architecture of the system is 64 bit or not.
Ursnif uses some anti-analysis techniques... Ursnif registers a vectored exception handler... when Ursnif reads data in this area, the access violation exception happens so that the exception handler function gets called.
Lateral Movement
1 technique
Lateral Movement
...and the use of legitimate tools for persistence and remote access.
Collection
10 techniques
Collection
- найти файл по маске и оправить на сервер... GET_CERTS - экспортировать и выслать сертификаты... GET_FILES=* - найти все файлы... и отправить на сервер
GET_KEYLOG - отправить данные кейлоггера... KEYLOG_ON[= list] - включить кейлог, для заданного списка процессов
Ursnif Mitre Att&ck TTP Map: ... Input Capture: GUI (Graphical User Interface) Input Capture (T1056.002)
the malware injects itself into the web browser and capture every HTTP POST request, which makes credential and stealing credit card easy.
- сделать скриншот экрана и отправить на сервер
Ursnif then starts capturing keylogging and clipboard events in the system and sends it to the attacker’s CnC at regular intervals.
ISFB - программа-бот предназначенная для анализа и модификации HTTP траффика на компьютере клиента... Анализ траффика производится на основе специально сформированного файла конфигурации... - подмена HTML страницы целиком - замена фрагмента HTML страницы - скопировать фрагмент страницы и отправить на сервер
GET_CERTS - экспортировать и выслать сертификаты, установленные в системном хранилище Windows.
GET_COOKIES - собрать cookie FF и IE, SOL-файлы Flash, упаковать их с сохранением структуры каталогов и выслать на сервер.
Ursnif Mitre Att&ck TTP Map: ... Data from Configuration Repository: Network Device Configuration Dump (T1602.002)
Command and Control
12 techniques
Command and Control
The string is Serpent CBC encrypted, with the 16 byte config key + 16 byte nulled IV... A random string is prepended, the string is Base64 encoded, '+' and '/' are replaced with hex equivalents, random '/' are added to string, '/images/' is prepended and '.avi' is appended
Utilizes COM API to communicate to C2 servers through Internet Explorer | the sample uses COM functionality (sub_1D6F57) to communicate through Internet Explorer – so looking at Process Hacker, you will notice that Internet Explorer is making connections, even though it is not open
Обрабатывает весь HTTP траффик браузера в том числе и шифрованый HTTPS.
SOCKS_START=IP:PORT - запустить сокс4\5 сервер (при его наличии)
The service is described as a Fast flux but in reality it’s more a simple proxy system. BraZZZers rents a pool of VPSs all around the internet and uses them as proxy IPs in order to hide the real IP of a server.
with the first integration of Tor onion as available C2.
The malicious script... contains the instructions to download the malicious update.bat file from the C2 domain... the script retrieves the following files: d2ef5.exe.gpg, p9d2s.exe.gpg, d655.dll.gpg, f827.exe.gpg
Ursnif encodes the above strings using Base64... it replaces several bytes with their hex strings... inserts a random number of “/” into it and adds a prefix “/images/” and suffix “.avi” to make the URL look normal.
If the anti-fraud is based on browser fingerprint, IP, and behavior (like most modern banks), they would use VNC and login directly from the victim computer remotely.
The domains involved are resolving to a list of IPs, (we observed from 1 up to more than 20 IPs per domain) that are just redirecting the traffic to the real server.
The story we are writing here will try to explain how, from a simple mistake made by an operator, we managed to collect and exploit a lot of precious information from a “Fast Flux” network called BraZZZerS Fast Flux between end of 2018 and 2022.
Поддерживается 2 способа поиска управляющего сервера: - перебор заданного списка доменных имен и выбор активного; - генерациия динамического списка доменных имен в зависимости от текущей даты и конфигурации системы;
Exfiltration
1 technique
Exfiltration
Парсер выполняет следующие функции: - отправка/получение данных (получение команд, конфигов; отправка форм, файлов)
Impact
1 technique
Impact
Threat actors often leverage Gozi infections to conduct extensive reconnaissance, move laterally within networks, and potentially prepare for more severe attacks such as data exfiltration or ransomware deployment.
Observables
64 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.