<?xml version="1.0" encoding="US-ASCII"?>
<!-- <?xml version="1.0" encoding="UTF-8"?> -->
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)
     by Daniel M Kohn (private)
-->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">


<?rfc toc="yes"?>
<?rfc rfcedstyle="yes"?>
<?rfc subcompact="no"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" category="info" docName="draft-jeong-i2nsf-security-management-automation-08">

<front>
    <title abbrev="I2NSF Framework for Security Management Automation">
    An I2NSF Framework for Security Management Automation in Cloud-Based Security Systems
    </title>

    <author role="editor" initials="J." surname="Jeong" fullname="Jaehoon Paul Jeong">
        <organization abbrev="Sungkyunkwan University">
        Department of Computer Science and Engineering
        </organization>

        <address>
            <postal>
                <street>Sungkyunkwan University</street>
                <street>2066 Seobu-Ro, Jangan-Gu</street>
                <city>Suwon</city> <region>Gyeonggi-Do</region>
                <code>16419</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 31 299 4957</phone>
            <facsimile>+82 31 290 7996</facsimile>
            <email>pauljeong@skku.edu</email>
            <uri>http://iotlab.skku.edu/people-jaehoon-jeong.php
         </uri>
        </address>
    </author>

    <author initials="P." surname="Lingga" fullname="Patrick Lingga">
        <organization abbrev="Sungkyunkwan University">
        Department of Electrical and Computer Engineering
        </organization>
        <address>
            <postal>
                <street>Sungkyunkwan University</street>
                <street>2066 Seobu-Ro, Jangan-Gu</street>
                <city>Suwon</city>
                <region>Gyeonggi-Do</region>
                <code>16419</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 31 299 4957</phone>
            <email>patricklink@skku.edu</email>
        </address>
    </author>

    <author initials="J." surname="Park" fullname="Jung-Soo Park">
        <organization abbrev="ETRI">
        Standards &amp; Open Source Research Division  
        </organization>

        <address>
            <postal>
                <street>Electronics and Telecommunications Research Institute</street>
                <street>218 Gajeong-Ro, Yuseong-Gu</street>
                <city>Daejeon</city>
                <code>34129</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 42 860 6514</phone>
            <email>pjs@etri.re.kr</email>
        </address>
    </author>
    
    <author initials="D." surname="Lopez" fullname="Diego R. Lopez">
        <organization abbrev="Telefonica I+D">
        Telefonica I+D
        </organization>

        <address>
            <postal>
                <street>Jose Manuel Lara, 9</street>
                <city>Seville</city> <region></region>
                <code>41013</code>
                <country>Spain</country>
            </postal>
            <phone>+34 682 051 091</phone>
            <email>diego.r.lopez@telefonica.com</email>
        </address>
    </author>

    <author initials="S." surname="Hares" fullname="Susan Hares">
        <organization abbrev="Huawei">
        Huawei
        </organization>

        <address>
            <postal>
                <street>7453 Hickory Hill</street>
                <city>Saline</city> <region>MI</region>
                <code>48176</code>
                <country>USA</country>
            </postal>
            <phone>+1-734-604-0332</phone>
            <email>shares@ndzh.com</email>
        </address>
    </author>

    <date month="July" day="26" year="2024" />

    <area>Security</area>

    <workgroup>I2NSF Working Group</workgroup>

<!-- [rfced] Please insert any keywords (beyond those that appear in
the title) for use on http://www.rfc-editor.org/rfcsearch.html. -->

<keyword>Internet-Draft</keyword>

    <abstract>
      <t>
        This document describes a Framework for Interface to Network
        Security Functions (I2NSF) in <xref target="RFC8329" /> for
        Security Management Automation (SMA) in Cloud-Based Security
        Systems. This security management automation facilitates
        Closed-Loop Security Control, Security Policy Translation, and
        Security Audit. To support these three features in SMA, this
        document specifies an extended architecture of the I2NSF
        framework with new system components and new interfaces.
        Thus, the SMA in this document can facilitate Intent-Based
        Security Management with Intent-Based Networking (IBN) in
        <xref target="RFC9315" />.
      </t>
    </abstract>
