GithubHelp home page GithubHelp logo

vanhoefm / krackattacks-poc-zerokey Goto Github PK

View Code? Open in Web Editor NEW
149.0 18.0 66.0 15.27 MB

Proof-of-concept of the KRACK attack against Linux and Android

License: Other

Makefile 1.06% Shell 0.48% C 73.24% Roff 0.02% Perl 0.01% Python 23.76% PHP 0.17% C++ 1.06% QMake 0.01% Java 0.20%

krackattacks-poc-zerokey's Introduction

This script is currently not actively supported. The documentation is also not complete.

Before running this script, you must compile hostapd. This only needs to be done once:

  cd ../hostapd
  cp defconfig .config
  make -j 2

Then you can exece this script. See our video for example commands.

krackattacks-poc-zerokey's People

Contributors

akholaif avatar aotchere avatar ariknem avatar assafkrauss-at-intel avatar avistern avatar ayalabkr avatar baruchsiach avatar bcopeland avatar davidspinadel avatar dcbw avatar dwmw2 avatar dziedjan avatar elp avatar greearb avatar helmut-jacob avatar ilanpeer2 avatar jmalinen avatar jmberg avatar jmberg-intel avatar masap avatar michael-dev avatar mstepano avatar n-chaprana avatar pstew-dd avatar qsn avatar rsmarples avatar sleffler avatar usdutt avatar vanhoefm avatar wsowa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

krackattacks-poc-zerokey's Issues

fail krack attack

i have this problem with script:
connect exception hostapd_ctrl/wlan0 9877
please a need help for solve this.

Rogue hostapd: hostapd_eid_wmm: not including WMM element in beacon or probe response

So great to find these scripts. Thanks for sharing.
When I run scripts like vedio, It seems something wrong with it.
It always report som log like this:

[15:43:13] Rogue hostapd: hostapd_eid_wmm: not including WMM element in beacon or probe response
[15:43:13] WARNING: Didn't receive beacon from rogue AP for two seconds

But I got AP's beacon packets by wireshark.
How can I deal with it?

Socket.gaierror [Errno -2]

Hi,
Thanks for sharing your scripts.
I'm testing "krack-all-zero-tk.py" but it doesn't work for me.
During the executing appears this error: socket.gaierror: [Errno -2] Name or service not known. This exception runs when trying to create the object Ctrl("hostapd_ctrl/" + self.nic_rogue_ap).
Can you help me to understand how to solve it?

Thanks in advance.
Best Regards,
Giove.

Here my screenshot:
screenshot from 2018-02-02 14-30-11

[Error] No beacon received of network <SSID>. Is monitor mode working? Did you enter the correct SSID?

I'm getting this error:

[17:49:41] Note: remember to disable Wi-Fi in your network manager so it doesn't interfere with this script [17:49:41] Note: keep >1 meter between both interfaces. Else packet delivery is unreliable & target may disconnect [17:49:42] WARNING: Targeting ALL clients is not fully supported! Please provide a specific target using --target. [17:49:45] Searching for target network on other channels [17:49:50] No beacon received of network <CASA>. Is monitor mode working? Did you enter the correct SSID? [17:49:50] Closing hostapd and cleaning up ... Exception TypeError: 'super() argument 1 must be type, not None' in <bound method MitmSocket.__del__ of <__main__.MitmSocket object at 0x7f26ac5dd890>> ignored Exception TypeError: 'super() argument 1 must be type, not None' in <bound method MitmSocket.__del__ of <__main__.MitmSocket object at 0x7f26ac5dd590>> ignored

How can i solve it? I was able to make work krackattacks test script but i'm having problem with this one...

KeyError: 4

Hello,

I have been trying to run krack-all-zero-tk.py for a while now. I have 2 NIC's and made sure that both client and AP are vulnerable to the attack. While running the program, I seem to get a KeyError: 4 issue and it will stop the process of the code.

image

Any suggestions on how to fix?

Thanks!

Try to krackattacks-poc-zerokey but doen not work properly

Thank you this script.
I try to this script.Attacker Kali Linux be attacked Ubuntu 15.10 (wpa_supplicant 2.4)
I check disconnect real channel(1ch). And I check rogue channel(11ch).
Be attacked Client unconnected. After try to rogue channel but require password.
and end krackattacks-poc-zerokey.py I don't know why don't work properly.

[11:23:16] Rogue channel: xx:xx:xx:xx:xx:xx -> 00:00:00:00:00:00: ProbeResp(seq=1412)
[11:23:17] Rogue channel: 00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff: ProbeReq(seq=4082)
[11:23:17] Rogue channel: 00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff: ProbeReq(seq=4083)
[11:23:17] Rogue channel: injected Disassociation to 00:00:00:00:00:00
[11:23:17] Rogue channel: xx:xx:xx:xx:xx:xx -> 00:00:00:00:00:00: ProbeResp(seq=1413)
[11:23:17] Rogue channel: xx:xx:xx:xx:xx:xx -> 00:00:00:00:00:00: ProbeResp(seq=1414)
Traceback (most recent call last):
File "./krack-all-zero-tk.py", line 1018, in
attack.run(strict_echo_test=args.strict_echo_test)
File "./krack-all-zero-tk.py", line 950, in run
if self.sock_rogue in sel[0]: self.handle_rx_roguechan()
File "./krack-all-zero-tk.py", line 760, in handle_rx_roguechan
if Dot11Beacon in p and ord(get_tlv_value(p, IEEE_TLV_TYPE_CHANNEL)) == self.netconfig.rogue_channel:
TypeError: ord() expected string of length 1, but NoneType found
[11:23:17] Closing hostapd and cleaning up ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.