Charmve / BLE-Security-Attack-Defence

โœจ Purpose only! The dangers of Bluetooth Low Energy๏ผˆBLE๏ผ‰implementations: Unveiling zero day vulnerabilities and security flaws in modern Bluetooth LE stacks.
https://github.com/Charmve
BSD 2-Clause "Simplified" License
299 stars 41 forks source link
ble ble-security bluefuzz bluetooth-fuzz bluetooth-le bluetooth-low-energy bluetooth-stack bluetoothle fuzzing hacking reverse reverse-proxy stack vulnerability wireless

Bluetooth-LE Security: Method, Tools and Stack

B1ueB0y github Code-of-Conduct


โœจ News! โœจ


Fuzzing
Frankenstein: Advanced Wireless Fuzzing to Exploit New Bluetooth Escalation Targets
Stateful Black-Box Fuzzing of BLE Devices Using Automata Learning
BRAKTOOTH: Causing Havoc on Bluetooth Link Manager via Directed Fuzzing
L2Fuzz: Discovering Bluetooth L2CAP Vulnerabilities Using Stateful Fuzz Testing
Towards Automated Fuzzing of 4G/5G Protocol Implementations Over the Air.
more ...

BLE Vulnerability TOP5




Table of Content

๐Ÿ“‚ BLE-Security-Attack&Defence
 |-- ๐Ÿ“‚ BLE Vulnerability TOP5
 |  |-- ๐Ÿ“‚ BlueBorne
 |  |-- ๐Ÿ“‚ BleedingBit
 |  |-- ๐Ÿ“‚ SweynTooth
 |  |-- ๐Ÿ“‚ BtleJuice
 |  |-- ๐Ÿ“‚ BLE-CTF
 |-- ๐Ÿ“‚ ble-stack
 |  |-- ๐Ÿ“‚ Mynewt-Nimble
 |  |-- ๐Ÿ“‚ nRF5_SDK_15.0.0_a53641a
 |  |-- ๐Ÿ“‚ PyBluez
 |  |-- ๐Ÿ“‚ LightBlue
 |-- ๐Ÿ“‚ cap - capture package
 |  |-- ๐Ÿ“‚ CrackLE
 |  |-- ๐Ÿ“‚ TI-BLTE2Pcap
 |  |-- ๐Ÿ“‚ blefuzz_V21
 |  |-- ๐Ÿ“‚ Fuzzing Bluetooth
 |-- ๐Ÿ“‚ image
 |-- ๐Ÿ“‚ tools - hardware&sofrware
 |  |-- ๐Ÿ“‚ Ubertooth
 |  |-- ๐Ÿ“‚ GATTacker
 |  |-- ๐Ÿ“‚ BladeRF
 |  |-- ๐Ÿ“‚ HackRF
 |  |-- ๐Ÿ“‚ Adafruit-BluefruitLE
 ...


Bluetooth LE Vulnerabilities

1.
BlueBorne: A New Class of Airborne Attacks that can Remotely Compromise Any Linux/IoT Device

BlueBorne: A New Class of Airborne Attacks that can Remotely Compromise Any Linux/IoT Device
Ben Seri & Gregory Vishnepolsky

In this talk we will present the ramifications of airborne attacks, which bypass all current security measures and provide hackers with a contagious attack, capable of jumping over "air-gapped" networks...

Black Hat 2017
[PDF | Project Page | Video | PoC]

2.
BtleJuice: the Bluetooth Smart Man In The Middle Framework by Damiel Cauquil

BtleJuice: the Bluetooth Smart Man In The Middle Framework
Damiel Cauquil

A lot of Bluetooth Low Energy capable devices are spread since the last few years, offering a brand new way to compromise many โ€œsmartโ€ objects: fitness wristbands, smart locks and padlocks and even healthcare devices. But this protocol poses some new challenges...

DefConference 2016 (DEFCOON)
[Video | PDF | Project Page]

3.
Damien virtualabs Cauquil - You had better secure your BLE devices

You had better secure your BLE devices
Damiel Cauquil

Sniffing and attacking Bluetooth Low Energy devices has always been a real pain. Proprietary tools do the job but cannot be tuned to fit our offensive needs, while opensource tools work sometimes, ...

DefConference 2018 (DEFCOON26)
[PDF | Project Page | Video]

4.
BLEEDINGBIT - Takeover of Aruba Access Point Access Point 325

BLEEDINGBIT - Takeover of Aruba Access Point Access Point 325
Armis

In this demo, Armis will demonstrate the takeover of an Aruba Access Point Access Point 325 using a TI cc2540 BLE chip. For more information, please visit https://armis.com/bleedingbit.

