[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2024146815A1 - Privacy-controlled analytics service - Google Patents

Privacy-controlled analytics service Download PDF

Info

Publication number
WO2024146815A1
WO2024146815A1 PCT/EP2023/087097 EP2023087097W WO2024146815A1 WO 2024146815 A1 WO2024146815 A1 WO 2024146815A1 EP 2023087097 W EP2023087097 W EP 2023087097W WO 2024146815 A1 WO2024146815 A1 WO 2024146815A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
privacy
attributes
analysis
analytics
Prior art date
Application number
PCT/EP2023/087097
Other languages
French (fr)
Inventor
Fadi El-Moussa
Ian Herwono
Original Assignee
British Telecommunications Public Limited Company
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GBGB2300083.9A external-priority patent/GB202300083D0/en
Priority claimed from EP23150284.0A external-priority patent/EP4407497A1/en
Application filed by British Telecommunications Public Limited Company filed Critical British Telecommunications Public Limited Company
Publication of WO2024146815A1 publication Critical patent/WO2024146815A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6254Protecting personal data, e.g. for financial or medical purposes by anonymising data, e.g. decorrelating personal data from the owner's identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]

Definitions

  • the invention relates to a computer implemented method for performing privacy controlled data analytics.
  • a corresponding computer system and computer program are also provided.
  • Various types and models of devices such as WiFi-routers, PCs, smartphones or loT devices (e.g. IP cameras, smart thermostats, etc.) may be connected to the same network environment at home or at a business premises. As those devices are connected to the Internet they may become subjects to some form of cyber-attack with or without any user interventions. Merging and aggregating all the network traffic data related to those devices can be very useful to help monitor the network health and detect anomalous behaviours or malicious activities within the network. This allows the users to protect their network and devices against potential cyber-attacks and raise awareness of existing vulnerabilities and emerging security threats.
  • security analytics services can be performed in the cloud or at network edges and managed by service or network providers.
  • the service customers In order to comply with the regional or national data protection and privacy law the service customers (or data owners) need to consent to the provisioning of their data (i.e. data ingestion) to the corresponding analytics service platform as well as to the processing and analysis of the data. In some cases the data may need to be aggregated with the data of other customers in order to provide better insights and a more holistic view of particular cyber threat campaigns, e.g. new malware targeting a specific model of smart thermostats.
  • Data owners may choose to anonymise parts of their data in order to address potential privacy concerns that may arise from sharing the data with third parties, such as their service providers or other customers.
  • Data sharing policies can be used to express a data owner’s wish on which of the information or data attributes to share in anonymised form only.
  • Table 1 shows an example where a data owner is willing to share the IP camera network traffic logs but with the restrictions that only the destination IP and destination port (i.e. outbound connections) will be provided in plaintext.
  • Other attributes such as source IP and source MAC address should only be shared in anonymised form.
  • the (outbound) destination IP and URL need to be anonymised while the source IP and information about the outgoing and incoming packet bytes can be shared in plaintext.
  • a computer-implemented method for performing privacy controlled data analytics.
  • the method is performed by a computer system configured to provide incoming anonymized data to a plurality of different analysis functions for analyzing the data, each analysis function having its own set of requirements for data attributes that need to be available in the incoming data, the incoming data originating from a plurality of data sources and being anonymized by applying one or more of a plurality of predetermined anonymization protocols.
  • the method comprises: determining one or more attributes present in the incoming data that will be processed by the computer system; determining the analysis functions that are capable of being implemented based on the determined one or more attributes of the incoming data and the data attribute requirements for the analysis functions; determining the data attributes of the incoming data that can be anonymised whilst preserving data utility based on the requirements of the analysis functions; determining, for each of a plurality of privacy settings, a privacy score and a data utility score, each privacy setting comprising a unique combination of analysis function, anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; receiving input selecting a desired privacy setting; and processing an anonymized set of data, anonymized according to an identified anonymization protocol, according to the analysis function associated with the selected privacy setting.
  • Embodiments provide a method to implement a Privacy-controlled Analytics Service that allows users/customers benefit from their provider’s data analytics capability while at the same time remain in control of their privacy preferences.
  • the corresponding service platform would typically collect the data originating from user’s premises, e.g. a user’s home network environment, and perform analytics functions on the data in compliance with the user’s privacy policy, e.g. which may specify that one or more data attributes should be anonymised. Examples of user data are network traffic and system logs of PCs, routers, smart TVs, set top boxes, loT devices, etc.
  • the analytics functions can range from basic system and network health monitoring or parental control, to advanced cyber services such as anomaly detection or intrusion prevention.
  • the type of analytics service will depend on each user’s choice of privacy protection level. In general the higher the privacy level, the lower the number of analytics functions, or the less accurate the analytics results. This is due to the fact that increasing the privacy level may likely have negative impact on the quality of the data or analytics utility.
  • Each analytics function relies on a certain level of data utility in order to achieve results with acceptable accuracy level. When users starts relaxing their privacy level preference, more and more analytics functions may become available to use.
  • the privacy risk can be selected by the user.
  • a privacy score may be presented in the form of a graphical interface, such as a curve, for the user, which allows them to select the level of privacy they want to apply, and/or which data attributes they want to share to give them an overall risk score for their privacy.
  • Machine learning may be used to understand the set of (security) analysis functions that need to be applied to the customer data, and the methods described herein may then be used to build a tailored interface (e.g. a curve) that can be offered to the customer to select which risk score they wish to accept based on privacy level, wherein each customer will have a different curve for the risk scoring system based on the analysis functions to be applied.
  • a computer system configured to carry out the method of the first aspect.
  • a non-transitory computer readable medium having stored thereon a computer program that, when run on a system according to the second, causes the system to perform methods according to the first aspect.
  • Figure 1 illustrates an example privacy policy for security logs
  • FIG. 1 illustrates anonymisation of patient data using masking and generalisation techniques
  • FIG. 3 illustrates an overview of existing privacy models
  • Figure 4 illustrates the relationship between privacy level and data utility
  • Figure 5 illustrates a platform for privacy-controlled analytics services
  • Figure 6 illustrates a method for implementing a learning phase
  • Figure 7 illustrates a method for construction of a new structured version of input data which uses common syntax
  • Figure 8 illustrates an example analytics function selection process based on the data available from example data sources
  • Figure 9 illustrates a method for the selection of anonymisable attributes of user data
  • Figure 10 illustrates the process of calculating privacy scores for each possible privacy setting in the case of sample datasets originating from different sources/devices that can later be used for various analytics functions
  • Figure 11 illustrates the process calculating the data utility score for each possible privacy setting in conjunction with each analytics function
  • Figure 12 illustrates an example Customised Privacy Knowledge Base table formed by combining the results of Figure 10 and Figure 11;
  • Figure 14 illustrates a selection of analytics functions based on privacy level and data utility thresholds
  • Figure 15 illustrates a populated Privacy Knowledge Base table
  • Figure 16 illustrates a populated Privacy Knowledge Base table having different privacy algorithms applied to different attributes of the data
  • Figure 19 illustrates an example method for calculating a privacy score for a given analytics function
  • Figure 20 illustrates a Privacy Knowledge Base table populated with privacy scores
  • FIG. 23 illustrates an exemplary Restricted Boltzmann Machine (RBM), according to an embodiment
  • Figure 25 illustrates an exemplary RBM with visible units observed for three types of security logs, according to an embodiment
  • Generally embodiments may provide a method to implement a Privacy- controlled Analytics Service that allows internet users to benefit from their provider’s data analytics capability while at the same time remaining in control of their privacy preferences.
  • the service is customised to each user in terms of available data sources and privacy preferences by implementing the following steps within a learning phase: learn about the type, format and structure of the data; determine available analytics functions; select data attributes for anonymisation; and construct/update a customised Privacy Knowledge Base.
  • a mechanism is also provided to allow a user to select how much data they can share in relation to the privacy protection that allows the customer to indicate what data they would like to share.
  • Masking replaces sensitive information with random characters or data while retaining the original data format.
  • the IP address ‘ 132.123.112.58’ could be transformed to ‘ 132.123.YYY.ZZZ’ in order to prevent unique identification of the host machine.
  • Suppression removes selected information to protect the privacy of the entities (e.g. individuals, organisations, etc.). Suppression is normally applied to directly identifying information. For example, a user’s full name or username attribute is removed completely from the data records.
  • Quasi-identifying its disclosure may indirectly reveal the individual’s or entity’s identity especially if it is combined with other attributes or external background knowledge.
  • Examples of quasi-identifying attributes include IP address, hostname, laptop ID/barcode, etc.
  • the parsing data logic may be implemented elsewhere other than within the analytics platform.
  • the parsing engine logic may be implemented in the data concentrator that is deployed at the user’s premises.
  • the concentrator would then communicate with the analytics platform 511 to retrieve the data format details from its device database 523.
  • the resulting structured data 709 will use the same syntax for data attributes across different types of device. For example, a destination IP attribute will always be called “dest ip” irrespective of type of the device.
  • Each data attribute can also be tagged as Identifying, Quasi-identifying, Sensitive or Insensitive attribute based on pre-knowledge about the data source/device, i.e. its data sensitivity classification.
  • sensitivity classification is usually generic for common attributes, e.g. source and destination IP address are usually tagged as quasi-identifying attributes. The users may be given the option to manually change the sensitivity classification of each attribute, if necessary.
  • Figure 13 shows a diagram that visualises the inverse relationship between privacy and utility based on the customised PKB entries for a particular user providing a set of data sources.
  • the method may be performed by the analytics platform 511 or other suitable computer.
  • the method may be performed by a computer system configured to provide anonymized data to a plurality of different analysis functions for analyzing the data, the data being anonymized by applying one or more of a plurality of predetermined anonymization protocols, each protocol having an anonymization protocol parameter that can be specified in order to determine the degree of anonymization applied to the data.
  • an equivalence class is defined to be a set of data records that have the same values for anonymised quasi-identifiers and wherein is the number of records in an equivalence class.
  • the data provided to the analysis functions may be anonymised according to one or more user defined privacy policies, the privacy policies indicating whether data attributes should be provided in plain text or anonymised form.
  • the predetermined anonymization protocols may include one or more of k- Anonymity, 1-Diversity, t-Closeness, (s,6)-Differential Privacy, P-Likeness and 6- Presence.
  • Receiving an input selecting a ranked result and processing an incoming anonymized set of data according to the associated analysis function, anonymization protocol and anonymization protocol parameter.
  • the Privacy Knowledge Base 519 implemented as a database or table, contains the optimal settings and parameters for privacy-preserving anonymisation algorithms to achieve certain levels of data utility.
  • data utility strongly depends on which analytics functions are used to consume the (anonymised) data for producing the results.
  • the privacy algorithm settings thus need to be optimised for each analytics function to achieve the best possible outcome. It is assumed that the anonymisation process will only apply to those data fields or attributes that were categorised as either quasiidentifying or sensitive. Original values of identifying attributes will be completely removed from the data or redacted in order to eliminate any risk of re-identification, while insensitive attributes can remain unchanged (i.e. plain text). In cases where tokenisation or masking (with random alphabets or numbers) techniques are used to anonymise a data attribute, the platform will categorise it as quasi-identifying attribute.
  • Each algorithm has specific parameters (e.g. k in k-Anonymity, I in 1- Diversity) to adjust its privacy protection level.
  • k-Anonymity algorithm a larger k value would normally result in better privacy protection (i.e. higher privacy score) but at the cost of data utility (i.e. lower utility score).
  • the basis for the algorithm is that a database table is anonymous if every search for identifying information results in a group of at least k candidate records.
  • the k value in k-anonymity is thus the privacy parameter which determines the minimum group size.
  • Groups of candidate records form anonymity sets of identifiers in the database table.
  • each attribute within a dataset may possess different statistical patterns and properties, e.g. much less variations (i.e. unique values) in destination port numbers are expected in comparison to source port numbers found in a Firewall log. Therefore each quasi-identifying or sensitive attribute may also be assigned its own privacy algorithm parameter in order to achieve the expected privacy score, as shown in Figure 16.
  • FIG 17 shows the two main steps of the PMA procedure.
  • the PMA procedure may be carried out by the analytics platform 511, or it could be carried out by another computing system.
  • the first step 1701 deals with the calculation of the privacy score P that can be achieved by the selected privacy settings when being applied together on the quasiidentifying and sensitive attributes. This can be performed, for example, through a risk assessment process where an estimate of so-called re-identification risk R is computed based on the statistic distribution of the relevant attribute values within a typical dataset.
  • the risk represents the probability of any entity (e.g. individuals, organisations, etc.) in the data being re-identified or their sensitive information being disclosed. Enough samples of representative datasets should be provided in order to provide good risk estimates.
  • a higher risk value R means higher disclosure risk and thus less privacy protection.
  • R may range between a minimum and a maximum, for example between 0.0 (full privacy) and 1.0 (no privacy).
  • a Privacy Setting is defined here as a possible combination of one or more privacy models or algorithms (such as k-Anonymity and/or 1-Diversity) along with their specific parameters that can be used to protect a fixed list of quasi-identifying and sensitive attributes, which in turn is specific to each analytics function. As mentioned earlier a single privacy algorithm may also be used for both types of attributes.
  • the overall probability of re-identification can be computed as the minimum value of l/ j across all equivalence classes:
  • Figure 19 shows an example of a method for calculating the re-identification risks (and thus the privacy scores) for each analytics function.
  • a new privacy setting is created according to the procedure described earlier. It may start from the lowest privacy setting, e.g. in case of k- Anonymity the k value is set to 1.
  • step 1903 the quasi-identifying and sensitive attributes of each record are anonymised using the selected privacy setting.
  • the overall re-identification risk R can then be derived as the mean average over the computed re-identification risk values (i.e. R 1 ... R n ) from all sample datasets D ... D n .
  • steps 1901 to 1907 are repeated again (i.e. with a new privacy setting) until no considerable change in the computed privacy scores can be observed any longer.
  • steps 1901 to 1907 may be repeated until the change in computed privacy scores between successive iterations is below a threshold level.
  • the privacy score calculation is thus completed for a given analytics function. Additional privacy score calculations (using the same approach) are produced as needed for other analytics functions in case they require anonymisation for different sets of (quasiidentifying and sensitive) attributes. Otherwise they can share the same privacy scores for the corresponding privacy settings.
  • the data utility can be calculated in any appropriate way. For example, it may be determined by comparing an analysis result with the (reference) result that could have been produced by the same analytics function if the anonymisation were switched off, i.e. no privacy setting was applied on any quasi-identifying and sensitive attributes.
  • Analysis results can generally be expressed in numerical or categorical values. Examples of numerical values include number of malicious hosts, percentage of infected machines, frequency of failed logins per hour, etc. Examples of categorical values include most attacked destination port or service, host or IP address with suspicious activities, etc.
  • the relative error q can be used as a measure to compare the results, where:
  • Value v on is the result obtained from anonymised data
  • v 0 /y A 0 is the (reference) result obtained from original data (i.e. without anonymisation).
  • the relative error could measure the level of “blurriness” or inaccuracy caused by the anonymisation process, as described in the following example.
  • an analytics function should identify the IP address with suspicious activities from input dataset.
  • the analytics function may have identified an IP address that was shown or present in 50 records.
  • the anonymised dataset there were 60 records associated with the (anonymised) IP address that has been determined as showing suspicious activities (e.g. due to the application of k- Anonymity model).
  • v 0/ y would then be set to 50 and v on set to 60 in order to compute the relative error q.
  • the samples repository may be identical with the one used for calculating the privacy scores. Hence all the samples should be usable for the selected analytics function, i.e. they contain all the attributes required by the function.
  • the overall relative error j] can then be derived as the mean average over all the relative error values (i.e. r/ 1 ... j] n ) computed from sample datasets
  • the main objective of using the Privacy Knowledge Base is to strike a good balance between privacy and utility, i.e. to achieve the highest possible privacy level at the least cost of data utility.
  • the completed Privacy Knowledge Base PDB
  • PDB Privacy Knowledge Base
  • the privacy scores comparison should be done separately for each type of entity, e.g. P src j compared with P src +i- However only if the inverse relationship test failed for each type of entity, e.g. P src j+i Psrcj and Pdstj+i Pdstj> the corresponding (subsequent) record is removed from the Privacy Knowledge Base.
  • PPR Primary Policy Recommendation
  • Formats of at least one of the one or more data attributes of the input data from at least one of the one or more data sources may be determined based on one or more privacy policies, the formats being either anonymised or non-anonymised. At least one of the one or more privacy policies may be modified based on the privacy policy recommendation.
  • a privacy policy recommendation engine may be implemented by the analytics platform 511, or it may be implemented by another computer system or in the cloud.
  • One of the objectives of the PPRE is to strike the right balance between data privacy and data utility in order to allow security analysts to use the sanitised, shared datasets to produce acceptable analysis results (e.g. for cyber intelligence). This is because performing an analysis based on an anonymised input dataset does not necessarily prevent or reduce the quality of the analysis. For example, consider a firewall dataset that might be shared with both its source and destination IP address attributes presented in anonymised forms (e.g. using tokenisation method).
  • RBMs have found applications in dimensionality reduction, classification, collaborative filtering, feature learning and topic modelling.
  • the PPRE may use a RBM for collaborative filtering which is the process of filtering for information or patterns using techniques involving collaboration among multiple agents, viewpoints, data sources, etc.
  • the visible units 402 correspond to the utilisation of data attributes of each type of security logs presented in specific form (plain text or anonymised) that have been observed from analysis tasks performed by the analysts.
  • the hidden units 406 represent the latent factors underlying the observed data utilisation.
  • the PPRE may be configured to learn these latent units and correspond them with the different types and level(s) of accuracy, quality and/or accuracy of analysis results.
  • the accuracy and/or quality of an analysis result 216 may be determined by receiving an input from an analyst. In such cases, the analyst may input one or more parameters indicating levels of accuracy, quality and/or accuracy of corresponding analysis results 216. Alter-natively, the accuracy and/or quality of an analysis result 216 may be determined automatically by using a computer program and/or a machine learning method by comparing one or more analysis results 216 and/or one or more data logs of known events. [0153] Optionally, an analysis results 216 may be determined to have acceptable level(s) of accuracy, quality and/or accuracy analysis results 216 if the corresponding parameter(s) associated with the analysis results 216 exceed a threshold. Such a threshold may be predetermined or deter-mined by using a machine learning method (e.g. RMB).
  • a machine learning method e.g. RMB
  • the binary values 2408 may be assigned to each attributeformat pair to indicate if the corresponding combination (i.e. the corresponding pair of data attribute 2404 presentation format 2406) has been used for the analytics function. In principle, for each training sample the data attribute of specific type of log may only be consumed in one way (i.e. either in plain text or anonymised form).
  • the hidden units ⁇ Y ⁇ may also represent the different levels of accuracy and/or quality of the corresponding analysis.
  • a weight vector ⁇ w ⁇ may be used to indicate how significant each of the data attributes of its selected presentation format contributes to each analysis result or level of accuracy and/or quality.
  • the number of hidden units may represent the number of different types of analysis results as well as their accuracy levels. This number can, for example, be collectively obtained from the analysts by asking them to indicate the type and accuracy of results (e.g. attack family/classification being identified, services being target-ed, etc.) from a given list each time they completed the analysis tasks.
  • This number can, for example, be collectively obtained from the analysts by asking them to indicate the type and accuracy of results (e.g. attack family/classification being identified, services being target-ed, etc.) from a given list each time they completed the analysis tasks.
  • Contrastive Divergence Learning performs a number of iterations to compute the states of hidden units 406 based on the states of visible units 402, and vice versa.
  • the states of visible units 402 are reconstructed from the hidden units 406.
  • the number of iterations in-creases with learning steps to achieve better accuracy.
  • the number of hidden units 406 is estimated at the start of training phase and may also increase to achieve better accuracy.
  • Each hidden unit i.e. Yl, Y2, etc.
  • the weights ⁇ w ⁇ give indication of the significance of at-tribute-format pair on the result.
  • the final set of reconstructed input parameters may then be used to generate one or more privacy policy recommendations 220 (e.g. in the form of data privacy policy templates) recommending which data attributes of the associated security log should be shared in a non-anonymised format (e.g. plain text) or an anonymised format in order to produce an analysis result with certain level(s) of accuracy and/or quality.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)

Abstract

A computer-implemented method is provided for performing privacy controlled data analytics. The method is performed by a computer system configured to provide incoming anonymized data to a plurality of different analysis functions for analyzing the data, each analysis function having its own set of requirements for data attributes that need to be available in the incoming data, the incoming data originating from a plurality of data sources and being anonymized by applying one or more of a plurality of predetermined anonymization protocols. The method comprises: determining one or more attributes present in the incoming data that will be processed by the computer system; determining the analysis functions that are capable of being implemented based on the determined one or more attributes of the incoming data and the data attribute requirements for the analysis functions; determining the data attributes of the incoming data that can be anonymised whilst pre-serving data utility based on the requirements of the analysis functions; determining, for each of a plurality of privacy settings, a privacy score and a data utility score, each privacy setting comprising a unique combination of analysis function, anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; receiving input selecting a desired privacy setting; and processing an anonymized set of data, anonymized according to an identified anonymization protocol, according to the analysis function associated with the selected privacy setting. A corresponding computer system and computer program are also provided.

Description

PRIVACY-CONTROLLED ANALYTICS SERVICE
TECHNICAL FIELD
[0001] The invention relates to a computer implemented method for performing privacy controlled data analytics. A corresponding computer system and computer program are also provided.
BACKGROUND
[0002] Various types and models of devices such as WiFi-routers, PCs, smartphones or loT devices (e.g. IP cameras, smart thermostats, etc.) may be connected to the same network environment at home or at a business premises. As those devices are connected to the Internet they may become subjects to some form of cyber-attack with or without any user interventions. Merging and aggregating all the network traffic data related to those devices can be very useful to help monitor the network health and detect anomalous behaviours or malicious activities within the network. This allows the users to protect their network and devices against potential cyber-attacks and raise awareness of existing vulnerabilities and emerging security threats. Such security analytics services can be performed in the cloud or at network edges and managed by service or network providers. In order to comply with the regional or national data protection and privacy law the service customers (or data owners) need to consent to the provisioning of their data (i.e. data ingestion) to the corresponding analytics service platform as well as to the processing and analysis of the data. In some cases the data may need to be aggregated with the data of other customers in order to provide better insights and a more holistic view of particular cyber threat campaigns, e.g. new malware targeting a specific model of smart thermostats.
[0003] Data owners may choose to anonymise parts of their data in order to address potential privacy concerns that may arise from sharing the data with third parties, such as their service providers or other customers. Data sharing policies can be used to express a data owner’s wish on which of the information or data attributes to share in anonymised form only. Table 1 shows an example where a data owner is willing to share the IP camera network traffic logs but with the restrictions that only the destination IP and destination port (i.e. outbound connections) will be provided in plaintext. Other attributes such as source IP and source MAC address should only be shared in anonymised form. In case of their PC network traffic logs, the (outbound) destination IP and URL need to be anonymised while the source IP and information about the outgoing and incoming packet bytes can be shared in plaintext.
[0004] However, the more data is anonymised the less useful this data becomes when using it to perform analysis functions.
[0005] Accordingly, a method of facilitating the process to reduce the privacy risk (i.e. re-identification risk) by applying suitable privacy models on anonymised datasets is desirable whilst preserving acceptable level of data utility when anonymising this data.
SUMMARY OF INVENTION
[0006] The invention is defined in the independent claims. Optional features are set out in the dependent claims.
[0007] According to a first aspect a computer-implemented method is provided for performing privacy controlled data analytics.
[0008] The method is performed by a computer system configured to provide incoming anonymized data to a plurality of different analysis functions for analyzing the data, each analysis function having its own set of requirements for data attributes that need to be available in the incoming data, the incoming data originating from a plurality of data sources and being anonymized by applying one or more of a plurality of predetermined anonymization protocols.
[0009] The method comprises: determining one or more attributes present in the incoming data that will be processed by the computer system; determining the analysis functions that are capable of being implemented based on the determined one or more attributes of the incoming data and the data attribute requirements for the analysis functions; determining the data attributes of the incoming data that can be anonymised whilst preserving data utility based on the requirements of the analysis functions; determining, for each of a plurality of privacy settings, a privacy score and a data utility score, each privacy setting comprising a unique combination of analysis function, anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; receiving input selecting a desired privacy setting; and processing an anonymized set of data, anonymized according to an identified anonymization protocol, according to the analysis function associated with the selected privacy setting.
[0010] The analysis performed using the processed results may be cyber security analysis for detecting and mitigating against potential cyber-attacks. [0011] Embodiments provide a method to implement a Privacy-controlled Analytics Service that allows users/customers benefit from their provider’s data analytics capability while at the same time remain in control of their privacy preferences. The corresponding service platform would typically collect the data originating from user’s premises, e.g. a user’s home network environment, and perform analytics functions on the data in compliance with the user’s privacy policy, e.g. which may specify that one or more data attributes should be anonymised. Examples of user data are network traffic and system logs of PCs, routers, smart TVs, set top boxes, loT devices, etc. The analytics functions can range from basic system and network health monitoring or parental control, to advanced cyber services such as anomaly detection or intrusion prevention. The type of analytics service will depend on each user’s choice of privacy protection level. In general the higher the privacy level, the lower the number of analytics functions, or the less accurate the analytics results. This is due to the fact that increasing the privacy level may likely have negative impact on the quality of the data or analytics utility. Each analytics function relies on a certain level of data utility in order to achieve results with acceptable accuracy level. When users starts relaxing their privacy level preference, more and more analytics functions may become available to use.
[0012] Embodiments may provide one or more of the following benefits: helping service providers to offer analytics services that can be customised to user data and privacy preferences; support users in making informed decision on giving consent to data processing; and provide consistent privacy and confidentiality level across multiple sets of data and analytics services.
[0013] The privacy risk, or desired privacy setting, can be selected by the user. For example, a privacy score may be presented in the form of a graphical interface, such as a curve, for the user, which allows them to select the level of privacy they want to apply, and/or which data attributes they want to share to give them an overall risk score for their privacy. Machine learning may be used to understand the set of (security) analysis functions that need to be applied to the customer data, and the methods described herein may then be used to build a tailored interface (e.g. a curve) that can be offered to the customer to select which risk score they wish to accept based on privacy level, wherein each customer will have a different curve for the risk scoring system based on the analysis functions to be applied.
[0014] According to a second aspect there is provided a computer system configured to carry out the method of the first aspect. [0015] According to a third aspect, a non-transitory computer readable medium having stored thereon a computer program that, when run on a system according to the second, causes the system to perform methods according to the first aspect.
BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The disclosure will be further described, by way of example only, with reference to the accompanying drawings, in which:
Figure 1 illustrates an example privacy policy for security logs;
Figure 2 illustrates anonymisation of patient data using masking and generalisation techniques;
Figure 3 illustrates an overview of existing privacy models;
Figure 4 illustrates the relationship between privacy level and data utility;
Figure 5 illustrates a platform for privacy-controlled analytics services;
Figure 6 illustrates a method for implementing a learning phase;
Figure 7 illustrates a method for construction of a new structured version of input data which uses common syntax;
Figure 8 illustrates an example analytics function selection process based on the data available from example data sources;
Figure 9 illustrates a method for the selection of anonymisable attributes of user data;
Figure 10 illustrates the process of calculating privacy scores for each possible privacy setting in the case of sample datasets originating from different sources/devices that can later be used for various analytics functions;
Figure 11 illustrates the process calculating the data utility score for each possible privacy setting in conjunction with each analytics function;
Figure 12 illustrates an example Customised Privacy Knowledge Base table formed by combining the results of Figure 10 and Figure 11;
Figure 13 shows a diagram that visualises the inverse relationship between privacy and utility based on the customised PKB entries for a particular user providing a set of data sources;
Figure 14 illustrates a selection of analytics functions based on privacy level and data utility thresholds;
Figure 15 illustrates a populated Privacy Knowledge Base table; Figure 16 illustrates a populated Privacy Knowledge Base table having different privacy algorithms applied to different attributes of the data;
Figure 17 illustrates an example method for populating the Privacy Knowledge Base;
Figure 18 illustrates an example of available privacy settings for an analytics function;
Figure 19 illustrates an example method for calculating a privacy score for a given analytics function;
Figure 20 illustrates a Privacy Knowledge Base table populated with privacy scores;
Figure 21 illustrates an example method for calculating data utility scores for the Privacy Knowledge Base;
Figure 22 illustrates an example of a Privacy Knowledge Base before and after consolidation;
Figure 23 illustrates an exemplary Restricted Boltzmann Machine (RBM), according to an embodiment;
Figure 24 illustrates an exemplary training sample for an IDS security log, according to an embodiment;
Figure 25 illustrates an exemplary RBM with visible units observed for three types of security logs, according to an embodiment;
Figure 26 illustrates an exemplary reconstruction of input parameters to provide data policy recommendations, according to an embodiment; and
Figure 27 illustrates a flow diagram of exemplary steps for training a RBM and provide policy directives recommendations, according to an embodiment.
DETAILED DESCRIPTION OF THE INVENTION
[0017] Embodiments and related technology helpful for understanding and implementing the embodiments will now be described with reference to the Figures. The same or similar reference numerals are used to refer to the same or similar components across different Figures.
[0018] Generally embodiments may provide a method to implement a Privacy- controlled Analytics Service that allows internet users to benefit from their provider’s data analytics capability while at the same time remaining in control of their privacy preferences. The service is customised to each user in terms of available data sources and privacy preferences by implementing the following steps within a learning phase: learn about the type, format and structure of the data; determine available analytics functions; select data attributes for anonymisation; and construct/update a customised Privacy Knowledge Base. A mechanism is also provided to allow a user to select how much data they can share in relation to the privacy protection that allows the customer to indicate what data they would like to share. Currently users/customers want to share their security events and incidents to security analysts and/or security analysis functions but they do not know the implications of sharing specific sets of data and the risk score of revealing their identity. Embodiments may solve this issue by providing a privacy-controlled analytics service that uses a graphical interface in the form of a privacy curve approach that shows the user the risk score of sharing specific data to their privacy, before sharing the data with the third party security analyst or security functions.
[0001] One thing that each data owner needs to consider when anonymising their data is to ensure that the resulting sanitised or anonymised datasets can still be used for further processing and analytics, particularly given that this is the main purpose of sharing the data in the first place. This means that the data utility, or analytics utility, needs to be maintained at an acceptable level while at the same time providing the highest possible privacy protection. In general one of the following anonymisation or transformation techniques can be used to hide sensitive information:
[0002] Masking: replaces sensitive information with random characters or data while retaining the original data format. For example, the IP address ‘ 132.123.112.58’ could be transformed to ‘ 132.123.YYY.ZZZ’ in order to prevent unique identification of the host machine.
[0003] Suppression: removes selected information to protect the privacy of the entities (e.g. individuals, organisations, etc.). Suppression is normally applied to directly identifying information. For example, a user’s full name or username attribute is removed completely from the data records.
[0004] Generalisation: is a technique to remove specificity from the data. For example, the port number ‘80’ is generalised to ‘[50,100[‘, the attack type ‘Ping of Death’ is generalised to ‘DoS (Denial of Service)’.
[0005] Tokenisation: is a technique to substitute a sensitive data element with a nonsensitive equivalent, referred to as a token that has no extrinsic or exploitable meaning or value. The underlying tokenisation system allows mapping the tokens back to the sensitive (original) data and should therefore be adequately protected. For example, the username ‘j ames. smith 11’ could be tokenised to ‘USER-002’. [0006] When using one of the anonymisation techniques listed above the data owner or analyst needs to make sure that the related analysis function (also known as an analytics function) is capable of dealing with the transformed format. For example, the function is able to deal with alphabets as part of an IP address rather than digits only. If that is not the case, replacing the sensitive part of the IP address with random digits instead would be a better choice, e.g. a method called Format-Preserving Encryption could be used to achieve that.
[0007] The main goal of such anonymisation techniques is to hide or blur the original value of identifying or sensitive data attributes. However applying such techniques alone may not be enough to protect the privacy of involved entities. Depending on the data and any external or side knowledge about the entity a number of targeted attacks could succeed in reidentifying the entities or deriving sensitive information from anonymised or transformed data. Examples of attacks on anonymisation-based systems include:
- Homogeneity attack
- Background knowledge attack Minimality attack
- Unsorted matching attack Complementary release attack Temporal attack
[0008] Figure 2 shows an example of anonymisation of healthcare patient data. The left table 201 shows the data in its original format while the right table 203 shows its anonymised version after applying masking and generalisation techniques on the ZIP code and age information. A homogeneity and background knowledge attack can be done as follows:
[0009] Alice knows that Bob is a 27-year old man living in area with ZIP code 47678. Alice also knows that Bob’s records are in the table. From the anonymised data table 203 Alice can conclude that Bob corresponds to one of the first three records, and thus must have heart disease. The attack shows that a disclosure of sensitive information about Bob (i.e. he has heart disease) is possible even if the data is anonymised.
[0010] Therefore the use of anonymisation techniques should normally be coupled with suitable privacy models and algorithms in order to prevent the disclosure of one’s identity and sensitive information. A number of privacy models have been developed to address this issue. A privacy model (or its associated algorithm) normally provides protection against a specific type of disclosure: [0011] Identity disclosure: the identity of the individuals or entities would directly or indirectly be revealed from the data.
[0012] Attribute disclosure: sensitive information about the individuals or entities would be revealed from the data.
[0013] Membership disclosure: the inclusion (or exclusion) of the individual’s or entity’s records in the data would be revealed.
[0014] Figure 3 provides an overview of existing privacy models such as k- Anonymity, 1-Diversity or Differential Privacy, along with the type of disclosure protection each model provides. In order to provide effective privacy protection it is therefore necessary to apply a privacy model on the correct type of information (i.e. data attribute or field). In general each data field or attribute of a dataset (e.g. security log) can be categorised as follows:
[0015] Insensitive: no special protection or anonymisation is needed.
[0016] Identifying: its disclosure directly reveals the individual’s or entity’s identity, e.g. full name, username, company name, etc.
[0017] Quasi-identifying: its disclosure may indirectly reveal the individual’s or entity’s identity especially if it is combined with other attributes or external background knowledge. Examples of quasi-identifying attributes include IP address, hostname, laptop ID/barcode, etc.
[0018] Sensitive: its disclosure reveals sensitive information about the individual or entity, e.g. operating system, software patch version, etc.
[0019] As mentioned above, data owners need to maintain acceptable level of data utility when anonymising their data. This is due to the existing inverse correlation between privacy and data utility (usefulness of data) as shown in Figure 4. In particular, if any privacy model needs to be applied on the data to protect it against targeted privacy attacks, too much protection may lead to poor data utility which eventually makes the data less useful for analytics. The ability to adjust the privacy/utility trade-off would benefit the data owners, service providers, analysts and other stakeholders substantially.
[0020] Figure 5 is an example embodiment of a computer implemented Privacy- controlled Analytics Service that allows users/customers benefit from their provider’s data analytics capability while at the same time remain in control of their privacy preferences. The corresponding service platform would typically collect the data originating from user’s premises, e.g. the user’s home network environment, and perform analytics functions on the data in compliance with the user’s privacy policy. Such a privacy policy may require, for example, that certain data attributes (i.e. data fields) should be anonymised. Examples of user data are network traffic and system logs of PCs, routers, smart TVs, set top boxes, loT devices, etc. The analytics functions can range from basic system and network health monitoring or parental control, to advanced cyber services such as anomaly detection or intrusion prevention. The type of analytics service will eventually depend on each user’s choice of privacy protection level. In general the higher the privacy level, the lower the number of analytics functions (also known as analysis functions) can be provided, or the less accurate the analytics results. This is due to the fact that increasing the privacy level may likely have negative impact on the quality of the data or analytics utility. Each analytics function relies on a certain level of data utility in order to achieve results with acceptable accuracy level. When users starts relaxing their privacy level preference, more and more analytics functions may become available to use.
[0021] As shown in Figure 5, a set of data sources 503, 505, 507, in the form of devices such as PCs, tablets, smart devices, mobile phones, routers, etc. are operating in a user’s network 501 (such as their local home network). These devices provide incoming data 509 that is input to an analytics platform 511 wherein a plurality of analytics functions AF1, AF2, AF3, AF4. . . AFx are available to process the incoming data set. A respective analysis result 513, 515 may be produced through an analysis task AF1, AF3. As such, a set of results may be produced through different analysis tasks by consuming the incoming data 509. For each analysis task, one or more analytics functions AF1, AF2, AF3. . . AFx may be used in series for producing a specific analysis result. An analytics function may either be a simple aggregation function such as a grouping or average function, or more advanced such as clustering or anomaly detection.
[0022] The data sources 503, 505, 507 may consist of different data types. In some embodiments, the data types for cyber security analysis are referred to as security logs. The data types may also be malware or anti-virus alert data, geo-location of each security event or affected assets, etc. Each data type may include a plurality of data attributes to be processed at each analysis task.
[0023]
[0024] As shown in Figure 5 the different data sources (i.e. devices) forward their data/logs via a local data concentrator 517 to the analytics platform 511. The analytics platform may be implemented on one or more computers, such as one or more servers, and may be deployed in the cloud. The data concentrator 517 function may be performed by a suitably configured router device or similar. In particular, a smart wireless router could be used, such as a broadband hub (e.g. a BT broadband hub). Software installed within the router would be able to perform the task since the router normally has visibility of all the traffic going in to/out of the user’s home network.
[0025] A data privacy policy 521 is assigned to the incoming data set 509 uploaded to the analytics platform 511 in order to control how each data attribute (i.e. a data field) should be presented (i.e. in plain text or anonymised form) before they are shared and used by the analysts. Each analytics function would have its own set of requirements with regard to the input data attributes and formats in order to allow the function to work correctly and produce the expected results. Hence it may be important that the data policy 521 and its specified obligations are “aligned” with the analytics functions requirements, as otherwise the data could not be used by the analytics function. Creating such data policies 521 is normally a manual process, which often present difficulties to data policy creators as a variety of analytics functions and their corresponding results would need to be taken into account during the process in order to find the right balance between privacy and data utility.
[0026] The various datasets from the data sources may later be aggregated and correlated by the relevant analytics functions in order to produce specific analysis result. Such data aggregation would likely increase the risk of re-identification or disclosure of sensitive information as more information is exposed and could be linked together to derive or infer new knowledge (that could be of sensitive nature), even if the corresponding attributes have already been anonymised. It is therefore important to apply suitable privacy models and algorithms on the anonymised data in order to minimise the risk while maintaining acceptable level of data utility. This can be achieved with the help of a Privacy Knowledge Base 519. The method for creating such a Privacy Knowledge Base is described below.
[0027] Since the number and types of data sources (i.e. devices) are different for each individual user (or household/business), and so are their privacy preferences, the analytics platform needs to go through a learning phase first before it can process live user data. The steps for implementing such learning phase are shown in Figure 6.
[0028] At step 601 learning is performed about the type, format and structure of the data that will be ingested by the analytics platform. The platform needs to learn what information will be available across all connected data sources (of a particular user or particular user network), e.g. IP camera traffic logs, PC network traffic, smart TV logs, etc. [0029] At step 602 the analytics functions (i.e. service capabilities) are determined that can be offered to the user based on available data sources.
[0030] At step 603 the information or data attributes that can be anonymised in combination with relevant analytics functions are selected.
[0031] At step 604 a customised privacy knowledge base is constructed or updated that will help facilitate the enforcement of the user’s preferred privacy policies while processing the data.
[0032] The learning phase needs to be repeated if a new data source has been added (or an existing one removed).
[0033] Each step of the learning phase is described in more detail below.
[0034] Regarding step 601, data sources can be of different types, e.g. PCs, loT devices, routers, smart TVs, etc. and would thus generate data in different formats and structures. In some cases the data may also be unstructured (e.g. emails) or semi-structured (e.g. system logs). In order to allow the analytics platform to identify any sensitive attributes or information, the data needs to be structured and its semantics need to be understood, e.g. which data attribute or field represents the source IP. This can be a time-consuming and cumbersome task if no pre-knowledge about the device exists.
[0035] Embodiments assume that such pre-knowledge does exist in the form of a Device Database 523. The database contains information about devices and may, for example, contain information about most devices available in the market such as IP camera, smart TVs, smart meters, etc. that a user may choose as their data sources. The database 523 assists the analytics platform to extract information from the data sent by a device of known type and model. It can be used to map the data attributes in a consistent way.
[0036] Figure 7 shows an example of how a consistent mapping of the data attributes can be achieved for multiple devices.
[0037] The user registers the device and provides information 701 about its type and model, e.g. by selecting them using a user interface provided by the analytics platform. In some cases this information can be automatically detected by the analytic platform based on the device’s sample data 703.
[0038] The analytics platform 511, and more specifically a data parsing engine 705 operated by or in conjunction with the analytics platform, queries its device database 523 to retrieve the data format details 707 for the chosen device.
[0039] The device sends sample data 703 to the analytics platform. This process may optionally be mediated by the local data concentrator 517. [0040] Using the information retrieved from device database 523 the analytics platform 511 parses and extracts the attributes and properties from the data and creates a new structured version of the data 709. This may be performed irrespective of whether the received sample data was structured or not. A software module (e.g. a plugin) for extracting information from the particular device type may have already been integrated into the platform’s parsing engine 705.
[0041] The parsing data logic may be implemented elsewhere other than within the analytics platform. For example, as an alternative, the parsing engine logic may be implemented in the data concentrator that is deployed at the user’s premises. The concentrator would then communicate with the analytics platform 511 to retrieve the data format details from its device database 523. The resulting structured data 709 will use the same syntax for data attributes across different types of device. For example, a destination IP attribute will always be called “dest ip” irrespective of type of the device.
[0042] The analytics platform 511 stores the attributes mapping information for that particular user’s device in its system database 711. This information can later be used to directly transform any data coming from that particular user device (e.g. uniquely identified by its serial number or MAC address) into its structured version which uses a common syntax.
[0043] The new structured version of the data is now ready for further processing within the platform, e.g. to be aggregated with the data of other devices and used together as input data for the various analytics functions.
[0044] Regarding step 602 it is assumed that a number of Analytics Functions (AF) (also known as analysis functions) are already implemented by, and/or integrated in, the analytics platform. Examples of such analytics functions have already been given but further include network health monitoring, traffic anomaly detection, detection of suspicious inbound/outbound traffic, etc. The analytics functions, as with any embodiment herein, may be security functions implemented for security analysis purposes. Each analytics function has input data requirements that need to be satisfied in order to function correctly and produce the expected results. An analytics function may or may not be device-agnostic, e.g. it may be specially designed to analyse aggregated data from WiFi-routers and IP cameras.
[0045] Once all the user devices have been registered with the analytics platform and the associated sample datasets provided, the analytics platform will have an overview over what information it can expect to receive and aggregate from all the devices. The availability or presence of specific types of devices and the associated data or attributes, e.g. source IP, source port, etc. will determine the types of analytics functions or services that can be offered to the user.
[0046] Figure 8 illustrates the analytics functions selection process based on the data available from three example data sources. The extracted information from Data source 1 and 2 are aggregated to match the input data requirements of the Analytics Function 1. Both Data source 2 and 3 can also provide input data for Analytics Function 3. However Analytics Function 2 cannot be offered because none of the available data sources can provide “patch id” and “fw version” information. After completing this step the analytics platform has determined a subset of its available analytics functions that can be performed on the currently available user data.
[0047] Regarding step 603, in order to facilitate the enforcement of the user’s privacy policies 521 when performing the analytics on user data, all the data attributes that are deemed sensitive are identified first. The intention is to remove or anonymise such sensitive attributes using suitable privacy-preserving algorithms. However, as already mentioned in relation to step 602, each analytics function has its own set of requirements in terms of the data attributes that need to be present/available in the data in order to function correctly or at the right level of accuracy. Some of the data (i.e. some of the data attributes or fields) may be required as plaintext while some others could be anonymised. It is therefore important to perform the selection of anonymised attributes (cf. Figure 1) in alignment with the requirements and capabilities of each analytics function.
[0048] Below there is a method titled “Privacy Policy Recommendation” (PPR), which describes a method to provide recommendation of effective privacy policies for protecting sensitive information against unconsented disclosure. That PPR method can be applied here to select the user data attributes that can be anonymised for a given analytics function. Since most of the analytics functions may have already been integrated in the analytics platform for quite some time, most of the process related to the PPR method can already be completed in the past. The analytics platform provider would have executed the process to determine anonymisable attributes for each analytics function using suitable sample (historical) data during the integration (i.e. induction) phase of the analytics function. Hence it can be assumed that each analytics function already has a pre-defined list of input data attributes that can be anonymised.
[0049] Each data attribute can also be tagged as Identifying, Quasi-identifying, Sensitive or Insensitive attribute based on pre-knowledge about the data source/device, i.e. its data sensitivity classification. Such sensitivity classification is usually generic for common attributes, e.g. source and destination IP address are usually tagged as quasi-identifying attributes. The users may be given the option to manually change the sensitivity classification of each attribute, if necessary.
[0050] As illustrated in Figure 9, in this particular learning phase the analytics platform will compare the pre-defined lists 901 of anonymisable attributes with the available user data (from different sources) 903, as illustrated in Figure 9.
[0051] At the end of the process there may be different sets 905 of anonymisable attributes (made up of data from different sources) that will be part of the input data for each analytics function. This is possible because a data attribute that can be anonymised for an analytics function may have to be presented in plaintext to another analytics function. In the example given in Figure 9 this applies to “dest url” attribute. This does not necessarily mean that the privacy level will be lower as result of providing this attribute in plaintext because anonymising a data attribute is only one of the factors that can influence the privacy risk. Other factors include the combination or aggregation of specific attributes, existing background knowledge, data homogeneity, etc. Nevertheless the balance between privacy level and data/analytics utility should be taken into account when anonymising relevant data attributes. The fourth step of the learning phase aims to address this issue.
[0052] Regarding step 604, although the analytics platform already knows which set of attributes of the user data can be anonymised when executing the corresponding analytics functions, it still does not have enough information about the anonymisation and privacy algorithms (e.g. k-Anonymity, 1-Diversity, etc.) that should be applied on the data in order to honour the user’s privacy preferences. On the other hand the user may also not have the required technical knowledge and expertise to decide on which anonymisation techniques and algorithms to use. The tuning of parameters used in each privacy/anonymisation algorithm has direct impact on the privacy protection level and data/analytics utility. Setting the privacy level too high may make the anonymised data less useful for the consuming analytics functions as its results may be much less accurate. Embodiments may therefore optionally make use of a Privacy Knowledge Base, which is described below, in order to deal with this issue.
[0053] The main goal of a Privacy Knowledge Base (PKB) is to simplify the process of choosing suitable privacy algorithms that can provide enough privacy protection while at the same time do not reduce the data utility to the extent that the data becomes less useful or irrelevant. Such PKB can be constructed after it has undergone several iterations with representative sample datasets for each analytics function. Note that each analytics function may require different sets of data (i.e. different attributes) as its input. The PKB (i.e. its contents/entries) is highly dependent on the statistical properties of the datasets and the analytics functions it is representing. This means that PKB entries for particular user data cannot be pre-computed using generic datasets or data of other users or sources, i.e. the PKB entries should be customised to each user data.
[0054] In order to populate the PKB a process called “Privacy Models Assessment” (PMA) procedure may be carried out. Optionally this procedure comprises two steps:
[0055] Figure 10 illustrates the process of the first step in the case of sample datasets originating from three sources/devices that can later be used for two analytics functions.
[0056] In the first step the privacy score (i.e. privacy level) 1001 is calculated for each possible privacy setting. Representative sample user datasets 1003 are provided to complete this step. The sample datasets 1003, that have been obtained and prepared from different user data sources, are first grouped according to the input data requirements for each analytics function to produce processed sample input data 1005. After applying each privacy setting to the corresponding anonymisable attributes (which are either quasi-identifying or sensitive) the re-identification risk and thus the privacy score can be computed.
[0057] Figure 11 illustrates the process of the second step, in which the data utility score 1101 is calculated for each possible privacy setting in conjunction with each analytics function 1103. Each privacy setting is applied to the sample datasets that are relevant for each analytics function and the anonymised datasets are inputted to the analytics function and undergo multiple iterations until an average relative error, and thus the data utility score, can be determined as shown in Figure 11.
[0058] The utility score results of the second step are combined with the privacy scores obtained from the first step. The PKB entries for each combination of analytics function and privacy setting are therefore completed, resulting in a table of the sort shown in Figure 12.
[0059] Figure 13 shows a diagram that visualises the inverse relationship between privacy and utility based on the customised PKB entries for a particular user providing a set of data sources.
[0060] After completing the learning phase the analytics platform is ready to process live user data according to the obtained knowledge, i.e. available types of data, available analytics functions, anonymisable data attributes, and customised PKB entries (for each user). This phase may be referred to as the post learning phase, or operational phase. The analytics platform now only needs to capture the user’s privacy preferences in a way that it can then enforce the required privacy measures (i.e. data anonymisation) on the input data for a given analytics function. The user may optionally need to have some guidance on which privacy level they need to choose in order to get the analytics service or functions they want.
[0061] One way to facilitate this selection process is to introduce a Data Utility Score Threshold 1301 for each analytics function AF1, AF2, etc., listed in the PKB. For example, the threshold may represent the minimum data utility score that is needed for an analytics function in order to start producing analytics result at acceptable quality. A data utility score higher than the threshold may improve the accuracy or details of the result.
[0062] For example, assuming a security analytics function that can detect inbound malicious traffic; a data utility score just above the threshold value may allow the function to detect the presence of such inbound malicious traffic along with the corresponding source IP and domain of the traffic. However if the data utility score is 30% higher than the threshold the function may be able to identify the target device or destination of the traffic too.
[0063] Figure 14 shows an example “Privacy vs. Utility” diagram for five analytics functions where each analytics function has its own data utility threshold set. The user may be able to provide input to set the privacy level. As the user adjusts their preferred privacy level the number and types of available analytics functions will change accordingly. For example, with privacy level/score set to 0.5 the analytics functions AF1, AF3, AF4 and AF5 are available. However if the privacy level were raised to 0.6 then the analytics functions AF4 and AF5 will be removed from the list.
[0064] An example method for creating a Privacy Knowledge Base will now be described.
[0065] In general the method may be performed by the analytics platform 511 or other suitable computer. For example, the method may be performed by a computer system configured to provide anonymized data to a plurality of different analysis functions for analyzing the data, the data being anonymized by applying one or more of a plurality of predetermined anonymization protocols, each protocol having an anonymization protocol parameter that can be specified in order to determine the degree of anonymization applied to the data.
[0066] In general the method comprises determining, for each analysis function: privacy settings, each comprising a unique combination of anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; a privacy score for each of the determined unique combinations of anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; and a data utility score for each of the determined unique combinations of anonymization protocol applied to the data, anonymization protocol parameter value and data attribute.
[0067] The method further comprises processing the results, for each analysis function, by: ranking the unique combinations of anonymization protocol, anonymization protocol parameter and data attribute based on the privacy score and/or data utility score; and storing the ranked results for subsequent selection and use by the computer system to process an anonymized set of data, anonymized according to an identified anonymization protocol, according to the analysis function.
[0068] Embodiments may therefore automate the population of a Privacy Knowledge Base to allow an analytics system to provide optimal privacy settings based on user requirements.
[0069] Data utility is a term describing the value of a given data release or set as an analytical resource. This comprises the data’s analytical completeness and its analytical validity. Disclosure control methods usually have an adverse effect on data utility. Ideally, the goal of any disclosure control regime should be to maximise data utility whilst minimizing disclosure risk. In practice disclosure control decisions are a trade-off between utility and disclosure risk.
[0070] It is very difficult for data owners to strike the right balance between privacy and data utility (i.e. fine-tuning the algorithm parameters) without any further guidance and deep knowledge of the privacy/anonymisation algorithms. By determining privacy and data utility scores for each function and for each combination of anonymization protocol, anonymization protocol parameter value and data attribute it is possible to build a risk score of privacy vs. data utility for each security/analytics function a user may want to apply to analyse specified data. This provides a score of risk of exposing privacy of the user based on the security/analytics function requirements and properties. The impact on data utility will depend on many factors such as selected anonymization protocols (also known as privacy algorithms), the algorithm/protocol parameters, type and characteristics/statistical properties of the typical dataset e.g. regarding its sparsity, uniqueness, all in combination with each analytics function that will consume the dataset. Determining the privacy and quality of the data after applying anonymization in relation with the combinations of selected anonymization algorithms, algorithm parameters and analytics functions allows these impacts to be taken into account. For the same set of privacy algorithms and parameters, depending on the associated analytics function, the method will produce different privacy risk and data utility scores. This is important to allow users get the most (i.e. the highest data utility) out of the data while still preserving a certain level of privacy.
[0071] Various optional features of the method of creating a Privacy Knowledge Base may include:
[0072] 1. Determining a privacy score for each of the determined unique combinations of anonymization protocol applied to the data, anonymization protocol parameter value and data attribute comprises: computing the re-identification risk, R, based on the statistic distribution of the relevant data attribute values within an example dataset and determining the privacy score based on the re-identification risk. The re-identification risk represents the probability of any entity (e.g. individuals, organisations, etc.) in the data being re-identified or their sensitive information being disclosed.
[0073] 2. The re-identification risk may be computed as the minimum value of l/ £ across all equivalence classes:
Figure imgf000020_0001
[0074] wherein an equivalence class is defined to be a set of data records that have the same values for anonymised quasi-identifiers and wherein is the number of records in an equivalence class.
[0075] 3. Determining a privacy score for each analysis function may comprise, for each privacy setting: (i) selecting a sample dataset, Di, from a repository {D}, where i=l to n with n being the total number of sample datasets in the repository; (ii) anonymising the data of each data record using the selected anonymization protocol; (iii) determining, from the anonymised data records, equivalence classes and determining, from the anonymised records, a dataset value, Ri, indicative of privacy score; (iv) repeating steps i to iii for the next sample dataset D_(i=i+1) until i=n; (v) determining an overall value, R, indicative of privacy score over all sample datasets based on the individual dataset values, Ri; (vi) determining a privacy score, P=l-R, based on the overall value R; (vii) storing the privacy score for the selected privacy setting.
[0076] 4. Determining a data utility score for each analysis function may comprise, for each privacy setting: comparing an analysis result with a reference result that would have been produced by the same analysis function if no privacy setting was applied. [0077] 5. Determining a data utility score for each analysis function may comprise: (i) selecting a combination of an analysis function and privacy setting; (ii) selecting a sample dataset Di from a repository {D}, where i=l to n with n being the total number of sample datasets in the repository; (iii) inputting the selected dataset with original, non-anonymised, values to the analysis function to produce a first result v(off,i); (iv) anonymising the selected dataset by applying the privacy setting; (v) inputting the anonymised dataset to the analytics function to produce a second result v(on,i); (vi) determining a dataset value indicative of the data utility based on the first and second result; (vii) repeating steps ii to vi for the next sample dataset D(i=i+ 1 ) until i=n; (viii) determining an overall value, q, indicative of the data utility score over all sample datasets based on the individual dataset values; (ix) determining a data utility score, U=l-q, based on the overall value, q; (x) storing the determined data utility score for the given combination of analysis function and privacy settings; and (xi) repeating steps i to x with a new combination of analysis function and privacy setting until all the data utility scores are populated.
[0078] 6. Processing the results may further comprise: consolidating the stored results based on an inverse relationship between privacy score and utility score by removing results that do not adhere to the inverse relationship. In particular, consolidating the stored results may comprise: sorting the results obtained for each analysis function according to data utility scores; for each subsequent result with a lower utility score, comparing the corresponding privacy score with the preceding result’s privacy score; where the privacy score for the subsequent result is less than or equal to the preceding result’s privacy score, and where the utility score for the subsequent result is less than the preceding result’s privacy score, removing that subsequent record from the results.
[0079] 7. Grouping the results according to each analysis function.
[0080] 8. The anonymised data provided to the analysis functions may originate from a plurality of different data sources.
[0081] 9. The data provided to the analysis functions may be anonymised according to one or more user defined privacy policies, the privacy policies indicating whether data attributes should be provided in plain text or anonymised form.
[0082] 10. The predetermined anonymization protocols may include one or more of k- Anonymity, 1-Diversity, t-Closeness, (s,6)-Differential Privacy, P-Likeness and 6- Presence. [0083] 11. Receiving an input selecting a ranked result and processing an incoming anonymized set of data according to the associated analysis function, anonymization protocol and anonymization protocol parameter.
[0084] According to an embodiment the Privacy Knowledge Base 519, implemented as a database or table, contains the optimal settings and parameters for privacy-preserving anonymisation algorithms to achieve certain levels of data utility. In principle data utility strongly depends on which analytics functions are used to consume the (anonymised) data for producing the results. The privacy algorithm settings thus need to be optimised for each analytics function to achieve the best possible outcome. It is assumed that the anonymisation process will only apply to those data fields or attributes that were categorised as either quasiidentifying or sensitive. Original values of identifying attributes will be completely removed from the data or redacted in order to eliminate any risk of re-identification, while insensitive attributes can remain unchanged (i.e. plain text). In cases where tokenisation or masking (with random alphabets or numbers) techniques are used to anonymise a data attribute, the platform will categorise it as quasi-identifying attribute.
[0085] Figure 15 shows an example of a populated Privacy Knowledge Base. As shown, a privacy score P and data utility score U are assigned to each combination of analytics function (AF) and privacy settings for quasi-identifying and sensitive data attributes. In this example, both the privacy score and data utility score are provided on a scale from 0.0 to 1.0, with a higher number indicating better (or higher) privacy/data utility. The procedure for creating or populating the Privacy Knowledge Base is referred as “Privacy Models Assessment” (PMA). The PMA procedure assumes that each privacy model or algorithm can be applied either only to quasi-identifiers or sensitive attributes or to both attribute types, e.g. k-Anonymity for quasi-identifiers and/or sensitive attribute, 1-Diversity for sensitive attributes only. This is due the fact that some algorithms were specially designed to address the weakness of other algorithms in protecting certain type of attributes. For example, 1-Diversity was created to further k-Anonymity in protecting sensitive attributes against homogeneity and background-knowledge attacks.
[0086] Each algorithm has specific parameters (e.g. k in k-Anonymity, I in 1- Diversity) to adjust its privacy protection level. In case of k-Anonymity algorithm, a larger k value would normally result in better privacy protection (i.e. higher privacy score) but at the cost of data utility (i.e. lower utility score). For example, in relation to k-Anonymity, the basis for the algorithm is that a database table is anonymous if every search for identifying information results in a group of at least k candidate records. The k value in k-anonymity is thus the privacy parameter which determines the minimum group size. Groups of candidate records form anonymity sets of identifiers in the database table.
[0087] These factors will be taken into account by the PMA procedure when determining the associated privacy and data utility scores. Furthermore each attribute within a dataset may possess different statistical patterns and properties, e.g. much less variations (i.e. unique values) in destination port numbers are expected in comparison to source port numbers found in a Firewall log. Therefore each quasi-identifying or sensitive attribute may also be assigned its own privacy algorithm parameter in order to achieve the expected privacy score, as shown in Figure 16.
[0088] Figure 17 shows the two main steps of the PMA procedure. The PMA procedure may be carried out by the analytics platform 511, or it could be carried out by another computing system.
[0089] The first step 1701 deals with the calculation of the privacy score P that can be achieved by the selected privacy settings when being applied together on the quasiidentifying and sensitive attributes. This can be performed, for example, through a risk assessment process where an estimate of so-called re-identification risk R is computed based on the statistic distribution of the relevant attribute values within a typical dataset. The risk represents the probability of any entity (e.g. individuals, organisations, etc.) in the data being re-identified or their sensitive information being disclosed. Enough samples of representative datasets should be provided in order to provide good risk estimates. A higher risk value R means higher disclosure risk and thus less privacy protection. R may range between a minimum and a maximum, for example between 0.0 (full privacy) and 1.0 (no privacy). Once the risk value is estimated, the privacy score P can be directly determined as:
P = 1 — R
[0090] The second step 1703 deals with the calculation of the data utility score U that can be observed by the analytics function when consuming the dataset that has previously been anonymised using to the selected privacy settings. Enough samples of datasets should be provided in order to achieve a representative data utility score that takes the statistical pattern and properties of typical datasets into account.
[0091] A Privacy Setting is defined here as a possible combination of one or more privacy models or algorithms (such as k-Anonymity and/or 1-Diversity) along with their specific parameters that can be used to protect a fixed list of quasi-identifying and sensitive attributes, which in turn is specific to each analytics function. As mentioned earlier a single privacy algorithm may also be used for both types of attributes.
[0092] Figure 18 shows an example of available privacy settings for an analytics function. In this example the parameter value (e.g. k value for k-Anonymity) can be changed, such as incremented or decremented, for each attribute in order to create a new privacy setting. It is anticipated that the list of unique privacy settings will get longer as the process is repeated multiple times. The number of possible privacy settings is very large, but at some point adjusting or tweaking the privacy settings further (e.g. incrementing the k value in k- Anonymity) will not change or improve the outcome (e.g. re-identification risk) considerably. This will be taken into account during the risk assessment process.
[0093] Several methods are available for assessing the risk of re-identification and any such method may be used in any embodiment. See, for example, Dankar FK, El Emam K, Neisa A, Roffey T, “Estimating the re-identification risk of clinical data sets”, BMC Med Inform Decis Mak 2012; 12:66.
[0094] As an example, in general for an attacker who wants to identify a single entity given some background knowledge about a quasi-identifying attribute, the overall probability of re-identification can be computed as the minimum value of l/ j across all equivalence classes:
Figure imgf000024_0001
[0095] An equivalence class is defined to be a set of records that have the same values for the (anonymised) quasi-identifiers, whereas ft is the number of records in an equivalence class.
[0096] The computed re-identification risk will be specific to the type of analytics functions since they require a certain set of attributes (e.g. source IP, source hostname, etc.) to be available in the dataset. Furthermore it is also possible that the privacy/identity of more than one entity should be protected from a given dataset. For example, a complete Firewall log will contain data that may identify the source as well as the destination of the traffic. Each may have different privacy requirements that need to be satisfied, e.g. the destination entity may need a higher privacy protection level than the source entity. The re-identification risk for each type of entity should thus be computed separately. This means that there will be separate privacy scores for each type of entity, e.g. Psrc, Pdst, etc.
[0097] Figure 19 shows an example of a method for calculating the re-identification risks (and thus the privacy scores) for each analytics function. [0098] At step 1901 a new privacy setting is created according to the procedure described earlier. It may start from the lowest privacy setting, e.g. in case of k- Anonymity the k value is set to 1.
[0099] At step 1902 a sample dataset DL is selected from repository {£)}, where i = 1 to n with n being the total number of sample datasets in the repository. All the samples should be usable for the selected analytics function, i.e. they contain all the attributes required by the analytics function.
[0100] At step 1903 the quasi-identifying and sensitive attributes of each record are anonymised using the selected privacy setting.
[0101] At step 1904 equivalence classes are determined from the anonymised records and the re-identification risk
Figure imgf000025_0001
is computed; as mentioned earlier more than one reidentification risk values may exist, with there being a re-identification risk provided for respective different attributes, e.g. RsrCii, Rdst,i> etc.
[0102] At step 1905, step 1902, 1903 and 1904 are repeated for the next sample dataset Di=i+1 until i = n.
[0103] At step 1906 the overall re-identification risk R can then be derived as the mean average over the computed re-identification risk values (i.e. R1 ... Rn) from all sample datasets D ... Dn.
[0104] At step 1907 the corresponding privacy score P = 1 — R is then stored into the Privacy Knowledge Base for the selected privacy setting.
[0105] At step 1908 steps 1901 to 1907 are repeated again (i.e. with a new privacy setting) until no considerable change in the computed privacy scores can be observed any longer. In particular, steps 1901 to 1907 may be repeated until the change in computed privacy scores between successive iterations is below a threshold level.
[0106] The privacy score calculation is thus completed for a given analytics function. Additional privacy score calculations (using the same approach) are produced as needed for other analytics functions in case they require anonymisation for different sets of (quasiidentifying and sensitive) attributes. Otherwise they can share the same privacy scores for the corresponding privacy settings.
[0107] At this point privacy score(s) has been assigned to each privacy setting and analytics function, and populated in the Privacy Knowledge Base, as for example shown in Figure 11. The outstanding data utility scores then need to be calculated based on the quality of results produced by each analytics function. Since analytics functions may consume the (anonymised) data in different ways the observed data utility may be different too. Only one data utility score should be computed even if there are multiple privacy scores available.
[0108] The data utility can be calculated in any appropriate way. For example, it may be determined by comparing an analysis result with the (reference) result that could have been produced by the same analytics function if the anonymisation were switched off, i.e. no privacy setting was applied on any quasi-identifying and sensitive attributes. Analysis results can generally be expressed in numerical or categorical values. Examples of numerical values include number of malicious hosts, percentage of infected machines, frequency of failed logins per hour, etc. Examples of categorical values include most attacked destination port or service, host or IP address with suspicious activities, etc.
[0109] The relative error q can be used as a measure to compare the results, where:
Figure imgf000026_0001
[0110] Value von is the result obtained from anonymised data, and v0/y A 0 is the (reference) result obtained from original data (i.e. without anonymisation).
[oni] In case of results with categorical values the relative error could measure the level of “blurriness” or inaccuracy caused by the anonymisation process, as described in the following example. Assume that an analytics function should identify the IP address with suspicious activities from input dataset. In the original data (without anonymisation) the analytics function may have identified an IP address that was shown or present in 50 records. But in the anonymised dataset there were 60 records associated with the (anonymised) IP address that has been determined as showing suspicious activities (e.g. due to the application of k- Anonymity model). In this case v0/y would then be set to 50 and von set to 60 in order to compute the relative error q.
[0112] Using the (incomplete) Privacy Knowledge Base with populated privacy scores, such as the example of Figure 20, the data utility scores can be determined as shown in Figure 21 :
[0113] At step 2101 a combination of analytics function and privacy setting is selected from the Privacy Knowledge Base table.
[0114] At step 2102 sample dataset DL is selected from the repository {£)}, where i = 1 to n with n is the total number of sample datasets in the repository. The samples repository may be identical with the one used for calculating the privacy scores. Hence all the samples should be usable for the selected analytics function, i.e. they contain all the attributes required by the function.
[0115] At step 2103 the selected dataset with original values (not anonymised) is inputted to the analytics function to produce the result
Figure imgf000027_0001
[0116] At step 2104 the selected dataset is then anonymised by applying the privacy setting (i.e. choice of algorithms and parameters) on its quasi-identifying and sensitive attributes.
[0117] At step 2105 the anonymised dataset is then inputted to the analytics function to produce the result von i.
[0118] At step 2106 the relative error
Figure imgf000027_0002
is then computed as follows:
Figure imgf000027_0003
[0119] At step 2107 steps 2102 to 2106 are repeated for the next sample dataset Di=i+1 until i = n.
[0120] At step 2108 the overall relative error j] can then be derived as the mean average over all the relative error values (i.e. r/1 ... j]n) computed from sample datasets
[0121] At step 2109 the corresponding data utility score U = 1 — J] is then stored into the Privacy Knowledge Base for the given combination of analytics function and privacy settings.
[0122] At step 2110 steps 2101 to 2109 are repeated again (i.e. with new combination of analytics function and privacy setting each time) until the entire Privacy Knowledge Base is complete, i.e. all the data utility scores are populated.
[0123] The main objective of using the Privacy Knowledge Base is to strike a good balance between privacy and utility, i.e. to achieve the highest possible privacy level at the least cost of data utility. In order facilitate this the completed Privacy Knowledge Base (PKB) can be further consolidated by adhering to the principle of inverse relationship between privacy and utility.
[0124] As an example, consolidation may be provided by the following method:
[0125] Step 1 : each record represents a unique combination of analytics function, privacy setting, privacy score and utility score. The records are then grouped by their analytics function name or identifier. [0126] Step 2: each group/list is sorted by the highest data utility scores first; the record with the highest utility score Uj=0 = Umax should have the lowest privacy score Pj=0 = Pmin within the group, whereas j = 0 ... m and m is the total number of all records in the group.
[0127] Step 3 : for each of the subsequent records with decreasing or lower utility score Uj+1, the corresponding privacy score Pj+1 is compared with the preceding record’s Pj. In case Pj+1 < Pj and Uj+1 < Uj that (subsequent) (J + l)-th record is removed from the group as it contradicts against the inverse relationship principle.
[0128] The consolidation procedure is performed through all the groups and records within the Privacy Knowledge Base. Figure 22 shows an example of a Privacy Knowledge Base before and after consolidation.
[0129] The same principle also applies if there are multiple privacy scores available for each unique combination. In this case the privacy scores comparison (step 3 above) should be done separately for each type of entity, e.g. Psrcj compared with Psrc +i- However only if the inverse relationship test failed for each type of entity, e.g. Psrcj+i Psrcj and Pdstj+i Pdstj> the corresponding (subsequent) record is removed from the Privacy Knowledge Base.
[0130] Any of the embodiments described herein can be applied as a supplementary feature to known privacy models for configuring and tuning the models to ensure the results of analytics faithfully corresponds to input data while providing for privacy in the input data.
[0131] An example method for providing “Privacy Policy Recommendation” (PPR) will now be described that can be applied here to select the user data attributes that can be anonymised for a given analytics function.
[0132] In general a method provides a privacy policy recommendation for preserving acceptable level of data utility that is sufficient to enable useful analytics whilst modifying data in order to reduce privacy risk. A computer-implemented method is provided, the method comprising steps of retrieving one or more analysis results, each of the one or more analysis results being generated by analysing an input dataset comprising one or more data attributes by performing one or more analytics functions, and each of the one or more data attributes having an anonymised format or a non-anonymised format; determining, for each of the analytics functions, the data attributes of a first type, the data attributes of the first type being a set of the one or more data attributes that need to have non-anonymised formats in order for the corresponding analysis result to have an acceptable level of accuracy and/or quality; and generating the privacy policy recommendation indicating, for each of the analytics function, that the data attributes of the first type need to be in non-anonymised formats.
[0133] Embodiments may therefore automatically generate a privacy policy recommendation based on which one or more data privacy policies may be modified, thereby simplifying the process of creating such data privacy policies which would otherwise be a complex manual process that often present difficulties to data policy creators (e.g. data policy officers). Such recommendations may, in turn, enable one or more data sources to share data to a data sharing and/or analytics platform in a manner that provides consistent privacy and confidentiality levels, and an optimal balance between privacy and data utility.
[0134] Various optional features of the method of creating a method for providing “Privacy Policy Recommendation” (PPR) may include:
[0135] 1. Each of the one or more analysis results may be associated with a parameter indicating a level of accuracy and/or quality of the analysis results. The data attributes of the first type, for each of the analytics functions, may be determined by comparing the parameter associated with the corresponding analysis result with a predetermined threshold.
[0136] 2 The input dataset may comprise input data retrieved from one or more data sources, the input data retrieved from each of the one or more data sources comprising one or more data attributes. The input data from at least one of the data sources may comprise security logs, such as Intrusion Detection System (IDS), WebProxy, and/or firewall logs.
[0137] 3. Formats of at least one of the one or more data attributes of the input data from at least one of the one or more data sources may be determined based on one or more privacy policies, the formats being either anonymised or non-anonymised. At least one of the one or more privacy policies may be modified based on the privacy policy recommendation.
[0138] 4. The data attributes of the first type, for each of the analytics functions, may be determined by performing steps comprising: determining data attributes used for the corresponding analytics function based on at least one analysis result generated at least in part by performing the corresponding analytic function; determining a data attribute format of each of the data attributes used for the corresponding analytics function; assigning a weight to each combination of the data attribute and data attribute format, wherein the weight indicates how frequently the corresponding combination of the data attribute and data attribute format was used to generate analysis results with an acceptable level of accuracy and/or quality; and determining the data attributes of the first type, for each of the analytics functions based on the weights assigned to the combinations of the data attributes and data attribute formats. The data attributes of the first type, for each of the analytics functions, may be determined by using a Restricted Boltzmann Machine (RBM).
[0139] 5. Prior to performing the one or more analytics functions, data attributes that are not required for performing the corresponding analytics functions may be removed from the input dataset, wherein data attributes that are required for performing each of the analytics functions are defined by a set of known analytics functions requirements.
[0140] 6. At least one of the analytics functions (alternatively known as analysis functions) may comprise one or more of: an aggregation function, such as grouping or average function, clustering and anomaly detection; and/or wherein at least one of the analytics functions are for determining a presence and/or type of: a potential and/or current cyber- security attack such as denial of service attack and communication with malicious external hosts.
[0141] 7 The data attributes having the anonymised format may be generated by using one or more anonymisation techniques, such as masking, suppression, generalisation, and tokenisation.
[0142] 8. The method may further comprise steps of: determining, for each of the analytics functions, the data attributes of a second type, the data attributes of the second type being a set of the one or more data attributes that do not need to have non-anonymised formats in order for the corresponding analysis result to have an acceptable level of accuracy and/or quality, wherein, the privacy policy recommendation further indicates, for each of the analytics functions, that: the data attributes of the second type do not need to be in nonanonymised formats, or, alternatively, the data attributes of the second type need to be in anonymised format.
[0143] Generally, embodiments for providing a PPR aim at protecting sensitive information and privacy of any individuals and/or organisations involved in the datasets that may be shared with one or more other organisations and/or one or more other units in the same organisation, while at the same time maintaining acceptable level of data utility for advanced analytics purposes. In general, one or more of the following issues of current data sharing and analytics platform are being addressed by embodiments: a. Shared data can only be useful if its associated sharing policy matches the requirements of the analytics function consuming the data (also in aggregation). b. Analytics function (i.e. its users/developers) may put higher requirements on the set of da-ta attributes than it actually needed to produce its results. c. Overly-high requirements of data attributes or data fields may prevent or discourage data owners (or data policy officer) to share their data. d. The sharing and analytics platform becomes inflexible because of the “rigid” require-ments of the in-built analytics functions. e. If the policy is too relaxed, e.g. all data attributes are available in plain text, the privacy of each individual or organisation included in the (shared) data may be at risk. f. It is difficult for data owners to define optimal data privacy policies that strike the right balance between privacy/confidentiality and data utility.
[0144] Preferably, recommendation of effective data privacy policies for protecting sensitive information against unconsented disclosure may be provided by using a machine learning method.
[0145] A privacy policy recommendation engine (PPRE) may be implemented by the analytics platform 511, or it may be implemented by another computer system or in the cloud. One of the objectives of the PPRE is to strike the right balance between data privacy and data utility in order to allow security analysts to use the sanitised, shared datasets to produce acceptable analysis results (e.g. for cyber intelligence). This is because performing an analysis based on an anonymised input dataset does not necessarily prevent or reduce the quality of the analysis. For example, consider a firewall dataset that might be shared with both its source and destination IP address attributes presented in anonymised forms (e.g. using tokenisation method). If the objective of an analysis is to determine whether or not there has been a DDoS attack on any of the hosts, a security analyst may still be able to use the anonymised dataset to find the answer. Although the original source and destination IP address values have been re-placed with meaningless token values, each unique IP address was consistently mapped to the same, unique token value. This way the security analysts only needs to group the data points that are characterised by a high number of different token values as source IP and a single token value as destination IP for a certain period of time in order to determine the occurrence of a DDoS attack. Therefore, the PPRE aims to provide privacy policy recommendations which may, for example, be provided by producing data privacy policy templates, by using the following multi-step approach: The PPRE may analyse similarities among the used analytics functions AF1, AF2, AF3, AF4, etc. in terms of their ability to produce acceptable results out of sanitised input datasets. An analytics function may either be a simple aggregation function such as grouping or average function, or more advanced such as clustering or anomaly detection. A sequence of mixed analytics functions may be considered another new analytics function (e.g. an advanced function to determine the type of potential denial of ser-vice attack). The PPRE may observe and learn patterns from the analysis tasks carried out by different analysts or users (of the same or different organisations) when consuming the sanitised datasets in conjunction with various types of analytics functions. Optionally, human analysts may also be represented by a computer program which per-forms a sequence of mathematical and analytics functions to produce specific analysis results. The PPRE may determine the optimal set of input data attributes either in plain text or anonymised forms that are required by relevant analytics functions to produce analysis results 513, 515, with different levels of accuracy and quality. An analysis result can be minimum and generic. For example, if only the timestamp attribute is provided in plain text and the others are anonymised (including source and destination IP) then the analytics function can only determine whether or not a distributed denial of service (DDoS) attack has happened. On the other hand, if more information such as packet size is also provided in plain text the type of DDoS attack can then be determined, e.g. “ICMP DDoS”. The PPRE may provide recommendations of effective privacy policy 521. One or more recommendations of effective privacy policy may be provided for each type of data (e.g. security logs) as the importance and sensitivity of each data attribute such as source IP or source port may not always be the same for different type of security logs such as IDS or WebProxy logs. Therefore, different privacy and confidentiality settings may need to be applied to the same data attributes provided by different data sources. [0146] Optionally, the PPRE may employ a machine learning algorithm to learn the links and relationships among the presented data attributes of different security logs and the respective analysis results through the observation of analysis tasks performed by multiple analysts and analytics functions. In particular, the algorithm may learn the weights applicable to the utilisation of each data attribute (either in plain text or anonymised form) that lead to specific analysis outcomes. In such cases, a trained machine learning model would eventually be able to reflect the fact that the higher the weight assigned to a specific data attribute (e.g. source IP) presented in specific form, the more frequently that attribute has been used to produce results with certain accuracy (i.e. the attribute has higher impact and significance on those results).
[0147] The PPRE may be implemented by using a Restricted Boltzmann Machine (RBM) such as shown in Figure 23. The RBM is a stochastic neural network, i.e. a network of neurons where each neuron has some random behaviour when activated. It consists of one layer of visible units (neurons) 402, one layer of hidden units 406 and a bias unit 404. Each visible unit 402 is connected to all the hidden units 406 (this connection is undirected, so each hidden unit 406 is also connected to all the vis-ible units 402), and the bias unit 404 is connected to all the visible and hidden units 402, 406. The bias unit 404 is used to allow other units 402, 406 to learn an appropriate threshold. As shown in an exemplary illustration of the RBM in Figure 23, no visible unit 402 is connected to any other visible unit 402 and no hidden unit 406 is connected to any other hidden unit 406. After successful learning, the RBM can provide a closed-form representation of the distribution underlying the training data.
[0148] RBMs have found applications in dimensionality reduction, classification, collaborative filtering, feature learning and topic modelling. In the context of the present embodiments, the PPRE may use a RBM for collaborative filtering which is the process of filtering for information or patterns using techniques involving collaboration among multiple agents, viewpoints, data sources, etc. In such cases, the visible units 402 correspond to the utilisation of data attributes of each type of security logs presented in specific form (plain text or anonymised) that have been observed from analysis tasks performed by the analysts. The hidden units 406 represent the latent factors underlying the observed data utilisation. The PPRE may be configured to learn these latent units and correspond them with the different types and level(s) of accuracy, quality and/or accuracy of analysis results. [0149] Optionally, at least one parameter indicating level of accuracy and/or quality of an analysis result 216 may be used. Optionally, such a parameter may indicate a level of accuracy of an analysis result 216 by indicating if an analysis result 216 correctly indicates a presence of a potential and/or current cyber- security attack (e.g. denial of service attack) and/or communication with one or more malicious external hosts. For example, the parameter may be in a numerical form, and the parameter may have a higher value to indicate a higher level of accuracy, and a lower value to indicate a lower level of accuracy. Alternatively, the parameter may be in a non-numerical form (e.g. accurate, likely to be accurate, inaccurate, likely to be inaccurate, and/or not-known).
[0150] Optionally, such a parameter may indicate a level of quality of an analysis result 216 by indicating a level of details included in the analysis result 216. Optionally, the parameter may be in a numerical form, and the parameter may have a higher value to indicate a higher level of quality, and a lower value to indicate a lower level of quality. For example, an analysis with a mere indication of a presence of a potential and/or current cyber- security attack only (e.g. indicating a DDoS attack in the network without indicating the target host/IP address) may have a lower parameter value than an analysis with further details (e.g. type of the DDos attack, target host/IP address, and/or geo-location of an attack target) of a potential and/or current cyber-security at-tack alongside an indication of a presence of the attack. Similarly, an analysis with a lower level of details (e.g. general geo-location of an attack target) may have a lower parameter value than an analysis with a higher level of details (e.g. an exact address of the attack target).
[0151] Optionally, one or more parameters may be in a form of an array (e.g. a matrix) having one or more elements included therein. In such cases, the elements may comprise at least one element for indicating a presence of a potential and/or current cybersecurity attack and/or at least one element for indicating a level of details included in the analysis result 216. Optionally, a plurality of elements for indicating levels of details of different types of details of the attack may be included in such an array.
[0152] Optionally, the accuracy and/or quality of an analysis result 216 may be determined by receiving an input from an analyst. In such cases, the analyst may input one or more parameters indicating levels of accuracy, quality and/or accuracy of corresponding analysis results 216. Alter-natively, the accuracy and/or quality of an analysis result 216 may be determined automatically by using a computer program and/or a machine learning method by comparing one or more analysis results 216 and/or one or more data logs of known events. [0153] Optionally, an analysis results 216 may be determined to have acceptable level(s) of accuracy, quality and/or accuracy analysis results 216 if the corresponding parameter(s) associated with the analysis results 216 exceed a threshold. Such a threshold may be predetermined or deter-mined by using a machine learning method (e.g. RMB).
[0154] Figure 27 is a flow chart illustrating an exemplary steps of the PPRE implementation for training its RBM and, eventually, for providing policy recommendations, which will be described below in detail in relation to Figures 23 to 26. The observation 802 and the subsequent training steps 804, 806, 808, 810, 812 may be repeated regularly (e.g. once a month) and/or when any significant changes have been made in the sharing and analytics platform (e.g. new types of security logs or analytics functions being introduced to support new types of analysis or improve existing ones).
[0155] Figure 24 shows an example of a training sample for an IDS security log. Each training dataset or sample {X} (i.e. input features for the visible units 402) may comprise a list of presented attributes 2404 for a specific security log 2402 (e.g. IDS log). Optionally, the analytics functions requirements that may have been provided to the data analytics platform may have already been taken into account when ingesting the datasets into the platform. This way any redundant attributes can be removed from the dataset at the beginning of the process in order to optimise the resource allocation within the platform. Each remaining data attribute 2404 may be paired with its presentation format 2406 as it was consumed by the analytics function. In other words, the format shows whether the corresponding data attribute 2406 was provided in a non-anonymised format (e.g. plain text) or anonymised format (e.g. as specified by the associated data policy). The binary values 2408 may be assigned to each attributeformat pair to indicate if the corresponding combination (i.e. the corresponding pair of data attribute 2404 presentation format 2406) has been used for the analytics function. In principle, for each training sample the data attribute of specific type of log may only be consumed in one way (i.e. either in plain text or anonymised form).
[0156] The input features (i.e. data attribute 2404-presentation format 2406 pairs) for different types 2402 of security logs (e.g. IDS, WebProxy, Firewall, etc.) may then be combined together to a complete training sample representing the RBM visible units 402. In case the observed analysis task does not consume a specific type of security log, zero values will be assigned to the respective attribute-format pairs. Figure 25 shows an example of the RBM with utilisation of three types 2402 of security logs as visible units {X} and four hidden units { Y} which correspond to four types of analysis results. In some cases, at least some of the analysis results may be of the same type or similar types. For example, some of the analysis results may be of the same type with different levels of accuracy and/or quality (e.g. “ICMP DDoS” vs “General DDoS” attacks). Therefore, the hidden units {Y} may also represent the different levels of accuracy and/or quality of the corresponding analysis. As shown in Figure 25 a weight vector {w} may be used to indicate how significant each of the data attributes of its selected presentation format contributes to each analysis result or level of accuracy and/or quality. A RBM training phase for determining the weight vector {w} is described below.
[0157] The number of hidden units (four (Y1-Y4) in the example shown in Figure 25) may represent the number of different types of analysis results as well as their accuracy levels. This number can, for example, be collectively obtained from the analysts by asking them to indicate the type and accuracy of results (e.g. attack family/classification being identified, services being target-ed, etc.) from a given list each time they completed the analysis tasks.
[0158] In order to train the RBM, an algorithm known as Contrastive Divergence Learning may optionally be used. Contrastive Divergence Learning performs a number of iterations to compute the states of hidden units 406 based on the states of visible units 402, and vice versa. The states of visible units 402 are reconstructed from the hidden units 406. The number of iterations in-creases with learning steps to achieve better accuracy. The number of hidden units 406 is estimated at the start of training phase and may also increase to achieve better accuracy.
[0159] An estimation of the number of hidden units 406 may be based on the number of available analysis results. The precise implementation may depends on how the analytics platform is de-signed and implemented and it is also possible that the number of analysis result types are fixed. Otherwise, an educated guess of the number (i.e. a likely small number) could be used as start-ing point at the beginning of the training while calculating the weights in the RBM. In a number of training iterations the number can be increased gradually to see if there is any significant change in the mean reconstruction loss/error (when {Y} is being reconstructed to {X}). If the reconstruction error is still too high it would mean that there are not enough hidden units in the model. Having too few hidden units will give poor predict! on/accuracy while having too many units will overfit the training data. One method/algorithm that could be used to estimate the right number of hidden units is the “Projection Pursuit” method as described in “Y. Freund, D. Haussler: Unsupervised learning of distributions on binary vectors using two layer networks. 1991”. NIPS (NeurlPS) 2 December 1991. [0160] The trained RBM may generate a model for the joint probability distribution of all inputs consisting of features set {X}. The model may be a stochastic model which is a tool for estimating probability distributions of potential outcomes by allowing for random variation in one or more inputs over time. The stochastic model is mainly represented by the computed weights {w} of the connections between visible and hidden units 402, 406. Each hidden unit (i.e. Yl, Y2, etc.) may then be used to reconstruct the set of input features that have activated a corresponding hidden unit as illustrated in Figure 26. The weights {w} give indication of the significance of at-tribute-format pair on the result. Hence, if the reconstruction has resulted in the same attribute name being paired both formats (e.g. Source IP address of an IDS log being in plain text and anonymised form) the one with a higher weight is chosen. The final set of reconstructed input parameters may then be used to generate one or more privacy policy recommendations 220 (e.g. in the form of data privacy policy templates) recommending which data attributes of the associated security log should be shared in a non-anonymised format (e.g. plain text) or an anonymised format in order to produce an analysis result with certain level(s) of accuracy and/or quality.
[0161] As illustrated in Figure 26 the reconstructed input parameters {X’ } are reconstructed depending on the hidden unit { Y} selected. This means that the PPRE may generate different policy recommendations 220 for each type of analysis result. The data sharing and analytics platform may enforce such multiple policy directives to better protect the privacy and confidentiality of the data owners by revealing the sensitive information on an “as-needed” basis (i.e. to allow higher level of granularity of protection). This may be implemented by providing encryption when the original data are stored in the platform. Whenever the data is requested by an analyst to produce certain results the associated policy directives may apply any necessary privacy measures (e.g. anonymisation, attributes removal) on the sensitive data before making them available to the relevant analytics functions.
[0162] It will be understood by those skilled in the art that the apparatus that embodies the invention could be a general purpose device (or group of devices) having software arranged to provide an embodiment of the invention. Furthermore, any or all of the software used to implement the invention can be contained on various storage mediums such as a floppy disc, CD-ROM, or magnetic tape so that the program(s) can be loaded onto one or more general purpose devices, or could be downloaded over a network.
[0163] The computer-implemented method described above may be implemented in a form of computer program. The computer program may be stored in at least one memory of at least one computer system. The computer system may also comprise at least one processor configured to perform the computer program. Optionally, the computer system may be connected to and/or form a part of the computer network.

Claims

1. A computer implemented method for performing privacy controlled data analytics, the method being performed by a computer system configured to provide incoming anonymized data to a plurality of different analysis functions for analyzing the data, each analysis function having its own set of requirements for data attributes that need to be available in the incoming data, the incoming data originating from a plurality of data sources and being anonymized by applying one or more of a plurality of predetermined anonymization protocols; the method comprising: determining one or more attributes present in the incoming data that will be processed by the computer system; determining the analysis functions that are capable of being implemented based on the determined one or more attributes of the incoming data and the data attribute requirements for the analysis functions; determining the data attributes of the incoming data that can be anonymised whilst preserving data utility based on the requirements of the analysis functions; determining, for each of a plurality of privacy settings, a privacy score and a data utility score, each privacy setting comprising a unique combination of analysis function, anonymization protocol applied to the data, anonymization protocol parameter value and data attribute; receiving input selecting a desired privacy setting; and processing an anonymized set of data, anonymized according to an identified anonymization protocol, according to the analysis function associated with the selected privacy setting.
2. The method of claim 1 wherein determining one or more attributes present in the incoming data that will be processed by the computer system comprises: querying a device database to retrieve the data attribute details for the data sources, the device database containing information about a plurality of devices that can be used as data sources.
3. The method of claim 2, the method further comprising: receiving sample data from each of the data sources; using the information retrieved from the device database to parse and extract the attributes from the received sample data; creating a structured version of the data attributes that uses the same format and/or syntax for data attributes across different types of device, the structured version of the data attributes being used to transform incoming data from any of the data sources into a structured version with common format and/or syntax for use as input data for the analysis functions.
4. The method of any preceding claim wherein determining the analysis functions that are capable of being implemented comprises: determining the presence of one or more types of devices that are acting as data sources and determining the associated data attributes available from these devices; determining, for each analysis function, whether the data attributes necessary to implement the analysis function are present in the incoming data based on the data attributes available from the one or more types of devices.
5. The method of claim 4 wherein the data attributes from the one or more types of devices are aggregated.
6. The method of any preceding claim wherein determining the data attributes of the incoming data that can be anonymised whilst preserving data utility based on the requirements of the analysis functions comprises: obtaining, for each data attribute, data indicative of whether the data attribute can be anonymised whilst preserving data utility based on the requirements of the analysis functions; receiving, for each data attribute, data indicative of its data sensitivity classification;
7. The method of claim 6 wherein receiving, for each data attribute, data indicative of its data sensitivity classification comprises receiving data tagging each data attribute as Identifying, Quasi-identifying, Sensitive or Insensitive based on pre-knowledge about the associated data source.
8. The method of any preceding claim wherein determining the data attributes of the incoming data that can be anonymised based on the requirements of the analysis functions comprises: retrieving one or more analysis results, each of the one or more analysis results being generated by analysing an input dataset comprising one or more data attributes by performing one or more of the analysis functions, and each of the one or more data attributes having an anonymised format or a nonanonymised format; determining, for each of the analysis functions, the data attributes of a first type, the data attributes of the first type being a set of the one or more data attributes that need to have non-anonymised formats in order for the corresponding analysis result to have an acceptable level of accuracy and/or quality; and generating a privacy policy recommendation indicating, for each of the analytics function, that the data attributes of the first type need to be in non-anonymised formats.
9. The method of any preceding claim wherein determining, for each of a plurality of privacy settings, a privacy score comprises: receiving representative sample datasets from different data sources; grouping the representative sample datasets according to the input data requirements for each analysis function; applying each privacy setting to the corresponding anonymisable attributes; and computing the re-identification risk, R, based on the statistic distribution of the relevant data attribute values within the sample datasets and determining the privacy score based on the re-identification risk.
10. The method of any preceding claim wherein determining, for each of a plurality of privacy settings, a data utility score comprises: receiving representative sample datasets from different data sources; applying each privacy setting to the sample datasets that are relevant for each analysis function; inputting the anonymised datasets to the analysis functions.
11. The method of claim 10 wherein determining a data utility score comprises, for each analysis function and each corresponding privacy setting: comparing an analysis result with a reference result that would have been produced by the same analysis function if no privacy setting was applied.
12. The method of any preceding claim wherein receiving input selecting a desired privacy setting comprises: displaying data indicative of the privacy score and associated data utility score for each of a plurality of privacy settings for one or more analysis functions; and receiving user input selecting a privacy setting to use for each of one or more analysis functions.
13. The method of claim 12 further comprising: associating a data utility score threshold with each analysis function; adjusting the combinations of analysis functions and privacy settings available for user selection based on whether said combinations are above or below the associated data utility score threshold.
14. A computer system configured to perform the method of any of claims 1 to 13.
15. A non-transitory computer readable medium having stored thereon a computer program that, when run on a system according to claim 14, causes the system to perform the method of any of claims 1 to 13; and/or a computer program that, when run on a system according to claim 14, causes the system to perform the method of any of claims 1 to 13.
PCT/EP2023/087097 2023-01-04 2023-12-20 Privacy-controlled analytics service WO2024146815A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
GBGB2300083.9A GB202300083D0 (en) 2023-01-04 2023-01-04 Privacy-controlled analytics service
GB2300083.9 2023-01-04
EP23150284.0 2023-01-24
EP23150284.0A EP4407497A1 (en) 2023-01-24 2023-01-24 Privacy-controlled analytics service

