CS Paper Radar

Forensic Analysis of the HackRF One with PortaPack Mayhem Firmware

Düzgün Küçük

cs.CR ·submitted 2026-10-11 20:15 UTC · v1
code/dataunusual

Abstract

Software-defined radios (SDRs) have become an inexpensive, portable platform for replay attacks, location spoofing and jamming. The HackRF One can operate stand-alone when fitted with a PortaPack interface board running the open-source Mayhem firmware. No peer-reviewed study has addressed the forensic analysis of this device family. This work establishes, at source-code level, where forensically relevant data reside on the microSD card of a device running Mayhem v2.0.1, in which format, when they are written and how they should be interpreted. The methodology is applied to an SD card image that the author acquired from their own device after four months of real use, and every inference is drawn from the image alone. The workflow covers timestamp rules that depend on the real-time clock (RTC) battery state, traces of on-device trimming and text editing, cluster-level recovery of deleted in-phase/quadrature (IQ) captures, and decoding of recorded signals cross-checked with an independent decoder. In the example image, the final part of a deleted IQ capture and a trimmed-away capture segment are recovered, and six captures are attributed to a single rolling-code on-off keying (OOK) transmitter sharing one 32-bit identifier. The study provides practitioners with an artifact catalogue, interpretation rules and acquisition recommendations.

Comment
26 pages, 12 figures, 9 tables. The forensic image is available at https://doi.org/10.5281/zenodo.23219006

Closest papers

Nearest neighbours by meaning across the whole index.

Spectrum of Liability: Forensically Sound Acquisition of Wireless Evidence for the Reconstruction of Maritime Cyber-Physical Incidents

cs.CR ·2026-10-18 ·Giacomo Longo, Alessandro Cantelli-Forti, Alessio Merlo, Enrico Russo
similarity 0.58
Abstract

Modern maritime navigation depends on mandatory wireless inputs, most notably GNSS and AIS, whose reception can be spoofed or jammed. When groundings or collisions occur, liability and safety investigations often turn on whether RF interference corrupted bridge instruments, yet the artifacts typically available (VDR outputs, IBS logs, screenshots, decoded messages) are downstream, lossy, and easy to contest in adversarial proceedings. We introduce a forensically sound acquisition methodology that preserves upstream wireless evidence together with the minimal contemporaneous context needed to interpret it. Our system records coherent, multichannel IQ across relevant bands while simultaneously collecting time-aligned receiver and instrument-state metadata (e.g., decoded AIS/GNSS outputs and NMEA sentences), enabling later re-decoding and physical-layer reanalysis tied to what the onboard stack indicated at the time. To make the record independently auditable, we package samples and metadata into a single append-only forensic envelope that cryptographically binds per-stream hash chains with trusted-time anchors and periodic checkpoints, allowing third parties to detect tampering (modification, truncation, splicing, cross-case substitution) and to verify the claimed recording window. A prototype implementation shows the approach is practical: integrity mechanisms add negligible storage overhead and modest compute cost at operationally relevant multiband capture rates.

0.25

Device-Life Boundary Indicators and the Classification of Restored Versus Native Records on Android

cs.SE cs.OS ·2026-11-06 ·Daniel Kwaku Ntiamoah Addai, Selorm Adjabeng, Kingsley Albert Egyir, Sanders Larweh Tetteh
unusual similarity 0.54
Abstract · 9 pages, 4 figures. Lab Technical Report LAB-TR-0028, SectraTEK Lab; preprint, not peer reviewed. Corresponding author: Daniel Kwaku Ntiamoa…

A phone that shows calls, messages and photographs from years ago may have been set up recently and carried them over from an earlier handset, so its screen dates do not date the device's own life. Which traces fix where that life begins, how well they agree and how much of what is visible predates it is unmeasured. We read 14 Android full file system extractions (12 Samsung; Android 10 to 16), seven bug reports and 33 iOS extractions (a probe). Every Android device recorded a first boot, but the first evidence of user setup came a median of 98 days later (0 to 563). Of the 13 devices with messages, 7 held some dated before the first boot, a majority of them on 5; 24% of the apps outside the system image were installed as restored. Against the creator field that a migration tool leaves on messages, a boundary at user setup recalled all but 1 of 46,968 such messages, the first-boot boundary 94 to 100%. On synthetic fixtures, the labelling error followed the boundary error. A date on a record dates the device only once the record is shown to have been created on it.

