Skip to content

emka.web.id

writing knowledge, recording civilization

Menu
  • Home
  • Tutorial
  • Search
Menu

Apa itu BlueDucky, Cara Menggunakan & Bahayanya

Posted on June 16, 2024

Dunia keamanan siber selalu diwarnai inovasi, tak terkecuali dari pihak yang ingin mencari celah. BlueDucky hadir sebagai alat yang ampuh untuk memanfaatkan kerentanan pada perangkat Bluetooth. Artikel ini membahas BlueDucky versi 2.1 yang dikhususkan untuk Android!

Pengujian BlueDucky dilakukan pada Raspberry Pi 4 dengan modul Bluetooth bawaan. Penulis belum bisa memastikan kompatibilitas pada laptop atau perangkat lain. Jika Anda mengalami kendala, diskusikanlah dengan sesama pengguna di komunitas karena keterbatasan dana untuk membeli adaptor tambahan.

Referensi

  • GitHub saad0x1: https://github.com/saad0x1
  • GitHub spicydll: https://github.com/orgs/Spicy-Sparks/repositories
  • GitHub lamentomori: https://github.com/lucasmori

Eksploit Kerentanan (CVE-2023-45866)

BlueDucky didasarkan pada temuan kerentanan CVE-2023-45866 yang memungkinkan eksekusi kode melalui perangkat keyboard HID (Human Interface Device) Bluetooth tanpa autentikasi.

Pengenalan BlueDucky

BlueDucky adalah alat yang ampuh untuk mengeksploitasi kerentanan pada perangkat Bluetooth. Dengan menjalankan skrip ini, Anda dapat:

  • Menemukan kembali perangkat Bluetooth yang sebelumnya tersimpan namun sudah tidak terlihat (tetapi Bluetooth masih aktif).
  • Menyimpan secara otomatis perangkat Bluetooth yang terdeteksi.
  • Mengirim pesan menggunakan format DuckyScript untuk berinteraksi dengan perangkat.

Pengujian sejauh ini berjalan lancar pada Raspberry Pi 4 dengan modul Bluetooth bawaan. BlueDucky berhasil bekerja pada berbagai ponsel, kecuali merk Vodafone dari Selandia Baru.

Instalasi dan Penggunaan

Persiapan untuk Sistem Debian

  1. Perbarui daftar paket:
sudo apt-get update
sudo apt-get -y upgrade
  1. Instal dependensi:
sudo apt install -y bluez-tools bluez-hcidump libbluetooth-dev \
                    git gcc python3-pip python3-setuptools \
                    python3-pydbus
  1. Instal pybluez dari sumber:
git clone https://github.com/pybluez/pybluez.git
cd pybluez
sudo python3 setup.py install
  1. Bangun bdaddr dari sumber BlueZ:
cd ~/
git clone --depth=1 https://github.com/bluez/bluez.git
gcc -o bdaddr ~/bluez/tools/bdaddr.c ~/bluez/src/oui.c -I ~/bluez -lbluetooth
sudo cp bdaddr /usr/local/bin/

Persiapan untuk Sistem Arch

  1. Perbarui pacman dan paket:
sudo pacman -Syyu
  1. Instal dependensi:
sudo pacman -S bluez-tools bluez-utils bluez-deprecated-tools \
               python-setuptools python-pydbus python-dbus \
               git gcc python-pip
  1. Instal pybluez dari sumber:
git clone https://github.com/pybluez/pybluez.git
cd pybluez
sudo python3 setup.py install
  1. Bangun bdaddr dari sumber BlueZ:
cd ~/
git clone --depth=1 https://github.com/bluez/bluez.git
gcc -o bdaddr ~/bluez/tools/bdaddr.c ~/bluez/src/oui.c -I ~/bluez -lbluetooth
sudo cp bdaddr /usr/local/bin/

Menjalankan BlueDucky

  1. Kloning repositori BlueDucky:
git clone https://github.com/pentestfunctions/BlueDucky.git
cd BlueDucky
  1. Aktifkan adaptor Bluetooth (sesuaikan dengan nama adaptor Anda):
sudo hciconfig hci0 up
  1. Jalankan BlueDucky:
python3 BlueDucky.py

Cara Alternatif

pip3 install -r requirements.txt

Pengoperasian BlueDucky

    • Saat dijalankan, BlueDucky akan meminta alamat MAC target.
    • Tekan Enter tanpa input untuk memicu pemindaian perangkat secara otomatis.
    • Perangkat yang sebelumnya ditemukan disimpan dalam file known_devices.txt.
    • Jika file known_devices.txt ada, BlueDucky akan memeriksanya sebelum melakukan pemindaian.
    • BlueDucky akan mengeksekusi skrip dari file payload.txt.
    • Eksekusi yang berhasil akan menghasilkan koneksi otomatis dan menjalankan skrip.

    Duckyscript

    BlueDucky menggunakan format DuckyScript untuk menjalankan perintah pada perangkat target. DuckyScript adalah bahasa pemrograman sederhana yang dirancang untuk keyboard mekanis.

    Fitur Baru Versi 2.1

    Versi 2.1 BlueDucky hadir dengan beberapa fitur baru yang meningkatkan pengalaman pengguna:

    • UI yang Diperbarui: Antarmuka pengguna BlueDucky telah diperbarui untuk membuatnya lebih intuitif dan mudah digunakan.
    • Peningkatan Pengalaman Pengguna: Berbagai perubahan telah dilakukan untuk meningkatkan pengalaman pengguna secara keseluruhan, termasuk penambahan pesan yang lebih informatif dan panduan yang lebih jelas.
    • Bluetooth Debugger: BlueDucky kini dilengkapi dengan debugger Bluetooth yang membantu pengguna mengidentifikasi dan mengatasi masalah konektivitas.
    • Memeriksa Kompatibilitas: Sebelum menjalankan BlueDucky, aplikasi akan memeriksa adaptor Bluetooth dan dependensi yang terinstal untuk memastikan kompatibilitas.

    Kesimpulan

    BlueDucky adalah alat yang ampuh untuk mengeksploitasi kerentanan pada perangkat Bluetooth. Versi 2.1 menghadirkan beberapa fitur baru yang membuatnya lebih mudah digunakan dan efektif.

    Penting untuk diingat bahwa BlueDucky dirancang untuk tujuan pengujian keamanan dan pendidikan. Penggunaannya untuk tujuan jahat dapat berakibat hukum serius.

    Sumber Daya Tambahan:

    • Repositori BlueDucky GitHub: https://github.com/M507/BlueDucky
    • Dokumentasi DuckyScript: https://docs.hak5.org/hak5-usb-rubber-ducky/duckyscript-tm-quick-reference
    • Panduan Keamanan Bluetooth: https://www.nist.gov/publications/guide-bluetooth-security-2

    Terbaru

    • Traefik 3.8 New Feature: Yaegi v2 and the Gateway API Finally Make Custom Plugins Worth the Effort
    • Raspberry Pi OS: Why the November Update is a Win for Minimalism
    • React Can useState Hook Explained in 60 Seconds
    • How Do You Build an MMO Solo?
    • NixOS 26.11 “Zokor” Might Be the Most Practical Release for Desktop Power Users Yet
    • Why Your AWS Bill Can Just Tripled Overnight?
    • Why Indonesia’s Battle with Google is a Dangerous Game of Chicken
    • SYS010 Malware Explained: How Malvertising on Meta Bypasses MFA and Hijacks Your Digital Identity
    • Linux Mint 27 Adrien: Why This Version Jump is Make Sense?
    • NFS2ROOT: A 12-Year Reminder That Your Linux Kernel Is Never Truly Safe
    • The Death of Browsing and the Rise of the “Answer Engine Economy”
    • What’s new in Proxmox VE 9.3?
    • Why Your Morning Routine Needs an API: The Art of iOS Automation
    • Proof of Work is the New Certification: 5 AWS Projects to Build Before 2027
    • Omarchy is Our first agentic operating system
    • The Death of Popper.js: Why CSS Anchor Positioning is the New Standard for Connected UI
    • Why Your 2027 Cloud Career Depends on Moving Beyond Basic AWS Services
    • Why Discord is Ditching Electron for Rust: Is GPUi Actually the Future?
    • The End of the KDE Era: Why KaOS 2026.11 Is a Bold, Dangerous Gamble
    • The $2 Billion Code: Why GTA 6 is a Technical Miracle and a Hardware Nightmare
    • LibreDB Studio Explained
    • PHP 8.6 Is Officially Out: What’s New, What Breaks, and How We’re Upgrading
    • Rewriting Legacy Apps: 4 Data Migration Strategies That Actually Work
    • How to Install Clean Windows 11 Without Any Bloatware (Step-by-Step Guide)
    • IP Address Rate Limiting is Flawed—Here is the Right Way to Do It
    • Are Fedora 45 Stuck in Its Comfort Zone? A Short Review
    • Hacktober Recap 2026, A Month Full of Dangerous CVE: eMudhra, Gitlab, Brotli, PHP, NodeJS etc
    • 7 Skill Keamanan Jaringan yang Membuat Network Engineer Makin Dibutuhkan
    • How to Spin Up Disposable macOS and Linux VMs on Apple Silicon with TartVM
    • Belajar Cyber Security dari Nol hingga Siap Kerja, Ini Roadmap Lengkapnya
    • Canonical: Ubuntu coming soon to Snapdragon X2 Series platforms
    • Finally, wolfSSL adds post-quantum algorithms!
    • How to Run Gemma Embedding Models Using Docker
    • Deploy Nginx Rootful Container with Podman
    • How to Sandboxing Browser on Linux Desktop with Flatpak
    • When to use an MCP server vs CLI with DevTools for agents
    • Your MCP Server Is a Search Result Now
    • AI Roadmap: How To Become An Agentic Operations Manager In 2027
    • What Does a Machine Learning Data Scientist Do?
    • How To Use T3 Code

    ©2026 emka.web.id | Design: Newspaperly WordPress Theme