Lab / L.04

Hashes, defang & IOC

Compute cryptographic fingerprints of text and files, neutralize indicators so they are safe to share, and extract indicators of compromise from free text.

Hashes

Or hash a local file.
MD5-
SHA-1-
SHA-256-
SHA-512-

MD5 and SHA-1 are no longer safe against intentional collisions, but they remain common for sample IDs in threat intel. For evidence integrity, use SHA-256.

Defang and refang

Defang turns https://domain.com into hxxps://domain[.]com, IPs into 198.51.100[.]7, and emails into user[@]domain[.]net, so they do not become live links in reports or chats.

IOC extraction