BLEEDINGBIT RCE vulnerability (CVE-2018-16986)
[PDF | Project Page | Video]

5.
SweynTooth: Unleashing Mayhem over Bluetooth Low Energy

SweynTooth: Unleashing Mayhem over Bluetooth Low Energy
Matheus E. Garbelini

The Bluetooth Low Energy (BLE) is a promising short-range communication technology for Internet-of-Things (IoT) with reduced energy consumption. Vendors implement BLE protocols in their manufactured devices compliant to Bluetooth Core Specification. Recently, several vulnerabilities were discovered in the BLE protocol ...

USENIX Security 20
[PDF | Code | Project Page | Video | Slides]

6.
BLESA: Spoofing Attacks against Reconnections in Bluetooth Low Energy

BLESA: Spoofing Attacks against Reconnections in Bluetooth Low Energy
Jianliang Wu, Yuhong Nan ..., Purdue University

In this paper, we analyze the security of the BLE link-layer, focusing on the scenario in which two previously-connected devices reconnect. Based on a formal analysis of the reconnection procedure defined by the BLE specification, we highlight two critical security weaknesses in the specification. As a result, even a device implementing the BLE protocol correctly may be vulnerable to spoofing attacks...

WOOT '20
[PDF | Project Page | Video]

7.
Gattacking Bluetooth Smart Devices - Introducing a New BLE Proxy Tool

Gattacking Bluetooth Smart Devices - Introducing a New BLE Proxy Tool
Slawomir Jasek

Using a few simple tricks, we can assure the victim will connect to our impersonator device instead of the original one, and then just proxy the traffic - without consent of the mobile app or device. And here it finally becomes interesting - just imagine how many attacks you might be able to perform with the possibility to actively intercept the BLE communication....

Black Hat 2016 (Black Hat)
[Slides]

8.
BIAS: Bluetooth Impersonation AttackS

BIAS: Bluetooth Impersonation AttackS
Daniele Antonioli, Nils Ole Tippenhauer & Kasper Rasmussen

The Bluetooth standard provides authentication mechanisms based on a long term pairing key, which are designed to protect against impersonation attacks. The BIAS attacks from our new paper demonstrate that those mechanisms are broken, and that an attacker can exploit them to impersonate any Bluetooth master or slave device. Our attacks are standard-compliant, and can be combined with other attacks, including the KNOB attack. In the paper, we also describe a low cost implementation of the attacks and our evaluation results on 30 unique Bluetooth devices using 28 unique Bluetooth chips.

๐Ÿ“‘ IEEE Symposium on Security and Privacy
[PDF | Project Page | Video | Slides | PoC]

9.
BLEKey: Breaking Access Controls With BLEKey

BLEKey: Breaking Access Controls With BLEKey
Eric Evenchick & Mark Baseggio

RFID access controls are broken. In this talk, we will demonstrate how to break into buildings using open-source hardware we are releasing.Over the years, we have seen research pointing to deficiencies in every aspect of access control systems: the cards...

Black Hat 2016 (Black Hat)
[PDF | Project Page | Video]

10.
MASHaBLE: Mobile Applications of Secret Handshakes Over Bluetooth LE

MASHaBLE: Mobile Applications of Secret Handshakes Over Bluetooth LE
Yan Michalevsky

