Black friday Up to 3 extra licenses FOR FREE + Special offer for TI LOOKUP Get it now
19
Global rank
72 infographic chevron month
Month rank
58 infographic chevron week
Week rank
0
IOCs

Ursnif is a banking Trojan that usually infects corporate victims. It is based on an old malware but was substantially updated over the years and became quite powerful. Today Ursnif is one of the most widely spread banking Trojans in the world.

Trojan
Type
Unknown
Origin
1 January, 2014
First seen
20 December, 2024
Last seen
Also known as
Gozi
Dreambot
ISFB

How to analyze Ursnif with ANY.RUN

Type
Unknown
Origin
1 January, 2014
First seen
20 December, 2024
Last seen

IOCs

Domains
google.com
URLs
http://netsecurez.com/pictures/SW7mGHKzKpS6r/XWxr0XMe/Ru3a9LcgC1v0U56sv7MhOK7/LinmCgH7pB/XQ3AQIjQLPr4da1L_/2FRw5ycq80om/LgTMPMNp7uH/A3Iv_2BVsGtRlY/4amqCv8OYKr5oL3wUT99X/XOSk9g1lk_2FZSfo/CX1OwPe0u07fzjT/2z0xINH4xG0axorIT9/YgiqzGgxn/e0t3nlbIY8f84bo9ePZ8/URTS2SKhEZTCyiPm3sD/eNbgGWiBNRs77Ua_2FzvBp/6lldhoUX_2BBz/TalFLECH/QzcQ5eWvlbZ1_2BBC/55zi.tog
http://netsecurez.com/pictures/jQlZkrwlitp_2F/Vi1weEpZhBG2f7KiCzB4G/m6H2At8L2ZRe6QfL/R5B_2Br2azZ5_2B/9D5bwJgcfxhhyDBgZS/4ry7rygMQ/G6OtBgxPGsJu0MO9CRjj/093lL5XYxgnm2YMZWnp/i44oyy3_2FnpqDD68XpLdf/Ri77vsgmv2iho/OPmAxCu_/2BVKiPzOqjOwD6jLwrIHso2/tZOGCSaMhS/nFxq5lsuQm1htOeYG/D2kr8kktM_2B/SF_2F_2B6xY/K_2FM23lSZ_2B2/JT913fI7DShnVgg5JBgBY/IuiojVpyYIW/zxR2.tog
http://netsecurez.com/pictures/_2FWtFJO9gLxK9VG/HgOh_2FMhLEwgOc/xuV4cNgKXIrWoe9jmF/m_2B_2BzJ/dE8eWq9LD_2F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YSWPr3xX/u7FKDeFuSFDem/Mzpmz5O1/T.bob
http://netsecurez.com/pictures/Edf0c0P_2FVOUnYso_2Fu/eKff_2BAEV5miwkk/AeTTsefIcJs2sLv/wmxvYXpLbkjg003e7t/G1DUeCncK/FpafGt_2BlmII0CeFHPy/5YxNhxYffr6vV_2Bk3l/0blmKX7BSDE_2F043ZpWpu/56PIfUezTfBNT/k7b9bf4x/nK2AloN1_2Bnz3ZT7sTDH9S/w_2Bvpdfoc/2FSN1NCR0_2B3hjET/I8U3GrEicSKv/llxysdpZz4t/CHpxW_2BOf9vtW/1lklBfqFp3bVMVwzbDQy6/0pgltlnrdtXvZxqm/0b1nak_2B/IxEmah.tog
http://netsecurez.com/pictures/M5tcpzZbLm/1hnFRxW6cRPjPnjj_/2BK6VtmUYg21/jhjMI1Xfh7E/qUJ_2BnqWNjJgM/WbnrCT2fBAQjZu75cN2A8/1Kdny3USTDzl4OR4/hXNaY4qAoktDv2i/mnMx873iH6ymfpCh9b/SQ_2BVDKi/1QzHCwIX9iAEaSa_2FqI/eJ_2FviZ0s0VGuAMPGK/lZ9jp64EZS6C1_2FnF1MSC/kHG4R7iHvthhD/_2FkHTeA/uS2yAw4ZjIaaEoZ7et_2B94/kfs65QPvij/mENFahMB30csHYyrL/BVPQ_2FGGoy/EMsTs10Bq/F.tog
http://netsecurez.com/pictures/cW2UVxqR61tadkuwjef/gJmrUmKxMoqhcaArtsPFEJ/CvZZAzHLAiHrW/78milOom/DrtMl1X0lHdfQh8cPUNYFyz/aLcfA7i_2B/93Pl8tMG4LrHwhqqy/ViZXoN6SNeIN/4o_2F7im1nI/Yu3HQeFGwgssJN/DLZOs2fzeZkLjFvw5SaAl/vimsWNwuHRPal9ke/8LxkIDW6l0PNXx5/PWrRrGpoVKlBXT4Sb_/2Bd6nPr2o/2kSAYAHALF6O2nwhEyLl/cCYi8_2BuGzPf7WJ3Qz/FK2nJho3JXAcrhki/Lx0.tog
http://netsecurez.com/jerry/jEjlmXLaCr6tb_2B_2/BLuHkahq9/SYEcjEhQhN5fGuYudfm_/2BvTWjbB3QgSsLweUrm/crx4bhyzGAYhJ9QshTkwDa/XpTIqGTVVnoIX/M_2B1pfD/rDfYuGsLx715UDk9MYWyzYA/1fRyspw7Oy/Q3pWH_2FKR2_2B_2B/wRGJM7ymxziZ/KzHxC3eANw5/0S_2F8Gk0pCXRO/686tD5idUa5rgYwMVB_2B/muNtX4uwO8_2FY60/N_2FBSmhbXQW0OT/hgI725ckZudSIZDP1M/6VVuZpFGS/F9lDPsrAbgXGEuaa0Fd1/KaZegwj4LBVSRTZvRwE/NO5Qell.bob
http://netsecurez.com/jerry/S7S_2FuOXvXi7DPdttcm/04HUt0Dpkj8BSMGMwNx/KtEh4umAnTOSAjzL6qOwB1/lKMkOAoOAFLqO/KA5_2BMt/cPs_2F5NJdDs361WAl5AcSN/logrYw2tQc/sAlPB0rDcDzrWySLY/GmuB6OOftVSJ/3_2BZcZy7ik/n_2BZeFTcQYgMf/XCb3luRR2GbY4NBieWtU9/bNXmz4ba7AxYLH15/NgDeTlHmTFMhoWx/xDVL_2BhLfSa1PDKPK/NF28vnLNh/mu34_2BrtuIkoVeKdDLT/P3mLD8A65bXtE6zq2S_/2FpU97TUcNOcqwZOpjoDPB/TeeNOu.bob
Last Seen at

