Skip to content

This repository contains all the slides, code and APK required to simulate the attacks demonstrated in the Null Kolkata session.

Notifications You must be signed in to change notification settings

falcnix/Hacking-a-Bluetooth-Device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hacking a Bluetooth Device - Null Kolkata

This is a simple demonstration of how one can hack a Bluetooth device by enumerating the characteristics and its controls to write arbitrary data that will indeed control the device.

GitHub closed issues MIT License GPLv3 License AGPL License


Requirements

  • ESP32 DEV Board
  • Raspberry pi 4(optional)
  • Any smartphone preferably Android OS

Installation / Getting Started


Commands

Note: I am making use of bluetoothctl here

Command Description
hciconfig To check the host controller interface that is present in our attacking system
hciconfig hcix up/down To enable and disable the ble adapter
hcitool scan To scan the ble devices in our vicinity
bluetoothctl Interactive bluetooth control tool that is one-stop shop for all the requirements for bluetooth pentesting
show Shows that we are making use of raspberry pi HCI
scan on Turn the scanning on
scan off Turn the scanning off
devices Listing the paired/connected device
pair MAC_address Pairing
menu gatt Listing different set of commands to read and write to the characteristics
list-attributes Listing various characteristics we have
attribute-info Lists various flags that have been enabled on the characteristics
select-attribute characteristic Selecting the characteristics
read Read the data from the selected characteristic
write 0x57 Writing the data in hexadecimal value

Session Recording

About

This repository contains all the slides, code and APK required to simulate the attacks demonstrated in the Null Kolkata session.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages