<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Cross-Cloud Management of Sensitive Data via Blockchain: a Payslip Calculation Use Case</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Luca Nicoletti</string-name>
          <email>lnicoletti@sogei.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Margheri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Federico Lombardi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladimiro Sassone</string-name>
          <email>vsassoneg@soton.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Paolo Schiavo</string-name>
          <email>francescopaolo.schiavo@mef.gov.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Electronics and Computer Science, University of Southampton</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ministero dell'Economia e delle Finanze</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Federating Cloud systems is an urgent need of the Public Sector. In this paper, we showcase a recent Cloud Federation-as-a-Service solution empowered by blockchain technology. This solution is used by the Italian Ministry of Economy and Finance to realise a cross-Cloud application for payslip calculation of Police Forces. Blockchain o ers decentralised means to conciliate the need of keeping data protected while ensuring certi ed computation on it. This solution has been adopted as part of the project CloudifyNoiPA to re-engineer the whole payroll system of the Italian Public Administration.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Nowadays, the Public Sector is equipped with a large number of private Cloud systems whose
administration is becoming more expensive and less e ective due to brief usage picks, barriers
on exible resource provisioning, and limited access to distributed data sources. An urgent
need is to provide software infrastructures enabling secured and controlled interaction across
multiple Cloud systems. The key driver for creating such cross-Cloud systems stands in the
access to data and services otherwise not available, and in the better utilisation of computational
resources.</p>
      <p>
        Broadly speaking, the governance aspects of cross-Cloud systems are of paramount
importance to encourage wide application and foster systematic integration of private Clouds in the
Public Sector. European countries such as Italy and France su er from a large proliferation of
small/medium data centres concurrently supporting Public Administrations. This causes
inefciency, costly management and low resource utilisation. To tackle this issue, the SUNFISH
project conceived, designed and implemented so-called Federation-as-a-Service (FaaS) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], an
innovative federation approach for Cloud systems that allows small/medium data centres to
become rst-class citizen in the Cloud provisioning landscape for Public Administrations. FaaS
crucially relies on blockchain to realise a rst-time democratic and decentralised governance
model. Blockchain is exploited as an innovative underlying infrastructure underpinning
trustless federated Clouds with data computation integrity and availability.
      </p>
      <p>Blockchain is an innovative technology that besides fascinating properties on data integrity
ensures full decentralised control on data and its computation. Upon such decentralised
infrastructure, immutable programs named smart contracts can execute ensuring non repudiable
guarantees to all involved parties. Besides Bitcoin and Ethereum, a large number of blockchain
systems targeting private settings such as cross-Cloud integrations have appeared on the
market. Hyperledger Fabric (www.hyperledger.org/projects/fabric) is a prominent solution that
o ers, among others, controls on data visibility and on where smart contracts are executed.
Use Case. The Italian Ministry of Economy and Finance (MEF) is currently facing the issue of
overcoming segregation of Public Bodies data among Clouds for calculating payslips of Police
Forces. Speci cally, the Italian legal framework forces the Ministry of Interior (MIN) to be the
exclusive controller of Police Force sensitive data. However, MEF needs access to such data to
correctly compute payslips (for the cognitive, local taxes must be computed on actual residence,
which is however sealed for data classi cation purposes within the MIN). To overcome this issue,
MEF has put in place an intricate cooperation with MIN which locally performs part of the
payroll tax computation then to be used by the MEF. However, this has lead to uncontrolled
cooperations prone to mistake and malicious subversions, e.g. to avoid tax payment or to grant
huge pay rise all of a sudden. Such frauds are subtle to discover and, most of all, MEF is liable
for it even though it has no control on the full payroll data. Therefore, MEF requires di erent
deployment of such use case to introduce adequate computation guarantees both on the used
sensitive data and on the performed computations.</p>
      <p>In the following, we rst outline the SUNFISH FaaS solution emphasising the role of
blockchain, then we comment on its exploitation for the presented use case.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The SUNFISH Cloud Federation Solution</title>
      <p>Federation-as-a-Service (FaaS) is implemented via the SUNFISH software platform depicted in
Fig. 1(a). Crucially, the platform is conceived to be deployed in a distributed manner on top
of all federated Clouds, thus to avoid any centralised control and component.</p>
      <p>The software platform features state-of-the-art Cloud management technology and advanced
security and privacy-preserving functionality. Intuitively, we can logically identi ed components
related to Data Security, Federation Monitoring and Federation Management.</p>
      <p>
        The Data Security relies on a distributed attributed-based access control system acting as