Recent blog posts

post image
Well done, ANY.RUN: Our Top Cybersecurity Awa...
watchers 217
comments 0
post image
How DFIR Analysts Use ANY.RUN Sandbox
watchers 311
comments 0
post image
How to Set up a Windows 11 Malware Sandbox
watchers 1118
comments 0

What is Ursnif malware?

Ursnif, also known as Gozi, is one of the most widely spread banking trojans – it is aimed at stealing banking credentials and usually targets corporate victims. Some security solutions can detect it as Win32 Ursnif, Trojan Ursnif or Win32 spy.

As for the Gozi malware basics, the trojan was developed based on the fairly old Gozi-ISFB trojan, after its code got leaked in 2014. Since then, Ursnif has been evolving and becoming more powerful, which lead it to become one of the top used banking trojans today.

General description of Ursnif trojan and Gozi malware explanation

Ursnif Trojan is a dangerous malware that can collect the system activity of the victims, record keystrokes, and keep track of network traffic and browser activity. The malware stores the data in an archive before sending it to the C2.

The malware uses malicious Microsoft Office documents to get into the users’ machine and requires macros to be activated. Once opened, the document will prompt the user to enable macros. If the user plays along with the instruction, the malware drops a VB script into the temp directory of the current user, upon which it is automatically decoded, and the malicious payload is downloaded.

According to the analysis, in some versions, the Gozi malware operates via a macro that is programmed to check the country using the Application. International MS Office property. If the result does not correspond to a list of pre-selected countries, the malware terminates its execution.

Interestingly, the malware terminates execution if it detects that it’s being launched on a virtual machine. Hackers implement this precaution technique in order to complicate the analysis process and, hopefully, prevent the effective development of countermeasures.

Ursnif malware analysis

A video is available at ANY.RUN malware analysis service allows us to see a simulation of the malware execution in a lot of detail. YOu can also investigate other malware like Hawkeye or Raccoon.

ursnif gozi dreambot execution graph Figure 1: A visual process graph generated by ANY.RUN shows the lifecycle of Urnsnif

How to avoid infection by Ursnif?

The best way to stay safe from Ursnif is to keep the macros turned off and not turn them on if prompted by a Microsoft Office file downloaded from an untrustworthy source, such as an email from the unknown sender. In addition, following good techniques of staying safe online such as not downloading files from suspicious emails, is another great way to avoid infection.

Ursnif execution process

In the case of our simulation, the execution of the malware starts when the user opens a Word or Excel file and enables the macro. Ursnif uses the browser's COM object to connect to its C2 server and receive additional data.

Based on the analysis, Ursnif trojan uses exploits to start legitimate software like Outlook, which in turn launches cmd.exe only to spawn a PowerShell script. If a strike is directed at select countries, the malware checks where the victim is from during this stage. Then, the PowerShell script downloads and executes the final payload, which is Ursnif itself. Lastly, the loader starts malicious activities and injects its code into the explorer.exe process.

After installation, the malware will try to inject into an active explorer.exe process to establish persistence. If the injection fails, Ursnif will launch a new svchost.exe process and will inject itself instead. this technique appears to be a useful pointer for detection. After that, Ursnif will hook the APIs of common web browsers such as Chrome, Opera, Internet Explorer, and Firefox. The loader uses the browsers' COM object to communicate to its C2 server. Then, the malware will begin monitoring web activity and steal the payment information as soon as the victim visits a banking or a payment webpage. Then Ursnif sends collected data to a C2 server via the IE COM object.

Communication with C&C

In order to prevent domain name disclosure, the malware generates the domain names locally using the technique of the Domain Generation Algorithm (DGA) instead of them being hardcoded. Uniquely, the malware gathers information for domain name generation in the DGA process by taking bits of text from popular websites. If you decrypt the URL in the script, you may get the data sent to the C2 server.

The malware is also known to be able to execute commands received from the control server.

How to detect Ursnif using ANY.RUN?

Ursnif uses COM objects to execute the malware's payload, and usually, it runs multiple iexplorer.exe processes. The loader creates a COM object that is a hidden API function. Knowing this information, take a look at the process tree after a while during execution, and determine either sample is Ursnif or not. Check the script to find out if a suspicious URL corresponds to malware activity.

ursnif process tree Figure 2: Ursnif process tree

Conclusion

Based on the source code of another malware that is already almost a decade old, Ursnif is a prime example of the fact that “old” does not mean ineffective when it comes to trojans.

On the contrary, despite its age, this malware is capable of launching devastating cyber attacks and managed to become one of the most popular banking trojans in the world. In addition to its powerful trojan functionality, the loader takes active actions to prevent researchers from studying it. Thankfully, malware hunting services like ANY.RUN allows researchers to study this malware in-depth and respond with appropriate countermeasures.

HAVE A LOOK AT

Agent Tesla screenshot
Agent Tesla
agenttesla trojan rat stealer
Agent Tesla is spyware that collects information about the actions of its victims by recording keystrokes and user interactions. It is falsely marketed as a legitimate software on the dedicated website where this malware is sold.
Read More
Adware screenshot
Adware
adware
Adware is a form of malware that targets users with unwanted advertisements, often disrupting their browsing experience. It typically infiltrates systems through software bundling, malicious websites, or deceptive downloads. Once installed, it may track user activity, collect sensitive data, and display intrusive ads, including pop-ups or banners. Some advanced adware variants can bypass security measures and establish persistence on devices, making removal challenging. Additionally, adware can create vulnerabilities that other malware can exploit, posing a significant risk to user privacy and system security.
Read More
Sality screenshot
Sality
sality
Sality is a highly sophisticated malware known for infecting executable files and rapidly spreading across networks. It primarily creates a peer-to-peer botnet that is used for malicious activities such as spamming, data theft, and downloading additional malware. Sality has strong persistence mechanisms, including disabling security software, making it difficult to remove. Its ability to spread quickly and silently, along with its polymorphic nature, allows it to evade detection by traditional antivirus solutions.
Read More
Balada Injector screenshot
Balada Injector is a long-running malware campaign that targets WordPress websites by exploiting vulnerabilities in plugins and themes. The attackers inject malicious code into compromised sites, leading to unauthorized redirects, data theft, and the creation of [backdoors](https://any.run/malware-trends/backdoor) for persistent access. The campaign operates in waves, with spikes in activity observed every few weeks, continually adapting to exploit newly discovered vulnerabilities.
Read More
Gh0st RAT screenshot
Gh0st RAT
gh0st
Gh0st RAT is a malware with advanced trojan functionality that enables attackers to establish full control over the victim’s system. The spying capabilities of Gh0st RAT made it a go-to tool for numerous criminal groups in high-profile attacks against government and corporate organizations. The most common vector of attack involving this malware begins with spam and phishing emails.
Read More
Havoc screenshot
Havoc
havoc
Havoc is an advanced post-exploitation framework used by hackers to take control of a system once they've breached it. With Havoc, attackers can run commands remotely, inject malicious processes, and access sensitive data. It's often used in targeted attacks, allowing cybercriminals to stay hidden in a network while stealing information or launching further attacks. Its flexibility and ability to bypass detection make it a serious threat, especially in environments that rely on traditional security tools.
Read More