<?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>Device Security</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6571/device-security</link><description>We have a BLE peripheral that has a button interface and nothing else. We would like to add some security so only certain smartphones can send/receive commands from it. An example use case is when a user gets this device, they can pair with it. We would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Apr 2015 09:08:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6571/device-security" /><item><title>RE: Device Security</title><link>https://devzone.nordicsemi.com/thread/22948?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 09:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ef76f75-9794-4131-8fef-731c5e214013</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ash: Of course it&amp;#39;s possible. What needed for the device to set up whitelist mode is to have the central device&amp;#39;s address if it&amp;#39;s public or static address or the IRK if it&amp;#39;s random resolvable address.&lt;/p&gt;
&lt;p&gt;Note that &amp;quot;whitelist mode&amp;quot; is only available when advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Security</title><link>https://devzone.nordicsemi.com/thread/22947?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 20:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9425ae-c5ff-4627-89c3-63480e52e29f</guid><dc:creator>Ash</dc:creator><description>&lt;p&gt;Hung, would it be possible to have our device enter &amp;quot;whitelist mode&amp;quot; upon successfully writing a particular sequence of characters to a specific characteristic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Security</title><link>https://devzone.nordicsemi.com/thread/22946?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 09:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a2f82cb-c6d4-4e81-b8b6-de6c159ffbd5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ash: It&amp;#39;s not common to send a Long term key from one central to use on another. The LTK is bounded to the connection between a particular central and a peripheral.&lt;/p&gt;
&lt;p&gt;I would suggest you have a look at the Bluetooth Core spec v4.2 for more information regarding whitelist , security, bonding and pairing. (Section 4.2.2 Part A Vol 1 to has an overview on whitelist, chapter 10 Part C Vol 3 on security aspects )&lt;/p&gt;
&lt;p&gt;I would also recommend the Bluetooth Low Energy - The developer Handbook by Robin Heydon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Security</title><link>https://devzone.nordicsemi.com/thread/22945?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 18:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:907bed4b-7071-422d-b976-dbced23e1da2</guid><dc:creator>Ash</dc:creator><description>&lt;p&gt;Thanks for the response.  What would the process look like for authorizing a device to be on the whitelist?  Is it possible to have one device generate a LongTermKey and store that key in our servers?  Then when the wife wants to pair, her husband can transfer this key to her.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device Security</title><link>https://devzone.nordicsemi.com/thread/22944?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 11:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:416cfe93-0fd0-47fe-906a-953dc7ffcf7b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ash: You can use whitelist to block other central devices that not in the list to connect to your device.
You can have an option to enter non-whitelist mode to allow the husband/wife phone to connect and bond and be added to the whitelist.&lt;/p&gt;
&lt;p&gt;Note that attacker can always clone an address to pass through the whitelisting (but won&amp;#39;t be able to re-bond to the device because he doesn&amp;#39;t have the LongTermKey)&lt;/p&gt;
&lt;p&gt;Secondly, pairing procedure without out of band (OOB) key should be done in a protected environment that can avoid eavesdropping.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>