•  


GitHub - philcryer/wpa2own: Use hashcat to crack WPA2 PSK (Pre-Shared Key) passwords!
Skip to content

Use hashcat to crack WPA2 PSK (Pre-Shared Key) passwords!

License

Notifications You must be signed in to change notification settings

philcryer/wpa2own

Folders and files

Name Name
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wpa2own

SHALL WE PLAY A GAME?

About

The goal of this project is to automate the process of capturing packets on a WPA2 protected wireless network, and crack their PSK (pre-shared keys). We know that WPA3 is coming, but most didn't know that WPA2 was as susceptible to being broken as it is with this recently released Hashcat method.

History

The announcement tweet

Requirements

Hardware

  • a 64 bit Linux system with a network card that supports montior mode - see Gotchas
  • a 64 bit Linux system with a GPU (graphics processing unit) for running Hashcat against the pcap - again, see Gotchas . In this example we're assuming this is a separate machine, but in the case that you have both on one system, we could rework things to account for that.

System utilities

  • bash
  • curl
  • git
  • make
  • rsync
  • sudo

Packages needed to build hcxtools

  • libopenssl and openssl-dev installed
  • librt and librt-dev installed (should be installed by default)
  • zlib and zlib-dev installed (for gzip compressed cap/pcap/pcapng files)
  • libcurl and curl-dev installed (used by whoismac and wlancap2wpasec)
  • libpthread and pthread-dev installed (used by hcxhashcattool)

EXAMPLE: to install all software requirements in Debian Linux, Ubuntu Linux, or Kali Linux:

sudo apt-get -y install libcurl4-openssl-dev libssl-dev zlib1g-dev libpcap-dev libgmp3-dev

TODO: include package list for other Linux distros. LMK if you figure any out!

Tools that the script will download and build

  • hcxdumptool (v4.2.0+)
  • hcxtools (v4.2.0+)
  • hashcat (v4.2.0+)

Gotchas

  1. You need a networking card that supports monitor mode under Linux, from online posts I've seen the following NICs listed:
Supported adapters (strict)

USB ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
USB ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
USB ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
USB ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
USB ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter

For development and testing, I used the Ralink RT5370 USB wireless plugged into my Mac Book Air (6,1) laptop. The output from lusb is:

$ lsusb | grep Ralink
Bus 001 Device 039: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
  1. The old hashcat-legacy uses the CPU to try and crack hashes, but that code is over 3 years old, and is going to be far too slow to crack what we're capturing here. I might provide it as an option, but it's really more of a POC that you could used in canned environments with very simple passwords. To really get the ball rolling you can should use hashcat with the OpenCL headers (we pull those down as part of the build), and that requires a system with a compatible GPU.

TODO: give examples of how this works, with specfic drivers

Usage

After resolving the requirements and understanding the gotchas:

./wpa2own

NOTICE (8/14/2018) currently, once the scan is complete, your output file is saved in the out/ dir, ready to run against hashcat on a system with GPU processors. I'm working to get this bit automated so it will scp the file to a GPU enabled rig, run it there and give you the results. This is a WIP, working to have complete by next week!

License

Disclaimer

This software is for educational purposes, in order to learn about vulnurable systems to better be able to protect yourself. I'm a big believer in ethical hacking, so do not use this software to break any laws. Don't misuse this script, or information gathered from it to gain unauthorised access to any networks or hardware. Also, be aware, performing hack attempts without permission on computers that you do not own is illegal.

TODO flesh this out, make it more official, looking to eff.org for help here

Misc

Thanks

Releases

No releases published

Packages

No packages published

Languages

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본