Petya Ransomware
Browse the ransomware hub · Open the response playbook
Petya vs NotPetya: quick comparison
Original Petya and the June 2017 outbreak require different investigation and recovery assumptions. Historical reports sometimes use Petya for both; identify the examined implementation before acting.
| Aspect | Original Petya (2016) | June 2017 NotPetya | Sources |
|---|---|---|---|
| Historical scope | Ransomware first documented in 2016; this profile keeps the original implementation separate. | The later outbreak was also called Petya. Microsoft describes that attack as intended to wipe data despite its ransom message. | Malwarebytes family history; Microsoft 2018 overview |
| Spread described by the cited research | Do not import the 2017 outbreak's supply-chain and network-spreading findings into every original-Petya detection. | Microsoft observed infections starting from the M.E.Doc updater and documented credential-based remote execution and SMB exploitation. | Microsoft 2017 investigation |
| Recovery expectations | Check Point found recovery-enabling flaws in the original implementation it examined. Compatibility with the affected version must be established. | Original-Petya recovery findings do not establish recovery for this later destructive implementation. Do not infer a universal decryptor or guaranteed recovery. | Check Point original research; Microsoft 2018 overview |
| Evidence needed before action | Preserve the detection label, artifact identifiers and actual disk changes before choosing a version-specific recovery method. | Check the report date, implementation and observed propagation evidence before applying guidance from the 2017 outbreak. | Check Point original research; Microsoft 2017 investigation |
Table of Contents
- Overview & Executive Summary
- Establish whether the evidence concerns Petya or NotPetya
- Examine boot code and file-system metadata separately
- Treat a repair-looking boot screen as evidence
- Separate version-specific recovery from promises of decryption
- Keep the June 2017 propagation story in its own scope
- Keep actor attribution and detection claims within the evidence
- Detection examples
- Frequently Asked Questions
Overview
Original Petya is ransomware documented in 2016 that replaces boot code and encrypts NTFS Master File Table records. This page retains Petya in the ransomware category and distinguishes it from the destructive June 2017 campaign commonly called NotPetya. The names are frequently combined in older reports, but recovery expectations and propagation claims should be attached to the specific malware being discussed.
Check Point's original research describes an initial boot-record overwrite, a subsequent Master File Table encryption stage and a ransom display. Its researchers also found implementation flaws that enabled recovery for the version they examined. That finding is incompatible with a blanket claim that every Petya-associated infection is unrecoverable. It also does not establish that a recovery method works for every later sample.
For an incident, preserve the original vendor detection and identify the actual artifact or disk evidence before selecting a recovery procedure. A red screen, a failed boot or a familiar family label can guide triage without resolving which implementation caused the damage.
Establish whether the evidence concerns Petya or NotPetya
Malwarebytes' family history separates original Petya releases from later related or repurposed implementations, including the June 2017 malware it calls EternalPetya. Microsoft's 2018 overview describes that later attack as intended to wipe data despite its ransom message. Older articles may simply call it Petya. Read the report's date, examined artifact and campaign context before importing a statement into the case.
Keep a short identification record: original alert label, available file hash, observed disk changes, ransom-message details and the source used for comparison. Preserve uncertain matches as uncertain. The purpose is to select compatible analysis and recovery guidance, not to force every historical alias into one equivalence class. This profile removes NotPetya names from the original Petya alias list while retaining the comparison in explanatory text.
Examine boot code and file-system metadata separately
Check Point describes boot-record replacement followed by encryption of NTFS Master File Table records. That metadata helps the file system locate and describe stored files. Losing access to it can make a volume unusable without establishing that every byte of every file has been individually encrypted. Record the structures actually examined and the evidence supporting the current damage assessment.
Preserve original disks or appropriate forensic copies before exploratory repair writes. Ask a recovery specialist which structures a proposed action changes and which access problem it is intended to solve. Replacing boot code may address one problem while leaving encrypted metadata unresolved. A failed operating-system startup should therefore not be treated as a complete diagnosis or an instruction to run a standard boot repair procedure.
Treat a repair-looking boot screen as evidence
The Petya research describes malicious boot-stage encryption under a disk-check appearance. A repair-looking screen on a suspected system should be assessed in context rather than trusted as an operating-system maintenance operation. Preserve what is visible, the machine's state and the preceding timeline when those observations can be collected without delaying necessary containment.
Avoid a universal instruction to reboot, power off or run boot repair based only on a catalog name. The appropriate action depends on whether destructive activity is continuing, what evidence is available and the recovery plan. The incident lead should coordinate that decision with qualified responders. Document the rationale, action and observed result so later recovery work can distinguish original damage from changes made during response.
Separate version-specific recovery from promises of decryption
Check Point's research reports flaws in the original Petya implementation that provided a recovery route. Malwarebytes explains that the key-recovery situation differs for the later destructive implementation. These statements concern specific versions and mechanisms. They do not justify advertising a universal Petya decryptor or claiming that a ransom payment will restore a damaged device.
Before using a recovery utility, establish the intended family and version, obtain it from its authoritative publisher, and evaluate its documented prerequisites. Retain untouched copies of affected data and any required disk sectors. Test on a controlled copy and verify representative recovered files. Record partial success and damaged files explicitly rather than declaring recovery from a tool's completion message alone.
Keep the June 2017 propagation story in its own scope
Microsoft's June 2017 investigation found the M.E.Doc updater in an observed infection chain and described credential reuse or theft, remote execution and SMB exploitation as spread mechanisms. Those observations concern the later outbreak. They should not become claims that original 2016 Petya universally arrived through a compromised accounting update or automatically used each of those methods.
If local evidence points to that later campaign or a comparable implementation, investigate the management, identity and network paths it actually used. Patching an exploitation route would not, by itself, remove access through valid administrative credentials. Conversely, a boot-sector infection with no supporting network evidence should not be described as domain-wide propagation. Keep the original host's findings and the wider exposure assessment linked but distinct.
Keep actor attribution and detection claims within the evidence
This review does not assign the original Petya family to the actors attributed responsibility for NotPetya. It also withdraws the former combined record's threat-actor, industry, current-platform and broad exploitation assertions from structured fields. The historical analyses remain available for comparing implementations. A family relationship or shared implementation detail does not establish a common operator in an individual incident.
No full ATT&CK technique set is asserted here because the previous list combined original ransomware behavior with the later campaign. No unverified hash set or network blocklist is republished. Generated rule examples remain experimental: generic boot modification and ransom strings can support triage but require evaluation and corroboration. This literature review provides neither independent sample execution nor measured detection accuracy.
Sources and scope
SystemHelpDesk reviewed the specific public research and agency material cited below to check this profile's scope, historical behavior and investigation context. This is a literature review, not independent execution of malware samples or laboratory validation. Response guidance is editorial advice; reported capabilities do not establish that each behavior occurred in a particular incident.
Source review updated 2026-11-24.
Known aliases
Threat reports may refer to this family under multiple names:
Detection limitations
Petya and NotPetya names overlap in historical reporting. Identification must account for the actual implementation and source scope. No current indicator set, full technique inventory, independent sample testing or measured rule accuracy is claimed.
Detection rule examples
These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_PETYA_T1_ARTIFACT
{
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Petya (Ransomware)"
category = "Ransomware"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/petya"
date = "2026-11-24"
strings:
$fam_name = "petya" ascii wide nocase
$alias_1 = "petya" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.
title: SystemHelpDesk Detection - Petya (Ransomware) Execution & Triage
id: 7fe1db2f-8718-59b9-a5c7-d539fad180fb
status: experimental
description: Experimental process-event hunting example associated with Petya Ransomware.
Measure detection and false-positive rates in your own environment. Shared administration
behavior needs additional incident evidence.
references:
- https://blog.checkpoint.com/research/decrypting-the-petya-ransomware/
- https://www.malwarebytes.com/blog/news/2017/07/keeping-up-with-the-petyas-demystifying-the-malware-family
- https://www.microsoft.com/en-us/security/blog/2017/06/27/new-ransomware-old-techniques-Petya-adds-worm-capabilities/
- https://www.microsoft.com/en-us/security/blog/2018/02/05/overview-of-petya-a-rapid-cyberattack/
author: SystemHelpDesk
date: '2026-10-14'
modified: '2026-11-24'
tags:
- attack.ransomware
- author.ricky-jordan
- source.systemhelpdesk-mfc
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \vssadmin.exe
- \wmic.exe
- \wbadmin.exe
- \bcdedit.exe
CommandLine|contains:
- delete shadows
- shadowcopy delete
- resize shadowstorage
- recoveryenabled no
- ignoreallfailures
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: critical
Tier 3 String and PE-marker example
Combines a family-name string with common PE markers. A match needs investigation before family attribution.
rule MALWARE_WIN_PETYA_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Petya tradecraft"
category = "Ransomware"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/petya"
date = "2026-11-24"
strings:
$attrib_str = "petya" ascii wide nocase
$ransom_marker1 = "vssadmin" ascii wide nocase
$ransom_marker2 = "delete shadows" ascii wide nocase
$crypto_marker = "AES" ascii wide nocase
condition:
uint16(0) == 0x5a4d and $attrib_str and (2 of ($ransom_marker*) or $crypto_marker)
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Preserve the original detection, visible boot state, timeline and available artifact identifiers while coordinating containment.
- Identify the implementation using evidence and cited research before applying original-Petya or NotPetya recovery advice.
- Have qualified responders assess ongoing activity and acquisition options; record any shutdown, reboot or repair decision and its effect.
- Protect original disks and recovery copies from exploratory writes, and test any version-compatible recovery method on a copy.
- Rebuild or restore a trusted environment, verify file and application integrity, and assess additional network or identity exposure where evidence supports it.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not label original Petya and NotPetya as interchangeable.
- Do not assume a disk-check screen is benign maintenance or apply a universal reboot instruction.
- Do not infer a universal decryptor or irreversible loss solely from a historical family label.
References & External Analysis
- Check Point: Decrypting the Petya Ransomware
- Malwarebytes: Keeping up with the Petyas (2017)
- Microsoft: New ransomware, old techniques - Petya adds worm capabilities (2017)
- Microsoft: Overview of Petya, a rapid cyberattack (2018)
- Search "petya" on VirusTotal (External Analysis)
- Search "petya" on Any.Run (Sandbox Sandbox)
- Search "petya" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
Are Petya and NotPetya the same thing?
This profile distinguishes original 2016 Petya ransomware from the destructive June 2017 implementation commonly called NotPetya. Some historical articles call the later attack Petya. Check each report's date, examined artifact and campaign scope before applying its conclusions.
Does original Petya encrypt every file individually?
The original research focuses on boot modification and encryption of NTFS Master File Table records. Loss of metadata access can make a volume unusable without showing that every byte of every file was encrypted. Describe the structures actually observed.
Can original Petya data be recovered?
Check Point reported implementation flaws enabling recovery for its examined version. Applicability depends on the implementation and preserved evidence. Obtain a qualified assessment and test a documented method on copies; that research does not promise recovery for every Petya-associated artifact.
Will replacing the Master Boot Record fix the damage?
Boot code and file-system metadata are separate recovery concerns. Replacing one structure does not establish that the other is usable. Preserve evidence and assess the complete disk state before performing repair writes or attempting normal startup.
Why are SMB exploits absent from the original Petya fields?
The cited SMB and credential-based spread research concerns the June 2017 outbreak. This review keeps the campaign comparison in prose and clears the former combined record's broad exploit list so it does not imply that every original Petya sample contains those capabilities.
Protect Your Network Against Ransomwares
Want to prevent Petya Ransomware and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Containment & Incident Response.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/petya.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,982 malware families. The catalog is also published across our ecosystem: Hugging Face, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.