Bluetooth attacks

5 minutes 5 Questions

In the context of CompTIA PenTest+, Bluetooth attacks target vulnerabilities in the IEEE 802.15.1 protocol (Classic Bluetooth) and Bluetooth Low Energy (BLE). The assessment methodology typically moves from reconnaissance to exploitation using Linux-based tools like 'hcitool', 'hciconfig', 'l2ping', and 'btscanner'. Initial reconnaissance involves discovery. Testers scan for devices in 'discoverable' mode to obtain the unique 48-bit BD_ADDR. Even if a device is set to non-discoverable, attackers can deduce the MAC address through traffic sniffing or brute-forcing. Three legacy but critical attacks define the syllabus: 1. Bluejacking: An annoyance or social engineering attack where unsolicited messages (often vCards) are sent to a device. It does not involve data theft but can be a vector for phishing. 2. Bluesnarfing: A confidentiality attack involving unauthorized data exfiltration. Attackers exploit the Object Exchange (OBEX) protocol to steal contacts, emails, and text messages without the user's knowledge. 3. Bluebugging: The most severe attack, granting the attacker total control. By establishing a backdoor, the attacker can listen to phone calls, forward calls, and send messages, effectively turning the device into a bug. Modern testing also focuses on BLE attacks, such as 'BlueBorne'—an airborne attack vector requiring no pairing or discoverability to trigger buffer overflows—and 'Bleedingbit', which targets chipsets in enterprise access points. Additionally, BLE spoofing and jamming are common techniques to disrupt IoT devices. Mitigation strategies emphasized in PenTest+ include disabling Bluetooth when unused, rejecting unknown pairing requests, and enforcing Secure Simple Pairing (SSP) rather than legacy PINs.

Comprehensive Guide to Bluetooth Attacks for CompTIA PenTest+

Why it is Important
Bluetooth is a ubiquitous short-range wireless technology found in mobile devices, peripherals (keyboards/mice), and IoT devices. Because it operates outside the traditional network perimeter, it often presents a vulnerable entry point for attackers. Understanding Bluetooth attacks is essential for penetration testers to assess the physical security and wireless hygiene of an organization.

What it is
Bluetooth attacks involve exploiting vulnerabilities in the Bluetooth protocol stack or the implementation of the stack on specific devices. These attacks generally fall into three categories: annoyance (spam), data theft, and remote control.

Common Attack Types & How They Work
1. Bluejacking: This is an attack where the perpetrator sends unsolicited messages (vCards or text) to a Bluetooth-enabled device.
How it works: The attacker scans for discoverable devices and sends a contact card. It is generally considered a low-threat annoyance rather than a security breach.

2. Bluesnarfing: This is the unauthorized theft of information from a wireless device through a Bluetooth connection.
How it works: Attackers exploit firmware vulnerabilities (often using tools like bluelog or Redfang) to bypass authentication and access contact lists, emails, text messages, and calendar entries without the user's knowledge.

3. Bluebugging: This is a high-severity attack that allows the hacker to take full control of the target device.
How it works: The attacker establishes a connection (often appearing as a headset) and installs a backdoor. This allows them to listen in on phone calls, forward calls, send messages, and track the device location.

4. BLE (Bluetooth Low Energy) Attacks: Specific to modern IoT devices.
How it works: Attackers sniff the pairing process (using hardware like Ubertooth One) to capture Long Term Keys (LTK) or conduct Man-in-the-Middle (MiTM) attacks using tools like GATTacker.

Exam Tips: Answering Questions on Bluetooth Attacks
To answer CompTIA PenTest+ questions correctly, focus on the impact described in the scenario:

1. Identify the Goal:
- If the scenario mentions unsolicited messages or spam, the answer is Bluejacking.
- If the scenario mentions data theft (contacts, emails, pictures), the answer is Bluesnarfing.
- If the scenario mentions taking control, making calls, or creating a backdoor, the answer is Bluebugging.

2. Know the Tools:
- hcitool: A standard Linux command-line utility used to scan for devices and query the host controller.
- Ubertooth One: An open-source 2.4 GHz wireless development platform suitable for Bluetooth sniffing. If a question asks about hardware requirements for sniffing non-promiscuous Bluetooth traffic, this is usually the answer.
- Bettercap: A modern Swiss Army knife for network attacks which includes modules for Bluetooth Low Energy (BLE) reconnaissance and exploitation.

3. Mitigation Strategies:
If asked how to remediate these vulnerabilities, look for answers involving: setting devices to non-discoverable mode, using SSP (Secure Simple Pairing), and disabling Bluetooth when not in use.
Test mode:
More Bluetooth attacks questions
30 questions (total)

Other Attacks and Exploits concepts

Adversarial machine learningAI data poisoningAI system attack vectorsAPI authentication attacksAPI security testingARP spoofing and poisoningAS-REP roastingAuthentication bypass techniquesAWS security testingAzure security testingBloodHound for ADBrute-force attacksCloud penetration testingCobalt Strike basicsCommand injectionContainer escape attacksCookie manipulationCredential dumpingCredential stuffingCross-site request forgery (CSRF)Cross-site scripting (XSS)Directory traversal attacksDLL hijackingDNS poisoning attacksEmbedded device attacksEmpire frameworkFile inclusion vulnerabilitiesFirmware analysisGolden ticket attacksGraphQL security issuesHardware hacking basicsHashcat password crackingHydra password crackingIAM misconfiguration exploitationImpacket toolkitInsecure deserializationIoT penetration testingJohn the RipperKerberoastingKubernetes security attacksLinux privilege escalationLiving off the land binaries (LOLBins)LLMNR/NBT-NS poisoningMetadata service attacksMetasploit frameworkMimikatz usageModel manipulation attacksNetwork protocol attacksNTLM relay attacksOn-path attacks (MITM)Pass-the-hash attacksPass-the-ticket attacksPassword sprayingPrivilege escalation techniquesProcess injectionPrompt injection attacksRate limiting bypassResponder toolREST API vulnerabilitiesS3 bucket misconfigurationServerless function attacksServer-side request forgery (SSRF)Service exploitationSession hijackingSilver ticket attacksSQL injection attacksSQLmap usageToken manipulationUAC bypass techniquesVLAN hopping attacksWindows privilege escalationWireless network attacksXML external entity (XXE) attacks