</front>

<middle>

<section anchor="section:Introduction" title="Introduction">
    <t>
    Interface to Network Security Functions (I2NSF) defines a framework
    and interfaces for interacting with Network Security Functions (NSFs)
    <xref target="RFC8192" /><xref target="RFC8329" />.
    Note that an NSF is defined as software that provides a set of
    security-related services, such as (i) detecting unwanted activity,
    (ii) blocking or mitigating the effect of such unwanted activity
    in order to fulfill service requirements, and (iii) supporting
    communication stream integrity and confidentiality <xref target="RFC8329" />.
    The NSF can be implemented as a Virtual Network Function (VNF) in
    a Network Functions Virtualization (NFV) environment
    <xref target="ETSI-NFV" /><xref target="I-D.ietf-i2nsf-applicability" />.
    </t>

    <t>
    This document describes Security Management Automation (SMA) of
    cloud-based security services in the I2NSF framework.  The security
    management automation includes closed-loop security control, security
    policy translation, and security audit. This document specifies an
    augmented architecture of the I2NSF framework for the SMA services with
    new system components and new interfaces.
    </t>

    <t>
    For reliable management for networked security services, this document
    proposes a network management and verification facility using a
    secuirty audit system (e.g., remote attestation and blockchain <xref target="Bitcoin"/>).
    This security audit system can facilitate the non-repudiation of configuration
    commands and monitoring data generated in the I2NSF framework.
    </t>
  
    <t>
    Therefore, the Security Management Automation (SMA) in this document can
    facilitate Intent-Based Security Management with Intent-Based Networking
    (IBN) in <xref target="RFC9315" /> for autonomous security services.
    </t>

    <t>
    Note that the scope of this document is to propose an extension of the
    standard I2NSF framework in <xref target="RFC8329" /> such that it can
    perform security management automation based on Intent-Based Networking
    (IBN) in <xref target="RFC9315" />. This document augments the existing
    I2NSF framework by adding the new features of security policy translation,
    closed-loop security control, and security audit system to it. For this
    system augmentation, a system component called I2NSF Analyzer and a new
    external interface called Analytics Interface are introduced for
    Closed-Loop Security Control on the basis of the analysis of NSF
    monitoring data. This monitoring data is delivered from each NSF
    to I2NSF Analyzer via Monitoring Interface 
    <xref target="I-D.ietf-i2nsf-nsf-monitoring-data-model" />.
    I2NSF Analyzer performs the analysis of the NSF monitoring data, and 
    sends the analysis results (e.g., policy reconfiguration and feedback
    message) to Security Controller via Analytics Interface. For more details,
    Refer to <xref target="section:I2NSF-Framework-for-Security-Management-Automation" />
    in this document.
    </t>

    <t>
    Also, note that Cloud or Edge-based Security Service Providers can get
    benefits by automating security service management in terms of automatic
    security policy enforcement and feedback-based security policy updates.
    Eventually, they can save Operational Expenditure (OPEX) significantly by
    this Intent-Based Security Management with Intent-Based Networking (IBN)
    in <xref target="RFC9315" />.
    </t>
</section>

<section anchor="section:Terminology" title="Terminology">
    <t>
      This document uses the terminology described in <xref target="RFC8329" />, <xref target="I-D.ietf-i2nsf-applicability" />, and <xref target="SPT" />.
      In addition, the following terms are defined below:
    </t>

    <t>
    <list style="symbols">
      <t>
        Security Management Automation (SMA): It means that a high-level
        security policy from a user (or administrator) is well-enforced in
        a target I2NSF system. The high-level security policy can be
        translated into the corresponding low-level security policy by a
        security policy translator and dispatched to appropriate NSFs.
        Through the monitoring of the NSFs, the activity and performace of
        the NSFs is monitored and analyzed. If needed, the security rules of
        the low-level security policy are augmented or new security rules are
        generated and configured to appropriate NSFs.
      </t>

      <t>
        Security Policy Translation: It means that a high-level security
        from an I2NSF User (e.g., administrator) policy is translated
        to a low-level security policy that can be understood and
        configured by an NSF for a specific security service, such as
        firewall, web filter, deep packet inspection, DDoS-attack
        mitigation, and anti-virus. A Security Policy Translator (SPT)
        performs this security policy translation for the sake for
        the I2NSF User <xref target="SPT" />. 
        This SPT is an subcomponent of Security Controller
        which is a main component to govern the I2NSF Framework. 
      </t>

        <t>
        Feedback-Based Security Management (FSM): It means that a security
        service is evolved by updating a security policy (having security rules)
        and adding new security rules for detected security attacks by
        processing and analzing the monitoring data of NSFs.
        </t>
    </list>
    </t>