0.40

Assessing Runtime Electromagnetic Detection of CPU Hardware Trojans Targeting Kernel Memory

cs.CR ·2026-09-19 ·Athanasios Moschos, Baki Berkay Yilmaz, Kevin Valakuzhy, Angelos D. Keromytis
code/data similarity 0.54
Abstract

Side-channels are a promising approach for hardware trojan detection, as they can passively reveal malicious hardware activity without requiring additional circuitry or destructive analysis of the device under test. This work investigates the use of electromagnetic (EM) emanations for runtime detection of hardware trojan attacks. Using an open-source hardware trojan that implements an arbitrary memory-write primitive, we tamper with the kernel memory of a Linux system running on a RISC-V microarchitecture and perform a real-time baseline detection using the processor's EM emissions. Our results indicate that, under certain conditions, hardware trojans can be detected indirectly through the anomalous software behavior they enable.

0.34

ANTMAN: An Efficient and Interpretable RTL-Level Run-Time Detection Framework for Stealthy Branch Predictor Attacks on BOOM

cs.CR ·2026-08-10 ·Muhammad Hassan, Sharjeel Imtiaz, Maria Mushtaq, Jaan Raik, Tara Ghasempouri
similarity 0.53
Abstract

Runtime detection of microarchitectural side channel attacks remains significantly underexplored in RISCV compared with x86 and ARM ISAs, posing a serious threat to critical applications. State-of-the-art branch predictor attacks bypass traditional data and instruction caches by directly exploiting the state of internal history tables, making them inherently stealthy. Recent research has explored offline detection of microarchitectural attacks on RISC-V; however, efficient runtime detection of microarchitectural attacks on RISC-V hardware remains significantly unaddressed. State-of-the-art hardware-based runtime detection solutions leverage hardware performance counters (HPCs) but suffer from a restricted set of counter registers and tradeoffs between detection accuracy, detection speed, and sampling granularity, making them impractical for stealthy attacks. Moreover, sampling HPCs after distinct intervals leaves intermediate relationships between different microarchitectural blocks unobserved. Additionally, proprietary x86 and ARM ISAs constrain researchers from modifying processor microarchitectural designs. To address these limitations, we propose the first secure-by-design, highly interpretable, non-intrusive, RTL-level runtime detection solution for stealthy branch predictor attacks on BOOM RISC-V, evaluated under both simplified Next-Line Predictor (NLP) and complex TAGE predictor configurations. The attack detection relies on association rules extracted offline and embedded in hardware as a non-intrusive rule monitor that enables runtime detection. The proposed approach achieves excellent detection speed, terminates execution before secret disclosure, and produces zero false positives while remaining flexible for detecting previously unseen variants within the same family of branch predictor attacks.

0.04

Enhanced image forensics through partial C2PA-based provenance information

cs.CR cs.AIcs.MMeess.IV ·2026-10-28 ·Riccardo Ziglio, Eleonora Marchesini, Andrea Montibeller, Giulia Boato, Silvio Ranise +1 more
similarity 0.52
Abstract · paper accepted to IEEE International Workshop on Information Forensics and Security (WIFS) 2026

Cryptographically verifiable C2PA-based Content Credentials (CCs) can be attached to freshly acquired or generated digital images but also to already existing ones with no previous provenance information, for instance after processing through trusted C2PA-enabled software tools. The latter case leads to images with so-called partial CCs, which capture only the last operations applied, while prior provenance remains unknown and can be investigated through signal forensics. This paper addresses the forensic analysis of such images, highlighting the opportunity to leverage the partial CCs as additional trusted knowledge to adapt forensic detectors towards the statistical characteristics of the image under analysis and mitigate potential distribution shifts. To this end, a two-step strategy is envisioned: (i) reconstructing the operations applied by the last signer through a structural analysis of the partial CCs; (ii) exploiting the obtained reconstruction to enhance the forensic detector of the analyst through an adaptation process. An empirical analysis on partial CCs produced by commercial C2PA-enabled software tools through different editing operations is carried out, providing evidence on the feasibility of the reconstruction in practical cases. An experimental case study on the forensic task of synthetic image detection is then presented, showing that the proposed strategy can significantly enhance the performance of state-of-the-art detectors on test images that are postprocessed via C2PA-enabled software tools after being generated/acquired.

