Cryptojacking Campaign Targets PostgreSQL Servers Via Unauthorized Access

Article Highlights
Off On

A concerning ongoing campaign has been identified, targeting exposed PostgreSQL instances to deploy cryptocurrency miners through unauthorized access. This recent cyber intrusion has been closely monitored by security firm Wiz, which has labeled this malicious activity as a variant of the intrusion initially discovered by Aqua Security last year. Using malware named PG_MEM, the campaign is attributed to the threat actor JINX-0126. This operation showcases sophisticated defense evasion techniques, such as deploying binaries with unique hashes for each target and executing miner payloads filelessly to evade detection.

Unauthorized Access and Exploits

The campaign has successfully compromised over 1,500 PostgreSQL servers, primarily taking advantage of systems with weak or easily guessable credentials. One of the key tactics employed by the attackers involves abusing the COPY … FROM PROGRAM SQL command to execute shell commands, allowing them to gain an initial foothold on the targeted server. They further use a Base64-encoded shell script to eliminate competing cryptocurrency miners and install a malicious binary named PG_CORE. This method ensures continued control over the infected system, enabling the attackers to maintain their cryptojacking activities without interruption.

An obfuscated Golang binary, deceitfully named postmaster to mimic the legitimate PostgreSQL server, aids persistence. This binary establishes itself via cron jobs, creates a privileged role within the database, and writes another binary, cpu_hu, to disk. The binary cpu_hu, in turn, downloads the latest version of the XMRig miner from GitHub and launches it filelessly using the memfd technique, a tactic known for its efficiency in avoiding detection. Each compromised machine becomes uniquely assigned as a mining worker, contributing to the attacker’s overall mining operations.

Indicators and Impacts of the Campaign

Evidence indicates that the threat actor assigns a unique identifier to each mining worker, with three wallets showing links to approximately 550 workers each. This alignment implies that the campaign may involve more than 1,500 compromised machines. The wide-reaching impact highlights the significant risk posed by publicly exposed PostgreSQL instances, which often become opportunistic targets for such malicious campaigns due to their vulnerabilities.

The campaign’s distinctive characteristics include fileless payload execution, unique binary hashes per target, and sophisticated persistence mechanisms. This level of intricacy reflects the evolving strategies employed by JINX-0126, who have demonstrated a refined approach to cryptojacking. These developments underscore the critical need for robust security practices and proactive measures to safeguard cloud environments and database servers from exploitation.

Strategic Takeaways

A significant ongoing cyber campaign has been detected, targeting unprotected PostgreSQL databases to install cryptocurrency mining software through unauthorized access. Security firm Wiz has been closely monitoring this recent cyber intrusion, identifying it as a variant of an attack first uncovered by Aqua Security last year. The malware, named PG_MEM, is linked to the threat actor known as JINX-0126. This sophisticated operation uses advanced techniques to avoid detection, such as deploying binaries with unique hashes for each target and executing their miner payloads without creating files, rendering traditional security measures less effective. The attackers’ ability to adapt and evolve their strategies highlights the critical need for robust security measures to protect database instances from such threats. Organizations are urged to secure their PostgreSQL instances by applying necessary security patches, monitoring unusual activities, and implementing best practices to avoid falling victim to these sophisticated attacks.

Explore more

Fixing Business Central Manufacturing Problems After Go-Live

The transition from a controlled project environment to the chaotic reality of daily production often reveals that the true test of a Dynamics 365 Business Central implementation begins only after the consultants have departed. While the official launch signifies that the software is technically functional, the months that follow determine whether the system will actually serve as a reliable engine

Synctera Secures $24.5 Million to Scale Banking-as-a-Service

Securing capital in a high-stakes environment requires more than just a clever pitch; it demands a resilient architecture that bridges the gap between traditional banking and the agile world of modern fintech. Synctera recently reached a major milestone by securing $24.5 million in new capital from Multiplier Capital, Fin Capital, 1st & Main Growth Partners, Diagram, and NAventures. This brings

Can AI Fix the Structural Friction in Modern CRM Data?

Chord’s acquisition of Zenlytic reflects a critical industry shift toward providing AI agents with a governed layer of business context rather than just raw database access. This strategic move underscores a pervasive challenge within the enterprise landscape, where the sheer volume of customer information often exceeds an organization’s ability to interpret it meaningfully. While vendors like Salesforce, Veeva, and Pegasystems

Leverate Launches AI CRM for MT4 and MT5 Brokerages

The relentless fragmentation of data within trading firms has long acted as a silent anchor, dragging down the operational speed of even the most sophisticated global brokerages. As the industry moves further into 2026, the demand for real-time intelligence has transitioned from a competitive advantage to a fundamental necessity for survival. Leverate, a prominent provider of brokerage technology, recently addressed

Will Zen 6 Redefine High-Performance Computing?

The semiconductor landscape is witnessing a seismic shift as engineers push past the physical limitations of silicon to deliver the next generation of computational power. With the formal introduction of the Zen 6 microarchitecture, the narrative of high-performance computing is moving away from the incremental gains of the past and toward a wholesale reconstruction of how data moves through a

Fill out the form below