Microsoft Windows [Version 10.0.19045.3693]
(c) Microsoft Corporation. All rights reserved.
Lab Environment Ready. Type specific commands to complete the guide.
(c) Microsoft Corporation. All rights reserved.
Lab Environment Ready. Type specific commands to complete the guide.
PS C:\Users\Student\Desktop\Evidence>
Hashing Command Reference
Common syntax for manual integrity verification.
Windows Commands
CertUtil
CMD / Batchcertutil -hashfile <file> <algorithm>
Example:
certutil -hashfile evidence.txt SHA256
certutil -hashfile evidence.txt SHA256
Get-FileHash
PowerShellGet-FileHash <file> -Algorithm <algo>
Example:
Get-FileHash malware.bin -Algorithm MD5
Get-FileHash malware.bin -Algorithm MD5
Linux / macOS Commands
Sum Utilities
Bash / Zshmd5sum <filename>
sha1sum <filename>
sha256sum <filename>
Hashing Strings
Pipelineecho "<text>" | sha256sum
Example:
echo "Hello World" | sha256sum
echo "Hello World" | sha256sum