Skip to main content
Mallory
Malware

Gpcode

Tracked since Feb 5, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK8Techniques
IOCs8Tracked
Type
Ransomware
Capabilities
ExfiltrationDefense evasion
Delivery
PhishingMalspamLanding page
Platforms
Windows

GPcode, also known as PGPCoder, is an early Windows ransomware family that helped define modern cryptoviral extortion. First observed in the mid-2000s, it encrypts victim files and demands payment in exchange for a decryptor or decryption key. Early variants used flawed or weaker implementations, but later versions were reported with substantially improved cryptography, including correctly implemented RSA-1024 in some campaigns, making practical brute-force recovery infeasible and shifting defender focus toward implementation flaws, backups, and file recovery.

GPcode targets Windows systems and encrypts files matching hard-coded extension lists that commonly include documents, archives, media, certificates, and databases. Some analyzed variants enumerate logical drives, recursively traverse directories, encrypt selected files through Windows CryptoAPI functions, and rename affected files with a new extension. Variants have also dropped ransom notes onto the desktop, changed the victim’s wallpaper, and removed themselves after execution through cleanup scripts. Reports indicate some versions deleted original files after creating encrypted copies, while others simply encrypted and renamed files.

Distribution has been associated with phishing emails, malicious links, and, in earlier reporting, e-mail and USENET postings. GPcode has been described as a Trojan-delivered ransomware threat rather than a self-propagating worm. Campaigns used multiple extortion workflows over time, including email-based negotiation, proof-of-decryption offers for a single file, and payment requests through then-popular digital payment systems or prepaid-card mechanisms. Reporting has linked some GPcode activity to Russian-speaking operators, although infrastructure and communications observed in certain cases suggested operational complexity beyond a single simple attribution.

GPcode is historically significant because it marked a transition from crude locker-style extortion toward file-encrypting ransomware using stronger public-key cryptography. Its evolution demonstrated that once ransomware operators adopted sound asymmetric encryption, victim recovery without backups, implementation mistakes, or attacker cooperation became far more difficult.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

8 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1189Drive-by CompromiseEvidence1

GPCode infected systems via malicious website links and phishing emails.

T1566PhishingEvidence2

GPCode infected systems via malicious website links and phishing emails.

Stealth

4 techniques
T1027.009Embedded PayloadsEvidence1

In the first call, GpCode will load, and lock a resource... ResourceName = "cfg" ... In this call it will decrypt the data contained at 00175158

T1070Indicator RemovalEvidence1

It creates a file called "ntfs_system.bat" ... del "C:\Documents and Settings\Administrateur\Bureau\1.exe" del %0

T1070.004File DeletionEvidence1

Despite that GPcode indeed got the encryption implementation right this time, it's only weakness remains the way it simply deletes the files it has just encrypted, next to securely wiping them out - at least according to a single sample obtained.

T1497.001System ChecksEvidence1

And Create the mutex "ilold" ... OpenMutexA ... CreateMutexA

Discovery

2 techniques
T1083File and Directory DiscoveryEvidence1

After it creates a thread and retrieves a bitmask representing the currently available disk drives... Then we enter in a loop... FindFirstFileA ... FindNextFileA

T1497.001System ChecksEvidence1

And Create the mutex "ilold" ... OpenMutexA ... CreateMutexA

Impact

1 technique
T1486Data Encrypted for ImpactEvidence5

Kaspersky Labs who were the first to report that a new version of GPcode (also known as PGPCoder) is in the wild, this time with a successful implementation of RSA 1024-bit encryption.

Indicators of compromise

Observables

8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching8Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping8Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.