Question: Task 1 1. (3 points) This task assumes that you have a thumb drive (smaller size is better). You will format this drive and create

Task 1

1. (3 points) This task assumes that you have a thumb drive (smaller size is better). You will format this drive and create partitions as follows.

(a) Format (using any tool) the thumb drive and create a FAT file system ranging the whole drive.

Read the MBR of the thumb drive and check how many partitions are present and their sizes. Justify your answer with a screenshot.

Also, check the size of the partition via fdisk -l command as well as mmls command.

(b) Now create a second partition in the thumb drive by shrinking (or recreating) the above partition to half of its original size; build FAT file system also in the second partition.

Check the MBR of the thumb drive again and answer what differences do you observe? Explain why. Justify your answer with a screenshot.

Also, check the size of the partitions via fdisk -l command as well as mmls command.

Hint: To create partition, you can use fdisk on kali linux or Windows OSs disk management tool (which is available in any windows computer). You can also use similar tools on Macbook; in particular, the Disk Utility tool on Macbook can do things for you. Also, note that diskutil list command in Macbook is equivalent of fdisk -l in Linux.

2. (3 points) Insert the above thumb drive to a Kali Linux VM. If it is automatically mounted, then first unmount it. Then, mount the 2nd partition (of the thumb drive) on this mount point: /media/root/myFAT2 (in Kali Linux). Now you should be able to add files to this FAT partition. Add one text file, one docx file, one jpg image, and one video file to this partition. Via ls /media/root/myFAT2 check that you see all of these file names. Take a screenshot and paste below.

Finally, unmount the 2nd partition using umount command on a terminal. Take a screenshot and paste below.

3. (3 points) Now, using dd command, create an image (as a file with name myImage.raw) of the 2nd partition (only). Take the screen shot of terminal after the image is created.

After the image of the 2nd partition is created, mount the image in the Kali Linux and see if all the files (that you added before) are present. Take a screenshot and paste below.

Finally, unmount the image. Take a screenshot and paste below.

4. (3 points) We can also use dc3dd tool to create the image, which also computes the hash of the image. You might discover dc3dd tool already installed in your Kali linux.

Use dc3dd tool to create a new image (as a file named newImage.raw) of the 2nd partition. Ensure that it generates the hash value (md5) of the image. Take the screenshot and paste below.

Also, use md5sum tool to compute the hash of the 2nd partition directly (i.e., not using the image myImage.raw or newImage.raw). Take the screenshot and paste below.

Do the hash values match? Why so or why not?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!