In this talk, we present new applications for cryptographic secret handshakes between mobile devices on top of Bluetooth Low-Energy (LE). Secret handshakes enable mutual authentication between parties that did not meet before (and therefore don't trust each other) but are both associated with a virtual secret group or community...

Black Hat 2016 (Black Hat)
[PDF | Project Page | Video]

11.
Safe Mode Wireless Village - The Basics Of Breaking BLE v3

Safe Mode Wireless Village - The Basics Of Breaking BLE v3
FreqyXin

Evolving over the past twenty-two years, Bluetooth, especially Bluetooth Low Energy (BLE), has become the ubiquitous backbone ...

DefConference 2020 (DEFCOON)
[PDF | Project Page | Video]

12.
USENIX Security '19 - The KNOB is Broken: Exploiting Low Entropy in the Encryption Key

Key Negotiation Of Bluetooth (KNOB): Breaking Bluetooth Security
Daniele Antonioli, SUTD

We present an attack on the encryption key negotiation protocol of Bluetooth BR/EDR. The attack allows a third party, without knowledge of any secret material (such as link and encryption keys), to make two (or more) victims agree on an encryption key with only 1 byte (8 bits) of entropy. Such low entropy enables the attacker to easily brute force the negotiated encryption keys, decrypt the eavesdropped ciphertext, and inject valid encrypted messages (in real-time)....

USENIX Security 19
[PDF | Project Page | Video | PoC]

13.
Bluetooth Reverse Engineering: Tools and Techniques

Bluetooth Reverse Engineering: Tools and Techniques
Mike Ryan, Founder, ICE9 Consulting

With the continuing growth of IoT, more and more devices are entering the market with Bluetooth. This talk will shed some light on how these devices use Bluetooth and will cover reverse engineering techniques that in many cases can be accomplished with hardware you already have! Whether you're a Bluetooth newbie or a seasoned pro, youโ€™ll learn something from this talk....

RSA Conference
[PDF | Project Page | Video]

14.
Apple bleee

Apple bleee: What happens on your iPhone, stays on your iPhone
Jeremy Martin*, Douglas Alpuche, Kristina Bodeman

Handoff All Your Privacy โ€“ A Review of Appleโ€™s Bluetooth Low Energy Continuity Protocol ....

Apple bleee
[PDF | Project Page | Video | PoC | Analysis]


Legend:

Type Icon
Research
Slides
Video
Website / Blog post
Code
Other


โ–ฒ Adversarial examples

Type Title Categories
BlueBorne - A New Class of Airborne Attacks that can Remotely Compromise Any Linux/IoT Device Black Hat 2017
Hack.lu 2016 BtleJuice: the Bluetooth Smart Man In The Middle Framework by Damiel Cauquil Black Hat 2016
MASHaBLE: Mobile Applications of Secret Handshakes Over Bluetooth LE Black Hat 2017
Automatic Discovery of Evasion Vulnerabilities Using Targeted Protocol Fuzzing Black Hat 2017
Effective File Format Fuzzing โ€“ Thoughts, Techniques and Results Black Hat 2016
Hacking the Wireless World with Software Defined Radio - 2.0 Black Hat 2014
Hacking the Wireless World with Software Defined Radio - 2.0+ Black Hat 2015
DEF CON 26 - Damien virtualabs Cauquil - You had better secure your BLE devices DEFCON
DEF CON 24 Wireless Village - Jose Gutierrez and Ben Ramsey - How Do I BLE Hacking DEFCON
DEF CON Safe Mode Wireless Village - FreqyXin - The Basics Of Breaking DEFCON
DEF CON 26 - Vincent Tan - Hacking BLE Bicycle Locks for Fun and a Small Profit DEFCON
DEF CON 26 WIRELESS VILLAGE - ryan holeman - BLE CTF DEFCON
DEF CON 21 - Ryan Holeman - The Bluetooth Device Database DEFCON
DEF CON 22 - Grant Bugher - Detecting Bluetooth Surveillance Systems DEFCON
KnighTV Episode 11: Hacking BLe Devices Part 1/6: Attacking August Smart Lock Pro Tutorial
Gattacking Bluetooth Smart Devices - Introducing a New BLE Proxy Tool Black Hat 2016
Bluetooth Reverse Engineering: Tools and Techniques RSA Conference 2019
Hopping into Enterprise Networks from Thin Air with BLEEDINGBIT RSA Conference 2019
ๆผๆดž้ข„่ญฆ | BleedingBit่“็‰™่Šฏ็‰‡่ฟœ็จ‹ไปฃ็ ๆ‰ง่กŒๆผๆดž ่งฃ่ฏป1 | ่งฃ่ฏป2 Analysis
BA03 Breaking the Teeth of Bluetooth Padlocks Adrian Crenshaw ShowMeCon 2016
The NSA Playset Bluetooth Smart Attack Tools DEFCON

โ–ฒ To-Do

  • 2020.10 BleedingTooth CVE-2020-12351 CVE-2020-12352 CVE-2020-24490
  • 2020.04 BIAS CVE-2020-10135
  • 2020.03 Bluewave CVE-2020-3848 CVE-2020-3849 CVE-2020-3850
  • 2020.03 BLURtooth CVE-2020-15802
  • 2020.03 BLESA CVE-2020-9770
  • 2020.03 KNOB CVE-2019-9506

Code of Conduct

ๅ…่ดฃ็”ณๆ˜Ž Code of Conduct

Citation

Use this bibtex to cite this repository:

@misc{BLE Security,
  title={Bluetooth LE-Security: Method, Tools and Stack},
  author={Charmve},
  year={2020.09},
  publisher={Github},
  journal={GitHub repository},
  howpublished={\url{https://github.com/Charmve/BLE-Security-Attack-Defence}},
}

*updade on 2021/08/05 @ Charmve