<?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>Secure bootloader dfu ACL MBR security</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45692/secure-bootloader-dfu-acl-mbr-security</link><description>I&amp;#39;m looking at the secure boot in the sdk for nrf52840 and have noticed that nrf_bootloader_flash_protect uses the ACL to protect the MBR and the bootloader from being overwritten. Next, during a DFU, the bootloader is overwritten, I think by the MBR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Sep 2019 19:16:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45692/secure-bootloader-dfu-acl-mbr-security" /><item><title>RE: Secure bootloader dfu ACL MBR security</title><link>https://devzone.nordicsemi.com/thread/209029?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 19:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d623951-7f23-469c-9ebf-93a362273c40</guid><dc:creator>kubark42</dc:creator><description>&lt;p&gt;Can this answer be further explained? Is it *only* when using DFU that the BL can be overwritten despite ACL bits, or is there a way that this can be triggered from application firmware?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Other comments such as&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47431/there-is-any-secure-storage-in-nrf52840/188007#188007"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47431/there-is-any-secure-storage-in-nrf52840/188007#188007&lt;/a&gt;&amp;nbsp;suggest that it is possible to lock down memory through intelligent use of the ACL at boot time, but if the&amp;nbsp;bootloader can be overwritten from application firmware via&amp;nbsp;&lt;span&gt;SD_MBR_COMMAND_COPY_BL&amp;nbsp;&lt;/span&gt;then there seems to be no way to protect a secret key.&lt;/p&gt;
&lt;p&gt;Put differently, what can we do to prevent an application from calling&amp;nbsp;&lt;span&gt;SD_MBR_COMMAND_COPY_BL?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader dfu ACL MBR security</title><link>https://devzone.nordicsemi.com/thread/180078?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40ea7091-423c-4d39-ade7-c815a6a7fc8e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Wang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. There is a reset after you call the MBR command&amp;nbsp;SD_MBR_COMMAND_COPY_BL to replace the bootloader. After a reset the MBR should be able to access the bootloader&amp;#39;s flash area.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2&amp;amp;3. The ACL protection for MBR and bootloader is just to avoid the application to accidentally erase/modify the MBR or bootloader. It&amp;#39;s not a measure to protect the bootloader from being attacked by the application code. It&amp;#39;s important to make sure the application image is&amp;nbsp;authorized and is safe (using signature as in our secure bootloader).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>