<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<!-- This template is for creating an Internet Draft using xml2rfc, which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC6879 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6879.xml">
<!ENTITY RFC7010 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7010.xml">
<!ENTITY RFC5213 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5213.xml">
<!ENTITY RFC6463 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6463.xml">
<!ENTITY RFC6275 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6275.xml">
<!ENTITY RFC7077 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7077.xml">
<!ENTITY RFC3315 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3315.xml">
<!ENTITY RFC4861 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4861.xml">
<!ENTITY RFC3007 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3007.xml">
<!ENTITY RFC6058 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6058.xml">
<!ENTITY RFC4283 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4283.xml">
]>
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="6"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc rfcedstyle="yes"?>
<?rfc strict="yes"?>
<rfc ipr="trust200902" category="std" docName="draft-lee-suit-distarch-00">

<front>
<title abbrev="Distributed SUIT Architecture Model">Distributed SUIT Architecture Model </title>

<author fullname="Jong-Hyouk Lee" initials="J.-H." surname="Lee">
<organization>Sejong University</organization>
<address>
<postal> <street>209, Neungdong-ro, Gwangjin-gu</street> <code>05006</code> <city>Seoul</city> <country>Republic of Korea</country></postal>
<email>jonghyouk@sejong.ac.kr</email>
</address>
</author>

<author fullname="Jungsoo Park" initials="J." surname="Park">
<organization>ETRI</organization>
<address>
<postal> <street>218, Gajeong-ro, Yuseong-gu</street> <code>34129</code> <city>Deajeon</city> <country>Republic of Korea</country></postal>
<email>pjs@etri.re.kr</email>
</address>
</author>


<date month="October" year="2020"/>
<area>Internet Area</area>
<workgroup>SUIT Working Group</workgroup>
<keyword>SUIT</keyword>
<keyword>Blockchain</keyword>
<keyword>Distributed Architecture</keyword>

<abstract>
  <t>The management of data is entirely centralized on servers in a server client model which leads the servers to be high-value targets for adversaries. Also, firmware consumers fail to download the latest firmware image if the author is disappeared in the server client model. The distribution of network for managing the manifest and firmware image files thus required. This draft introduces a distributed SUIT architecture model, which utilizes blockchains to resolve the issues of the server client model for SUIT. </t> </abstract>

<note title="Requirements Language"> 				<t>
		The key words "MUST", "MUST NOT", "REQUIRED", "SHALL","SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in <xref target="RFC2119" />
	 </t>
</note>
</front>

<middle>

<section title="Introduction">
<t> In the existing SUIT architecture, firmware images and manifest files are stored in the firmware servers, which deploy the firmware images based on the traditional server-client model. However, in the server-client model, servers may endure excessive network traffic and overload because of the centralized architecture. As the number of IoT devices is rapidly increasing, the servers will be overwhelming to handle the requests from the IoT devices all around the world. Also, a server is a high-value target for adversaries since the server takes charge of data management.
</t>
<t>
In the server-client model, the firmware consumers are unable to download the latest firmware image if the authors disappeared. In this draft, we propose a distributed firmware update architecture by applying blockchain to the existing SUIT architecture. The proposed distributed SUIT architecture decentralizes the requests from the IoT devices, prevents targeting attacks, and provides sustainable updates even after an author disappears.
</t>

</section>

<section title="Motivations">
<t> The existing SUIT update architecture is as follows: </t>