</section>

<section anchor="section:I2NSF-Framework-for-Security-Management-Automation" title="An I2NSF Framework for Security Management Automation">

    <t>
      This section describes an extended I2NSF framework for security
      management automation, where the I2NSF framework is defined in
      in <xref target="RFC8329" />.
      As shown in <xref target="figure:I2NSF-Framework-for-Security-Management-Automation" />,
      an I2NSF User can use security functions by delivering high-level security policies,
      which specify security requirements that the I2NSF user wants to enforce, to
      the Security Controller via the Consumer-Facing Interface (CFI)
      <xref target="I-D.ietf-i2nsf-consumer-facing-interface-dm" />.
    </t>

    <figure anchor="figure:I2NSF-Framework-for-Security-Management-Automation" title="An Extended I2NSF Framework for Security Management Automation">
            <artwork><![CDATA[
   +------------+
   | I2NSF User |
   +------------+
          ^
          | Consumer-Facing Interface
          v
+-------------------+     Registration     +-----------------------+
|Security Controller|<-------------------->|Developer's Mgmt System|
+-------------------+      Interface       +-----------------------+
          ^      ^
          |      |
          |      |   Analytics Interface   +-----------------------+
          |      +------------------------>|    I2NSF Analyzer     |
          |                                +-----------------------+
          | NSF-Facing Interface              ^       ^       ^
          |                                   |       |       |
          |                                   |       |       |
          |    +------------------------------+       |       |
          |    |              +-----------------------+       |
          |    |              |   Monitoring Interface        |
          v    v              v                               v
   +----------------+ +---------------+   +-----------------------+
   |      NSF-1     |-|     NSF-2     |...|         NSF-n         |
   |   (Firewall)   | | (Web Filter)  |   |(DDoS-Attack Mitigator)|
   +----------------+ +---------------+   +-----------------------+
            ]]></artwork>
    </figure>

   <section anchor="section:I2NSF-Framework-Components-for-Security-Management-Automation" title="Components with I2NSF Framework for Security Management Automation">
   <t>
   The following are the system components for the SMA-based I2NSF framework.
   </t>

   <t>
       <list style="symbols">
           <t>
           I2NSF User: An entity that delivers a high-level security policy to
           Security Controller.
           </t>

           <t>
           Security Controller: An entity that controls and manages other system
           components in the I2NSF framework. It translates a high-level security
           policy into the corresponding low-level security policy and selects
           appropriate NSFs to execute the security rules of the low-level security
           policy. A Security Policy Translator (SPT) can perform this security
           policy translation from a high-level security policy into a low-level
           security policy <xref target="SPT" />.
           </t>

           <t>
           Developer's Management System (DMS): An entity that provides an image of
           of a virtualized NSF for a security service to the I2NSF framework, and
           registers the capability and access information of an NSF with Security
           Controller.
           </t>

           <t>
           Network Security Function (NSF): An entity that is a Virtual Network
           Function (VNF) or Container Network Function (CNF), which is called 
           Cloud-native Network Function, for a specific network security service 
           such as firewall, web filter, deep packet inspection, DDoS-attack
           mitigation, and anti-virus.
           </t>

           <t>
           I2NSF Analyzer: An entity that collects monitoring data from NSFs and
           analyzes such data for checking the activity and performance of the NSFs
           using machine learning techniques (e.g., Deep Learning <xref target="Deep-Learning" />).
           If there is a suspicious attack activity for the target network or NSF,
           I2NSF Analyzer delivers a report of the augmentation or generation of
           security rules to Security Controller.
           </t>
       </list>
   </t>

   <t>
     For SMA-based security services with Feedback-Based Security Management (FSM),
     I2NSF Analyzer is required as a new I2NSF component for the legacy I2NSF
     framework <xref target="RFC8329" /> to collect monitoring data from NSFs and
     analyzing the monitoring data. The actual implementation of the analysis of
     monitoring data is out of the scope of this document.
   </t>

   </section>

   <section anchor="section:SMA-Based-I2NSF-Interfaces" title="Interfaces with SMA-Based I2NSF Framework">
   <t>
     The following are the interfaces for the SMA-based I2NSF framework. Note that
     the interfaces are modeled with YANG <xref target="RFC6020" /> and security
     policies are delivered through either RESTCONF <xref target="RFC8040" /> or
     NETCONF <xref target="RFC6241" />.
   </t>

   <t>
     <list style="symbols">
          <t>
           Consumer-Facing Interface: An interface between I2NSF User and Security
           Controller for the delivery of a high-level security policy
           <xref target="I-D.ietf-i2nsf-consumer-facing-interface-dm" />.
          </t>

          <t>
           NSF-Facing Interface: An interface between Security Controller and an NSF
           for the delivery of a low-level security policy
           <xref target="I-D.ietf-i2nsf-nsf-facing-interface-dm" />.
          </t>

          <t>
           Registration Interface: An interface between a DMS and Security Controller
           for the registration of an NSF's capability and access information with the
           Security Controller or the query of an NSF for a required low-level security
           policy <xref target="I-D.ietf-i2nsf-registration-interface-dm" />.
          </t>

          <t>
           Monitoring Interface: An interface between an NSF and I2NSF Analyzer for
           collecting monitoring data from an NSF to check the activity and performance
           of an NSF for a possible malicious traffic <xref target="I-D.ietf-i2nsf-nsf-monitoring-data-model" />.
          </t>

          <t>
           Analytics Interface: An interface between I2NSF Analyzer and Security
           Controller for the delivery of an analytics report of the augmentation
           or generation of security rules to Security Controller.
           This interface lets Security Controller get the report for security rules
           to its security policy management.
          </t>
     </list>
   </t>

   <t>
     For SMA-based security services with FSM, Analytics Interface is required
     as a new I2NSF interface for the legacy I2NSF framework <xref target="RFC8329" />
     to deliver an analytics report of the augmentation or generation of security rules to Security
     Controller through the analysis of the monitoring data from NSFs.
   </t>

   </section>
