Cracking WPA/WPA2 in the Cloud Vivek Ramachandran Founder, SecurityTube.net
Shameless Self Promotion B.Tech, ECE IIT Guwahati WEP Cloaking Defcon 19 Caffe Latte Attack Toorcon 9 802.1x, Cat65k Cisco Systems Media Coverage CBS5, BBC Trainer, 2011 Microsoft Security Shootout Wi-Fi Malware, 2011
Backtrack 5 Wireless Penetration Testing http://www.amazon.com/BackTrack-Wireless-Penetration-Testing-Beginners/dp/1849515581/
SecurityTube.net Training Students in 75+ Countries
Pentester Academy
Agenda WPA/WPA2 Cracking Using Cloud Services Automation Tool Architecture Infrastructure vs Platform as a Service Automation Tool
WPA-Personal – Passphrase Based Pre-Shared Key 256 bit PBKDF2 Passphrase (8-63)
Eavesdropping the 4 Way Handshake Supplicant Authenticator Probe Request-Response Authentication RR, Association RR Pre-Shared Key 256 bit Pre-Shared Key 256 bit Message 1 ANounce Snounce PTK PTK Message 2 Snounce + MIC Message 3 Key Installation Key Installed Message 4 Key Install Acknowledgement Key Installed
WPA-PSK Dictionary Attack 4 Way Handshake SNonce ANonce AP MAC Client MAC Pre-Shared Key 256 bit PBKDF2 (SSID) PTK Passphrase (8-63) Dictionary Verify by Checking the MIC
Open Source Tools Available!
PBKDF2 Password Based Key Derivation Function RFC 2898 PBKDF2(Passphrase, SSID, ssidLen, 4096, 256) 4096 – Number of times the passphrase is hashed 256 – Intended Key Length of PSK
PMK Generator Architecture Wordlist Generator PMK Generator SQL Database Amazon RDS SSID List
Amazon SQS (Message Queue) Worker Architecture Master Worker-1 Worker-2 Worker-3 Amazon SQS (Message Queue) Worker-4 Worker-5 Worker-6
Distributed Message Queue
Relational Database in the Cloud
Workflow Distributed password list creator Password and SSID inserted into Message Queue Worker machines create PMK from (Password, SSID) and store in Amazon RDS
Handshake Verification PMK, Handshake Master Worker-1 Worker-2 Worker-3 Amazon SQS (Message Queue) Worker-4 Worker-5 Worker-6
Benchmark 1000 PMKs created / Second / Instance 130,000 PMK Verifications / Second / Instance 100 Worker Instances were run
Costs Involved – PMK Creation Total cost of 100 instances / hour - $6 Total PMK Creation - 360 million/ hour Cost of startup amortized Stored for future use for a given SSID – Wordlist combination
Costs Involved – PMK Verification Total cost of 100 instances / hour - $6 Total PMK Verifications - 45 Billion / hour Cost of startup amortized Permutation based WordList only to be generated once
Google AppEngine
POST based Data Passing Architecture PMK, Handshake Resident Instance Task-1 Task-2 Task-3 POST based Data Passing Task-4 Task-5 Task-6
Chigu - Amazon EC2 Automatically setup multiple machines on EC2 with pre-created AMI Bring up master, upload “job” Job consists of the following: Wordlist Creation PMK generation Handshake verification
Chigu in Action
Chigu Public Release Beta release available now Testers please email vivek@securitytube.net Version 1 to be released March 15th 2014 Custom AMI for Amazon and Controller Google Appengine Application and Controller http://Chigu.SecurityTube.net
WPA-Enterprise Authenticator Authentication Server Supplicant Association EAPoL Start EAP Request Identity EAP Request Identity EAP Response Identity EAP Packets EAP Packets EAP Success EAP Success PMK to AP 4 Way Handshake Data Transfers
Source: Layer3.wordpress.com
MS-CHAPv2 Cracked in Minutes
CloudCracker.com