hashcat Forum
How to encrypt password with wpa2? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: How to encrypt password with wpa2? (/thread-8548.html)



How to encrypt password with wpa2? - Ar76 - 08-13-2019

How do I encrypt a text password into a wpa2 hash. I thought I'd have a go at then decrypting using HC?


RE: How to encrypt password with wpa2? - slyexe - 08-14-2019

(08-13-2019, 10:01 PM)Ar76 Wrote: How do I encrypt a text password into a wpa2 hash. I thought I'd have a go at then decrypting using HC?

Open your routers web interface, change it to have WPA2 TKIP/AES encryption and enter a password. Use tools to obtain the handshake of your own routerĀ and decrypt with hashcat using either PMKID or WPA2 hashmodes.


RE: How to encrypt password with wpa2? - Ar76 - 08-14-2019

Is there no way of doing it programmatically, c++ or whatever?


RE: How to encrypt password with wpa2? - philsmd - 08-14-2019

you could use tools/test.pl for this

Code:
echo hashcatrocks | perl tools/test.pl passthrough 2500 | base64 -d > my.hccapx

btw: tools/test.pl is within the hashcat folder (source code), but you also need the perl modules in tools/test_modules/ so I recommend just cloning the hashcat git repo with
Code:
git clone https://github.com/hashcat/hashcat/
cd hashcat



RE: How to encrypt password with wpa2? - Ar76 - 08-14-2019

I assume passthrough is the password if not wheres the password to be encrypted?


RE: How to encrypt password with wpa2? - atom - 08-14-2019

In philsmd example the string 'hashcatrocks' is the password. But please, stop using the word encrypt, it hurts.


RE: How to encrypt password with wpa2? - Ar76 - 08-14-2019

(08-14-2019, 11:00 AM)atom Wrote: In philsmd example the string 'hashcatrocks' is the password. But please, stop using the word encrypt, it hurts.

So what's the correct terminology?


RE: How to encrypt password with wpa2? - Ar76 - 08-14-2019

If I use this generator I get a raw psk key, how would I convert this to a .cap or .hccapx file so it can be understood by HC?

https://www.wireshark.org/tools/wpa-psk.html


RE: How to encrypt password with wpa2? - ZerBea - 08-15-2019

Take a look at hcxtools and hcxkeys. The suite contains various converters (except converters which are able to flood online hashcrackers with fake hashes). If you would like to learn how it (PBKDF2) works, just do a code walk through the sources:
https://github.com/ZerBea


RE: How to encrypt password with wpa2? - undeath - 08-15-2019

(08-14-2019, 06:33 PM)Ar76 Wrote:
(08-14-2019, 11:00 AM)atom Wrote: But please, stop using the word encrypt, it hurts.

So what's the correct terminology?


to hash