0.28

Evaluating the Robustness of PRNU Source-Camera Attribution to the Fingerprint-Copy Attack: An Open Toolkit with Triangle-Test Detection

cs.CR ·2026-11-13 ·Zeno J. M. H. Geradts
benchmarkcode/data similarity 0.51
Abstract · 8 pages, 3 figures. Toolkit: https://github.com/geradts1/forensicsd

Photo-Response Non-Uniformity (PRNU) is the de facto standard trace for sensor-level source-camera attribution, and a high Peak-to-Correlation-Energy (PCE) between a questioned image and a camera reference fingerprint is routinely treated as strong evidence of common origin. The fingerprint-copy attack of Goljan, Fridrich and Chen (2011) shows that this signal can be forged: an adversary who estimates a target camera's fingerprint from that camera's publicly available images can inject a scaled copy of it into an unrelated photograph, producing a forgery that clears a PCE decision threshold despite never having been taken by the target device. We present prnucf, an open, auditable toolkit that pairs a reference implementation of the (additive) fingerprint-copy attack with the triangle-test detector and a cohort-calibrated decision procedure, so that practitioners can quantify how fragile a PRNU attribution is against this attack on their own pipelines. On a controlled multi-camera Monte-Carlo benchmark the attack reaches an arbitrary target PCE at a mean PSNR of 59.2 dB (visually lossless), yet the triangle test separates forgeries from innocent images with an area under the ROC curve of 0.999, detecting every forgery at a cohort-calibrated 5% false-positive operating point. We discuss why a fixed significance cut-off is not safe in casework, the limitations of synthetic validation, and the open problem of extending explainable detection to the modern, GAN-based generation of fingerprint-transfer attacks. The toolkit is released under the MIT license with an explicit dual-use statement.

0.41

FARE: Forensic Acceptance Region Estimation for Catching Bait-and-Switch Image Generators

cs.CV cs.AIcs.CR ·2026-09-25 ·Kai Yao, Marc Juarez
top venuecode/data similarity 0.50
Abstract · This work has been accepted for publication in the proceedings of The 40th Annual Conference on Neural Information Processing Systems (NeurI…

Modern AI image generators are increasingly deployed as opaque APIs, where customers can query the deployed service, but cannot inspect model weights or architecture. This creates a practical challenge: a provider may pass governance certification with one generator and later silently switch to a cheaper and lower-quality one for deployment, compromising public trust or even safety in high-stakes domains. We study integrity auditing at deployment time and propose FARE (Forensic Acceptance Region Estimation). A certified generator is enrolled by training FARE on images sampled from that generator. After deployment, FARE can determine whether a generated image is consistent with the enrolled generator---using only that image. FARE's features are based on image generator-specific artifacts that have been proposed for forensic applications. FARE amplifies these features during training by finding hard samples that tighten the acceptance region and increase sensitivity to subtle changes in the certified generator. Across generator swaps, including substitutions with similar model versions and model variants, FARE is effective at detecting swaps, consistently outperforming existing baselines at strict operating points, and remains effective under the exact-model and decision-only attacks evaluated in this work.

0.62

SDR Driver for Precise Timing Applications

cs.SE ·2026-08-21 ·Fabrizio Pollastri
unusual similarity 0.50
Abstract · 5 pages, 3 figures, 2 tables, submitted to GRCon26 conference

This paper describes the development of software drivers that enable precise timing applications with the low-cost HackRF One software-defined radio (SDR). The original firmware was extended with timing functions for synchronized sampling, time-scale control, and clock-frequency adjustment. An initial implementation based on a Python wrapper was later redesigned as a SoapySDR-compatible driver. Using an AI-assisted development workflow, the new driver was generated from the existing HackRF One and SoapySDR codebases and became operational after only limited debugging. The approach reduced development effort by more than an order of magnitude while improving software maintainability.

0.29