What is this hash
Paste a hash, a token or a blob and get told what it is — the hashcat mode and john format for a hash, the decode chain for an encoding, the plaintext for a shift cipher. A best guess when it cannot be sure
From a terminal, the same answer as text — the string is looked at and forgotten:
curl -sS --data-binary '$6$salt$hash…' https://bokkapig.pages.dev/api/hashid
curl -sS --data-binary @hashes.md https://bokkapig.pages.dev/api/hashidEvery hash signature, with its hashcat mode and john format. Where the shape is a bare length — 32 hex, 40 hex — the first entry is the guess and the rest are what it could also be. The encodings (base64, base32, base58, base85, hex, URL, entities, escapes, binary, octal, decimal, morse, A1Z26, punycode, quoted-printable, uuencode, brainfuck, single-byte XOR, JWT, Flask cookies, Cisco type 7, hashcat $HEX) are decoded, not matched, so they have no table.
windows & AD 10
| format | hashcat | john | looks like |
|---|---|---|---|
| pwdump / secretsdump line (LM:NTLM) user:rid:LM:NT::: as secretsdump and mimikatz lsadump write it. The NT half is the one you crack or pass; aad3b435b51404eeaad3b435b51404ee as the LM half means LM is disabled | 1000 (the fourth field, NTLM) | NT | Administrator:500:aad3b435b51404eeaad3b435b514… |
| NetNTLMv2 user::domain:challenge:HMAC:blob — what Responder and ntlmrelayx catch. Crack it; it cannot be passed | 5600 | netntlmv2 | admin::N46iSNekpT:08ca45b7d7ea58ee:88dcbe44461… |
| NetNTLMv1 / NetNTLMv1-ESS user::domain:LM-response:NT-response:challenge. With the 1122334455667788 challenge it is crackable to NTLM via crack.sh-style rainbow tables; otherwise hashcat 5500 | 5500 | netntlm | u4-netntlm::kNS:338d08f8e26de93300000000000000… |
| Domain Cached Credentials 2 (DCC2 / MS-Cache v2) secretsdump dumps these from the SECURITY hive of a domain-joined box. PBKDF2 — slow; cannot be passed. Worth rockyou only | 2100 | mscash2 | $DCC2$10240#tom#e4e938d12fe5974dc42a90120bd9c90f |
| Domain Cached Credentials (DCC / MS-Cache v1) by length Older cached logon, or just "user:md5" from any dump — hashcat 1100 wants hash:user, so swap the fields if the first is the name. Also the shape of a generic salted md5 (hash:salt → 10, salt:hash → 20) | 1100 (hash:user) | mscash | user:4dd8965d1d476fa0d026722989a6b772 |
| Kerberos AES key (secretsdump aes256-cts-hmac-sha1-96 / aes128 / des-cbc-md5 line) A kerberos key, not a hash — nothing to crack and nothing to pass over NTLM. It is the credential itself: impacket -aesKey <key>, Rubeus /aes256:<key>. The one that still works where RC4 is off and the NT hash is refused | - | - | corp.htb\svc_backup:aes256-cts-hmac-sha1-96:3f… |
| machine account (secretsdump $MACHINE.ACC) The computer account, out of LSA secrets. Do not crack it — 120 random characters. The NT half passes as COMPUTER$, which is a domain credential: enough to collect bloodhound, kerberoast, and read anything Domain Computers can | - | - | $MACHINE.ACC:aad3b435b51404eeaad3b435b51404ee:… |
| service or autologon password (secretsdump _SC_ / DefaultPassword) A plaintext — the password of the account a windows service runs as, or the autologon password, out of LSA secrets. Use it as it is, against every host | - | - | _SC_SQLSERVERAGENT:Summer2024! |
| DPAPI system key (secretsdump dpapi_machinekey / dpapi_userkey) Not crackable, and not needed to be — these decrypt the master keys under C:\Windows\System32\Microsoft\Protect, which decrypt saved credentials. mimikatz dpapi::masterkey /in:<key file> /system:<machinekey>, then dpapi::cred /in:<cred file> | - | - | dpapi_machinekey:0x3d2b7c1a5e6f8d9c0b1a2f3e4d5… |
| LM:NT pair Two 32-hex halves — the LM and NT hashes of one account, as mimikatz and crackmapexec print them. Pass the NT half with -H or --hashes :NT | 1000 (second half) / 3000 (first half) | NT / LM | aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae… |
kerberos 7
| format | hashcat | john | looks like |
|---|---|---|---|
| Kerberos 5 TGS-REP etype 23 (Kerberoast, RC4) GetUserSPNs / Rubeus kerberoast output. The crackable kind — RC4. hashcat -m 13100 | 13100 | krb5tgs | $krb5tgs$23$*user$realm$test/spn*$b548e10f5694… |
| Kerberos 5 TGS-REP etype 17 (Kerberoast, AES128) AES128 service ticket. Slow to crack; if the account also allows RC4, roast again with /rc4opsec or -e | 19600 | krb5tgs | $krb5tgs$17$user$realm$ae8434177efd09be5bc2eff… |
| Kerberos 5 TGS-REP etype 18 (Kerberoast, AES256) AES256 service ticket. Slowest of the three; worth a short wordlist only | 19700 | krb5tgs | $krb5tgs$18$user$realm$8efd91bb01cc69dd07e4600… |
| Kerberos 5 AS-REP etype 23 (AS-REP roast) GetNPUsers -format hashcat / Rubeus asreproast. Accounts with "do not require pre-auth". hashcat -m 18200 | 18200 | krb5asrep | $krb5asrep$23$user@domain.com:3e156ada591263b8… |
| Kerberos 5 AS-REP etype 17/18 (AS-REP roast, AES) AES AS-REP; john handles it in any version, hashcat only recent ones. Ask again with -e rc4 for the 23 form if you can | 32100 (hashcat ≥ 6.2.6) | krb5asrep | $krb5asrep$18$user$EXAMPLE.COM$aabbccddeeff001… |
| Kerberos 5 AS-REQ pre-auth etype 23 From a pcap of a Kerberos login (krb5pa). The timestamp is encrypted with the user key — crack for the password | 7500 | krb5pa-md5 | $krb5pa$23$user$realm$salt$4e751db65422b2117f7… |
| Kerberos 5 AS-REQ pre-auth etype 17/18 AES pre-auth from a pcap | 19800 (17) / 19900 (18) | krb5pa-sha1 | $krb5pa$18$hashcat$HASHCATDOMAIN.COM$96c289009… |
unix crypt 15
| format | hashcat | john | looks like |
|---|---|---|---|
| sha512crypt ($6$) — Linux /etc/shadow The default on most Linux. Slow (5000 rounds) — rockyou with no rules on a GPU is fine, with rules it is a long wait. unshadow passwd shadow > both, then john | 1800 | sha512crypt | $6$52450745$k5ka2p8bFuSmoVT1tzOyyuaREkkKBcCNqo… |
| sha256crypt ($5$) Same family, shorter digest | 7400 | sha256crypt | $5$rounds=5000$GX7BopJZJxPc/KEK$le16UF8I2Anb.r… |
| md5crypt ($1$) — old Linux, Cisco type 5, FreeBSD Fast to crack. Cisco "enable secret 5" is exactly this | 500 | md5crypt | $1$28772684$iEwNOgGugqO9.bIz5sk8k/ |
| Apache apr1 md5 ($apr1$) — .htpasswd htpasswd default. Found in .htpasswd next to a .htaccess | 1600 | md5crypt | $apr1$71850310$gh9m4xcAn3MGxogwX/ztb. |
| bcrypt ($2a$ / $2b$ / $2y$) Web apps (PHP password_hash, Rails, Node) and OpenBSD. Cost is the number after the second $; 10+ is slow. Short, targeted wordlist only — never rules | 3200 | bcrypt | $2a$05$LhayLxezLhK1LhWvKxNiNOqdtHiZwKr6LdnkYBg… |
| yescrypt ($y$) — current Debian, Ubuntu 22.04+, Fedora, Kali What a new /etc/shadow holds. hashcat cannot do it; john through libxcrypt can, slowly. Cheap passwords only | - | crypt (through libxcrypt; slow) | $y$j9T$F5Jx5fExrKuPp53xLKNtK1$X3DX6M94c7o.9agC… |
| scrypt ($7$) Rare on Linux; Cisco type 9 and some BSDs | 8900 (different input format — see hashcat --example-hashes) | scrypt | $7$C6..../....SodiumChloride$kBGj9fHznVYFQMEn/… |
| Argon2 ($argon2id$ / $argon2i$ / $argon2d$) Modern web apps. Memory-hard; cracking is a very short wordlist | 34000 (hashcat ≥ 7.0, argon2id only) | argon2 | $argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$Rde… |
| Django / Nextcloud argon2 (argon2$argon2id$… / 3|$argon2id$…) The same $argon2id$ hash with the app's own marker in front — argon2$ is Django, 3| is Nextcloud (1| and 2| are its bcrypt). Cut everything before the first $ and crack it as Argon2 | 34000, after stripping the prefix | argon2 | argon2$argon2id$v=19$m=102400,t=2,p=8$c29tZXNh… |
| descrypt — traditional DES crypt by length 13 chars, first two are the salt. Old Unix, old routers, some .htpasswd. Fast to crack, passwords were truncated to 8 | 1500 | descrypt | 48c/R8JAv757A |
| BSDi crypt (_ prefix) Extended DES. Rare | 12400 | bsdicrypt | _9G..8147mpcfKT8g0U. |
| NetBSD sha1crypt ($sha1$) NetBSD; also pfSense and some appliances | 15100 | sha1crypt | $sha1$20000$75552156$HhYUB8c1hv6tO0XDRw7mIIqR6… |
| Sun MD5 ($md5$) Solaris | 3300 | sunmd5 | $md5,rounds=5000$GUBv0xjJ$$mSwgIswdjlTY0YxV7HB… |
| macOS 10.8+ ($ml$) From the plist under /var/db/dslocal/nodes/Default/users/, via ml2john | 7100 | pbkdf2-hmac-sha512 | $ml$35460$e00000000400004003000000000004004740… |
| GRUB 2 password From /boot/grub/grub.cfg or user.cfg. Owning it gives a root shell at boot | 7200 | pbkdf2-hmac-sha512 | grub.pbkdf2.sha512.10000.7D21C4CFDEFBC9C6B8E9C… |
ldap 5
| format | hashcat | john | looks like |
|---|---|---|---|
| {SSHA} salted SHA-1 (LDAP) OpenLDAP userPassword. base64 of sha1(pass+salt)+salt | 111 | salted-sha1 | {SSHA}AZKja92fbuuB9SpRlHqaoXxbTc43Mzc2MDM1Ng== |
| {SHA} SHA-1 (LDAP, Tomcat) Unsalted sha1 in base64 | 101 | raw-sha1 (strip the prefix, base64 → hex) | {SHA}uJ6qx+gUFeJdBuVOENtNqHmP0Gs= |
| {SSHA256} / {SSHA512} salted SHA-2 (LDAP) OpenLDAP with a stronger scheme | 1411 (256) / 1711 (512) | ssha256 / ssha512 | {SSHA256}MAafjQ3qoNDMcL8G/+mfR6U8U4e7nm0r2VIGU… |
| {MD5} / {SMD5} (LDAP) base64 md5, LDAP style | 0 (after base64 → hex) / 20 for SMD5 with the salt split off | raw-md5 / salted-md5, after base64 -d | xxd -p | {MD5}X03MO1qnZdYdgyfeuILPmQ== |
| {crypt} (LDAP wrapper) OpenLDAP handing off to the system crypt(). What follows is $6$, $1$ or 13-char DES | whatever is inside — strip {crypt} and identify the rest | crypt | {crypt}$6$salt$hashhashhashhashhashhashhashhas… |
web apps & frameworks 19
| format | hashcat | john | looks like |
|---|---|---|---|
| phpass ($P$ / $H$) — WordPress, phpBB3, Joomla ≥ 2.5 wp_users.user_pass. 8192 rounds of md5 — fine on a GPU | 400 | phpass | $P$984478476IagS59wHZvyQMArzfx58u. |
| WordPress ≥ 6.8 ($wp$2y$) bcrypt of base64(HMAC-SHA384(password, "wp-sha384")). The $wp$ prefix is the tell; strip it and bcrypt mode 3200 will not match, the pre-hash is in the way. $P$ on the same table is the old scheme and cracks as phpass | 35500 (recent hashcat only — check --example-hashes) | - | $wp$2y$10$607XKVrBjPEqujeOXNwbYuOJ.gPMd2TelMMk… |
| Drupal 7 ($S$) users.pass. Slow sha512 — drush upwd is the shortcut if you have shell | 7900 | drupal7 | $S$C33783772bRXEx1aCsvY.dqgaaSu76XmVlKrW9Qu8IQ… |
| Django pbkdf2_sha256 auth_user.password. Slow — very short list. If you have the DB write access, set a known hash instead | 10000 | django | pbkdf2_sha256$20000$H0dPx8NeajVu$GiC4k5kqbbR9q… |
| Django sha1 (old) Django < 1.4 | 124 | django | sha1$fe76b$02d5916550edf7fc8c886f044887f4b1abf… |
| passlib pbkdf2 ($pbkdf2-sha256$ / $pbkdf2-sha512$ / $pbkdf2$) Python passlib — Flask apps, Airflow, Odoo | 20300 (sha256) / 20200 (sha512) / 20400 (sha1) | pbkdf2-hmac-sha256 / pbkdf2-hmac-sha512 / pbkdf2-hmac-sha1 | $pbkdf2-sha256$29000$x9j7P2eMUUqp9d47hxBizA$kr… |
| Werkzeug / Flask pbkdf2 (pbkdf2:sha256:…) Werkzeug generate_password_hash. Salt is plain text, hash is hex — repack with base64 for hashcat | 10900 (sha256) / 12100 (sha512) / 12000 (sha1) — rewrite as sha256:iter:base64(salt):base64(hash) | pbkdf2-hmac-sha256 | pbkdf2:sha256:260000$EfGJ4r5bMYtp27DI$bd7a66bc… |
| Werkzeug / Flask scrypt (scrypt:…) Werkzeug ≥ 2.3 default. Nothing cracks it off the shelf; write a short Python loop with werkzeug.security.check_password_hash over a tiny list, or change the hash in the DB | - | - | scrypt:32768:8:1$Ng8CbLnlWFwZX9ZY$700480000400… |
| PBKDF2-HMAC (sha256:iter:salt:hash) hashcat's generic PBKDF2 shape. Salt and hash in base64 | 10900 (sha256) / 12100 (sha512) / 12000 (sha1) | pbkdf2-hmac-sha256 | sha256:1000:MTc3MTA0MTQwMjQxNzY=:PYjCU215Mi57A… |
| Atlassian PBKDF2 ({PKCS5S2}) Jira, Confluence, Bitbucket cwd_user.credential | 12001 | pbkdf2-hmac-sha1 | {PKCS5S2}NzIyNzM0NzY3NTIwNjI3MTUwMzE3NjQxMzc1N… |
| ASP.NET Core Identity (AQAAAA… base64) The AspNetUsers.PasswordHash column — base64 of a version byte, the PRF, the iteration count, the salt and the hash. It does not go into hashcat as it is: github.com/edernucci/identity-to-hashcat rewrites it as sha256:iter:salt:hash. v3 is SHA256 with 10000 rounds, .NET 7+ 100000 | 10900 / 12000 / 12100 after conversion (PBKDF2-HMAC-SHA256 / SHA1 / SHA512) | - | AQAAAAEAACcQAAAAEBVcdL2GFlTlo5vBi9GSyCRCWYVbkb… |
| Jenkins users/<name>/config.xml passwordHash. bcrypt underneath | 3200 (strip #jbcrypt:) | bcrypt | #jbcrypt:$2a$10$DdaWzN64JgUtLdvxWIflcuQu2fgrrM… |
| MediaWiki ($B$) user.user_password | 3711 | mediawiki | $B$56668501$0ce106caa70af57fd525aeaf80ef2898 |
| vBulletin ≥ 3.8.5 (md5:30-char salt) user.password:user.salt | 2711 | dynamic_7 | 16780ba91e9cff0e8a5d1c6b3f4f1b8f:cXcbnjAvQp8HZ… |
| vBulletin < 3.8.5 (md5:3-char salt) by length md5(md5(pass).salt) with a 3-char salt. Could as easily be a plain salted md5 — try 10 and 20 too | 2611 | dynamic_7 | 16780ba91e9cff0e8a5d1c6b3f4f1b8f:cXc |
| IPB / MyBB (md5:8-char salt) by length md5(md5(salt).md5(pass)) with an 8-char salt — Invision Power Board, MyBB. Or a plain salted md5: 10 / 20 | 2811 | dynamic_7 | 8d2129083ef35f4b365d5d2c4cfa7e02:12345678 |
| Joomla < 2.5.18 (md5:32-char salt) md5(pass.salt), jos_users.password | 11 | dynamic_6 | 19e0e8d91c722e7091ca7a6a6fb0f4fa:QrSuPlmxZK5bN… |
| AuthMe sha256 ($SHA$) Minecraft AuthMe plugin | 20711 | dynamic_1033 | $SHA$7218532375810603$bfede293ecf6539211a7305e… |
| JWT (JSON Web Token) header.payload.signature, base64url. Decode the first two (this page does), then crack the HS256 secret with hashcat 16500 or jwt_tool, and try alg:none | 16500 | - | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiO… |
databases 11
| format | hashcat | john | looks like |
|---|---|---|---|
| MSSQL 2012 / 2014+ SELECT password_hash FROM sys.sql_logins. 0x0200 + 4-byte salt + SHA-512 | 1731 | mssql12 | 0x02000102030434ea1b17802fd95ea6316bd61d2c9462… |
| MSSQL 2005 0x0100 + 4-byte salt + SHA-1 | 132 | mssql05 | 0x010018102152f8f28c8499d8ef263c53f8be369d799f… |
| MSSQL 2000 0x0100 + salt + SHA-1 of the mixed-case password + SHA-1 of the upper-case one. Crack the upper-case half (mode 131) then fix the case | 131 | mssql | 0x01002702560500000000000000000000000000000000… |
| SCRAM-SHA-1 (MongoDB) system.users credentials | 24100 | - | SCRAM-SHA-1$4096:YWRtaW5pc3RyYXRvcnNhbHQ=$Wm7P… |
| MySQL 4.1+ / 5+ (SHA1 twice) mysql.user.authentication_string. Fast | 300 | mysql-sha1 | *E6CC90B878B948C35E92B003C792C46C58C4AF40 |
| MySQL 8 caching_sha2_password ($A$) MySQL 8 default. Slow | 7401 | - | $A$005$7P}Zj0y4RGm3~I9xfHCWuB.qXOF.q/XfCvqFoIt… |
| PostgreSQL md5 (md5 + 32 hex) pg_authid.rolpassword. md5(password + username) — the salt is the role name | 12 (as hash:username, without the md5 prefix) | postgres | md5a6343a68d964ca596d9752250d54bb8a |
| PostgreSQL SCRAM-SHA-256 PostgreSQL 14+ default | 28600 | - | SCRAM-SHA-256$4096:AgZ2OxhG+N6ri0Mp7VGZ+w==$Pq… |
| Oracle 11g (S:) sys.user$.spare4. sha1 with a 10-byte salt | 112 | oracle11 | S:50000040040040000004004800400000400000400040… |
| Oracle 7–10g (DES, 16 hex) / MySQL 3.2.3 / half MD5 by length 16 hex says old Oracle (upper case, needs the username), old MySQL (PASSWORD() before 4.1), or the left half of an md5 | 3100 (oracle, as hash:user) / 200 (mysql323) / 5100 (half md5) | oracle / mysql | 7A963A529D2E3229 |
| VNC password (registry, 16 hex) by length From HKCU\Software\ORL\WinVNC3\Password, TightVNC or RealVNC in the registry, or ~/.vnc/passwd — not a hash, a DES encryption under a fixed key. Decrypt rather than crack: echo <hex> | xxd -r -p | openssl enc -des-cbc --nopad --nosalt -K e84ad660c4721ae0 -iv 0000000000000000 -d | hexdump -Cv | - | - | d7a514d8c556aade |
network kit 8
| format | hashcat | john | looks like |
|---|---|---|---|
| Cisco-PIX / ASA MD5 by length 16 chars of base64-ish from a PIX/ASA config enable password | 2400 (PIX) / 2410 (ASA, with the username as salt) | pix-md5 / asa-md5 | dRRVnUmUHXOTt9nk |
| Cisco type 4 (SHA-256, base64, no padding) by length enable secret 4. Unsalted sha256, fast | 5700 | cisco4 | 2btjjy78REtmYkkW0csHUbJZOstRXoWdX1mGrmmfeHI |
| Cisco type 8 ($8$) — PBKDF2-SHA256 enable secret 8 | 9200 | pbkdf2-hmac-sha256 | $8$TnGX/fE4KGHOVU$pEhnEvxrvaynpi8j4f.EMHr6M.Fz… |
| Cisco type 9 ($9$) — scrypt enable secret 9. Slow | 9300 | scrypt | $9$2MJBozw/9R3UsU$2lFhcKvpghcyQVOZPLBr4Y2M0Oxq… |
| Juniper $9$ (reversible) Junos "encrypted-password" is reversible obfuscation. junosdecode.py, or the online decoders | not a hash — decode it | - | $9$lJ5M87wYoGDkgoGDikPQz3nCB1hcl |
| Fortigate (AK1) FortiOS config "set password ENC AK1…" | 7000 | fortigate | AK1AggkY4ggggggkY8QQQUAAAAAAEwwwAEwwwwwwwwww0g= |
| WPA / WPA2 (hashcat 22000 line) From hcxpcapngtool. 01 is a PMKID, 02 a 4-way handshake | 22000 | wpapsk-pmk | WPA*01*4d4fe7aac3a2cecab195321ceb0cbb14*fc690c… |
| WPA PMKID (pmkid*mac*mac*ssid) Older hcxdumptool output | 16800 (or convert to 22000) | - | 2582a8281bf9d4308d6f5731d0e61c61*4604ba734d4e*… |
files — the *2john family 18
| format | hashcat | john | looks like |
|---|---|---|---|
| KeePass ($keepass$) keepass2john db.kdbx. 1 = KDBX 1.x, 2 = KDBX 2.x. Strip the "db.kdbx:" prefix john adds for hashcat | 13400 | KeePass | $keepass$*2*6000*0*d74e29a727e9338717d27a7d457… |
| ZIP, WinZip AES ($zip2$) zip2john on an AES zip | 13600 | ZIP | $zip2$*0*3*0*e3222d3b65b5a2785b192d31e39ff9de*… |
| ZIP, legacy PKZIP ($pkzip2$) zip2john on a traditional zip. If the archive holds a known-plaintext file, bkcrack beats cracking | 17200 (1 file, compressed) / 17210 (uncompressed) / 17220 / 17225 / 17230 (multi-file) | PKZIP | $pkzip2$1*1*2*0*e3*1c5*eda7a8de*0*28*8*e3*eda7… |
| RAR3 ($RAR3$) rar2john | 12500 (encrypted headers, -hp) / 23700 (-p, headers in the clear) | rar | $RAR3$*0*45109af8ab5f297a*adbf6c5385d7a40373e8… |
| RAR5 ($rar5$) rar2john on a RAR5 archive | 13000 | rar5 | $rar5$16$74575567518807622265582327032280$15$f… |
| 7-Zip ($7z$) 7z2john.pl. Slow — rockyou only | 11600 | 7z | $7z$0$19$0$1122$8$d1f8da30c66b3b4c000000000000… |
| MS Office 2007/2010/2013+ ($office$) office2john. 2013+ is slow | 9400 (2007) / 9500 (2010) / 9600 (2013+) | office | $office$*2013*100000*256*16*7dd611d7eb4c899f74… |
| MS Office ≤ 2003 ($oldoffice$) office2john on a .doc/.xls. Weak — 9710/9810 collision modes crack it without the password | 9700 (0/1, MD5) / 9800 (3/4, SHA1) | oldoffice | $oldoffice$1*04477077758555626246182533254933*… |
| PDF ($pdf$) pdf2john. If only the owner password is set, qpdf --decrypt opens it without cracking | 10400 (1.1–1.3) / 10500 (1.4–1.6) / 10600 (1.7 L3) / 10700 (1.7 L8) | $pdf$2*3*128*-1028*1*16*da42ee56fa4e2f4a3e3b1c… | |
| OpenSSH / PEM private key ($sshng$) ssh2john id_rsa. $6$ is the modern OpenSSH format and is slow; the old PEM ones are fast | 22911 ($0$ RSA/DSA/EC) / 22921 ($6$ bcrypt-pbkdf, OpenSSH) / 22931 ($1$ / $3$) / 22941 ($4$) / 22951 ($5$) | SSH | $sshng$6$16$7a0b2d1a3f9c4e5d6b8a7f0e1d2c3b4a$1… |
| GPG / PGP secret key ($gpg$) gpg2john secring.gpg | 17010 (AES/SHA-1) / 17020 / 17030 / 17040 | gpg | $gpg$*1*668*2048*97a1b2c3d4e5f60718293a4b5c6d7… |
| LibreOffice / ODF ($odf$) libreoffice2john | 18400 (AES) / 18600 (Blowfish) | ODF | $odf$*1*1*100000*32*aabbccddeeff00112233445566… |
| BitLocker ($bitlocker$) bitlocker2john on the image. Very slow | 22100 | bitlocker | $bitlocker$0$16$02b329b0453b9a8c4f6b1e2d3c4a5f… |
| DPAPI master key ($DPAPImk$) DPAPImk2john on %APPDATA%\Microsoft\Protect\<SID>\<guid>. Cracking it gives the key to the saved browser and RDP credentials | 15300 (v1, local user) / 15310 (v1, domain) / 15900 (v2, local) / 15910 (v2, domain) | DPAPImk | $DPAPImk$1*1*S-15-21-466364039-425773974-45393… |
| Bitcoin / Litecoin wallet ($bitcoin$) bitcoin2john wallet.dat | 11300 | bitcoin | $bitcoin$96$d011a1b6a8d675b7a36d0cd2efaca32a9f… |
| Ansible Vault ($ansible$) ansible2john on a file that starts $ANSIBLE_VAULT;1.1;AES256. The vault password opens every file sealed with it — ansible-vault view file — and the files are where the real passwords are | 16900 | ansible | $ansible$0*0*3e1b0f3f8a3b6d1c1f3f4f1a2b3c4d5e6… |
| PuTTY private key ($putty$) putty2john on a .ppk. If it has no passphrase, skip this — puttygen key.ppk -O private-openssh -o id_rsa and ssh -i | - | putty | $putty$1*16*1*0*aabbccddeeff001122334455667788… |
| Android / LUKS / other $-prefixed *2john output A $name$ prefix that is not in this table. The *2john scripts all write one, and hashcat --example-hashes lists every one it knows | look it up: hashcat --example-hashes | grep -i -B3 -A3 "<prefix>" | john --list=formats | $fvde$1$16$96a9e2d2c3e4f5a6b7c8d9e0f1a2b3c4$41… |
bare digests, by length 10
| format | hashcat | john | looks like |
|---|---|---|---|
| NTLM (or MD5, MD4, LM) — 32 hex by length Nothing in 32 hex says which. From a Windows dump (SAM, NTDS, mimikatz) it is NTLM — try passing it before cracking it. From a web app or database it is MD5. 31d6cfe0d16ae931b73c59d7e0c089c0 is NTLM of an empty password; aad3b435b51404eeaad3b435b51404ee is LM disabled | 1000 NTLM / 0 MD5 / 900 MD4 / 3000 LM | NT / raw-md5 / raw-md4 / LM | b4b9b02e6f09a9bd760f388b67351e2b |
| MD5 / SHA-1 / SHA-256 with salt (hash:salt) by length A digest and a salt. Which order the app concatenated them is a guess — try both modes | 10 (md5 pass.salt) / 20 (md5 salt.pass) / 110 / 120 (sha1) / 1410 / 1420 (sha256) — hashcat wants hash:salt; swap if yours is salt:hash | dynamic_1 / dynamic_4 (md5) — see john --list=subformats | 01dfae6e5d4d90d9892622325959afbe:7050461 |
| CRC32 / Adler-32 (8 hex) by length A checksum, not a password hash — unless it is a 4-byte salt or an id. Trivially collidable | 11500 (as hash:00000000) | crc32 | c762de4a |
| SHA-1 (or RIPEMD-160, MySQL ≥ 4.1 without the *) — 40 hex by length Almost always SHA-1. Git object ids are also 40 hex | 100 / 6000 (ripemd160) / 300 (mysql) | raw-sha1 / ripemd-160 / mysql-sha1 | b89eaac7e61417341b710b727768294d0e6a277b |
| Tiger-192 / HAVAL-192 — 48 hex by length Rare. 48 hex is also 24 bytes — a NetNTLMv1 response, or a 3DES key | - | tiger / haval-192 | 2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93 |
| SHA-224 / SHA3-224 — 56 hex by length Uncommon | 1300 / 17300 | raw-sha224 / raw-sha3-224 | e4fa1555ad877bf0ec455483371867200eee89550a93ef… |
| SHA-256 (or SHA3-256, Keccak-256, BLAKE2s, Streebog) — 64 hex by length SHA-256 unless proven otherwise. Also the shape of a hex-encoded 32-byte key or an Ethereum-style id | 1400 / 17400 (sha3) / 17800 (keccak) / 11700 (streebog) | raw-sha256 / raw-sha3-256 / raw-keccak-256 / raw-blake2s | 127e6fbfe24a750e72930c220a8e138275656b8e5d8f48… |
| SHA-384 / SHA3-384 — 96 hex by length Uncommon | 10800 / 17500 | raw-sha384 / raw-sha3-384 | 9000048c00003000040400000000400000040000000004… |
| SHA-512 (or SHA3-512, Whirlpool, BLAKE2b, Keccak-512) — 128 hex by length SHA-512 unless proven otherwise | 1700 / 17600 (sha3) / 6100 (whirlpool) / 600 (blake2b) / 18000 (keccak) | raw-sha512 / raw-sha3-512 / whirlpool / raw-blake2 | 82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf… |
| hashcat $HEX[…] wrapper Decode the hex and that is the password | it is the plaintext, hex-encoded — hashcat writes it when a cracked password has odd bytes | - | $HEX[7061737377307264] |