bron
Samenvatting
In november 2003, Adam Laurie van AL Digital Ltd ontdekt dat er ernstige tekortkomingen in de verificatie en / of data-overdracht mechanismen op een aantal Bluetooth-apparaten. Specifiek, drie kwetsbaarheden zijn gevonden:
Ten eerste, vertrouwelijke gegevens kunnen worden verkregen, anoniem en zonder dat de eigenaar van de kennis of toestemming van enkele Bluetooth-geschikte mobiele telefoons. Deze gegevens omvatten ten minste de hele telefoonboek en kalender, en de telefoon 's IMEI.
Ten tweede is gebleken dat de volledige inhoud van het geheugen van sommige mobiele telefoons kunnen worden gebruikt door een eerder vertrouwde ( "gepaarde") apparaat dat inmiddels is verwijderd uit de vertrouwde lijst. Deze gegevens omvatten niet alleen het telefoonboek en de agenda, maar mediabestanden zoals foto's en tekstberichten. In wezen is het gehele apparaat kan worden "back-up" om een aanvaller het eigen systeem.
Ten derde, de toegang kan worden verkregen tot de AT commando-set van het apparaat, die volledige toegang geven tot het hogere niveau opdrachten en kanalen, zoals data, spraak en messaging. Deze derde kwetsbaarheid werd door Martin Herfurt, en ze hebben sindsdien begonnen samen te werken op het vinden van aanvullende mogelijke exploits gevolg van dit beveiligingslek.
Ten slotte, de huidige trend van "Bluejacking" is het bevorderen van een omgeving waarin de consument apparaten een groter risico lopen van de bovengenoemde aanslagen.
Kwetsbaarheden
De SNARF aanval:
Het is mogelijk om op sommige merken van apparaat om verbinding te maken met het apparaat zonder dat de eigenaar van het apparaat doelgroep van het verzoek, en toegang te krijgen tot openbare gedeelten van de opgeslagen gegevens daarin, met inbegrip van de gehele telefoonboek (en eventuele afbeeldingen of andere gegevens geassocieerd met de tekst), de agenda, real-time klok, visitekaartje, eigenschappen, veranderen logboek IMEI (International Mobile Equipment Identity [6], die op unieke wijze identificeert de telefoon naar het mobiele netwerk, en wordt gebruikt in de illegale telefoon 'klonen' ). Dit is normaal gesproken alleen mogelijk wanneer het apparaat in "discoverable" of "zichtbaar"-modus, maar er zijn ook tools beschikbaar op het Internet, zodat ook dit vangnet kan worden omzeild [4]. Verdere details worden niet vrijgegeven op dit moment (zie hieronder voor meer informatie), maar de aanval kan en zal worden aangetoond aan de fabrikanten en druk indien nodig.
Het backdoor aanval:
De achterdeur aanval behelst de oprichting van een trust relatie via de "pairing" mechanisme, maar ervoor te zorgen dat ze niet meer in de doelgroep het register van de gekoppelde apparaten. Op deze manier, tenzij de eigenaar is eigenlijk observeren hun apparaat op het moment een verbinding tot stand is gebracht, zijn zij waarschijnlijk iets ongewenst, en de aanvaller kan gratis gebruik blijven maken van alle middelen die een vertrouwde relatie met dat apparaat toegang aan (maar let op dat tot nu toe hebben we alleen getest bestand overdrachten). Dit betekent dat niet alleen kunnen de gegevens worden opgehaald uit de telefoon, maar andere diensten, zoals modems of internet, WAP en GPRS-gateways kan worden geopend zonder dat de eigenaar van de kennis of toestemming. Aanwijzingen zijn dat zodra de achterdeur is geïnstalleerd, wordt de hierboven SNARF aanval zal functioneren op apparaten die voorheen geen toegang, en zonder de beperkingen van een gewone SNARF aanval, zodat we sterk vermoeden dat de andere diensten zal blijken te zijn ook beschikbaar.
De BLUEBUG aanval:
De bluebug aanval maakt een profiel seriële verbinding met het apparaat, waardoor de volledige toegang tot de AT-commando's, die vervolgens kunnen worden benut met behulp van standaard uit de kast instrumenten, zoals PPS voor netwerking en gnokii voor messaging, contact management, doorschakelingen en inleiding gesprekken. Met deze faciliteit is het mogelijk om de telefoon gebruiken om oproepen naar betaalnummers nummers, sms-berichten lezen SMS-berichten, verbinding te maken met diensten zoals internet, en zelfs gesprekken controleren in de buurt van de telefoon. Dit laatste gebeurt via een gesprek via het GSM-netwerk, zodat de luisterpost kan worden overal in de wereld. Bluetooth toegang is alleen vereist voor een paar seconden om het instellen van de oproep. Doorschakelen van oproepen kunnen worden opgezet, zodat de eigenaar van de binnenkomende gesprekken te worden afgeluisterd, of om een kanaal voor oproepen naar duurdere bestemmingen of voor identiteitsdiefstal door imitatie van het slachtoffer.
Bluejacking:
Hoewel bekend is dat de technische gemeenschap en de early adopters enige tijd is het proces nu bekend als "Bluejacking" [1] heeft onlangs op de voorgrond bij de consument Arena, en is steeds een populaire mechanisme voor de uitwisseling van anonieme berichten in openbare plaatsen. De techniek gaat misbruik maken van de Bluetooth "pairing" [2]-protocol, het systeem waarmee bluetooth apparaten authenticeren elkaar, om een boodschap tijdens de eerste "handshake" fase. Dit is mogelijk omdat de "naam" van de inleiding van Bluetooth-apparaat wordt weergegeven op de doelgroep apparaat als onderdeel van de handshake-uitwisseling, en, zoals het protocol kan een grote gebruiker gedefinieerde naam gebied - tot 248 tekens - het gebied zelf kan worden gebruikt om het bericht. Dit is allemaal goed en wel, en op het eerste gezicht lijkt, tamelijk onschuldig, maar helaas, er is een keerzijde. Er is een potentieel probleem met dit, en hoe meer de praktijk groeit en is geaccepteerd door de gebruiker gemeenschap, en leveraged als marketing tool door de verkopers, hoe slechter het zal krijgen. Het probleem ligt in het feit dat het protocol wordt misbruikt is ontworpen voor informatie-uitwisseling. Het vermogen om met andere apparaten en uitwisselen, updaten en synchroniseren van gegevens, is de raison d'être van Bluetooth. De bluejacking techniek is het gebruik van het eerste deel van een proces dat mogelijk maakt dat de uitwisseling zal plaatsvinden en is dus open voor verder misbruik, indien de handdruk voltooit en de "bluejacker" succes paren met de doelgroep apparaat. If such an event occurs, then all data on the target device becomes available to the initiator, including such things as phone books, calendars, pictures and text messages. As the current wave of PDA and telephony integration progresses, the volume and quality of such data will increase with the devices’ capabilities, leading to far more serious potential compromise. Given the furore that irrupted when a second-hand Blackberry PDA was sold without the previous owner’s data having been wiped[3], it is alarming to think of the consequences of a single bluejacker gathering an entire corporate staff’s contact details by simply attending a conference or camping outside their building or in their foyer with a bluetooth capable device and evil intent. Of course, corporates are not the only potential targets - a bluejacking expedition to, say, The House of Commons, or The US Senate, could provide some interesting, valuable and, who’s to say, potentially damaging or compromising data .<<<
The above may sound alarmist and far fetched, and the general reaction would probably be that most users would not be duped into allowing the connection to complete, so the risk is small. However, in today’s society of instant messaging, the average consumer is under a constant barrage of unsolicited messages in one form or another, whether it be by SPAM email, or “You have won!” style SMS text messages, and do not tend to treat them with much suspicion (although they may well be sceptical about the veracity of the offers). Another message popping up on their ‘ phone saying something along the lines of “You have won 10,000 pounds! Enter this 4 digit PIN number and then dial 0900-SUCKER to collect your prize!” is unlikely to cause much alarm, and is more than likely to succeed in many cases.
Workarounds and fixes
We are not aware of any workarounds for the SNARF or BLUEBUG attacks at this time, other than to switch off bluetooth . For permanent fixes, see the ‘Fixes’ section at the bottom of the page.
To permanently remove a pairing, and protect against future BACKDOOR attacks, it seems you must perform a factory reset, but this will, of course, erase all your personal data .
To avoid Bluejacking , “just say no”. 
The above methods work to the best of our knowledge, but, as the devices affected are running closed-source proprietary software, it not possible to verify that without the collaboration of the manufacturers. We therefore make no claims as to the level of protection they provide, and you must continue to use bluetooth at your own risk.
Who’s Vulnerable
To date the quantity of devices tested is not great. However, due to the fact that they are amongst the most popular brands, we still consider the affected group to be large. It is also assumed that there are shared implementations of the bluetooth stack, so what affects one model is likely to affect others. This table is accurate to the best of our knowledge, but without the cooperation of the manufacturers (which we currently do not have), it is not possible to conduct more extensive validation.
The devices known to be vulnerable at this time are:
| Vulnerability Matrix (* = NOT Vulnerable ) |
| Make | Model | Firmware Rev | BACKDOOR | SNARF when Visible | SNARF when NOT Visible | BUG |
| Ericsson | T68 | 20R1B 20R2A013 20R2B013 20R2F004 20R5C001 | ? | Yes | No | No |
| Sony Ericsson | R520m | 20R2G | ? | Yes | No | ? |
| Sony Ericsson | T68i | 20R1B 20R2A013 20R2B013 20R2F004 20R5C001 | ? | Yes | ? | ? |
| Sony Ericsson | T610 | 20R1A081 20R1L013 20R3C002 20R4C003 20R4D001 | ? | Yes | No | ? |
| Sony Ericsson | T610 | 20R1A081 | ? | ? | ? | Yes |
| Sony Ericsson | Z1010 | ? | ? | Yes | ? | ? |
| Sony Ericsson | Z600 | 20R2C007 20R2F002 20R5B001 | ? | Yes | ? | ? |
| Nokia | 6310 | 04.10 04.20 4.07 4.80 5.22 5.50 | ? | Yes | Yes | ? |
| Nokia | 6310i | 4.06 4.07 4.80 5.10 5.22 5.50 5.51 | No | Yes | Yes | Yes |
| Nokia | 7650 | ? | Yes | No (+) | ? | No |
| Nokia | 8910 | ? | ? | Yes | Yes | ? |
| Nokia | 8910i | ? | ? | Yes | Yes | ? |
| * Siemens | S55 | ? | No | No | No | No |
| * Siemens | SX1 | ? | No | No | No | No |
| Motorola | V600 (++) | ? | No | No | No | Yes |
| Motorola | V80 (++) | ? | No | No | No | Yes |
+ We now believe the 7650 is only vulnerable to SNARF if it has already been BACKDOORed.
++ The V600 and V80 are discoverable for only 60 seconds, when first powered on or when this feature is user selected, and the window for BDADDR discovery is therefore very small. Motorola have stated that they will correct the vulnerability in current firmware.
Disclosure
What is the Philosophy of Full Disclosure, and why are we providing the tools and detailing the methods that allow this to be done? The reasoning is simple - by exposing the problem we are achieving two goals: firstly, to alert users that the dangers exist, in order that they can take their own precautions against compromise, and secondly, to put pressure on manufacturers to rectify the situation. Consumers have a right to expect that their confidential data is treated as such, and is not subject to simple compromise by poorly implemented protocols on consumer devices. Manufacturers have a duty of care to ensure that such protection is provided, but, in practice, commercial considerations will often take precedence, and, given the choice, they may choose to simply supress or hide the problem, or, even worse, push for laws that prevent the discovery and/or disclosure of such flaws[5]. In our humble opinion, laws provide scant consumer protection against the lawless.
After 13 months, and in consideration of the fact that affected manufacturers had acknowledged the issues and made updated firmware available, Full Disclosure took place at the Chaos Computer Club’s annual congress - 21C3 , in Berlin, 2004.
Slides from the disclosure talk can be found here: http://trifinite.org/Downloads/21c3_Bluetooth_Hacking.pdf
Tools
Proof of concept utilities have been developed, but are not yet available in the wild. They are:
- bluestumbler - Monitor and log all visible bluetooth devices (name, MAC, signal strength, capabilities), and identify manufacturer from MAC address lookup.
- bluebrowse - Display available services on a selected device (FAX, Voice, OBEX etc).
- bluejack - Send anoymous message to a target device (and optionally broadcast to all visible devices).
- bluesnarf - Copy data from target device (everything if pairing succeeds, or a subset in other cases, including phonebook and calendar. In the latter case, user will not be alerted by any bluejack message).
- bluebug - Set up covert serial channel to device.
Tools will not be released at this time, so please do not ask. However, if you are a bona-fide manufacturer of bluetooth devices that we have been otherwise unable to contact, please feel free to get in touch for more details on how you can identify your device status.
Credits
The above vulnerabilities were discovered by Adam Laurie, during the course of his work with AL Digital , in November 2003, and this announcement was prepared thereafter by Adam and Ben Laurie for immediate release.
Adam Laurie is Managing Director and Chief Security Officer of AL Digital Ltd.
Ben Laurie is Technical Director of AL Digital , and author of Apache-SSL and contributor to many other open source projects, too numerous to expand on here.
AL Digital Ltd. are the owner operators of The Bunker, the world’s most secure data centre(s).
e: adam@algroup.co.uk
w: http://www.aldigital.co.uk
e: ben@algroup.co.uk
w: http://www.apache-ssl.org/ben.html
Further information relating to this disclosure will be updated at http://www.bluestumbler.org
References:
[ 1]
[2]
[3]
[4]
- bluesniff
- btscanner
- redfang
[5]
[6]