</section>

<section anchor="section:Security-Audit-System" title="Security Audit System">
  <t>
    The I2NSF framework is weak to both an insider attack and a supply chain attack
    since it trusts in NSFs provided by Developer's Management System (DMS) and
    assumes that NSFs work for their security services appropriately
    <xref target="I-D.ietf-i2nsf-applicability" />.
  </t>
  
  <t>
    To detect the malicious activity of either an insider attack by a malicious 
    DMS or a supply chain attack by a compromised DMS, a security audit 
    system is required by the I2NSF framework.  This security audit system can
    facilitate the non-repudiation of configuration commands and monitoring data
    generated in the I2NSF framework.
  </t>

  <t>
  A security audit system has the following four main objectives: 
   <list style="symbols">
     <t> To check the existence of a security policy, a management system, and
         its procedures; </t>
     <t> To identify and understand the existing vulnerabilities and risks of
         either an insider attack or a supply chain attack; </t>
     <t> To review existing security controls on operational and administrative
         issues; </t>
     <t> To provide recommendations and corrective actions to Security Controller
         for further security improvement. </t>
   </list>
  </t>

  <figure anchor="figure:Activity-Auditing-with-Security-Audit-System" title="Activity Auditing with Security Audit System">
          <artwork><![CDATA[
+-----------------------------+                   +----------------+
|         I2NSF User          |                   |Developer's Mgmt| 
|                             +------------+      |     System     |
+--------------+--------------+            |      +--------+-------+
               | Consumer-Facing Interface |               |
               |                           |  Remote       |
   High-level Security Policy              |  Attestation  |
               |                           |  Interface    |
               |                           |               |
               V                           |               V
+--------------+--------------+            |     +---------+--------+
|                             |            V     |     Security     |
|     Security Controller     +------------+---->|       Audit      |
|                             |            ^     |      System      |
+--------------+--------------+            |     +---------+--------+
               |  NSF-Facing Interface     |               ^
               |                           |  Remote       |
   Low-level Security Policy               |  Attestation  |
               |                           |  Interface    |
               V                           |               |
+--------------+--------------+            |      +--------+-------+
|            NSF(s)           +------------+      | I2NSF Analyzer | 
|                             +------------------>|                |
+-----------------------------+    Monitoring     +----------------+ 
                                   Interface
       ]]></artwork>
