The “document from the bank” malware campaign: the .iso file that stole passwords

_Analysis originally published in March 2021, carried out together with Mircea Scheau._

A ProDefence client received an email that appeared to come from their bank, with an attachment named like a PDF document. In reality the file was an .iso image hiding a stealer: malware that takes the passwords saved on the computer and sends them to the attacker. The client, trained in our cybersecurity awareness sessions, noticed the suspicious details and sent the message for analysis instead of opening it.

Key points

  • The attachment was called “Document_BT24 PDF.iso”: the word “PDF” was only bait, the real extension was .iso.
  • The .iso format can hide executable files and gets through email filters more easily.
  • 28 of 59 antivirus products recognised the file; the first public scan was the one made by ProDefence, on 15 March 2021.
  • Run in a test system, the malware sent the stolen data to an FTP server on a compromised Romanian domain.
  • The information was passed to CERT-RO so that the owner of the domain could be notified.
The document from the bank malware campaign, screenshot from the ProDefence analysis

What made the recipient suspicious

The message looked legitimate, but the recipient applied the questions learned in training:

  • am I expecting an invoice or a document from the bank?
  • is the company asking for payment one of our partners?
  • is this a scheduled payment?
  • are there details that raise questions?

The main signal: the file extension

Banks sometimes send documents in PDF format, with the .pdf extension. A .doc or .docx document is editable, so it raises questions. The extensions .iso, .zip, .rar, .exe or .apk should raise even more.

The file name reads in three parts: Document_BT24 (the name), PDF (there only to mislead) and .iso (the real extension). The .iso format allows several hidden files to be packed and run, and email server filters treat it more leniently than an .exe.

Opening the .iso file directly can run the instructions prepared by the attacker. A right click, however, shows the contents of the archive: in this case, an executable file.

The document from the bank malware campaign, screenshot from the ProDefence analysis

Scanning: useful, but with care

Scanning suspicious files is good advice, but whatever you upload to public analysis platforms becomes visible to others as well.

The document from the bank malware campaign, screenshot from the ProDefence analysis

The VirusTotal result: 28 of 59 antivirus engines flagged the file as malicious. The client was using one of the products that detected it, so the antivirus would probably have raised the alarm even without our analysis. The first scan of the file dated from 15 March 2021, which suggests we were the first to report this campaign.

https://www.virustotal.com/gui/file/ea35fc2461b09c5c93454c61d6d8977b338bd546db2eb7cb118e2a40e244a7e7/detection
The document from the bank malware campaign, screenshot from the ProDefence analysis

What the malware does

To assess the risk to the client’s company, the file was run in a test system prepared for such situations. Traffic analysis showed a connection to an FTP server, to which the computer sent an .html file, using credentials visible in the traffic.

The document from the bank malware campaign, screenshot from the ProDefence analysis
The document from the bank malware campaign, screenshot from the ProDefence analysis

The FTP address belonged to a domain in Romania, probably compromised and used to collect the data. The conclusion: the malware is a stealer, which extracts the passwords and personal data saved on the computer and sends them to the server controlled by the attacker. A similar campaign is described in Trap email from a Romanian “bank”.

Recommendations

  • do not rush: important messages deserve careful handling;
  • check the real extension of files and turn on the display of extensions in the operating system;
  • do not save important passwords in the browser on work computers;
  • if something looks suspicious, ask a specialist.

ProDefence provides analysis of suspicious files and malware and cybersecurity training for employees.

Skip to content