<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sniffing BLE Diffie-Hellman Key Exchange</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55529/sniffing-ble-diffie-hellman-key-exchange</link><description>Hello, 
 
 I&amp;#39;m currently trying to sniff the DH Key Exchange as specified in Spec 5.1 p.2446. I&amp;#39;m using the nRF51 Dongle as sniffer, the nRF52 DK as slave and the nRF52840 DK as master for connection and pairing establishment. I&amp;#39;ve started by using the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Dec 2019 13:39:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55529/sniffing-ble-diffie-hellman-key-exchange" /><item><title>RE: Sniffing BLE Diffie-Hellman Key Exchange</title><link>https://devzone.nordicsemi.com/thread/225378?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 13:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f5a4f60-4242-4dab-88b5-54c6793c6039</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tobias&lt;/p&gt;
&lt;p&gt;Yes, the nRF51 series does not support Data Length extension (more than 27 bytes) which is why you won&amp;#39;t be able to see all the packets with the nRF51 Dongle as a sniffer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing BLE Diffie-Hellman Key Exchange</title><link>https://devzone.nordicsemi.com/thread/225319?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 10:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b214eac-c74c-4fc7-b37d-733d139a6ed4</guid><dc:creator>TobiasM</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;apparently my tablet does support Bluetooth 5.0 but I&amp;#39;ve tried the nRF52 DK as a sniffer now and was successfully sniffing the public key exchange for the setups:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Interactive App --&amp;gt; Interactive App&amp;nbsp; :&amp;nbsp;&amp;nbsp;Yes&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Interactive App --&amp;gt; Mobile&amp;nbsp; :&amp;nbsp;&amp;nbsp;Yes&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Interactive App --&amp;gt; Connect&amp;nbsp; :&amp;nbsp;&amp;nbsp;Yes&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Connect --&amp;gt; Interactive App&amp;nbsp; :&amp;nbsp;&amp;nbsp;Yes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Notes:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Interactive App --&amp;gt; Interactive App&amp;nbsp; :&amp;nbsp; Cannot be checked with my current setup&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Interactive App --&amp;gt; RN4871&amp;nbsp; :&amp;nbsp; Cannot be checked right now but I&amp;#39;ll hopefully can confirm success as well in a few days&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As I&amp;#39;m still quite new to the BLE subject, does the nRF51 Dongle have issues sniffing packets with length extension (251 byte) and therefore wasn&amp;#39;t able to get the keys?&lt;/p&gt;
&lt;p&gt;So if the LL_LENGTH_RSP max octets (RX /TX) are set to 251 instead of 27 it will not work. Is this correct?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Tobias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sniffing BLE Diffie-Hellman Key Exchange</title><link>https://devzone.nordicsemi.com/thread/225157?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 12:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b594a4-70db-4762-a0b9-54881366df49</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tobias&lt;/p&gt;
&lt;p&gt;Can you try this out using an nRF52DK (Bluetooth 5 supported device) as you sniffer? The first thing that comes to mind is that the nRF51 is not able to detect the packets in a secure Bluetooth 5 connection, as the connections between Bluetooth 5 devices seem to be the ones you can&amp;#39;t obtain the public key on, while you seem to be able to sniff the public keys of (I assume the tablet is not BLE 5 compatible) devices communicating using BLE 4.2. Please try sniffing the connections using a 52 DK and get back to me with the results.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>