Giter VIP home page Giter VIP logo

card10-file-dropper's Introduction

card10 BLE file dropper

card10 it the badge from CCCamp 2019. This "smart watch" is Bluetooth Low Energy (BLE) enabled. In order to flash new firmware and apps, users can upload files using Bluetooth. At the time of the event it was possible to upload files without authentication (just by connecting). I've noticed this issue and thought it would be fun to write a little tool, which uploads an empty file named "@IIIIkarusWasHere" (the file name length is very limited). I went around the camp and "infected" some devices. Some users actually found the file and Tweeted about it (1, 2, 3).

Requirements

Usage

Configure the script by editing the parameters defined at the top of card10-file-dropper.py. If not already done by your system, you have to enable and power on Bluetooth. On Arch Linux this is done by entering the following lines.

sudo systemctl start bluetooth.service
bluetoothctl power on

Then run the script with root privileges. (Why? See IanHarvey/bluepy#313)

sudo ./card10-file-dropper.py

Stop the script using CTRL+c.

Example Output

[*] Starting scanner for 3.0 seconds.
[*] Scan finished. Found 48 devices.
[*] Connecting to ca:4d:10:d5:5a:00.
[*] Trying to write file.
[+] File written to ca:4d:10:d5:5a:00.
[*] Starting scanner for 3.0 seconds.
^C
[*] Shutting down.
[*] The following devices have been infected:
[+] Infected device ca:4d:10:d5:5a:00.

card10-file-dropper's People

Contributors

ikarus23 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.