|
$wp$2y$10$ - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Developer (https://hashcat.net/forum/forum-39.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-40.html) +--- Thread: $wp$2y$10$ (/thread-13369.html) Pages:
1
2
|
$wp$2y$10$ - 174region174 - 09-06-2025 Hashes of this format began to appear on the forums. $wp$2y$10$........................:example We managed to parse this type of hash. This is not a simple bcrypt This password is encrypted several times. The approximate encryption algorithm is as follows. bcrypt hmac-sha384 base64 Next, I'll show you how to search for it. But we need to write a module for hashcat, because our search method is very inconvenient. but it's possible. cat test.dic | ./wp-sha384-hmac.bin | ./hashcat -m 3200 -a 0 3200.hash You need to compile from the code wp-sha384-hmac.bin gcc wp-sha384-hmac.bin.c -O3 -march=native -flto -ffast-math -funroll-loops -o wp-sha384-hmac.bin -lssl -lcrypto Code: #include <stdio.h>If necessary, I can post a hash with a known password for your experiments in this thread. RE: $wp$2y$10$ - cyclone - 09-07-2025 (09-06-2025, 10:50 AM)174region174 Wrote: ...$wp$2y$10$... Hashcat can crack these with the new rust bridge mode -m 74000. Code: echo cyclone | ./hashcat.bin -m 74000 -a0 -w3 --session=bridge --potfile-disable \RE: $wp$2y$10$ - cyclone - 09-07-2025 Here's a quick rundown: 1. Parse $wp$2... bcrypt hash to hashcat bridge mode (see python3 code below) 2. Set up hashcat bridge mode (see example in my previous post; make sure to use the correct "bcrypt2x" mode in --bridge-parameter2 which must match your hash -- likely bcrypt2y, but bcrypt2b in my example) 3. Run hashcat which should crack the example hash:plaintext example wp formatted hash:plain (generated hash) Code: $wp$2b$12$CnC/yHPQoTI40ISHyVEzCuRXkjDkydxPx.VceRJwUsBji5WDqw5BK:cycloneexample hashcat bridge formatted hash:plain (generated hash) Code: $2b$12$CnC/yHPQoTI40ISHyVEzCuRXkjDkydxPx.VceRJwUsBji5WDqw5BK*12*CnC/yHPQoTI40ISHyVEzCu:cyclone./wp2hashcat.py < wp_hash.txt Code: #!/usr/bin/env python3RE: $wp$2y$10$ - 174region174 - 09-07-2025 (09-07-2025, 02:30 AM)cyclone Wrote: Here's a quick rundown: Thank you for the work you have done. I think many users will need this. Not everyone is aware of this type of encryption yet. And they are trying to find the password for these hashes, just like for regular bcrypt. RE: $wp$2y$10$ - zamgold - 09-25-2025 (09-07-2025, 12:42 AM)cyclone Wrote:(09-06-2025, 10:50 AM)174region174 Wrote: ...$wp$2y$10$... I have 4 GPU, but used only 1...How to change my runing script? Speed is ~600p/s on GPU RTX 4090, it's normal? RE: $wp$2y$10$ - penguinkeeper - 09-25-2025 (09-25-2025, 12:46 PM)zamgold Wrote: I have 4 GPU, but used only 1...How to change my runing script? Speed is ~600p/s on GPU RTX 4090, it's normal? That dynamic bridge only uses the CPU, hence why your GPUs aren't really doing anything interesting. A proper module would have to be created, which I'll take a look into in a few hours RE: $wp$2y$10$ - zamgold - 09-25-2025 (09-25-2025, 12:52 PM)penguinkeeper Wrote:(09-25-2025, 12:46 PM)zamgold Wrote: I have 4 GPU, but used only 1...How to change my runing script? Speed is ~600p/s on GPU RTX 4090, it's normal? Will you share your implementation later?
RE: $wp$2y$10$ - penguinkeeper - 09-25-2025 (09-25-2025, 12:57 PM)zamgold Wrote: Will you share your implementation later? Yeah, I'll PR it and let you know in here when it's done RE: $wp$2y$10$ - penguinkeeper - 09-26-2025 PRed but not yet merged: https://github.com/hashcat/hashcat/pull/4512 RE: $wp$2y$10$ - 174region174 - 09-26-2025 I recommend that you check the encryption algorithm of such hashes yourself again, if possible. You need to try creating an account with a known password yourself. The hashes that were previously provided to me for experiments. I was able to verify this successfully. But I also tried to find at least one password from the large number of hashes posted on the forums. The search was unsuccessful. It is possible that very complex passwords are installed there. Or maybe the encryption algorithm doesn't match. test hashes https://privatebin.io/?b589004336180226#6qVpDufNKVNAnoxNq1oHa2eavF3mEe7mocp2dHsHwY1m |