Any free tool for h...
 
Notifications
Clear all

Any free tool for hashing a disk (not a file) in Windows?

20 Posts
7 Users
0 Reactions
9,994 Views
(@skywalker)
Reputable Member
Joined: 11 years ago
Posts: 150
Topic starter  

Hello,

I took the tool from the repository you posted.

path dsfok\dsfok\GUI\dsfo.exe

If I open a DOS shell and I execute "dsfo.exe" with your command, it only launches the programm in its windows environment, but doesn't do anything else.

Regards!

Get the command line version, which is in the "root" of the archive, NOT the one in the \GUI\ folder.
(the one in the GUI folder is only a - simplified - GUI interface to the command line one)

As a side note, to be picky (as I am), in Windows NT you are not running a DOS shell when you open a command prompt or console, you are running the NT command interpreter CMD.EXE.

jaclaz

Thank you for the clarification but I already knew it and I think everybody who has ever used an OS in a professional way knows it, I think I studied it in the second year of my Computer Science and Engineering studies at the university, in the Operating Systems subject D . It's just to simplify the concepts…

Thanks again! I will try your solution!


   
ReplyQuote
(@skywalker)
Reputable Member
Joined: 11 years ago
Posts: 150
Topic starter  

Thank you jaclaz, it works!

Does anybody know any similar tool to calculate SHA-1 or SHA-256?

Thanks!!!


   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

Thank you jaclaz, it works!

Sure it does, the issue here might be (but hey what do you expect from a 6Kb sized freeware program released in 2005, blood? wink ) that (at least when compared to other imaging solutions for creating disk images) is on the "slow" side.

Does anybody know any similar tool to calculate SHA-1 or SHA-256?

This one has SHA-1 (but seemingly not SHA-256 on Windows) NOT TESTED by me
http//sourceforge.net/projects/quickhash/

jaclaz


   
ReplyQuote
(@Anonymous 6593)
Guest
Joined: 17 years ago
Posts: 1158
 

Does anybody know a free tool which can be used to calculate the hash of a disk in Windows (for example, a CD-ROM, a DVD or a pen drive connected in read only mode? The most of the free tools you can find on the net only calculate hashes for single files but not hashes for complete drives.

I generally try HxD for anything like that. It can open a physical device (though for the moment, I'm not sure if you need do it as admin), and you can use it to compute some simple hashes (or checksums as the program calls it).

MD5, SHA1, SHA256, SHA385 and SHA512 are there, but that's pretty much it for cryptographic hashes. The rest are different CRCs.

I often use HxD to take a quick, raw image of things like USB drives, so I know it works. I've never done the checksumming, so I would have to run it through the standard test data before I said it did the job.


   
ReplyQuote
mokosiy
(@mokosiy)
Trusted Member
Joined: 13 years ago
Posts: 55
 

@raydenvm
Seemingly the OSforensics creates hashes for files and volumes (not "whole" disks) Confused
www.osforensics.com/ve...files.html

@jaclaz
OS Forensic does calculate hashes for whole disks. Exclusively for you as unbeliever ), I've just run it on my PC and made this screenshot

Full drive hash options in OS Forensics

I understand why you hurried with the answer. Your confusion is actually not your fault, it is caused by low-quality UX of software in digital forensic market. OS Forensics and many other products (with much higher price) contain a ton of UX problems and haven't been improving much in that sense for a long time…


   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

@jaclaz
OS Forensic does calculate hashes for whole disks. Exclusively for you as unbeliever ), I've just run it on my PC and made this screenshot

Full drive hash options in OS Forensics

Very good to know ) actually I just looked at the given page and saw just File or Volume (or disk volume) mentioned as a possibility source for the hashing function, hence the "seemingly"
http//www.osforensics.com/verify-and-match-files.html

I understand why you hurried with the answer. Your confusion is actually not your fault, it is caused by low-quality UX of software in digital forensic market. OS Forensics and many other products (with much higher price) contain a ton of UX problems and haven't been improving much in that sense for a long time…

