Security Basics mailing list archives

Re: dd for windows and imaging a 40Gb drive


From: Paul daSilva <pdasilva () polr org>
Date: Wed, 06 Dec 2006 17:47:27 -0500

Murad,

I can't answer how long the process will take, as far too many factors are involved. However, to use dd over the network, you could consider piping its output to netcat.

On the Target system, where image will be dumped to, run:
nc –l –p 9000 | dd of=/path/image-file.dd (or of=/dev/hda)

On the Source system to be imaged, run:
dd if=/dev/hda | nc 192.168.1.120 9000

Be sure to edit the Target system output file of=, as it can be a file or you can dd to another disk or partition (clone).

Be sure to edit the Source system input file if= (right drive device and partition number), and use the right IP address and port number for the Target system). Googling "dd and netcat" will give you lots more information on this topic.

Cheers,
Paul



Murad Talukdar wrote:
Hi all,
I need to estimate how long it would take to image a 40gb drive with a
single partition on it using dd. (I guess this is more dependant on write
speeds and throughput than anything else)
Also, what would be the syntax of the output file be if I were to image
across the network? Or can dd be used by using a crossover cable and mapping
drives first?
But, if I were to map a drive to the machine in question, does that
'interfere' with the drive in any way? I'm planning to use dd for windows-which I can get to work fine for
files/folders on my local machine but am struggling over the network because
I'm not sure of the syntax. No man dd on windows.


---------------------------------------------------------------------------
This list is sponsored by: ByteCrusher

Detect Malicious Web Content and Exploits in Real-Time.
Anti-Virus engines can't detect unknown or new threats.
LinkScanner can. Web surfing just became a whole lot safer.

http://www.explabs.com/staging/promotions/xern_lspro.asp?loc=sfmaildetect
---------------------------------------------------------------------------



---------------------------------------------------------------------------
This list is sponsored by: ByteCrusher

Detect Malicious Web Content and Exploits in Real-Time.
Anti-Virus engines can't detect unknown or new threats.
LinkScanner can. Web surfing just became a whole lot safer.

http://www.explabs.com/staging/promotions/xern_lspro.asp?loc=sfmaildetect
---------------------------------------------------------------------------


Current thread: