Fake KeePass password manager leads to ESXi ransomware attack

AFEH

Level 70
Verified
Top Poster
Well-known
Threat actors have been distributing trojanized versions of the KeePass password manager for at least eight months to install Cobalt Strike beacons, steal credentials, and ultimately, deploy ransomware on the breached network.

WithSecure's Threat Intelligence team discovered the campaign after they were brought in to investigate a ransomware attack. The researchers found that the attack started with a malicious KeePass installer promoted through Bing advertisements that promoted fake software sites.

As KeePass is open source, the threat actors altered the source code to build a trojanized version, dubbed KeeLoader, that contains all the normal password management functionality. However, it includes modifications that install a Cobalt Strike beacon and export the KeePass password database as cleartext, which is then stolen through the beacon.


Once faced a similar scenario, but it was a new software never heared about before.
Kaspersky did not discover it by on-demand scan; only after complete install, system watcher declared the detection of ransomware.
It managed to remove, but the aftermath was beyond repair; re-installed Windows.
 
From the WithSecure PDF link in the article:

Defence Evasion
The way that KeeLoader, and KeeLoader’s previous variants, are implemented makes
them stealthy. The created binaries are almost identical to the legitimate versions,
with minimal modifications allowing for the nefarious functionality. The modified
executables and installer were also all signed with trusted signatures. Sandbox
detection is also difficult as the malicious functionality will only manifest once a
password database is opened in KeePass. Furthermore, when KeeLoader loads
a Cobalt Strike beacon, the loaded beacon is encrypted and only executed when
the backdoor is triggered manually. This reduces the chances of detection though
automated malware sandboxing.
 

MalwareTips community

Join the discussion. It's free.

Create an account to reply to this thread, ask your own questions and get help from people who know security.

  • Reply and ask your own questions
  • Get an alert when someone answers
  • Free malware removal help from volunteers

Free account

YuanJiawj NewbyUser Shadowra Harputlu 75,771 members since 2010
or
Have malware? Get free help

Recently browsing

Members and guests who viewed this thread in the last 5 minutes

Back
Top