meine
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
Bluestrike: CLI tool to hack Bluetooth devices through speaker jamming, traffic spoofing & device hijacking (In the mak…
git clone https://github.com/StealthIQ/Bluestrike.gitStealthIQ/Bluestrikegit clone https://github.com/StealthIQ/Bluestrike.git
cd Bluestrike
pip3 install -r requirements.txt
paru -Sy --noconfirm --needed bluez bluez-utils
To run this project, you will need to add the following environment variables to your .env file:
.env
keep the .env file under /utils.
Bluetooth uses radio waves to transmit data in the 2.4 to 2.4835 GHz. frequency band.
Bluetooth devices use a technique called Frequency hopping to avoid interference from other devices. This means that the radio waves used by Bluetooth are constantly changing frequencies, which makes it more difficult for other devices to intercept the data being transmitted.
Bluetooth devices are typically paired with each other before they can communicate. This is done by entering a passcode on each device. Once the devices are paired, they can communicate with each other without the need for a passcode.
Bluetooth devices can communicate with each other up to a range of 10 meters.
From a security perspective, Bluetooth is a relatively secure technology. However, there are some security risks associated with Bluetooth, such as:
AirPods can block requests from a device if it is sending multiple requests. This is to prevent a Denial-of-Service (DoS) attack, which is an attempt to make a service unavailable by sending it too many requests.
When AirPods detect that a device is sending repeated requests, they will first try to ignore the requests. If the requests continue, AirPods will eventually block the device from connecting.
These two techniques work together to help ensure that AirPods can handle a large number of requests without experiencing performance issues.
Fragmentation attacks: The attacker can split up packets into smaller fragments that fall below the rate limit threshold. Each fragment on its own is allowed, but when reassembled they exceed the limit.
Spoofing source addresses: The attacker can spoof the source address of packets to make it appear they are coming from a different device. This can bypass address-based filters.
Flooding attacks: The attacker can generate a very large number of packets in a short period of time, overwhelming the rate limiting mechanism and forcing it to allow some packets through.
Protocol tunneling: The attacker can tunnel non-Bluetooth protocols over the Bluetooth connection. Since the packet filters only inspect Bluetooth packets, the tunneled traffic can bypass the filters.
Exploiting vulnerabilities: If there are vulnerabilities in the Bluetooth software stack, the attacker may be able to exploit them to disable or circumvent the rate limiting and packet filtering mechanisms.
1, Generate a MAC address with a specific OUI using the built-in random module in Python.
List of Standard OUI https://standards-oui.ieee.org/
IEEE is the Institute of Electrical and Electronics Engineers. They are a professional association that promotes technological innovation and excellence.
IEEE manages the registration and assignment of MAC address Organizationally Unique Identifiers (OUIs).
Companies and organizations register with IEEE and are assigned a unique 3-byte OUI prefix to use when generating their MAC addresses.
The IEEE maintains a database of all registered OUIs, which currently contains over 22,000 entries.
For MAC addresses to be considered valid, they must have an OUI that is registered in the IEEE database. Unregistered OUIs will not work in practice.
The mac_address library that we used in the code example has a copy of the IEEE OUI database. This allows it to generate realistic MAC addresses using registered OUIs.
So in summary, IEEE assigns and manages the OUIs that form the first 3 bytes of MAC addresses. This ensures globally unique MAC addresses and proper functioning of networking protocols.
import random
TARGET_OUI = "00:50:C2"
def generate_mac_address(oui):
# Generate the last 3 bytes of the MAC address
last_bytes = [random.randint(0x00, 0xff) for _ in range(3)]
# Concatenate the OUI and the last 3 bytes to form the MAC address
mac_address = oui + ":" + ":".join('{:02x}'.format(byte) for byte in last_bytes)
return mac_address
# Generate a MAC address with the specified OUI
mac_with_oui = generate_mac_address(TARGET_OUI)
print(mac_with_oui)
If you have any feedback or suggestions, please reach out to me via email at stealthiq[at]protonmail[.]com or Twitter.
This project is licensed under the MIT License.
more like this
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
Create and add progress bars, Office365 Files and Dropbox Paper papers by labels and link them to your Todoist tasks.
search projects, people, and tags