blueborne | PoC scripts demonstrating the BlueBorne vulnerabilities | Security Testing library
kandi X-RAY | blueborne Summary
kandi X-RAY | blueborne Summary
This repository contains a PoC code of various exploits for the BlueBorne vulnerabilities. Under android exploits for the Android RCE vulnerability (CVE-2017-0781), and the SDP Information leak vulnerability (CVE-2017-0785) can be found. Under linux-bluez exploits for the Linux-RCE vulnerability (CVE-2017-1000251) can be found (for Amazon Echo, and Samsung Gear S3). Under l2cap_infra a general testing framework to send and receive raw l2cap messages (using scapy) can be found. Under nRF24_BDADDR_Sniffer a tool to capture bluetooth mac addresses (BDADDR) over the air, using a nRF24L01 chip.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Send stackoverflow conf request
- Convert x to bytes
- Send a packet to the device
- Write packet to file
- Spawn interactive shell
- Receive a packet
- Pwn command
- Set the BT name
- Set random BDAD address
- Prepares a multi - write configuration packet
- Create struct functions for struct fields
- Performs stack memory leak
- Leak SDP info
- Establish a connection
- Set l2cap
- Parse VRR packet
- Setup the GFS device
- Test the NRF connection
- Create socket sockets
- Yields a search attribute request
- Unpack a search attribute response
- Packs a search attribute request
- Set remote MTU
- Pack an attribute
- Poll the device
- Prepare shell code
blueborne Key Features
blueborne Examples and Code Snippets
Community Discussions
Trending Discussions on blueborne
QUESTION
I am trying to run the file l2cap_infra.py with Python 2, but I am getting the following error:
...ANSWER
Answered 2019-May-30 at 01:50It seems it's a compatibility issue between BlueBorne and Scapy.
You (most likely) have installed the latest Scapy version (v2.4.0), which dropped the fields kwarg from scapy.layers.bluetooth.HCI_ACL_Hdr
's initializer, while BlueBorne (l2cap_infra.py, and possibly others) was not updated (or branched) accordingly.
The latest version that still has it is v2.3.3 ([GitHub]: secdev/scapy - (v2.3.3) scapy/scapy/layers/bluetooth.py).
Possible solutions:
- Uninstall your current Scapy version (
pip uninstall scapy
) and install v2.3.3 (pip install scapy==2.3.3
). Probably, this is the simplest (and most suitable) for you ([PyPI]: scapy 2.3.3) - Submit a bug to BlueBorne and wait for them to add support for newer Scapy versions
- Fix it yourself ("fields" (v2.3.3) to "PB" + "BC" (v2.4.0) kwargs conversion), and maybe submit a patch :)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install blueborne
You can use blueborne like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page