Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #87891

Hash Calculator Download For Windows

Newsgroups comp.lang.javascript
Date 2024-01-08 00:43 -0800
Message-ID <f70bf858-e987-4fd6-b68b-ccd5ac442f55n@googlegroups.com> (permalink)
Subject Hash Calculator Download For Windows
From Alke Wigren <wigrenalke@gmail.com>

Show all headers | View raw


Well, once downloaded on your PC, to verify that the file is intact (free of transmission errors or voluntary tampering due to MITM attacks) you just need to recalculate the hash locally and compare it with the string provided online.



hash calculator download for windows

Download File https://t.co/fwgGfqhmZj 






Update: See in the comments below that alert readers have provided links to a variety of handy tools for calculating or displaying the SHA-512 hashes (message digests) of files on your Mac, Linux, or Windows computer.


Great post Carl. For mac users like me, I found instructions on how to calculate SHA-512 hash of any file on your computer, such as a Microsoft Word file, here:  EvgeniIvanov/how-to-verify-checksum-on-mac-988f166b0c4f.


For those lacking familiarity with a command-line utility, a similar option with detailed instructions for calculating a SHA-512 hash may be found here _to/127204-how-to-find-the-sha-hash-of-a-given-file


I use the desktop app HashTab where you right click on a file and it displays hashes. In settings in the right slick tab setup the SHA-512 hash. It works on Windows v 6.0.0.34 and I think there are various Mac and Linux open source versions


Several hash options, including SHA-512, can be conveniently calculated by right-clicking on any file using a tiny utility by Nirsoft:

 _my_files.html

In the Options, enable context menu and select SHA-512 in the Hash Types, and you are all set.






Python, go, and most other languages standard libraries also include easy to use hash libraries if you want to build something that uses hashes in a specific way. (Could be a good starter coding project)


The SHA (Secure Hash Algorithm) is one of a number of cryptographic hash functions. A cryptographic hash is like a signature for a data set. If you would like to compare two sets of raw data (source of the file, text or similar) it is always better to hash it and compare SHA256 values. It is like the fingerprints of the data. Even if only one symbol is changed the algorithm will produce different hash value. SHA256 algorithm generates an almost-unique, fixed size 256-bit (32-byte) hash. Hash is so called a one way function. This makes it suitable for checking integrity of your data, challenge hash authentication, anti-tamper, digital signatures, blockchain.


SHA256 algorithm can be still used for making sure you acquired the same data as the original one. For example if you download something you can easily check if data has not changed due to network errors or malware injection. You can compare hashes of your file and original one which is usually provided in the website you are getting data or the file from.


For the Import function, firstly, users should select a previously exported file, this calculator will read all records in the file, then users can press "Calculate" button on the toolbar to recalculate all MD5 checksums. If some file records calculation results are not same with the previous results, that file records will be marked with a red color, indicating that files have been modified. In addition, if some files do not exist, this calculator will display a message.


In most cases, results of prefetch hash calculator tool will be valid for Windows 7 as most of W7 users have this hidden partition present. Now, if someone intentionally removes the hidden partition and uses volume 1 as C:, the resulting hashes will be incorrect.


I guess at this moment of time everyone is familiar with a content of \windows\Prefetch folder as well as the value it has for a forensic investigation or IR/malware analysis. There are multiple scripts available out there that can parse the content of Prefetch files, and even running simple strings on the .pf files are good enough to point us into a place where the malware or its files are stored. Of course, one has to also remember that Prefetch analysis can be fooled by a couple of tricks eg. PrefetchADS as well as a 10+ seconds delay before opening any file trick.


There is fundamentally one single Prefetch hashing algorithm used by various Windows versions, except it has been slightly modified over the time. I must emphasize here a distinction between a Prefetch file naming algorithm and a hashing function (I chose these names on my own, but I think they are quite relevant):


The hashing function is implemented by a function CcPfHashValue and its original code has been already provided (for XP) on the blog I mentioned earlier. Newer versions of Windows store hashing functions code either inline or inside PfCalculateProcessHash/PfSnScanCommandLine functions.


Well, indeed you can do it and the script provided as an attachment to this article is doing exactly this. It generates hashes for known .exe files extracted from various Windows systems + also for known rundll32.exe calls (If you find any missing entry, please let me know).


The script also accepts file names as a command line argument which can be used to instantly calculate the hash for a file of your choice and it can calculates the hash for XP (32-bit), Vista (32-bit) and Windows 7 (32- and 64-bit) as well as for 32-bit versions of Windows Server 2003 and 2008.


The second problem comes from the path of the actual rundll32.exe. The hashing function is applied twice and it walks through a buffer storing device path to rundll32.exe + command line, and this one is case-sensitive. So, any change to the path generates a different hash1; that is,


There are still good news though. And I already mentioned it earlier. Instead of building large lookup tables, it is easier to find all .exe file names + all references to rundll32.exe 9and othe rhosting applications listed earlier) within the evidence (e.g. extract strings from a full image+from memory+malware samples+registry), and calculate the hashes of the exact path name or path+command line as present in evidence. We will end up with a small list of pairs:


As mentioned before, the script attached to this post will calculate all the known hashes based on command line arguments. And if there are no command line arguments, it will generate a lookup table for a lot of known file names + known rundll32.exe combinations (e.g. these launching various system properties applets) that may be immediately used against evidence. At any time, you can also provide your own file list.


for hosting applications e.g. rundll32.exe you need to prefix the actual command line argument for a hosting application with a blank character or more of them as they are directly concatenated before passed to hashing function, using arguments like this:


As an Internet standard (RFC 1321), MD5 has been used in a wide variety of security applications, and is also commonly used to check the integrity of file, and verify download. WinMD5 is a small and easy tool to calculate md5 hash or checksum for different files (including files larger than 4 GB).


Enter certutil, a command-line tool built into Windows. Certutil has many functions, mostly related to viewing and managing certificates, but the -hashfile subcommand can be used on any file to get a hash in MD5, SHA256, or several other formats.


Thanks for the tip. I am now using this in a script so it will run from the CLI. Just as an FYI, for getting it from the context menu, check out hashcheck. It adds a tab in the properties menu of the file and is great for a quick check. It only goes up to SHA-1 though.


HashCheck will add a "Checksums" tab to the shell's file properties dialog so that you could easily check the hash of a file (or even multiple files and directories) from Windows Explorer. You can also save the results to a checksum file.


If you want to create a checksum file but think that opening the file properties dialog, navigating to the "Checksums" tab and then clicking "Save" is too much trouble, HashCheck simplifies the task by adding an optional "Create Checksum File" command to the shell's context menu. Simply select the files and directories that you want to hash and create a checksum file for, right-click on them, and select "Create Checksum File".


CHK is simple checksum program that can verify downloaded files from the Internet, hash your files to ensure integrity and help detect duplicates. Supports drag-and-drop and most popular hash protocols including CRC-16/32/64, ED2K, MD4/5, SHA-1/256/512/3, BLAKE2sp/b, BLAKE3 etc.


HashMyFiles is a small utility that allows you to generate unique file identifiers (hashes) using a variety of popular checks. These can help determine if a file has been modified or corrupted, as well as help determine the file's reputation by submitting to the VirusTotal database for malware analysis.



Formats supported range form fast to secure with CRC32, MD5, SHA1/-256/-512/-384. The various hashing information can be saved to a report (text/HTML/XML/CSV/TSV) that includes name, path, dates, file size, version and other info.


RekSFV is a checksum generator and verifier that can evaluate files and whole directories. When scanning, the program checks for all supported files and verifies any found checksums. The program supports drag and drop, stay-on-top, minimize to tray, shortcut keys, multiple instances, sound notification and more.



The program supports several hashing algorithms including SFV, MD5, SHA1, SHA256, SHA512.


RapidCRC Unicode is a hashing program capable of checking and verifying the integrity of files, folders, or whole drives. The program includes process priority, ability to pause/resume analysis, job queuing, easily copy hashes to the clipboard and multi-threaded checks. If using checksum files (e.g. .sfv or .md5) for future verification, options include the ability to generate for every analyzed file, directory, or a single checksum with all hash data.



Includes direct support for CRC hashing in the filename (common for anime releases) for example: "MyFile [45DEF3A0].avi") Other algorithms range from fast to secure, including SFV(CRC32), MD5, ED2K, SHA-1/256/512 and Blake2sp.



Based on the original RapidCRC but updated with extended Unicode support.

 35fe9a5643


Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread


Thread

Hash Calculator Download For Windows Alke Wigren <wigrenalke@gmail.com> - 2024-01-08 00:43 -0800

csiph-web