Well, it's just a misnaming (or added later feature for which the doc and UI were not fully updated), I have seen far worse omissions/errors.
Hopefully our fellow member Passmark
http//www.forensicfocus.com/Your_Account/profile=19057/
will notice this and when he has some time fix/update the tool, maybe also including the CD\DVD's that were reported as not available

I've tried to use OSForensic but it doesn't allow you to calculate the hash of a CD-ROM or DVD, it only calculates the hashes of partitions of the hard drives connected to the motherboard.

Thanks for the heads up. )

jaclaz


   
ReplyQuote
(@skywalker)
Reputable Member
Joined: 11 years ago
Posts: 150
Topic starter  

@raydenvm
Seemingly the OSforensics creates hashes for files and volumes (not "whole" disks) Confused
www.osforensics.com/ve...files.html

@jaclaz
OS Forensic does calculate hashes for whole disks. Exclusively for you as unbeliever ), I've just run it on my PC and made this screenshot

Full drive hash options in OS Forensics

I understand why you hurried with the answer. Your confusion is actually not your fault, it is caused by low-quality UX of software in digital forensic market. OS Forensics and many other products (with much higher price) contain a ton of UX problems and haven't been improving much in that sense for a long time…

OSF does not allow you to calculate the CD-ROM's hash but the partition of a hard drive's hash.


   
ReplyQuote
(@skywalker)
Reputable Member
Joined: 11 years ago
Posts: 150
Topic starter  

Does anybody know a free tool which can be used to calculate the hash of a disk in Windows (for example, a CD-ROM, a DVD or a pen drive connected in read only mode? The most of the free tools you can find on the net only calculate hashes for single files but not hashes for complete drives.

I generally try HxD for anything like that. It can open a physical device (though for the moment, I'm not sure if you need do it as admin), and you can use it to compute some simple hashes (or checksums as the program calls it).

MD5, SHA1, SHA256, SHA385 and SHA512 are there, but that's pretty much it for cryptographic hashes. The rest are different CRCs.

I often use HxD to take a quick, raw image of things like USB drives, so I know it works. I've never done the checksumming, so I would have to run it through the standard test data before I said it did the job.

HxD? The Hex editor? 😯


   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

OSF does not allow you to calculate the CD-ROM's hash but the partition of a hard drive's hash.

Yes and no.

Yes, judging from the screenshot posted it wouldn't do the CD-ROM, but no, still from the screenshot posted and the info raydenvm ) supplied it can do both partitions (which strictly speaking are not volumes or \\.\LogicalDrives) and"whole hard disks i.e. \\.\Physicaldrives.

Strictly speaking a partition is not a volume, or more exactly a volume NTFS formatted is one sector smaller than the partition extents, depending on how exactly (through which method the object is accessed under windows) this means that each tool needs to be checked to understand if the hash includes the "excess sector" ($BootMirr) or not.

See this (seemingly unrelated)
http//reboot.pro/topic/18034-mounting-partition-raw-image-created-with-dsfo/

As well (for the tool(s)) that actually do CD-ROMs it has to be seen if the hash is calculated on just the (CDFS/UDF/whatever) volume or on the whole extents of the actual .iso image (which may not have the same extents) and given the various El-Torito emulation modes, the existence of multisystem CD/DVD's, mixed audio/video formats, some undocumented or mis-documented features, etc. for CD's and DVD's that are anyway of relatively small sizes, I would personally make a .iso and hash the .iso to be on the safe side, as well after having thoroughly checked that the .iso making tool behaves correctly.

jaclaz


   
ReplyQuote
(@f111th)
Eminent Member
Joined: 11 years ago
Posts: 29
 

I dont know about CD-Roms
But in FTK imager lite you can mount a physical drive (like usb drive) and then verify. It will give MD5 and SHA-1 and report bad blocks as well on the physical drive.


   
ReplyQuote
Page 2 / 2
Share: