Recovering Deleted and Superseded Data from Raw Flash Filesystems in Embedded and IoT Devices

Consumer devices with flash storage rarely encrypt it, so deleted logs, credentials, and sensorrecords often stay readable long after a user believes they are gone. Flash cannot overwrite a page in place, so adeletion or an edit leaves the old content in an obsolete page until wear leveling and garbage collection reclaim itmuch later. The extraction tools used in firmware analysis rebuild only the live filesystem and discard these obsoleterecords, which is where the deleted history sits. This paper presents Revenant, a forensic tool that recovers deletedand superseded files from raw dumps of five flash filesystems, JFFS2, UBIFS, YAFFS, LittleFS, and SPIFFS, andties each recovered item to the metadata that survives, with a provenance record of its offset, state, confidence, andcryptographic hash. The tool was scored against an exact deletion log on eighty controlled images, forty built by thereference LittleFS implementation and forty more across specification conformant JFFS2 and UBIFS node logs,SPIFFS images from a reference generator, and YAFFS object header logs. It recovered every deleted andsuperseded version that still physically survived on the medium, at every level of later writing from a fresh deletionthrough to eight hundred following operations, while a conventional live extractor recovered none of them on thesame images. Recovered content was byte exact for all 1043 high confidence items, and a recovered path wascorrect in at least 90 percent of the cases where any path had survived. The main constraint is that these recoveryrates rest on controlled benches with synthetic deletion histories, because a real seized device carries no ground truthto measure against, and YAFFS content reassembly is left to later work since it depends on out of band page datathat a plain image may not carry

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24613042
Primary Topic
Digital and Cyber Forensics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Recovering Deleted and Superseded Data from Raw Flash Filesystems in Embedded and IoT Devices

Syed Tayyab Hussain
Zenodo (CERN European Organization for Nuclear Research)
Digital and Cyber Forensics
preprint

Recovering Deleted and Superseded Data from Raw Flash Filesystems in Embedded and IoT Devices

Syed Tayyab Hussain
preprint en

Abstract

Consumer devices with flash storage rarely encrypt it, so deleted logs, credentials, and sensorrecords often stay readable long after a user believes they are gone. Flash cannot overwrite a page in place, so adeletion or an edit leaves the old content in an obsolete page until wear leveling and garbage collection reclaim itmuch later. The extraction tools used in firmware analysis rebuild only the live filesystem and discard these obsoleterecords, which is where the deleted history sits. This paper presents Revenant, a forensic tool that recovers deletedand superseded files from raw dumps of five flash filesystems, JFFS2, UBIFS, YAFFS, LittleFS, and SPIFFS, andties each recovered item to the metadata that survives, with a provenance record of its offset, state, confidence, andcryptographic hash. The tool was scored against an exact deletion log on eighty controlled images, forty built by thereference LittleFS implementation and forty more across specification conformant JFFS2 and UBIFS node logs,SPIFFS images from a reference generator, and YAFFS object header logs. It recovered every deleted andsuperseded version that still physically survived on the medium, at every level of later writing from a fresh deletionthrough to eight hundred following operations, while a conventional live extractor recovered none of them on thesame images. Recovered content was byte exact for all 1043 high confidence items, and a recovered path wascorrect in at least 90 percent of the cases where any path had survived. The main constraint is that these recoveryrates rest on controlled benches with synthetic deletion histories, because a real seized device carries no ground truthto measure against, and YAFFS content reassembly is left to later work since it depends on out of band page datathat a plain image may not carry

Zenodo (CERN European Organization for Nuclear Research)
Arden University (GB)
Digital and Cyber Forensics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon