Giter Club home page Giter Club logo

cve_2024_30078_poc_wifi's People

Contributors

blkph0x 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cve_2024_30078_poc_wifi's Issues

Unable to reproduce on Windows 11 22H2

Firstly I wanna say that I appreciate you sharing!

I've modified the python code you've provided such that I can get test SSID less than 32 characters long to show up in the wifi tab on the target laptop running unpatched Windows 11 22H2, and ones longer than 32 do not, which I understand to be the proper observed behavior. I've never actually observed the crash though.

I've tried modifying the number of times each chunk is sent, fiddled with MAC addresses (are mac2 and 3 supposed to match? Should the last octet actually increment with each new chunk?) the length of the SSID, as well as modifying the security type, and the delay between resending packets for each chunk, even tried it on an unpatched Windows 10 laptop, and yet the damn wifi panel persists and functions normally.

My ultimate goal is to be able to repo this in my home lab, so that I can build out a detection for https://www.nzyme.org/ and enable orgs to proactively alert when these attacks may be happening.

If you're at all open to providing more specific parameters (I dont even need code) on how to reproduce the crash you get I'd be extremely grateful, as would everyone running nzyme.

Unrelated to CVE-2024-30078

The code in the repo is unrelated to CVE-2024-30078.

The CVE-2024-30078 vulnerability is in Dot11Translate80211ToEthernetNdisPacket() of the native wifi windows driver (nwifi.sys) and a very specific frame needs to be constructed to even get to the vulnerable code path (which this code does not).

I haven't tried to verify the repo owner claim that it crashes the wifi tab in the taskbar but either way its unrelated to the above mentioned cve.

Can’t reproduce

I’m not able to reproduce the cve. I have my card in monitor mode and am able to verify I’m sending beacon frames. How long of an ssid do you use? Also I noted in your beacon frame construction your missing a lot of data used to set up an ap, are these necessary?

struct.error: required argument is not an integer

Exception in thread Thread-1 (send_beacon):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/scapy/fields.py", line 243, in addfield
return s + self.struct.pack(self.i2m(pkt, val))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: required argument is not an integer

Unable to reproduce

Is there something wrong with the MAC address? When it starts with 01:00:00:00:01, it seems that Windows cannot recognize the WiFi. I changed the addr prefix to 00:11:22 and the iPhone can search it, but the win11 device network card still cannot search the WiFi.

I failed to use this script

it seems that my ssid gave a length of 10*255 and it did not cause theWindows 10 22H2 exception to occur。
Can you give a specific example?
Sending Beacon frame with SSID chunk 1/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 2/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 3/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 4/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 5/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 6/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 7/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 8/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 9/10 of length: 255
....................................................................................................
Sent 100 packets.
Sending Beacon frame with SSID chunk 10/10 of length: 95

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.