3.1 Basic dd.exe Operation

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *

Already have an account? Sign In »

4 hours 15 minutes
Video Transcription
hi will come back to the curse. So in the last month you will find one. I need much space in a forensic investigation. How you can check the integrity off any much fight. We also went over some of the physical and logical structure of our Windows operating system.
In this mortal, we're going to keep starting emerging, but for a different perspective. Jeweller, what did the e is? How can we use in a forensic investigation? We will see what really much reveal. How about you take advantage of this?
So before starting a quick pre assessment question for you,
what's the main purpose of dizzy?
Do you think is a convert on copy files or ve analyzed the evidencing Kurt or maybe see create books and viruses
or the testing theory off a fire?
If you said a cumbersome copy files, you're correct. It is true that if he can be also used for creating images, we will analyze start later in this video.
Okay, but what does the D?
There is a utility that could be files from the standard input to standard output by the fault
with the usual selectable block size. While optionally prefers commercials on it,
it reads. They put one look at a time
you think the specified input block size
it then processes the block off data absolutely returned.
Which school? The smiler. Then there was the black face.
It shall apply any commercials that have been specified on right the resulting data to our boat in blocks off the specified output block size.
You can use this common for coping Partial. Five.
You can specify the block size this kid count,
and the number of blocks to coffee
sizes are in bites by the fort. You can upend alerce W, B or K to a number to indicate worst, which are to bite looks.
There are 500 plus bites, or K,
which is 1000 and 24 bites
when they finished. It supports the number of full and partial blocks. Return return.
Although there is a common land utility or generally for UNIX like operating systems, there is a version which allows the flexible recouping off data under Windows environment.
This is a structure off a D D. Comment.
The beers is the block size.
The block size can be specified in bites
Is the block size operas specified on no commercials. I requested the data. Returns from each input block shall be written as a separate out for book.
If the result earns less than a full block, their sultan output block shall be the same size as they input. Block
is the B s expression of brown is not a specified or commercialised requested. The impartial be processed and collected into full size output blocks until the end of the input is reached.
The default locks eyes is 512 which will work for most files on devices. But the copy will be a lot faster. If you's a large block size, for example, a flop it If Ruth with B s equals one K on count equal 14 40
takes almost twice Islam that if you use B s equals 14 for Kay and count equals one.
Don't make the block size too large because we knows we'll run out of memory. One. Em is probably a good size on upper limit. Most city or devotees have a to K sector size and probably will not work with a bloke size, which is not a multiple. Off that
count is the number of blocks to copy. If it is not specified, then really will continue until the end off the file or device it reached
are many USB devices. This is not a reliable, so you should use size to guess the size of the device.
You can also use a suffix here, so count equal. Han K will copy 1000 and 24 blocks.
Ah yes, which means input file. Specify the input past name. The phone is a standard input.
Oh, if
which means output file. Specify the output past. Name the fall. It's a standard output.
Skip is the distance. Keep over the input file before really is commenced.
It is in blocks, so this time will be skip multiplied by the block sized.
You can also use the suffix here says Keep equals one k with keep one. Tell Santoni for blocks you can remember that's keep relates to the input file by thinking off a skipping rope.
Seek. Is that the stuff to seek over in the output file before writing this commenced? It is also in blocks, so this stuff will be seek multiplied by their block size. You can also use a suffix here, so seek equals one K will seek 1024 blocks. Just have to remember the office kid
is for in then seek is for out.
Traditionally, when you sing d d if you wanna talk open in terror device, you know, certifiable account and they were really onto the end of the device. If you try to read past the end of the device, they they are up to the end of the device will be returned at. If you kept really, you would get another message.
Windows, however, does not always do this
so size. We tell T to figure out the size of the device and make sure it does not read past that point. This is important for us mystics. We stop working if you read *** anistan.
This is not owned by the fault because gain the correct size of the device is not always possible. Some devices also keep returning fake data past the end of the device without returning a suitable error code
Windows provides a number of ways to name a device. The least comment will output the preferred names on their end before on Lee. The device hard disk partition method is available being partitioned zero the entire disc
under window ***. Be some partitions may not have a ball in device. In this case, you can still use the hard disk and partition and name
we know. So tell someone layer half volume devices which are unique, which identify a disk or partition.
These are listed along with any mount point that they may be mounted on most off this Hying This is a Dr Flor, but he might be a pass on our file system is you want to read on the late device Didn't recruit the trailing backslash character. If the volume is not mounted, there is no easy way to identify it. So be careful
on the X p sir Be back Too
many partitions cannot be read directly even if they are not amused.
Progress is a nonstandard enhancement TV which will show you the progress as each block is copied
The protection order Indeed he shall be as follows First on input Look, it's red. Secondly, thing put block is surer than they specified Input block size No bite shall be upended today Input data up to the specify size The remaining commercials on output shall include the bad characters
as if they have been read from the input.
If the block size Oprah is specified on no commercially requested their Sultan Day that shall be written to the output as a single block on the remaining steps are meted.
Any remaining commercials have been performed, these compressions shall operate on the input data independently off they put blocking the dangerous holding front. Input or commercial, or both are being created in tow a little blocks off the specified size. After the end of thing put its reach,
any remaining output should be written as block without a body.
Those the final output book may be shorter than they'll put block size.
Here's a quick question for you.
What can be done? You Cindy, if it a make an emotion for floppy disk or be rip on I s o from our city,
or maybe see, read a partition for us being more the device or the off the world.
If you say the olive devils, you are right. Let's see some examples know how to perform these activities
Here. You can see some examples
for making an emotional for the risk. You can't specify a Indian put file as this is the letter, she says in Windows, for from the risks the same case for right in the mush back in this case, Taylor A needs to be in the output file.
The example were reaping, and I sew for inner city. The common device Siri Room Ciro, as they put file, will tell Didi than they put it's a city
we're really in a partition from the USB memory device. In the follow example, you should specify the unique volume identification. Korea's the input.
But if you read the entire use being re device just a specified A device hard dicks, one on partition cereal for the input,
you can write to any fire or broke device, which we know will allow you to write.
You can use this thunder clashes with the notation for Windows, support the devices or the media. Specific backslash is with the interrogation sign notation toe access. When those natives devices,
you cannot write to a city with this program, you should get Microsoft City burn from the Windows experience source kit,
not them. Floppy disks are extremely unreliable. If you get ever splits, try another floppy disk or refer mating the risk.
Please don't forget to check out the references on the supplementary material in the next video, we're going to do some exercises to practice the day the Commons that which is analyzed.
Up Next