CAS-003 · Question #833
A forensic analyst must image the hard drive of a computer and store the image on a remote server. The analyst boots the computer with a live Linux distribution. Which of the following will allow…
The correct answer is D. ssh -D 5555 [email protected]; dd if=/dev/sda* | nc localhost 5555. Option D uses SSH to create an encrypted tunnel for securely transferring a forensic disk image from a live Linux session to a remote server, preserving chain of custody through a secure channel.
Question
A forensic analyst must image the hard drive of a computer and store the image on a remote server. The analyst boots the computer with a live Linux distribution. Which of the following will allow the analyst to copy and transfer the file securely to the remote server?
Options
- Add if=/dev/sda | sha256 | ssh -o username=user, password=mypass -p 2000
- Bdcfldd if=/dev/sda hash=sha256 sha256log=sha.log | cryptcat -k $key
- Cnc remote.server.com 5555 -e 'dcfldd if=/dev/sda of=./image.dd' |
- Dssh -D 5555 [email protected]; dd if=/dev/sda* | nc localhost 5555
How the community answered
(49 responses)- A8% (4)
- B6% (3)
- C16% (8)
- D69% (34)
Why each option
Option D uses SSH to create an encrypted tunnel for securely transferring a forensic disk image from a live Linux session to a remote server, preserving chain of custody through a secure channel.
The syntax is invalid - sha256 is not a standalone pipeline command in this context, and the SSH options use incorrect formatting with commas and plaintext credentials inline, making this command non-functional.
cryptcat encrypts the stream using a symmetric key passed on the command line, but the key is exposed in the shell history and process list, and there is no authentication of the remote endpoint, creating both confidentiality and integrity risks.
Piping dcfldd output through plain netcat transmits the forensic image in cleartext with no encryption or authentication of the receiving server, violating secure transfer requirements.
The command establishes an SSH dynamic port-forwarding tunnel to the remote server and then pipes the raw disk image captured by dd through netcat directed at the local tunnel endpoint, ensuring the data traverses an encrypted SSH session. Using SSH for the transport layer provides confidentiality and integrity for the forensic image in transit, which is required when transferring sensitive evidence over a network.
Concept tested: Secure forensic disk imaging and encrypted remote transfer via SSH
Source: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-101r1.pdf
Topics
Community Discussion
No community discussion yet for this question.