<figure anchor="fig:existing" title="Existing SUIT Architecture">
<artwork><![CDATA[
            Firmware +  +----------+       Firmware + +-----------+
            Manifest    |          |-+     Manifest   |           |-+
             +--------->| Firmware | |<---------------|           | |
             |          | Server   | |                |  Author   | |
             |          |          | |                |           | |
             |          +----------+ |                +-----------+ |
             |            +----------+                  +-----------+
             |
     /-------+-------\                       /-----------\
    /        v        \                     /             \
    | +------------+   |                   /               \
   |  |  Firmware  |    |                  |                |
  /   |  Consumer  |    \    Device       /    +--------+    \
  |   +------------+    |    Management   |    |        |    |
 /    |            |<----\---------------/---> | Status |     \
 `    |   Device   |      `              |     | Tracker|     |
/     +------------+      \              /     |        |     \
\                         /              |     +--------+     |
 \                       /               \                    /
 \                       /                \                  /
  \       Network       /                  |     Device      |
   ,      Operator      ,                  \    Operator    /
   \                   /                    |              |
    |                 |                      \             /
    \                 /                       '-----------‘
     '----------------’

]]></artwork>
</figure>

<t>
The existing SUIT architecture can cause failures and targeting attacks due to the centralized server-client model.
</t>

<t>
The author's continued service offer is not guaranteed. The company and its servers may disappear due to an attacker's cyber-attack or funding problems. In the worst case, all author nodes managed by the author may not function properly. At this point, devices that have not been updated with the latest firmware before the author disappears can no longer update the firmware. The existing SUIT architecture cannot solve author disappearing issues.
</t>

<t>
If the firmware update does not complete properly, the client may not be able to use the newly provided service or the security patch and be exposed to the cyber-attack easily.
</t>


</section>

<section title="Distributed SUIT Architecture">

<t>
In the firmware update architecture based on server-client model, the firmware consumers request the firmware server to download the latest version of the firmware. However, the traditional server-client method adopted in the existing SUIT architecture can cause several problems in network traffic, data security and firmware update persistence.
</t>

<t>
In the server-client model, data is dependently managed by the server in a centralized structure. Since many clients request one server, this centralized structure causes excessive overhead when excessive network traffic occurs and may cause a situation in which requests are not properly processed. In addition, when an attacker attacks a server, it is impossible to use all data managed by the server, so an attack targeting the server may occur.
</t>


<figure anchor="fig:proposed" title="Distributed SUIT Architecture">
<artwork><![CDATA[
                                   +------+
                                   |      |-+
                          +--------|Author| |
                          |        |      | |
                          |        +------+ |
                          |          +------+
                          |
                          | Firmware+
                          | Manifest
    Blockchain            |
     Network              |
   +----------------------|--------------------------+
   |                      V
   |               +------------+                    |
   |               |            |-+                  |
   |               |Registration| |                  |
   |               |    Node    | |                  |
   |               |            | |                  |
   |               +------------+ |                  |
   |                .+-------------                  |
   |               -               `.                |
   |             ,'                  \               |
   |            /                     '              |
   |          .'                       `.            |
   |   +------`-----+              +-----'------+    |
   |   |            |-+            |            |-+  |
   |   | Retrieval  | |            |  General   | |  |
   |   |    Node    | +------------+    Node    | |  |
   |   |            | |            |            | |  |
   |   +------------+ |            +------------+ |  |
   |     +------------+              +------------+  |
   |         |                                       |
   +---------+---------------------------------------+
             |
             | Firmware+
             | Manifest
             |
             |
             V
+------------+
|  Firmware  |
|  Consumer  |
+------------+
|            |
|   Device   |
+------------+
]]></artwork>
</figure>

<t>
As shown in Figure 2, the authors upload the manifest files and firmware images to the blockchain network in the proposed firmware update architecture. The IoT devices download the manifest files and firmware images through the blockchain network. When an IoT device requests upload, the retrieval nodes retrieve the firmware images that were stored as chunks in a distributed file system and deliver the manifest file and firmware image after the device verified.
</t>
</section>

<section title="Example Procedure">
<t>
TBA.
</t>
</section>

<section title="Conclusion">
<t>
TBA.
</t>

</section>


<section title="Security Considerations">
<t> TBA.
</t>
</section>


<section title="IANA Considerations">
<t>This document presents no IANA considerations.</t>
</section>



</middle>

<back>
<references title="Normative References">
<?rfc include="reference.RFC.2119" ?>
</references>

<!--
<references title="Informative References">

</references>
-->


</back>
</rfc>