a backbone of the overall infrastructure [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Privacy-preserving components secure storage,
SUNFISH
PLATFORM
Data Security (DS)
      </p>
      <p>Anonymization (ANM)
Dynamic Masking (DM)
Secure MpC (SMC)</p>
      <p>FederaMteodniAtodrminigni(sFtAraMti)on and</p>
      <p>Identity Manager</p>
      <p>(IDM)
Service Ledger
Interface (SLI)</p>
      <p>Federated Runtime
Monitoring (FRM)
Federated Security</p>
      <p>Audit (FSA)
Intelligent Workload Manager</p>
      <p>(IWM)
Private
Cloud</p>
      <p>Public
Cloud
. . .</p>
      <p>Federated</p>
      <p>Cloud
sharing and computation of sensitive data; respectively, DM, ANM and SMC components.</p>
      <p>The Federation Monitoring consists of both a runtime monitoring and o ine auditing, the
FRM and FSA components, respectively.</p>
      <p>
        The Federation Management supports the creation and management of cloud federations.
The IWM enforces optimised workload strategies, while the FAM provides an administration
console to manage, control and monitor the state of the federation. Notably, via the SLI, all
the governance data of a federation, e.g. SLA and access control policies, are stored on the
blockchain-empowered Service Ledger and make available to components accordingly.
Service Ledger Infrastructure. The corner stone of FaaS is an innovative democratic
governance of Cloud federations [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]: none of the federated Cloud rules on the others, but each of
them shares the same authorities and duties. The governance is carried out and enforced in a
decentralised manner via smart contracts. Besides representing the governance rules negotiated
among the federation participants, smart contracts support democratic e-voting and strengthen
the security assurance of data security functionality and Cloud applications.
      </p>
      <p>
        The underlying blockchain infrastructure named Service Ledger (see Fig. 1(b)) o ers resilient
data storage and a decentralised computation facility at hand [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] that alleviates the need for a
trusted-third-party and reduces systemic risks of disputes and frauds in cross-Cloud interactions.
      </p>
      <p>To improve security assurance of privacy-preserving services, smart contracts are used to
shield key ingredients from tampering attacks, e.g. the key used in the masking process and
anonymisation history record of released datasets. Most of all, smart contracts can be used
by cross-Cloud application to enjoy decentralised computation and non repudiable guarantees.
As a matter of fact, part of the logic of a cross-Cloud application can be moved into a smart
contract to bene t of its distinguishing properties.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Cross-Cloud Payslip Calculation</title>
      <p>To address the use case previously introduced, MEF and MIN must balance two contrasting
needs: certifying to MEF the computation of sensitive data, keeping sensitive data within the
perimeter of MIN. This potential conundrum can be overcome via FaaS and its
blockchainempowered Service Ledger infrastructure.</p>
      <p>Intuitively, the use case can be seen as in Figure 2. The payroll application is split into
two parts, one logically placed on MEF to compute the bulk payroll computation and one
logically placed on MIN to process localised sensitive data. To realise such infrastructure the
FaaS Federation
payroll</p>
      <p>MEF
payroll
app</p>
      <p>Service Ledger
Interface (SLI)
MIN</p>
      <p>sensitive data
Blockchain-empowered</p>
      <p>Service Ledger
following is needed: (i) MEF and MIN Clouds must be securely federated, hence there cannot
be unsecured interactions among themselves travelling via the Internet; (ii) MIN's slave payroll
application must be tamperproof thus o ering to MEF the expected assurances on what is
actually computed on MIN side.</p>
      <p>From a practical point of view, this boils down to deploy part of the application logic|
viz. the MIN's slave|on an infrastructure where there is no single-point-of-control and strong
guarantees on logic executions, i.e. non repudiation, accountability and immutability. Such
infrastructure is the SUNFISH Service Ledger.
3.1</p>
      <p>The SUNFISH Solution
Being the Clouds of MEF and MIN securely federated via FaaS, thus to enable controlled and
secured inter-Cloud communication, the SUNFISH Service Ledger can be used to implement the
proposed use case achieving all required guarantees on data and code execution. Speci cally,
we use a smart contract to certify the code computing the local taxes on sensitive data. Such
execution will be carried out within the boundaries of the MIN, but it will ensure strong
accountability to the MEF.</p>
      <p>Practically, the use case is implemented by exploiting the SUNFISH platform as graphically
depicted in Figure 3. On the MEF side, the main payroll application is deployed and interacts
with the localised payroll datasources. The certi ed code to compute local taxes is provided by
the MEF in the form of a smart contract to be deployed on the Service Ledger. Such deployment
prescribes a localised installation (as per Hyperledger's jargon) on one of the peer of the MIN.
This peer will then get access to the sensitive data to locally and correctly compute taxes via the
smart contract logic. The tax computation will result into an immutable transaction replicated
throughout the blockchain (hence also on the MEF side) and will allow MEF to have at disposal
all the needed guarantees on computed taxes. Speci cally, the generated transactions will store
in plain text the computed tax amounts (which are not sensitive as needed for completing
MEF's payroll computation) and in an encrypted format the sensitive inputs use by the smart
contract. The latter inputs are encrypted with MIN's private key and they never leave in plain
text the MIN Cloud. Such inputs ensure that disputes between MEF and MIN on used data
cannot happen and, most of all, constrain liability on managing sensitive data just to the MIN.</p>
      <p>To sum up, this principled exploitation of smart contract and blockchain made possible
the realisation of a cross-Cloud application otherwise hardly possible. The added value of such
Service Ledger is to foster integration between companies (in this case two Public Body Clouds)
while keeping e ective control on data, service and access to them. As a matter of fact, this
solution has been adopted as part of the CloudifyNoiPA project, an innovative Cloud-based
solution to re-engineer the whole Italian payroll system for the Public Administration.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>This use case is a signi cant blockchain pilot, developed under the SUNFISH project, concerning
a cross-Cloud payroll calculation for the Italian Public Sector. Blockchain permits overcoming
the fragmentation of scal information of the Police personnel across the departments of MIN
and MEF, ensuring correctness of tax calculation and payroll accountability. The combined
used of encryption, certi ed smart contract and decentralisation ensures that tax calculation
for payroll is correct, that no private data is leaked from MIN to MEF, and that there is no
trusted-third-party carrying out part of the computation.</p>
      <p>Broadly speaking, the Ministry of Economy and Finance, who coordinates the SUNFISH
project, has recognised in practice the great potential of blockchain and is currently leading a
national initiative to provide the Italian Public Sector with a blockchain-based infrastructure
to foster integration among Government departments and underpin national digital services.
Demonstrator. The use case will be rstly introduced by highlighting its real-world key drivers
and challenges to address. Then, the usage of the SUNFISH platform will be demonstrated,
both from logical and infrastructural point of views. The cross-Cloud application empowered
by the Service Ledger will be showcased pointing out the added value of relying on blockchain.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work has been supported by the EU H2020 project SUNFISH, grant N.644666.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Leonardo</given-names>
            <surname>Aniello</surname>
          </string-name>
          , Roberto Baldoni, Edoardo Gaetani, Federico Lombardi, Andrea Margheri, and
          <string-name>
            <given-names>Vladimiro</given-names>
            <surname>Sassone</surname>
          </string-name>
          .
          <article-title>A prototype evaluation of a tamper-resistant high performance blockchain-based transaction log for a distributed database</article-title>
          .
          <source>In EDCC. IEEE</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Edoardo</given-names>
            <surname>Gaetani</surname>
          </string-name>
          , Leonardo Aniello, Roberto Baldoni, Federico Lombardi, Andrea Margheri, and
          <string-name>
            <given-names>Vladimiro</given-names>
            <surname>Sassone</surname>
          </string-name>
          .
          <article-title>Blockchain-based database to ensure data integrity in cloud computing environments</article-title>
          .
          <source>In ITA-SEC</source>
          , volume
          <year>1816</year>
          .
          <article-title>CEUR-WS</article-title>
          .org,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Andrea</given-names>
            <surname>Margheri</surname>
          </string-name>
          , Md. Sadek Ferdous,
          <string-name>
            <given-names>Mu</given-names>
            <surname>Yang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Vladimiro</given-names>
            <surname>Sassone</surname>
          </string-name>
          .
          <article-title>A distributed infrastructure for democratic cloud federations</article-title>
          .
          <source>In CLOUD</source>
          , pages
          <volume>688</volume>
          {
          <fpage>691</fpage>
          . IEEE,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Francesco</given-names>
            <surname>Paolo</surname>
          </string-name>
          <string-name>
            <surname>Schiavo</surname>
          </string-name>
          , Vladimiro Sassone, Luca Nicoletti, and Andrea Margheri (Eds.). Faas:
          <article-title>Federation-as-a-service</article-title>
          .
          <source>CoRR, abs/1612.03937</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Bojan</given-names>
            <surname>Suzic</surname>
          </string-name>
          , Bernd Prunster, Dominik Ziegler, Alexander Marsalek, and
          <string-name>
            <given-names>Andreas</given-names>
            <surname>Reiter</surname>
          </string-name>
          .
          <article-title>Balancing Utility and Security: Securing Cloud Federations of Public Entities</article-title>
          . In
          <string-name>
            <surname>C</surname>
          </string-name>
          &amp;TC, volume
          <volume>10033</volume>
          <source>of LNCS</source>
          , pages
          <volume>943</volume>
          {
          <fpage>961</fpage>
          . Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>