Skip to main navigation Skip to search Skip to main content

Reassembling fragmented BMP files based on padding bytes

  • Xianyan Wu
  • , Qi Han
  • , Xiamu Niu*
  • *Corresponding author for this work
  • School of Computer Science and Technology, Harbin Institute of Technology

Research output: Contribution to journalArticlepeer-review

Abstract

Reassembling fragmented image files plays a crucial role in seizing digital evidence from scattered digital image files. The existing algorithms are mainly graph based, which cast the reassembly problem as a K-vertex disjoint path problem in a directed complete graph, which is an NP-complete problem. Based on the padding bytes in BMP files, we present a method to exclude most impossible paths, which can improve the accuracy and decrease the time complexity of the existing graph-based methods. According to the alignment rule of BMP format, padding bytes must be appended to the end of each row to bring up the length of the row to a multiple of 4 bytes. Hence the fragment, being a vertex of the path which correctly reassembles a file, has a property; its byte values at padding positions must be the padding values. Only the fragments with such property can be candidate fragments for the vertex. On the test dataset which is constructed based on 330 image files, taking eight classical methods as examples, we show that the proposed method produces an accuracy improvement ranging from 32% to 55%, and reduces the run time to a scope from 1/6 to 1/237.

Original languageEnglish
Article number033002
JournalJournal of Electronic Imaging
Volume25
Issue number3
DOIs
StatePublished - 1 May 2016
Externally publishedYes

Keywords

  • BMP image files
  • Digital evidence
  • Digital forensics
  • Fragmented file reassembly
  • Padding bytes

Fingerprint

Dive into the research topics of 'Reassembling fragmented BMP files based on padding bytes'. Together they form a unique fingerprint.

Cite this