How to check the hash of a downloaded file






















Otherwise you may be checking against hashes that have also been tampered with, giving you false confidence that your file is legitimate. This increases the risk even more, since there is a chance that you are not really connected to the website you think you are accessing.

Someone on the Internet or on your WiFi connection or network can substitute a fake website that seems to be at the correct address, but provide hashes for a tampered file. It does not mean that it is not infected with malware. Remember that anyone's computers can get infected, even the people from whom you are getting the file, resulting in the files they distribute being infected.

The hashes provided may have been generated unknowingly or even knowingly after those files were infected. You should always scan the file you obtain with an antivirus, and perhaps even upload it to one of the free online antivirus sites that scan using multiple antivirus programs. Windows 7, 8, 8. Note that if you are intimidated by the thought of using a command-line program, and prefer to use a program sporting a graphical user interface, where you can just click buttons and the like, you will have to install a third party ie, non-Microsoft program.

Although the latter is focused on MD5, some of the free tools it links to also support multiple types of hashes. I will not deal with such programs here, though, since it's outside the scope of this tutorial. Copy or move your file to somewhere where you can easily access it, such as your desktop.

If you are not familiar with working on the command line, copy or move the file to your desktop. This will help you with one of the steps below, since you can just use my instructions verbatim. Open a command line prompt. To do this, click the Start menu button and type "cmd" without the quotation marks.

The words "Command Prompt" should appear at the top of the menu. Click it to run it. The exact words will not be the same, since your Windows account name will probably be different from mine. Now navigate to the directory or folder where you have placed your file. If you have copied the file to your desktop as I suggested, type " cd desktop " without the quotation marks and hit the ENTER key.

Otherwise, change directory by typing " cd " followed by the full path. If the previous sentence does not make sense to you because it is filled with technical lingo , type " cd desktop " without the quotation marks, and followed by the ENTER key to go to your desktop, and copy your file to your desktop as I mentioned in the first step. You can verify that your file is indeed in your new location by typing " dir " without the quotation marks , followed by the ENTER key.

This will list all the files and folders in that directory. Change " filename. The Checksum Calculator can also batch process multiple files and is an easy to understand and use Windows program. Unfortunately, no version of Microsoft Windows comes pre-installed with a checksum utility, but Microsoft has released a command line command perform a checksum.

WinDirStat is a great free utility for checking what files and folders are occupying space on your hard drive. If you copy the fciv. That hexadecimal number is the SHA1 checksum for your file.

Check to make sure it matches the checksum on the WinDirStat website:. In Linux , the checksum of a file can be checked using one of the following command line commands depending on the checksum the author used for comparison. Note For maximum system security, always verify the checksum of any software you download from the Internet, before you run it. This false analysis is called a false positive. This Windows command example would return the SHA hash of the file located at the specified path.

You should update the command to show the correct path, user name, and file name for your file integrity check. You can also use other values after SHA, such as 1 or , to produce the corresponding hash.

A third easy way to find the hash of a file is to use the Windows 10 Power Shell. Of course YourUserName should be your user name, and you should use the correct path to the file you want to check. The reason we made this guide is because we make a popular network security monitoring software for Windows called GlassWire.



0コメント

  • 1000 / 1000