Publications (1)

Publication Number Publication Date
WO2024146815A1 true WO2024146815A1 (en) 2024-07-11

Family

ID=89428774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2023/087097 WO2024146815A1 (en) 2023-01-04 2023-12-20 Privacy-controlled analytics service

Country Status (1)

Country Link
WO (1) WO2024146815A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190266353A1 (en) * 2018-02-26 2019-08-29 International Business Machines Corporation Iterative execution of data de-identification processes
US20190332807A1 (en) * 2013-11-01 2019-10-31 Anonos Inc. Systems and methods for enforcing privacy-respectful, trusted communications
WO2020222140A1 (en) * 2019-04-29 2020-11-05 Telefonaktiebolaget Lm Ericsson (Publ) Data anonymization views

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190332807A1 (en) * 2013-11-01 2019-10-31 Anonos Inc. Systems and methods for enforcing privacy-respectful, trusted communications
US20190266353A1 (en) * 2018-02-26 2019-08-29 International Business Machines Corporation Iterative execution of data de-identification processes
WO2020222140A1 (en) * 2019-04-29 2020-11-05 Telefonaktiebolaget Lm Ericsson (Publ) Data anonymization views

Similar Documents

Publication Publication Date Title
US11115434B2 (en) Computerized system and method for securely distributing and exchanging cyber-threat information in a standardized format
US11194905B2 (en) Affectedness scoring engine for cyber threat intelligence services
Lee et al. An effective security measures for nuclear power plant using big data analysis approach
CN110431817B (en) Identifying malicious network devices
Stroeh et al. An approach to the correlation of security events based on machine learning techniques
AU2015353713B2 (en) Systems and methods for implementing a privacy firewall
Bajtoš et al. Network intrusion detection with threat agent profiling
Payne et al. How secure is your iot network?
Zheng et al. Two-layer detection framework with a high accuracy and efficiency for a malware family over the TLS protocol
Dixit et al. An effective intrusion detection system in cloud computing environment
Khan et al. Towards augmented proactive cyberthreat intelligence
CN116933323B (en) Code auditing method, system and computer equipment based on privacy protection
US20240171614A1 (en) System and method for internet activity and health forecasting and internet noise analysis
EP4407497A1 (en) Privacy-controlled analytics service
Quinan et al. Activity and Event Network Graph and Application to Cyber-Physical Security
WO2024146815A1 (en) Privacy-controlled analytics service
Preuveneers et al. Privacy-preserving correlation of cross-organizational cyber threat intelligence with private graph intersections
EP4398140A1 (en) Privacy knowledge base
Alshehri APP-NTS: a network traffic similarity-based framework for repacked Android apps detection
Montanari et al. Confidentiality of event data in policy-based monitoring
GB2625997A (en) Privacy knowledge base
Badde et al. Cyber attack detection framework for cloud computing
Kozik et al. Evolutionary‐based packets classification for anomaly detection in web layer
EP4398153A1 (en) Privacy policy recommendation
CN118101341B (en) Multi-platform supervision system for commercial tenant center based on big data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23833153

Country of ref document: EP

Kind code of ref document: A1