<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC7258 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7258.xml">
<!ENTITY RFC3365 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3365.xml">
<!ENTITY RFC6973 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6973.xml">
<!ENTITY RFC6562 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6562.xml">
<!ENTITY I-D.hardie-privsec-metadata-insertion SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.hardie-privsec-metadata-insertion.xml">
<!ENTITY I-D.ietf-dhc-anonymity-profile SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-dhc-anonymity-profile.xml">
<!ENTITY I-D.jennings-core-senml SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.jennings-core-senml.xml">

]>

<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<?rfc strict="yes" ?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>

<rfc category="info" ipr="trust200902" submissionType="IETF" docName="draft-farrell-iotsi-00">
<front>
<title abbrev="IOTSI and Privacy Too">
It's Often True: Security's Ignored (IOTSI) - and Privacy too.
</title>

<author fullname="Stephen Farrell" initials="S." surname="Farrell">
<organization>Trinity College Dublin</organization>
<address>
<postal>
<street></street>
<city>Dublin</city>
<region></region>
<code>2</code>
<country>Ireland</country>
</postal>
<phone>+353-1-896-2354</phone>
<email>stephen.farrell@cs.tcd.ie</email>
</address>
</author>

<author fullname="Alissa Cooper" initials="A." surname="Cooper">
      <organization>Cisco</organization>
      <address>
        <postal>
          <street>707 Tasman Drive</street>
          <city>Milpitas</city>
          <region>CA</region>

        <code>95035</code>

          <country>USA</country>
        </postal>

        <email>alcoop@cisco.com</email>
        </address>
</author>

<date/>

<area>IETF</area>

<workgroup>Network Working Group</workgroup>
<keyword>process</keyword>

<abstract>

<t>
Designers of information models for challenged devices connected to the Internet, 
and most especially for devices that will be carried by people or that will be
operating in people's homes, need to not forget that people own the devices and the data,
and expect those to work for them, not against them.
This draft discusses some security and privacy issues that may be relevant for the IAB's IOTSI
workshop on information models for such devices and related services.
</t>

</abstract>
</front>

<middle>

<section title="Introduction">

<t>
This is a contribution to the 
<eref target="https://www.iab.org/activities/workshops/iotsi/">
IAB IOTSI workshop.
</eref>
It is not expected to ever become an RFC. 
</t>

<t>
The IETF has recognised the need for strong security
mechanisms <xref target="RFC3365"/> to be defined for
all IETF protocols. The IETF has further recognised
the potential for pervasive monitoring and that work
to counter that is needed  <xref target="RFC7258"/>
and the IAB has produced guidelines for handling privacy
in Internet protocols. <xref target="RFC6973"/>.
This draft aims to identify some issues with 
the above that may arise with respect to the information models 
that are the topic of the IOTSI workshop, but that
might othewise get forgotten. 
Let's start from just a few high-level principles that 
ought inform designs:

<list style="numbers">

<t>Don't forget that the user owns the device and, arguably, the 
data produced related to that device.</t>

<t>Don't forget that the device needs to be updated and
that the vendor will end-of-life the device, but the above
still needs to be remembered.</t>

<t>Don't forget that while we can secure information elements
in transit and in storage, that will always be imperfect and
information will leak out.</t>

</list>
</t>

<t>
It is worth noting that the IOTSI call for submissions itself
did ignore all of these issues.
</t>

<t>
For each of the above, we'll list a few issues, with some
references that may help in further discussion.
A full analysis of how each of these ought be reflected in
requirements, in specifications of information models and 
subsequently in data models and protocols is not a goal here,
nor is completeness,
the goal for now is simply to try ensure that these issues
are considered in the IOTSI workshop.
</t>

<section title="Ownership and Privacy">

<t>
<list style="numbers">

<t>Regardless of the current legal situation in any particular jurisdiction, it
is inevitable that somewhere, sometime, the user will be considered the legal
owner of the data emitted by devices relevant to this discussion, sometimes in
inventive or disruptive ways. 
<eref target="https://www.economist.com/blogs/schumpeter/2014/06/who-owns-your-personal-data"/>
Information models need to not assume that all information elements are "fair
game" for all uses by service providers, e.g. no matter how problematic it may
be for service providers, explicitly informed consent may be needed to include
some data in aggregates.  And that might impose a need for what could end up
being overly-complex permissions handling for pretty much any element in
information models. Managing that without being overwhelmed by complex models
may be hard.</t>

<t>Don't depend on opaque end-user or legal agreements - users do not,
and you are likely to generate terrible publicity if your device
or service gets popular. <eref target="http://techcrunch.com/2015/02/08/telescreen/"/>
Information models that avoid this error are likely to involve
additional entities, such as local controllers that might allow
an end-user some control over what their devices are doing.
</t>

<t>Don't include long-term stable unique identifiers anywhere, and do
seriously attempt to avoid all such. You will never know how your
information model will be reused or abused. 
<xref target="ishtiaq2010security"/> 
While this may seem obvious, it will get forgotten even by
people who generally are attempting to be privacy-friendly.
In particular using MAC addresses 
(<xref target="I-D.jennings-core-senml"/> Section 6.1.2)
in this way is actively harmful to privacy and in the
case of the DHCP protocol, fixing that years later requires
a significant specification 
<xref target="I-D.ietf-dhc-anonymity-profile"/>
and implementation effort, and it remains to be seen if
such work will get widely deployed or not. It is far better
to be highly conservative in the initial stages of work,
(where IOTSI is) so that such remedial efforts are not 
required later.
</t> 

<t>In some circumstances designing systems involving constrained devices involves trade-offs between efficient use of resources and privacy. For example, leveraging hardware identifiers at the application layer may allow for compression or help conserve bandwidth usage, but may also create additional avenues for attack as compared to using compartmentalized application-layer identifiers. At the point of specifying information models, decisions about how individual systems will navigate these trade-offs should not be taken for granted. Rather, information models should be specified to support privacy-enhancing decisions at the system level, with optional support for less-privacy-enhancing decisions in situations where deployment constraints are expected to warrant such support.</t> 

<t>Traffic patterns or content, even if "anonymised" can be identifying
in unexpected ways, either intrinsically <eref target="http://www.economist.com/blogs/schumpeter/2014/06/who-owns-your-personal-data"/> or via correlation. 
<eref target="https://en.wikipedia.org/wiki/Netflix_prize#Privacy_concerns"/>
Even the existence/non-existence and timing of application or inftastructure (e.g. DNS, DHCP)
traffic can reveal presence or more.
Naive information models that don't consider these issues are more
likely to result in vulnerable systems.
</t>

<!--
<t>Asserting that you take "privacy seriously" seems to the author
a contra-indicator of
actually doing so. If you do care about privacy, then there shouldn't
really be a need to make such statements. 
Information models that assume information is processed by entities
with that attitude are likely to be dubious. (No reference here
sorry, too many clearly believable hits when searching for
anything containing the "privacy seriously" phrase;-)
<eref target="https://duckduckgo.com/html/?q=%22privacy%20seriously%22"/> </t>
-->

<t>Distinctions between "data" and "meta-data" may not be 
significant when considering privacy and security - an information 
or data model or protocol
that assumes that e.g. only "data" needs confidentiality
is likely broken, as meta-data and traffic patterns may 
fully breach privacy. There is also a tendency to re-inject data
that is carried in ciphertext form into wrappers or headers that
are considered meta-data and carried in clear or exposed at
too many middleboxes. That anti-pattern
is one to be strongly discouraged. 
<xref target="I-D.hardie-privsec-metadata-insertion"/>
</t>

 
</list>
</t>

</section>

<section title="Life Cycle">

<t>
<list style="numbers">

<t>All devices of any kind will include vulnerabilities. If 
device software/firmware is not updated, those will eventually be exploited somewhere,
sometime. Crawling the network to find those vulnerble devices
is a solved problem. <eref target="https://www.shodan.io/"/>
</t>

<t>The end-user will want the device to continue working
and continue getting updated even after all vendors and
service providers initially involved have end-of-life'd
everything involved. In principle, everything (DNS names, services, 
roots of trust for software update) needs to
be something that can be updated even then. End-of-life
is clearly a more complex issue than is typically
considered (as shown by the list at 
<eref target="https://www1.good.com/support/end-of-life-notices.html"/> 
which was just a first hit for a search).
</t>

</list>
</t>


</section>

<section title="Imperfection">

<t>
<list style="numbers">

<t>We do have ways to protect data in transit and in storage, 
but we cannot depend on those protecting any
information element all of the time. Even with best
practices, eventually, some fields from some protocols
will leak. All layers need to do as much as possible
to provide security and avoid privacy leaks. 
<eref target="https://en.wikipedia.org/wiki/AOL_search_data_leak"/></t>

<t>Even where (structured) data is encrypted, there
may still be ways to analyse the traffic to expose
the information content. <xref target="RFC6562"/> for
example shows that variable bit rate audio with 
secure RTP can expose audio. And encoded audio is
often much more complex than the information 
considered here. </t>

</list>
</t>

</section>


</section>

<section title="Commercial Considerations">

<t>At present, many devices and services are sold and operate
in ways that do not take account of the considerations listed
here. That is often done for pragmatic and/or commercial reasons,
due to the inability to reliably contact devices from the parts
of the Internet about which we care, or sometimes in an effort
by a vendor or service-provider to achieve "lock-in" so that
a user has a hard time mixing and matching the devices and
services that the user prefers. And sometimes, users won't have
sufficient technical ability to make a device and/or service
work for them, even if the vendor or service-provider does
expose interfaces allowing for security and privacy friendly
deployment.
</t>

<t>In this document, the term "service provider"
is used consistent with the above, to mean some application
service that is not under the control of the device owner or
end-user, but rather is controlled by someone else, likely
the device vendor or a partner of theirs.</t>

<t>While such cases are a reality and the norm today, and while it
is often unclear how to move from there towards a situation where
devices and services promote interoperability, the basic
information models developed for these devices and services
should not preclude a future in which a user can exert
independent control over these deployments.
</t>

<t>
It seems likely from the above that information models
will need to include some conception of the device owner
as a first-class, but hopefully pseudononymous, entity and not be solely 
limited to consideration of characteristics of devices and 
services.
</t>


</section>

<section title="Security Considerations">
<t> Yes, there are. Are you shocked?  </t>
</section>

<section title="Privacy Considerations">
<t> Yes, there are. Aren't you shocked yet? :-) </t>
</section>

<section title="IANA Considerations">
<t>
   This document makes no requests for IANA action.  This section would be
   removed except it won't be as we're not aiming for publication as an RFC.
</t>
</section>

<section title="Acknowledgements">

<t>
TBD - your name here for comments or beer!

</t>

</section>


</middle>

<back>
<references title="Informative References">
&RFC7258;
&RFC3365;
&RFC6973;
&RFC6562;

&I-D.hardie-privsec-metadata-insertion;
&I-D.ietf-dhc-anonymity-profile;
&I-D.jennings-core-senml;


<!-- generated this from bibtex via https://github.com/yaronf/bibtex2rfc - thanks Yaron! -->

<reference anchor="ishtiaq2010security"><front><title>Security and privacy
vulnerabilities of in-car wireless networks: a tire pressure monitoring system
case study</title><author fullname="Rob Millerb Ishtiaq Roufa" initials="R. M."
surname="Ishtiaq Roufa" /><author fullname="Hossen Mustafaa" initials="H."
surname="Mustafaa" /><author fullname="Sangho Ohb Travis Taylora" initials="S.
O." surname="Travis Taylora" /><author fullname="Wenyuan Xua" initials="W."
surname="Xua" /><author fullname="Marco Gruteserb" initials="M."
surname="Gruteserb" /><author fullname="Wade Trappeb" initials="W."
surname="Trappeb" /><author fullname="Ivan Seskarb" initials="I."
surname="Seskarb" /><date year="2010" /></front></reference>

</references>

</back>
</rfc>
