The IcedID banking trojan on Romanian servers: an analysis anyone can follow
Originally published in May 2020, based on public information.
IcedID (also known as BokBot) is a banking trojan discovered in September 2017. In March 2020, a Word document sent by email downloaded IcedID from a compromised Romanian website, while a second .ro domain hosted the trap document itself. The analysis below uses only a public scanning platform and can be repeated by anyone, with no advanced malware analysis skills.
Key points
- The trojan reached victims by email, in a document named like an invoice, which asked for content to be enabled.
- 37 of 63 antivirus products flagged the document as malicious.
- Once enabled, the document downloaded a file from a Romanian website and saved it as ZXTRTU.exe.
- The owners of the two websites did not know they were hosting malicious files.
- A suspicious document can be checked in a few minutes on a public scanning platform.
Why a vulnerable website matters
Owning a website comes with responsibility. The days when a hacked site simply had its home page replaced, so the attacker could boast, are over. Today a vulnerable website is used to distribute infected files, for redirects and to store malware or stolen data. The owner becomes, without knowing it, a supporter of illegal activity.
How the trojan reaches the victim
IcedID spreads through altered web pages or through emails with trap files. In the case analysed it arrived by email. The text of the message manipulates the recipient into downloading the attachment, and the name of the document is chosen to suit the target:
- for companies: invoice, notice, warning, request, reply to a request, payment order;
- for individuals: invoice, voucher, discount, alert.
The email analysed had a document attached, which we will call Invoice.doc. When opened, the text was hidden, on the pretext that a function was not active and had to be enabled.
Checking on VirusTotal
The document was uploaded to VirusTotal: scan result.

Detection 37 of 63, meaning 37 antivirus products say the file is malicious. The tags displayed are informative too, and each can be looked up online: docx, email-pattern, enum-windows, exe-pattern, handle-file, obfuscated, open-file, run-dll, url-pattern, write-file. Three deserve attention:
- macros: automation functions, that is, a series of visible or invisible commands;
- obfuscated: a method of hiding a function, source code or commands;
- url-pattern: the document probably contains a web address.
The details page
The details page holds a lot of information about the scanned document.



Relations with other sources
The relations page shows which addresses the document is linked to.

Behaviour when enabled


The chain is clear:
- the document is opened in Microsoft Word and the user enables editing;
- the command that downloads the file ginndoe.jp from the web page is executed;
- the file is saved to disk as ZXTRTU.exe;
- PowerShell waits four seconds, then starts ZXTRTU.exe.
The community
Useful information also comes from the VirusTotal community.

The two .ro domains


Both were .ro domains, with different IP addresses. When we checked, one returned a 404 error and the other was under construction. Most likely the owners had been notified and had taken action.
Bonus: scanning the ZXTRTU.exe file


The file’s relationship with the domains shown may involve sending or downloading data.
Conclusion
You do not have to be a specialist to check a suspicious document or an “urgent” email. Question everything you receive: is this really an email from a friend? Why would my manager send me a payment order by email?
Public sources used: malware-traffic-analysis.net and VirusTotal. To have a suspicious document examined, ProDefence provides analysis of suspicious files and malware, and for websites, web and network security audits.





@ Prodefence SRL