<?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>Encryption problem using nRF52840 sniffing BLE air-log on wireshark</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80250/encryption-problem-using-nrf52840-sniffing-ble-air-log-on-wireshark</link><description>I&amp;#39;m using dongle nRF52840 to sniff packets between earphone &amp;amp; iPhone. 
 I am facing the same problem: &amp;quot; Encrypted packet decrypted incorrectly (bad MIC)&amp;quot; 
 just after LL_ENC_REQ -&amp;gt; LL_ENC_RSP -&amp;gt; LL_START_ENC_REQ 
 I found that in No.16672(Sent Pairing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Oct 2021 08:26:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80250/encryption-problem-using-nrf52840-sniffing-ble-air-log-on-wireshark" /><item><title>RE: Encryption problem using nRF52840 sniffing BLE air-log on wireshark</title><link>https://devzone.nordicsemi.com/thread/332518?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 08:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ea6355b-9785-471a-b942-36802cfe12a6</guid><dc:creator>ryuu-k</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;And I will let you know whether it works after I tried the method.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption problem using nRF52840 sniffing BLE air-log on wireshark</title><link>https://devzone.nordicsemi.com/thread/332481?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 07:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f604fcae-430b-4c0a-a15a-37fa57613605</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do you have access to the firmware of the earhphone? You will need to set the earphone in a LESC debug mode, in Nordic this is typically done by:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define LESC_DEBUG_MODE 1 /**&amp;lt; Set to 1 to use LESC debug keys, allows you to use a sniffer to inspect traffic. */&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption problem using nRF52840 sniffing BLE air-log on wireshark</title><link>https://devzone.nordicsemi.com/thread/332447?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 00:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76c5ce2f-69ac-4a50-bb82-b328f930ba77</guid><dc:creator>ryuu-k</dc:creator><description>&lt;p&gt;I am using the latest one, nRF52840 Dongle and followed the &amp;quot;LE secure connections in debug mode&amp;quot;.&lt;/p&gt;
&lt;p&gt;Should I input any key in like SC LTK?&lt;/p&gt;
&lt;p&gt;I got the link key which is generated when the earphone and iPhone are bonded, which is in length 0x10 (LINK_KEY_UNAUTHEN).&lt;/p&gt;
&lt;p&gt;The BLE packets I want to sniff is those between the app and the earphone.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Encryption problem using nRF52840 sniffing BLE air-log on wireshark</title><link>https://devzone.nordicsemi.com/thread/332304?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 11:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d99030a7-381e-4285-bb60-df2b0418981c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Are you using the latest nRF sniffer:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you followed the &amp;quot;LE secure connections in debug mode&amp;quot;:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_paired.html"&gt;https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_paired.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>