Skip to main content

Fast in-Place File Carving for Digital Forensics

  • Conference paper
Forensics in Telecommunications, Information, and Multimedia (e-Forensics 2010)

Abstract

Scalpel, a popular open source file recovery tool, performs file carving using the Boyer-Moore string search algorithm to locate headers and footers in a disk image. We show that the time required for file carving may be reduced significantly by employing multi-pattern search algorithms such as the multipattern Boyer-Moore and Aho-Corasick algorithms as well as asynchronous disk reads and multithreading as typically supported on multicore commodity PCs. Using these methods, we are able to do in-place file carving in essentially the time it takes to read the disk whose files are being carved. Since, using our methods, the limiting factor for performance is the disk read time, there is no advantage to using accelerators such as GPUs as has been proposed by others. To further speed in-place file carving, we would need a mechanism to read disk faster.

This research was supported, in part, by the National Science Foundation under grants 0829916 and CNS-0963812.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A., Corasick, M.: Efficient string matching: An aid to bibliographic search. CACM 18(6), 333–340 (1975)

    Article  MathSciNet  MATH  Google Scholar 

  2. Baeza-Yates, R.: Improved string searching. Software-Practice and Experience 19, 257–271 (1989)

    Article  MATH  Google Scholar 

  3. Baeza-Yates, R., Gonnet, G.: A new approach to text searching. CACM 35(10), 74–82 (1992)

    Article  Google Scholar 

  4. Boyer, R., Moore, J.: A fast string searching algorithm. CACM 20(10), 262–272 (1977)

    Article  MATH  Google Scholar 

  5. Galil, Z.: On improving the worst case running time of Boyer-Moore string matching algorithm. In: 5th Colloquia on Automata, Languages and Programming. EATCS (1978)

    Google Scholar 

  6. Horspool, N.: Practical fast searching in strings. Software-Practice and Experience 10 (1980)

    Google Scholar 

  7. Pal, A., Memon, N.: The evolution of file carving. IEEE Signal Processing Magazine, 59–72 (2009)

    Google Scholar 

  8. Wu, S., Manber, U.: Agrep–a fast algorithm for multi-pattern searching, Technical Report, Department of Computer Science, University of Arizona (1994)

    Google Scholar 

  9. Richard III, G., Roussev, V.: Scalpel: A Frugal, High Performance FIle Carver. In: Digital Forensics Research Workshop (2005)

    Google Scholar 

  10. Marziale, L., Richard III, G., Roussev, V.: Massive Threading: Using GPUs to increase the performance of digit forensics tools. Science Direct (2007)

    Google Scholar 

  11. Richard III, G., Roussev, V., Marziale, L.: In-Place File Carving. Science Direct (2007)

    Google Scholar 

  12. http://www.digitalforensicssolutions.com/Scalpel/

  13. http://foremost.sourceforge.net/

  14. Fisk, M., Varghese, G.: Applying Fast String Matching to Intrusion Detection. Los Alamos National Lab NM (2002)

    Google Scholar 

  15. Commentz-Walter, B.: A String Matching Algorithm Fast on the Average. In: Maurer, H.A. (ed.) ICALP 1979. LNCS, vol. 71, pp. 118–132. Springer, Heidelberg (1979)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering

About this paper

Cite this paper

Zha, X., Sahni, S. (2011). Fast in-Place File Carving for Digital Forensics. In: Lai, X., Gu, D., Jin, B., Wang, Y., Li, H. (eds) Forensics in Telecommunications, Information, and Multimedia. e-Forensics 2010. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 56. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23602-0_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-23602-0_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-23601-3

  • Online ISBN: 978-3-642-23602-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics