Close Menu
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Facebook X (Twitter) LinkedIn
Facebook X (Twitter) LinkedIn
Information Security BuzzInformation Security Buzz
  • Home
  • Articles
    • Attacks
      • BEC
      • Data Breach
      • DDoS
      • Evasion Attacks
      • Injection
      • Malware
      • MITM
      • Phishing
      • Ransomware
      • RCE
      • Social Engineering
      • Spoofing
      • Spyware
    • Business and Policy
      • BCP and DRP
      • GRC
      • Regulations
    • Data Protection
      • DLP
      • DRM
      • Encryption
      • IAM
    • Future, Trends and Insight
      • AI
      • Events & Community
      • Emerging Tech
      • Expert Panel
      • Interviews With Experts
      • Insights
      • Study & Research
    • Resources
      • Guides
      • Tools
      • Training & Education
    • Security
      • API
      • Apps
      • Cloud
      • Critical Infrastructure
      • Endpoint
      • Hardware
      • IoT
      • Mobile
      • Network
      • OT
      • Port Security
      • Security Architecture
      • Software Development
      • Supply Chain
      • Zero Trust
    • Threats and Vulnerabilities
      • Emerging Threats
      • Insider Threats
      • Risk Management
      • Threat Intelligence
      • Zero Day
  • News and Exclusives
    • Latest News
    • ISB Exclusive
    • Positive News
  • Who We Are
    • About Us
    • Information Security Buzz Expert Panel​
    • Write for Us
    • Media Pack
  • Contact Us
  • Newsletter
Subscribe
Information Security BuzzInformation Security Buzz
Home - Malware - Trojanized KeePass: The Password Manager Turned Attack Vector
Malware Attacks Identity & Access Management News & Analysis

Trojanized KeePass: The Password Manager Turned Attack Vector

Kirsten DoyleBy Kirsten DoyleMay 21, 20255 Mins Read
Share LinkedIn Twitter Facebook Copy Link Email
The Password Manager Turned Attack Vector
Share
Facebook Twitter LinkedIn Email Copy Link
Quick AI Summary
ChatGPTClaudeGeminiGrokPerplexityDeepSeekCopilot

A group of malicious actors has been targeting PCs with a maliciously altered version of the KeePass password manager, enabling them to steal credentials and lock victims out of their systems to demand ransom payments. 

According to WithSecure’s Threat Intelligence team, the campaign has been active for at least eight months. During this time, attackers have been distributing trojanized KeePass installers to deploy Cobalt Strike beacons, exfiltrate credentials, and ultimately launch ransomware attacks across compromised networks. 

The campaign was uncovered during a ransomware investigation, where WithSecure traced the infection chain back to a fake KeePass installer. This installer was promoted via Bing ads that directed users to fraudulent software websites designed to mimic legitimate download pages. 

Because KeePass is open source, the attackers were able to modify its source code and recompile it with trusted certificates to create a malicious version dubbed “KeeLoader.” This variant retains all standard KeePass functionality, making it difficult to detect. However, it includes hidden functionality that installs a Cobalt Strike beacon and silently exports the user’s KeePass password database in cleartext. The stolen data is then exfiltrated through the beacon. 

WithSecure described this as the first ransomware campaign they’ve seen in which the source code of a widely used open-source tool was deliberately modified to serve multiple malicious purposes. 

Of particular concern, WithSecure said, is that the legitimate source code of the popular KeePass password manager was altered and recompiled. The resulting version was then distributed via malvertising and installed multiple times across several of its customers. In similar cases, attackers usually drop malicious files alongside legitimate software, but this campaign directly trojanized the core application itself. 

The infrastructure used in the attack was linked to a well-known Initial Access Broker (IAB) that WithSecure believes is behind numerous high-profile ransomware attacks over the past two years. Notably, the Cobalt Strike watermark used in this campaign is one previously observed in activity associated with the Black Basta ransomware group. 

This watermark consistently appears in beacons and domains tied to Black Basta ransomware,” WithSecure explained. It is likely being used by threat actors operating as Initial Access Brokers who work closely with Black Basta.  

While WithSecure hasn’t seen this specific watermark in other campaigns, that doesn’t mean it hasn’t been used elsewhere. 

A Powerful Example of Identity Misuse 

Rom Carmel, Co-Founder and CEO at Apono, calls this “a powerful example of how identity misuse, not just malware, is at the core of modern ransomware attacks.” 

Carmel says the attack hinged on identity and credential compromise. “By trojanizing KeePass, attackers gained access to a trove of stored credentials, including admin accounts, service accounts, and API keys, giving them the ability to move laterally and escalate privileges. These credentials, often lacking MFA or proper access controls, enabled attackers to access and encrypt critical infrastructure like ESXi servers. The lesson learned: this breach highlights how unmanaged credentials and overprivileged identities, both human and non-human, are prime targets and key enablers in modern ransomware campaigns.” 

Problematic From Several Angles 

Boris Cipot, Senior Security Engineer at  Black Duck says this case presents a cybersecurity issue that is problematic from several angles. “It touches on open source usage and development, it shows our trust in false advertising, and it showcases the vast capabilities cybercriminals have by exploiting the two.” 

Cipot says the malicious password manager was created out of legit OSS called KeePass. The malicious software was then advertised online and waited for victims that believed it was a legitimate password manager. Once a victim installed the malicious password manager, downloaded and deployed the Cobalt Strike tool for command and control and exported the existing KeePass password database in clear text, the attackers gained access to networks, VPNs, and cloud services. 

The attackers focused on VMWare ESXi servers where they deployed their ransomware payloads, he adds. “By gathering the passwords stored in KeePass, the attackers had access to the hosts running on those ESXi servers and with this they could start a highly disruptive and efficient attack on hundreds of targets without needing to attack individual, virtual machines.” 

Never Blindly Trust Advertisements 

Lessons learned are many, says Cipot. However, the most important ones are to never blindly trust advertisements (this also applies to emails or other forms of messaging) and to not assume that OSS, although it is available to the public, is safe. It’s essential to ensure uncompromised trust in software and to know the software you use, be it commercial or OSS, know where it comes from and make sure that it is legit before you apply it to your own development or to your computer. 

A Textbook Identity Attack 

Jason Soroko, Senior Fellow at Sectigo, says: “Threat actors lured victims to a look-alike KeePass download site advertised on Bing. The tainted installer, called KeeLoader, ran the real password manager while silently launching a Cobalt Strike beacon and dumping the entire KeePass database to disk in clear text. The beacon exfiltrated those credentials, letting the intruders authenticate over SSH, RDP and SMB, drop more beacons and escalate until they controlled vCenter and backup services. With the same Black Basta-linked watermark seen in past incidents, the operators executed a ransomware payload that encrypted VMware ESXi datastores, taking down the VMs in one action.” 

Soroko says the breach is a textbook identity attack. “By turning a trusted password safe into a credential harvesting mechanism, the adversary harvested domain admin passwords, vSphere root keys and service-account secrets that function as the organisation’s digital identities. Those stolen identities negated perimeter controls, neutralised Veeam backups and enabled hypervisor-level ransomware deployment.” 

Kirsten Doyle
Kirsten Doyle
Information Security Buzz News Editor

Kirsten Doyle has been in the technology journalism and editing space for nearly 24 years, during which time she has developed a great love for all aspects of technology, as well as words themselves. Her experience spans B2B tech, with a lot of focus on cybersecurity, cloud, enterprise, digital transformation, and data centre. Her specialties are in news, thought leadership, features, white papers, and PR writing, and she is an experienced editor for both print and online publications.

  • Kirsten Doyle
    AI-Powered Attacks Become Top Concern for Security Professionals, New Filigran Survey Reveals
  • Kirsten Doyle
    ShinyHunters targets Oracle PeopleSoft customers through critical zero-day
  • Kirsten Doyle
    SIG report: AI-generated code is linked to twice the security risk and rising technical debt
  • Kirsten Doyle
    Miasma worm spreads from Red Hat packages to Microsoft repositories

The opinions expressed in this post belong to the individual contributors and do not necessarily reflect the views of Information Security Buzz.

Share. Facebook Twitter LinkedIn Email Copy Link

Related Posts

When PUPs bite: Huntress uncovers “weaponised” adware exposing 25,000+ systems

April 16, 20262 Mins Read

Fake Tech Support Scams Deliver Advanced Command-and-Control Malware

March 5, 20262 Mins Read

Americans Lost Over $20 million in ATM “Jackpotting” Attacks

February 24, 20263 Mins Read
ISB-Bora-Side-Bar

 
ISB-Bora-Side-Bar
Black ISB Logo

Information Security Buzz is an independent resource that provides the experts’ comments, analysis, and opinion on the latest Cybersecurity news and topics

X (Twitter) LinkedIn Facebook RSS

Working With Us

  • About Us
  • Advertise With Us
  • Contact Us

Write For Us

  • How To Contribute

The Pages

  • Privacy Policy
  • Cookie Policy
  • AI Policy
  • Terms & Conditions
  • Copyright Notice

Information Security Buzz and all its contents are copyright © 2014-2025. All rights reserved. All third-party trademarks are recognized.

Type above and press Enter to search. Press Esc to cancel.

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}