SY0-301 · Question #625
A security administrator needs to image a large hard drive for forensic analysis. Which of the following will allow for faster imaging to a second hard drive?
The correct answer is C. dd in=/dev/sda out=/dev/sdb bs=4k. The dd command performs block-level disk duplication and is the standard forensic imaging tool; increasing the block size with bs reduces I/O operations and speeds up the copy.
Question
A security administrator needs to image a large hard drive for forensic analysis. Which of the following will allow for faster imaging to a second hard drive?
Options
- Acp /dev/sda /dev/sdb bs=8k
- Btail -f /dev/sda > /dev/sdb bs=8k
- Cdd in=/dev/sda out=/dev/sdb bs=4k
- Dlocate /dev/sda /dev/sdb bs=4k
How the community answered
(52 responses)- A10% (5)
- B8% (4)
- C81% (42)
- D2% (1)
Why each option
The `dd` command performs block-level disk duplication and is the standard forensic imaging tool; increasing the block size with `bs` reduces I/O operations and speeds up the copy.
The `cp` command copies files and directories at the filesystem level and cannot create a complete forensic block-level image of an entire disk.
`tail -f` streams the end of a text file in real time and is not a disk duplication utility; the syntax shown is nonsensical for this purpose.
The `dd` utility reads and writes raw disk blocks, preserving the exact bit-for-bit image of the source drive including unallocated space, which is required for forensic integrity. Setting a larger block size (bs=4k) batches reads and writes, reducing system call overhead and accelerating the imaging process compared to the default 512-byte block size.
`locate` is a file-search command that queries a filename database and has no capability to copy disk data.
Concept tested: Forensic disk imaging with the dd command
Source: https://www.kali.org/tools/dcfldd/
Topics
Community Discussion
No community discussion yet for this question.