Posts Tagged ‘dd’

Digital Forensics tools

Saturday, November 1st, 2008
  • Autopsy “[...] The Autopsy Forensic Browser is a graphical interface to the command line digital investigation tools in The Sleuth Kit [...]“
  • Sleuthkit “[...] is a library and collection of command line tools that allow you to investigate volume and file system data”
  • Foremost (for data carving)
  • sha256deep command (to compute file hash)
  • grep command (to search keywords)
  • awk command (to analyse the output)
  • sed command (to analyse the output)
  • dd command

Other Data Carving Tools

Sovrascrivere un hard drive con “zero”

Wednesday, June 25th, 2008

Volete cancellare il vostro hard drive? Lo volete “sterilizzare” prima di una digital investigation? Con il semplice comando dd (o dd_rescue) inserirete sul disco il pattern 0×00 dal primo settore alla fine del disco:

dd if=/dev/zero of=/dev/<nome_device> bs=2048

oppure:

dd_rescue /dev/zero /dev/<nome_device>

Al posto di <nome_device> inserire il device corretto (hda, sda,…). Per verificare la completa sovrascrittura potete usare il comando:

dd if=/dev/hdYY | xdd | grep -v "0000 0000 0000 0000 0000 0000 0000 0000"

Con l’opzione -v (invert-match) di grep si cerca qualsiasi riga non contenente tutti “0″.