<?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>Zigbee Coordinator Cloning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94600/zigbee-coordinator-cloning</link><description>As the title indicates, this question is regarding a scenario in which a coordinator needs to be replaced on an already established network. Is it possible to clone a coordinator on a new chip and resume network operation completely uninterrupted (i.e</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Dec 2022 15:08:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94600/zigbee-coordinator-cloning" /><item><title>RE: Zigbee Coordinator Cloning</title><link>https://devzone.nordicsemi.com/thread/399975?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 15:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77e3105-c846-4618-a216-3f343ac234d9</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Glad to help,&lt;br /&gt;&lt;br /&gt;I will have to take a closer look into that, but as far as I know there are certain keys that are encrypted in a fashion that only the ZBOSS stack producer knows how is encrypted that are stored somewhere in the flash and are not possible to read out and store, so I don&amp;#39;t think that you will be able to pull out everything you need to do a full clone and replace the device.In addition, if you (and potentially other users) are able to fetch all of the keys from a device and feed them to a new device that will replace the network center of security, that would be a large potential point of entry for malicious use of the devices in the network.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see however that there are some forum posts on for instance the Home Assistant community where they have procedures for doing this, but it is not supported by all types of coordinators. So if you have found a procedure for how to do this elsewhere online, you are always open to try them. But be aware that if you intend to certify the device at some point in time for production, you might have to cross examine the Connectivity Standars Alliances requirements for Zigbee device certification to see if you meet the requirement w.r.t. security&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Coordinator Cloning</title><link>https://devzone.nordicsemi.com/thread/399794?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 00:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305b2a5a-5ea8-4294-a6bb-e03f204f7fbe</guid><dc:creator>saratk90</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Thank you for providing clarity on this topic. So theoretically speaking, even if the network parameters such as the network key, pan id, ext pan ID, preconfigured keys, app EPs, cluster info, and TC keys of joined devices are saved and then copied to new hardware, this would not work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Coordinator Cloning</title><link>https://devzone.nordicsemi.com/thread/399437?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 13:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73d5e283-08bd-4281-a7cf-71e6707bd693</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Unfortunately there exists no option to replace the coordinator in the case where you have a centralized security network (coordinator is the trust center), as (among other things) authentication of new devices and generation of new keys are done by the coordinator. And as far as I know you can not provision a new coordinator, move the trust center to the new coordinator and remove the old coordinator from the network either.&lt;/p&gt;
&lt;p&gt;One option is to design a network with a distributed security model instead of a centralized model. Here, the routers issues keys and authenticates new devices to the network, which should allow you to swap the coordinator if needed.&amp;nbsp; As I&amp;#39;ve answered in another case &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93438/how-to-replace-nrf52840-zigbee-gateway"&gt;asking a similar question&lt;/a&gt;, you must&amp;nbsp;&lt;span&gt;be aware that there are some potential security problems with the transport key in distributed network. All routers and end-devices in a distributed network must be pre-configured with a link key, used to encrypt the network key when it is passed to a new device. There has been cases where it has been exploited that the keys were hard coded on the devices.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you could supply the resources you&amp;#39;ve found stating that it might be possible to clone/swap the coordinator, I can have a look at them to see if I&amp;#39;ve missed anything in my understanding on how the coordinator/trust center is working. Also be sure that if you share any docs that they are otherwise publicly available as this is a public ticket (so we can avoid sharing pirated docs). I am fairly certain that this should not be possible, as if you could clone a coordinator of a network with relative ease (read out keys, bindings, devices, IDs etc), that would be a large potential security issue.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know if you have any follow up questions or if this answers your question at all!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>