</figure>

  <t>
    <xref target="figure:Activity-Auditing-with-Security-Audit-System" />
    shows activity auditing with a security audit system in the I2NSF
    framework. All the components in the I2NSF framwork report its
    activities (such as configuration commands and monitoring data)
    to Security Audit System as transactions through Remote Attestation 
    Interface <xref target="I-D.yang-i2nsf-remote-attestation-interface-dm"/>.  
    The security audit system can analyze the reported activities from the
    I2NSF components to detect malicious activities such as an insider attack
    and a supply chain attack.
    Note that such a  security audit system can be implemented by remote
    attestation <xref target="RFC9334"/><xref target="I-D.yang-i2nsf-remote-attestation-interface-dm"/>
    or Blockchain <xref target="Bitcoin"/>.  The details of the implementation
    of the security audit system are out of the scope of this document.
  </t>
  
  <t>
    In order to determine a minimum set of controls required to reduce the
    risks from either an insider attack or a supply chain attack, the security
    audit system should analyze the activities of all the components in the
    I2NSF framework periodically, evaluate possible risks, and take an action
    to such risks since vulnerabilities and threats may change in
    different environments over time.
  </t>
</section>

<section anchor="section:IANA-Considerations" title="IANA Considerations">
  <t>
    This document does not require any IANA actions.
  </t>
</section>

<section anchor="section:Security-Considerations" title="Security Considerations">
  <t>
    The same security considerations for the I2NSF framework
    <xref target="RFC8329" /> are applicable to this document.
  </t>
  <t>
    The development and introduction of I2NSF Analyzer and Security Audit
    System in the I2NSF Framework may create new security concerns that
    have to be anticipated at the design and specification time.  The usage
    of machine learning to analyze monitoring data of malicious NSFs may add a
    risk to its model to be attacked (e.g., adversarial attack) and can result
    in a bad security policy that is deployed into the I2NSF system.
  </t>
</section>

</middle>

<back>

<!-- START: Normative References -->
<references title="Normative References">

    <?rfc include="reference.RFC.8192"?>
    <?rfc include="reference.RFC.8329"?>
    <?rfc include="reference.RFC.6020"?>
    <?rfc include="reference.RFC.8040"?>
    <?rfc include="reference.RFC.6241"?>

    <?rfc include='reference.I-D.ietf-i2nsf-consumer-facing-interface-dm'?>
    <?rfc include='reference.I-D.ietf-i2nsf-nsf-facing-interface-dm'?>
    <?rfc include='reference.I-D.ietf-i2nsf-registration-interface-dm'?>
    <?rfc include='reference.I-D.ietf-i2nsf-nsf-monitoring-data-model'?>

</references>
<!-- END: Normative References -->

<!-- START: Informative References -->
<references title="Informative References">

    <?rfc include='reference.RFC.9315'?>
    <?rfc include='reference.RFC.9334'?>

    <?rfc include='reference.I-D.ietf-i2nsf-applicability'?>
    <?rfc include='reference.I-D.yang-i2nsf-remote-attestation-interface-dm'?>

    <reference anchor="SPT">
        <front>
            <title>Deep Learning</title>
            <author initials="P." surname="Lingga" />
            <author initials="J." surname="Jeong" />
            <author initials="J." surname="Yang" />
            <author initials="J." surname="Kim" />
            <date month="February" year="2024" />
        </front>
        <seriesInfo name="DOI" value="10.1109/TDSC.2024.3371788"/>
        <refcontent>IEEE Transactions on Dependable Secure Computing</refcontent>
    </reference>

    <reference anchor="ETSI-NFV">
        <front>
            <title>Network Functions Virtualisation (NFV); Architectural Framework</title>
            <author surname="ETSI GS NFV 002 V1.2.1" />
            <date month="December" year="2014" />
        </front>
        <seriesInfo name="Available:" value="https://www.etsi.org/deliver/etsi_gs/nfv/001_099/002/01.02.01_60/gs_nfv002v010201p.pdf" />
    </reference>

   <reference anchor="Bitcoin">
        <front>
            <title>Bitcoin: A Peer-to-Peer Electronic Cash System</title>
            <author initials="S." surname="Nakamoto" />
            <date month="May" year="2009" />
        </front>
        <seriesInfo name="Available:" value="https://bitcoin.org/bitcoin.pdf" />
    </reference>

   <reference anchor="Deep-Learning">
        <front>
            <title>Deep Learning</title>
            <author initials="I." surname="Goodfellow" />
            <author initials="Y." surname="Bengio" />
            <author initials="A." surname="Courville" />
            <date month="November" year="2016" />
        </front>        
        <seriesInfo name="Available:" value="https://www.deeplearningbook.org/" />        
        <refcontent>The MIT Press</refcontent>

    </reference>

</references>
<!-- END: Informative References -->

<section title="Changes from draft-jeong-i2nsf-security-management-automation-07">
    <t>
    The following changes are made from draft-jeong-i2nsf-security-management-automation-07:
    <list style="symbols">
      <t>
      This version updates the Abstract and Introduction for the explanation
      of the purpose and usefulness of this document.
      </t>

      <t>
      The section for Security Policy Translation in version 07 is removed
      so that this document can have the shape of a standard document
      without the design and implementation of a Security Policy Translator.
      Instead, This version cites a Journal Paper <xref target="SPT" /> rather
      than an Internet Draft for the Security Policy Translator.
      </t>
    </list>
    </t>
</section>

<section anchor="section:Acknowledgments" numbered="false" title="Acknowledgments">
    <t>    
    This document benefited from discussions in the I2NSF Working Group,
    especially from Linda Dunbar and Yoav Nir.  This document took
    advantage of the review and comments from the following
    experts: Qin Wu and Adrian Farrel.  The authors sincerely
    appreciate their sincere efforts and kind help.   
    </t>

    <t>
    This work was supported by Institute of Information &amp;
    Communications Technology Planning &amp; Evaluation (IITP) grant
    funded by the Korea Ministry of Science and ICT (MSIT)(RS-2024-00398199).
    </t>

    <t>
    This work was supported in part by Institute of Information &amp;
    Communications Technology Planning &amp; Evaluation (IITP) grant
    funded by the Korea Ministry of Science and ICT (MSIT)(No. 2022-0-01015,
    Development of Candidate Element Technology for Intelligent 6G Mobile Core Network).
    </t>
</section>

<section anchor="section:Contributors" numbered="false" title="Contributors">
    <t> The following are coauthors of this document: </t>
      <contact fullname="Yunchul Choi">
        <organization showOnFrontPage="true">Standards &amp; Open Source Research Division</organization>
        <address>
          <postal>
            <extaddr>Electronics and Telecommunications Research Institute</extaddr>
            <street>218 Gajeong-ro, Yuseong-gu,</street>
            <region>Daejeon</region>
            <code>34129</code>
            <country>Republic of Korea</country>
          </postal>
          <email>cyc79@etri.re.kr</email>
        </address>
      </contact>
      <contact fullname="Younghan Kim">
        <organization showOnFrontPage="true">School of Electronic Engineering</organization>
        <address>
          <postal>
            <extaddr>Soongsil University</extaddr>
            <street>369, Sangdo-ro, Dongjak-gu</street>
            <region>Seoul</region>
            <code>06978</code>
            <country>Republic of Korea</country>
          </postal>
          <email>younghak@ssu.ac.kr</email>
        </address>
      </contact>
</section>

</back>

<!-- <vspace blankLines="100"/> -->
<!-- page break to put addresses onto one page-->

</rfc>
