Skip to content

Remote Rowhammer Attacks Exploiting Federated Learning Clients' Adversarial ObservationsRemote Rowhammer Attack using Adversarial Observations on Federated Learning Clients

arXiv· arXiv:2505.06335· IEEE Transactions on Dependable and Secure Computing 2026· Jinsheng Yuan, Yuhang Hao, Weisi Guo, Yun Wu, Chongyan GuFaculty of Engineering & Applied Sciences, Cranfield University; Queen's University BelfastIndexed by this site · 2026-10-22· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose using a PPO agent to generate physical-domain adversarial noise that interferes with FL client sensors, causing the server to produce repeatedly clustered updates, which the authors claim can remotely induce Rowhammer bit flips.

Threat modelThe attacker has no server backdoor or direct software/hardware access; through physical-domain adversarial noise (sound waves/image patches), the attacker interferes with the FL client's sensor input, causing the client to send repeatedly clustered sparse updates, which, via optimizations such as RDMA, induce Rowhammer bit flips on the server DRAM; the victim system is an FL server that uses sparse updates, page-locked memory, Transparent Huge Pages, and RDMA.

Questions
Federated learning servers are generally considered difficult to reach directly at the hardware level, and existing Rowhammer attacks mostly assume the attacker has software-level access to the victim hardware. The authors explore whether Rowhammer bit flips can be remotely induced on the FL server DRAM solely by interfering with client sensor inputs in the physical domain.
Methods
A PPO reinforcement learning agent generates adversarial waveforms or image patches; after being collected by client sensors, these cause local updates to concentrate on specific parameter indices; FL optimizations such as sparse updates, page-locked memory, Huge Pages, and RDMA cause these updates to form high-frequency repeated row activations on the server DRAM, satisfying Rowhammer conditions.
Experiments and results
On 3 ASR models and MobileNetV3, RUR is 63.1%–76.0% at 0.1% sparsity and 53.7%–60.8% at 0.05% (Table III); the authors estimate that at 0.05% sparsity the row activation counts of multiple models exceed the measured average threshold of 240K, and consider that bit flips can be induced.
Limitations and future work
The authors point out two limitations: the internal configuration of real FL systems is opaque to the attacker, and without feedback the efficiency of the RL framework may decrease; the attack cannot precisely control the specific victim DRAM row, so bit-flip outcomes are unpredictable. The experiments are in a simulated environment with 20–50 clients and were not validated on a real FL deployment.
Experimental setupConformer-CTC-S、Squeezeformer-XS et al. · Common Voice 17.0 (English subset)、CIFAR10 · Repeated Update Rate (RUR)、Cluster Density (CD) et al.
Evaluated models
Conformer-CTC-SSqueezeformer-XSQuartzNet 5x5MobileNet V3 Small
Benchmarks
Common Voice 17.0 (English subset)CIFAR10
Metrics
Repeated Update Rate (RUR)Cluster Density (CD)E[A] (expected row activations)Rowhammer activation threshold
AI summaryThe paper's authors claim the first demonstration of a remote Rowhammer attack against a federated learning server, in which attacking clients can induce bit flips in server memory. The reinforcement learning attacker does not need backdoor access to the server; by manipulating the clients' sensor observations, it maximizes the server's repeated aggregation memory updates, thereby remotely triggering a Rowhammer attack. On a federated learning system with sparse updates, the authors verified the feasibility of the attack on automatic speech recognition (ASR) and CIFAR10 classification tasks, with the attack agent achieving a repeated update rate (RUR) of about 70% on the target server model, effectively inducing DRAM bit flips on the server. The authors note that such adversarial observations may interfere with the learning process or unintentionally lead to privilege escalation, and pave the way for research on practical mitigation strategies in federated learning and hardware design.

The paper's authors claim the first demonstration of a remote Rowhammer attack against a federated learning server, in which attacking clients can induce bit flips in server memory. The reinforcement learning attacker does not need backdoor access to the server; by manipulating the clients' sensor observations, it maximizes the server's repeated aggregation memory updates, thereby remotely triggering a Rowhammer attack. On a federated learning system with sparse updates, the authors verified the feasibility of the attack on automatic speech recognition (ASR) and CIFAR10 classification tasks, with the attack agent achieving a repeated update rate (RUR) of about 70% on the target server model, effectively inducing DRAM bit flips on the server. The authors note that such adversarial observations may interfere with the learning process or unintentionally lead to privilege escalation, and pave the way for research on practical mitigation strategies in federated learning and hardware design.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors explore whether, without server access privileges, physical interference with FL clients can remotely induce Rowhammer bit flips in server DRAM.

    Core question: Can Rowhammer bit flips be remotely induced on the server DRAM solely by interfering with client sensor inputs in the physical domain, without direct access to the FL server's software or hardware.

    • Scenario and motivation: FL trains in a distributed manner across many clients, and servers often adopt efficiency optimizations such as sparse updates and RDMA; the authors believe these optimizations may make memory access patterns more concentrated and predictable, and thus indirectly exploitable. In future 6G RAN deployments, servers will be more protected, making direct attacks harder.
    • Shortcomings of existing methods: The authors state that existing Rowhammer attacks typically assume the attacker has some software-level access to the victim hardware (e.g., local code execution, JavaScript, network requests), which is difficult to obtain for the server in FL scenarios, limiting practical relevance.
    • Core hypothesis: Optimizations such as sparse gradient updates, page-locked memory, Huge Pages, and RDMA concentrate server memory accesses in fixed physical regions; if clients can be made to repeatedly send updates concentrated on the same parameter indices, high-frequency row activations can be formed on the server DRAM.
    • Proposed in the paper: A PPO-based reinforcement learning attack framework that generates adversarial waveforms or image patches to interfere with client sensors, causing client updates to repeatedly concentrate, along with a feasibility analysis and mitigation recommendations.
    • Threat model:
      • Goal: Induce bit flips on the FL server DRAM, interfering with training or possibly causing privilege escalation (per the authors).
      • Knowledge: No server backdoor or direct software/hardware access; the RL agent can observe client inputs and parameter updates.
      • Capability: Apply physical-domain adversarial noise (sound waves or image patches) near client sensors, affecting client local updates.
      • Victim system: An FL server using sparse updates, page-locked memory, Transparent Huge Pages, and RDMA, with tasks being ASR or CIFAR10 classification.
  2. What related research exists?

    Related work is divided into four groups: Rowhammer attacks and DRAM background, FL security threats, FL efficiency optimizations, and physical-domain adversarial attacks.

    Rowhammer attacks and DRAM background

    • Kim et al. (2014) proposed the Rowhammer phenomenon, inducing bit flips by frequently activating adjacent rows; Frigo et al. (2020)'s TRRespass and Jattke et al. (2024)'s Zenhammer showed that modern DDR4 can still be attacked by patterns such as many-rows despite TRR protections.
    • Seaborn & Dullien (2015), Gruss et al. (2016), and Tatar et al. (2018) implemented local privilege escalation, JavaScript remote, and network-based Rowhammer attacks, respectively; the paper notes that these works all assume some form of software-level access, whereas this paper does not require it.
    • Cojocar et al. (2019) state that ECC is ineffective against Rowhammer; Aweke et al. (2016) proposed the software defense ANVIL.

    FL security threats

    • McMahan et al. (2017) proposed FedAvg and the FL paradigm; Kairouz et al. (2021) surveyed open problems in FL.
    • The paper discusses poisoning, backdoor, and inference attacks in FL, noting that these threats are traditionally studied at the machine learning level, with the goal of undermining model utility or stealing privacy; this paper focuses on whether the update channel controlled by the same attacker can affect the server's underlying memory behavior.

    FL efficiency optimizations

    • The paper discusses sparse updates, page-locked memory (NVIDIA CUDA documentation), Huge Pages (Linux kernel documentation), and DMA/RDMA (FedRDMA by Zhang et al. 2024), noting that these mechanisms introduced for performance may make memory accesses more concentrated and bypass CPU caches, relating to the conditions required for Rowhammer.

    Physical-domain adversarial attacks

    • Eykholt et al. (2018), Brown et al. (2017), Evtimov et al. (2017), among others, demonstrated physical-domain adversarial examples such as printed images, adversarial patches, and traffic signs; Carlini & Wagner (2018), Yuan et al. (2018, CommanderSong), and Zhou et al. (2019) demonstrated audio-domain adversarial attacks.
    • The paper notes that its focus is not the misclassification effect of physical adversarial examples themselves, but the system-level processing by which attacker-controlled inputs can affect FL client updates.

    Baselines and benchmarks: The paper sets no comparison baseline methods; evaluation uses the Common Voice 17.0 English subset and CIFAR10, with target models Conformer-CTC-S, Squeezeformer-XS, QuartzNet 5x5, and MobileNetV3 Small.

    The authors position this paper as a cross-layer threat connecting hardware security and distributed learning: unlike traditional Rowhammer, which assumes software-level access, and unlike FL security, which focuses on model-level attacks, this paper uses physical-domain adversarial inputs to indirectly affect server DRAM through FL efficiency optimizations.

  3. How does the paper address this problem?

    A PPO agent is used to generate physical-domain adversarial noise, causing FL clients to send repeatedly clustered sparse updates, forming row activations on server DRAM that satisfy the Rowhammer condition.

    Overall idea: train a PPO reinforcement learning agent to generate adversarial waveforms or image patches, which, after being captured by client sensors, cause local gradient updates to repeatedly cluster on the same parameter indices; FL's sparse updates, page-locked memory, Huge Pages, and RDMA optimizations write these updates directly into fixed physical memory regions on the server, forming high-frequency repeated DRAM row activations that reach the Rowhammer threshold.

    Formalization of the attack vector

    • Predictable memory access: The authors state that page-locked Huge Pages make the parameter buffer physically contiguous and stable in location, RDMA/DMA bypasses the CPU cache to access DRAM directly, and sparse updates repeatedly touch a small number of parameters; together, these three reduce the attacker's uncertainty in targeting specific rows.
    • Covert attack carrier: The attacker does not need to break authentication or inject malicious clients; they only need to place an adversarial patch within the camera's field of view or play high-frequency audio near a voice device; when the client samples the environment, the physical adversarial noise is converted into local parameter updates.
    • RL feasibility validation: The agent observes client input and parameter updates, generates adversarial noise, and feeds it into the client input after physical realization and re-digitization simulation.

    Evaluation metrics

    • RUR (Repeated Update Rate): RUR = (∑t=1T−1|Ut ∩ Ut+1|)/(∑t=1T−1|Ut|), measuring the overlap of the parameter sets updated in consecutive rounds; higher means more repeated updates.
    • CD (Cluster Density): The degree of clustering of update indices in parameter space, measured as the ratio of the minimum span L containing 90% of the update indices to the number of parameters; lower means stronger spatial locality.
    • Bit-flip criterion: E[A] = RUR · Hmax(p), where Hmax(p) = BW · Δ trefresh / Supdate(p) is an upper bound on the number of sparse updates within one refresh period; when E[A] ≥ Tflip(r), the Rowhammer-related condition is considered present; the authors emphasize that this is a feasibility criterion, not a deterministic guarantee of bit flips.

    Target system

    • Models: three ASR models (Conformer-CTC-S 8.7M parameters, Squeezeformer-XS 9.0M, QuartzNet 5x5 6.7M) and one CV model MobileNetV3 Small (2.9M), all quantized versions (INT4 or INT8, Table I).
    • Data: Common Voice 17.0 English subset for ASR (1.1M speech clips, over 3k hours), CIFAR10 for CV; data is randomly and evenly split across clients.
    • Server: the global model and aggregation use Huge Pages and page-locked memory, and communication is RDMA-optimized.
    • Clients: ASR clients superimpose random Gaussian noise on the RL-generated adversarial noise and resample to 16kHz; CV clients simulate the printing and re-digitization process (paper texture, ink, gamma, scaling); clients send sparse updates of the most significant gradients.

    RL agent design

    • Observation and action space: In Stage 1, the observation is O = {xclean, ut}, where ut is a binary vector indicating the most recently updated parameters; the action is an adversarial perturbation with |δ|∞ ≤ ϵ, compressed by a patch encoder into a low-dimensional latent space (equal-length waveforms for ASR, 8x8 and 16x16 grids for CV), and mapped back to full resolution by a fixed decoder.
    • Reward function: Rt = α · EMD(ut, ut−1) + β · (|ut[i:j]|0)/(|ut|0) − γ Lperc, where the three terms correspond to update stability (EMD penalizes large shifts in consecutive update indices), target clustering (the target indices [i:j] are condensed from the dominant indices of early rounds), and a covertness penalty; for ASR, Lperc limits both frequency-domain artifacts and time-domain waveform distortion, and for CV it is λ|A|22.
    • Policy network: a target-specific feature extractor plus a multilayer perceptron decoder; the ASR extractor uses a multi-resolution convolutional front end plus bidirectional temporal modeling, and the CV extractor uses ResNet-like convolutional blocks.
    • Training parameters: the PPO agent uses |δ|∞ ≤ 0.1 as the perturbation upper bound; reward hyperparameters α=1.0, β=0.8, γ=0.6, λ1=λ2=0.5 for ASR and λ=0.8 for CV; each iteration runs the FL environment for 100 communication rounds, for 800 training iterations in total; 20–50 simulated clients.
  4. What experiments did the paper conduct?

    Rowhammer thresholds were measured on the DRAM Bender platform, and the PPO attack's RUR and estimated row activation counts were evaluated on 4 FL target models.

    Experimental setup

    • Tested models: Conformer-CTC-S (INT4), Squeezeformer-XS (INT4), QuartzNet 5x5 (INT8), MobileNetV3 Small (INT8); parameters and Hmax are in Table I.
    • Datasets: Common Voice 17.0 English subset (ASR), CIFAR10 (CV).
    • Sparsity settings: Two levels, 0.1% (moderate communication efficiency) and 0.05% (extreme communication efficiency).
    • Hardware platform: DRAM Bender open-source platform (based on Alveo U200 FPGA); the tested memory module is MTA18ASF2G72PZ-2G3B1-16GB (DDR4, 2400 MT/s, 72-bit width including 8-bit ECC, effective 64-bit); bandwidth 18.75 GB/s, about 1.2 GB throughput per 64 ms refresh cycle, default tRC 46.16 ns.
    • Threshold measurement: Two access patterns (single-sided, double-sided) × four data patterns (0xFF/0x00, 0x00/0xFF, 0x55, 0xAA); thresholds are averaged over the full bank, ensuring at least 95% of DRAM rows can flip.
    • Metrics and determination: RUR, CD, E[A]; bit-flip feasibility is determined by comparing E[A] with the measured threshold Tflip, which the authors emphasize is a feasibility criterion.
    • Clients and training: 20–50 simulated clients; PPO trained for 800 iterations, each with 100 communication rounds; the paper does not report the number of repeated experiments.

    Main results

    According to Table III (RUR in %, Hmax and EAct in K activations):

    Swipe horizontally to read the table

    ModelSparsityHmaxRUR(%)EAct
    Conformer-CTC-S0.1%296K69.5206K
    Conformer-CTC-S0.05%592K60.5358K
    Squeezeformer-XS0.1%286K63.1180K
    Squeezeformer-XS0.05%572K53.7307K
    QuartzNet 5x50.1%192K76.0145K
    QuartzNet 5x50.05%384K60.8233K
    MobileNetV30.1%444K63.3281K
    MobileNetV30.05%888K58.3518K
    • The authors state that the PPO agent consistently improves update concentration at both sparsity levels; RUR is higher at 0.1% sparsity (63.1%–76.0%), and at 0.05% RUR decreases but remains above 50% (53.7%–60.8%).
    • The authors explain that although QuartzNet 5x5 has the highest RUR, its small size and high precision limit Hmax, so its EAct is instead the lowest; the EAct of Conformer-CTC-S and MobileNetV3 exceeds 200K at both sparsity levels.
    • Figure 4 shows RUR curves for each model at both sparsity levels; the caption states that in all cases the agent successfully induced repeated concentrated updates.

    Rowhammer threshold testing

    • Test content: Activation thresholds for two access patterns and four data patterns were measured on DRAM Bender (Table II).
    • Results: Double-sided mode thresholds (115K–165K) are generally lower than single-sided (185K–265K); in the worst case, 265K activations suffice to induce a bit flip; all thresholds are within the theoretical upper limit of 1,309K and reserve dummy row activations to bypass TRR.
    • Authors' interpretation: Double-sided mode requires fewer activations but requires the victim data to be in two adjacent rows, making it harder to exploit; data patterns affect attack difficulty.

    Bit-flip feasibility estimation

    • Test content: The EAct from Table III is compared with the thresholds from Table II, taking the single-sided mode average threshold Tflip=240K.
    • Results: At 0.1% sparsity, only MobileNetV3 (281K) exceeds the average threshold; Conformer-CTC-S (206K) is close; Squeezeformer-XS and QuartzNet 5x5 are below the threshold. At 0.05% sparsity, Conformer-CTC-S (358K), Squeezeformer-XS (307K), and MobileNetV3 (518K) exceed the average threshold, while QuartzNet 5x5 (233K) lies between the lowest and average thresholds.
    • Authors' interpretation: The attack is overall more feasible at 0.05% sparsity; QuartzNet 5x5 may still induce bit flips but with greater difficulty.

    Other ablations and analyses

    • Effect of sparsity: Hmax at 0.05% is about twice that at 0.1% (Table I, III), EAct rises accordingly, and RUR decreases slightly.
    • Effect of model size and precision: The authors state that larger size and higher precision limit Hmax and thus reduce EAct (in the discussion of QuartzNet 5x5).
    • The paper does not report specific CD values, ablation experiments, or measured defense effectiveness.
  5. What are some points that can be further explored?

    The authors point out two limitations: the target system is opaque and the victim rows cannot be precisely controlled, and they propose follow-up directions such as sparse-reward RL and side channels.

    Limitations and future directions noted by the authors

    • Opaque target FL settings (Section VI-B): Real FL systems typically hide aggregation strategies, memory management, and system optimization details from the outside; without explicit feedback or partial system knowledge, the efficiency and effectiveness of the current RL framework may decrease. The authors propose future research on RL agents under sparse or inferable rewards, and transferable adversarial perturbation techniques.
    • Inability to precisely control the victim row (Section VI-B): This indirect Rowhammer attack inherently cannot precisely control which specific DRAM row is affected by a bit flip; results are unpredictable and may be transient, reducing the reliability of achieving specific goals (e.g., targeted data corruption or privilege escalation). The authors propose future exploration of side-channel techniques or hardware-software co-design to improve precision.
    • Complexity of real deployment (Section VI-A): The authors note that real deployments may introduce complicating factors such as partial system knowledge, environmental changes, and limited precision in generating physical perturbations.
    • Future directions (Section VI-D): Explore hardware-software co-design to mitigate Rowhammer risk without compromising efficiency; extend to more model architectures and real applications, and strengthen the attack with more capable agents that can handle side-channel information and learn under sparse rewards.

    Scope of experimental coverage

    • The tested models are Conformer-CTC-S, Squeezeformer-XS, QuartzNet 5x5, and MobileNetV3 Small, 4 in total, all quantized versions (INT4/INT8).
    • Tasks and datasets are ASR (Common Voice 17.0 English subset) and CIFAR10 classification; clients are a simulated environment, and physical embodiment and re-digitization are simulated processes.
    • The number of simulated clients is 20–50; PPO is trained for 800 iterations, each with 100 communication rounds.
    • Rowhammer thresholds were measured on a single DDR4 memory module (MTA18ASF2G72PZ-2G3B1-16GB); bit-flip conclusions are based on estimates comparing E[A] with thresholds, and the paper does not report actually observing bit flips on an FL server.
    • The paper does not report the number of repeated experiments, CD metric values, or measured effectiveness of the proposed mitigations (adversarial input detection, hardware protections, etc.).
  6. Summarize the main content of the paper

    The authors propose a PPO-driven remote Rowhammer attack vector that induces bit-flip conditions on the server DRAM by physically interfering with FL clients.

    An attack paper spanning hardware security and federated learning, proposing a remote Rowhammer attack vector that requires no server access.

    • Problem: Traditional Rowhammer attacks assume software-level access to the victim hardware, which is difficult for an FL server to be directly reached; the authors explore whether DRAM bit flips on the server can be remotely induced solely by interfering with client sensor inputs in the physical domain.
    • Method: A PPO agent generates adversarial waveforms or image patches; after clients collect them, local updates repeatedly concentrate on the same parameter indices; sparse updates, page-locked memory, Huge Pages, and RDMA cause fixed memory regions on the server to be accessed repeatedly at high frequency. The reward function balances update stability, target concentration, and stealthiness.
    • Threshold measurement: On the DRAM Bender platform, DDR4 memory double-sided mode thresholds of 115K–165K and single-sided 185K–265K activations were measured (Table II); in the worst case, 265K activations suffice to flip.
    • Attack effect: At 0.1% sparsity, the RUR of four models is 63.1%–76.0%, and at 0.05% it is 53.7%–60.8% (Table III); the authors estimate that at 0.05% sparsity, the EAct of Conformer-CTC-S, Squeezeformer-XS, and MobileNetV3 exceeds the single-sided average threshold of 240K, while at 0.1% only MobileNetV3 exceeds it.
    • Authors' conclusion: The authors claim this attack vector is feasible in realistic FL settings, that efficiency optimizations may inadvertently expose hardware-layer vulnerabilities, and they discuss mitigations such as adversarial input detection, hardware protections, and system security analysis at deployment.
    • Implications: The authors believe FL threat modeling requires an interdisciplinary perspective spanning software and hardware, and that performance-oriented design choices should also be evaluated for their security impact.
Read originalIEEE Transactions on Dependable and Secure Computing 2026