Skip to content

Conversation

@Vedant-VB07
Copy link

@Vedant-VB07 Vedant-VB07 commented Oct 2, 2025

Hacktoberfest 2025 Contribution

This contribution is submitted as part of Hacktoberfest 2025.

Description

This PR significantly expands hash identification coverage by adding 13 new and updated Hashcat modes and introducing more specific regex patterns for complex formats. All additions include corresponding unit tests in tests/test_hashcat.py.

The goal is to provide reliable identification for a wider range of high-value targets and modern cryptographic standards.

Added/Updated Hash Modes

Hashcat Mode Hash Name Category
6213 TrueCrypt 5.0+ RIPEMD160 + Serpent-Twofish-AES Full Disk Encryption
6232 TrueCrypt 5.0+ Whirlpool + Twofish-Serpent / AES-Twofish Full Disk Encryption
13722 VeraCrypt PBKDF2-HMAC-SHA512 + Serpent-AES Full Disk Encryption
20012 DiskCryptor SHA512 + XTS 1024 bit (AES-Twofish) Full Disk Encryption
20013 DiskCryptor SHA512 + XTS 1536 bit (AES-Twofish-Serpent) Full Disk Encryption
16100 TACACS+ Network/System
19100 QNX /etc/shadow (SHA256) Operating System
125 ArubaOS Network/System
5200 Password Safe v3 Password Manager
22700 MultiBit HD (scrypt) Cryptocurrency Wallet
15500 JKS Java Key Store Private Keys (SHA1) File/Application
11860 HMAC-Streebog-512 (key = $salt) Generic Crypto
22200 Citrix NetScaler (SHA512) Application
14000 DES (PT = $salt, key = $pass) 8 Generic Crypto

Files Modified

  • hashes.py: Added or updated 14 prototypes (covering 13 unique HashInfo modes).
  • tests/test_hashcat.py: Added unit tests for all new Hashcat modes to ensure correct identification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant