TarlogicSecurity / BlueSpy

PoC to record audio from a Bluetooth device
788 stars 121 forks source link

Error while executing command "bluetoothctl connect XX:XX:XX:XX:XX:XX" #13

Open Electro-Gamma opened 3 months ago

Electro-Gamma commented 3 months ago

XX:XX:XX:XX:XX:XX is my Phone MAC

┌──(kali㉿kali-raspberry-pi)-[~/Desktop/P_tools/BlueSpy]
└─$ python3 BlueSpy.py -a XX:XX:XX:XX:XX:XX
░█▀▄░█░░░█░█░█▀▀░█▀▀░█▀█░█░█░
░█▀▄░█░░░█░█░█▀▀░▀▀█░█▀▀░░█░░
░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░░░░▀░░
░▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀░
Bluetooth audio recording tool by Tarlogic
[I] Avoiding authentication with XX:XX:XX:XX:XX:XX...
[I] Generating shared key...
[!] Key generated
[I] The device is vulnerable!
[I] Establishing connection...
Traceback (most recent call last):
  File "/home/kali/Desktop/P_tools/BlueSpy/BlueSpy.py", line 94, in <module>
    main()
  File "/home/kali/Desktop/P_tools/BlueSpy/BlueSpy.py", line 78, in main
    connect(target, verbose=args.verbose)
  File "/home/kali/Desktop/P_tools/BlueSpy/core.py", line 97, in connect
    run_and_check(
  File "/home/kali/Desktop/P_tools/BlueSpy/system.py", line 35, in run_and_check
    raise CommandValidationException(cmdline, out)
system.CommandValidationException: ('Error while executing command "bluetoothctl connect XX:XX:XX:XX:XX:XX"', 'Attempting to connect to XX:XX:XX:XX:XX:XX\n[\x1b[0;92mNEW\x1b[0m] Endpoint /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1 \n[\x1b[0;92mNEW\x1b[0m] Transport /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1/fd0 \nFailed to connect: org.bluez.Error.Failed br-connection-unknown\n')
alternativehacker commented 2 months ago

Same here

jesusgomezmoreno commented 2 months ago

This seems to be a problem when using bluetoothctl to connect to the device. Can you connect to the device using bluetoothctl? Usually, an iPhone device won't allow other devices to connect to it, and this is not the use case of the PoC.

hisbalah commented 1 week ago

Same problem, no Iphone. Headphones.