A multivariate Mmdel to quantify and mitigate cybersecurity risk
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Bentley, Mark; Stephenson, Alec; Toscas, Peter; Zhu, Zili Article A multivariate Mmdel to quantify and mitigate cybersecurity risk Risks Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Bentley, Mark; Stephenson, Alec; Toscas, Peter; Zhu, Zili (2020) : A multivariate Mmdel to quantify and mitigate cybersecurity risk, Risks, ISSN 2227-9091, MDPI, Basel, Vol. 8, Iss. 2, pp. 1-20, https://doi.org/10.3390/risks8020061 This Version is available at: https://hdl.handle.net/10419/258014 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
risks Article A Multivariate Model to Quantify and Mitigate Cybersecurity Risk Mark Bentley, Alec Stephenson, Peter Toscas and Zili Zhu * Data 61, Commonwealth Scientific and Industrial Research Organisation (CSIRO), Melbourne 3008, Australia; [email protected] (M.B.); [email protected] (A.S.); peter[email protected] (P.T.) *Correspondence: [email protected]o.au Received: 2 February 2020; Accepted: 30 May 2020; Published: 4 June 2020 Abstract: The cost of cybersecurity incidents is large and growing. However, conventional methods for measuring loss and choosing mitigation strategies use simplifying assumptions and are often not supported by cyber attack data. In this paper, we present a multivariate model for different, dependent types of attack and the effect of mitigation strategies on those attacks. Utilising collected cyber attack data and assumptions on mitigation approaches, we look at an example of using the model to optimise the choice of mitigations. We find that the optimal choice of mitigations will depend on the goal—to prevent extreme damages or damage on average. Numerical experiments suggest the dependence aspect is important and can alter final risk estimates by as much as 30%. The methodology can be used to quantify the cost of cyber attacks and support decision making on the choice of optimal mitigation strategies. Keywords: cyber risk; optimal mitigations; value at risk (VaR); operational risk 1. Introduction Cyber incidents such as denial of service attacks and data breaches are becoming common and are a major challenge for both businesses and governments around the world. Significant, but limited, resources are devoted to mitigating this risk. There is a need for mathematical modelling techniques to better quantify losses from cyber attack and to find the optimal balance of defences given limited resources. Current methods are either qualitative or too simplistic. Currently, the majority of risk management decisions are made qualitatively and there is a view, see for instance Munteanu (2017) and Oppliger (2015), that quantitative models are inherently not fit for purpose. It is not advisable to rely exclusively on a quantitative model for decision making purposes. However, we agree with Baskerville (1991) and Geer et al. (2003) that such quantitative models can be an effective framework for quantifying and communicating cyber risk. A quantitative approach has the advantage of forcing transparency about what is considered a threat, the damage caused by those threats, what mitigations are available and the effectiveness and costs of those mitigations. Quantitative models have of course been developed for cyber risk management. A fundamental approach is that of calculating the Annual Loss Expectancy (ALE), see, e.g., Jacobson et al. (1974). The idea is an intuitive one: the average losses after one year will be the product of the average number of incidents and the average cost a single incident incurs. A good summary of this idea and similar ones is available in Bojanc and Jerman-Blažiˇc (2008). While ALE allows for a back-of-the-envelope calculation, it is deficient in two key areas. Firstly, it gives an expected value rather than a distribution. Knowledge of the distribution allows for calculation of more informative statistics, like Value at Risk (VaR) or Expected Shortfall (see, e.g., Shevchenko 2010). Secondly, it does not allow for different types of attack being made at different rates and with different impacts. Risks 2020,8, 61; doi:10.3390/risks8020061 www.mdpi.com/journal/risks
Risks 2020,8, 61 2 of 20 Given a description of possible damages from cybersecurity, a natural question is how to spend limited resources to defend against such incidents. A key paper that looks at this question is Gordon and Loeb (2002) . Here, the authors look at optimising the dollar amount spent so as to minimise the overall losses, inclusive of spending on security. The one period setting and the functional form mean the analysis is done in closed form. Modelling of mitigations has since been expanded upon in two directions. The first direction, with a large group of authors, looks at the optimal selection of a portfolio of mitigations; good examples here are Sawik (2013), Viduto et al. (2012) and Zhuo and Solak (2014) . In this grouping of papers the focus is not on the underlying risk model but on the role of the mitigations. Often the key tool is constraint programming for choosing correctly from many possible combinations. The second direction, with fewer authors, looks at improving the underlying risk model. Good examples here are Wang (2008) and Lee et al. (2011). The work in Wang (2008) in particular highlights the idea that mitigations may either target lowering the average or the tail of the distribution of losses. The first group of papers does not model the losses as effectively as the second group, which in turn does not model the effect of mitigations as effectively as the first group. Both groupings of papers suffer from a lack of open data in cyber incidents and a lack of quantitative research on the effect of mitigation strategies. In addition to limited data on cyber incidents (an excellent listing of data sources exists in Eling and Schnell 2016), it is very difficult to get data pertaining to the losses suffered by one organisation. Some data of this form is plotted in Kuypers et al. (2016) and Paté-Cornell et al. (2018). In fact, not only are these the only sources we can find that look at real world data on cyber incidents for one organisation, they are the only sources that look in detail at the effect of mitigations. In Kuypers et al. (2016), the empirical impact of Full Disk Encryption is considered and in Paté-Cornell et al. (2018) the effect of Two Factor Authentication is simulated. In this paper we suggest the use of a multivariate model for losses from Chavez-Demoulin et al. (2006) and give a model for the effect of mitigations, inspired by that given in Zhuo and Solak (2014). This combination places our work in the gap between the two groupings noted above; using a realistic model for losses as well as a model for the effect of several mitigations. The model for damages comes from the field of operational risk and this is a very natural area to borrow from. Indeed, this observation has been made in Hulthén (2009) and in the book Hubbard and Seiersen (2016). Practitioners in operational risk are of course particularly concerned by the effect of cyber risks (see, e.g., Risk.net 2020). The practical use of this combined model is illustrated by fitting to the data given in Kuypers et al. (2016) and Paté-Cornell et al. (2018) and making assumptions on mitigations from The Australian Signals Directorate (2017). This allows for a distribution of losses to be simulated along with a 5% VaR. Most importantly, it allows for the numerical optimisation of the choice of mitigations given the goal of either minimising VaR or average losses. The combined model serves two purposes. Firstly, it allows the clear communication of cyber risk to those outside the field. This is useful because the impact of the risk will be obvious and immediate to technicians facing it, but potentially of secondary concern to decision makers who do not face the issue. Such decision makers may be reluctant to spend money on what they view as an unnecessary expense. This mathematical model can be used to quantify the financial impact in dollar terms that would be lost in the absence of proper mitigations, rather than a qualitative and subjective interpretation. Secondly, such a framework for quantifying cyber risk allows for better decision making on the choice of mitigations. When more realistic assumptions are used, not only can the effect of a particular mitigation strategy be modelled, but the overall effect of different combinations of mitigations be considered. Going further, given many different mitigation strategies, all with different effects and costs, one can find the best combination of these mitigations subject to a fixed budget constraint.
Risks 2020,8, 61 3 of 20 2. Method In this section we briefly motivate a univariate model for losses. We then outline a multivariate model for losses as in Chavez-Demoulin et al. (2006), giving a result on the mean and variance of losses under the model. We finish by introducing a model for the effect of using different mitigations. 2.1. A Univariate Model for Losses One can model the losses up to time tas L(t) = N(t) ∑ i=1 Xi where Xi are independent and identically distributed random variables representing the severity of damage from each attack and N(t) is an independent Poisson process with intensity λ giving the frequency of attacks. That is, losses can be modelled by a Compound Poisson Process. A description of this process and its properties can be found in, e.g., Ross (2010). One can think of this as the more general setting of ALE, because E[L(t)] = E[N(t)]E[X1] which we can recall is how ALE is defined. The advantage of using such a model over ALE is that we can easily change the specifics of how L(t) is constructed and still get such expressions. Further, there is no reason we have to look at averages. To this end, in the results section in addition to considering expected values, we will calculate various VaR values. Note that this is just another name for a quantile. We use the methodology outlined in Shevchenko (2010) in simulation. Using a compound Poisson process gives a natural way to model the effect of mitigations on the frequency of attack. If spending z means that attacks succeed with some probability q(z) (instead of always succeeding), the total losses up to time t is still a compound Poisson process, but with intensity λq(z). In choosing the parameters of a compound Poisson process, one would first want to find λ . But the Poisson random variable has the property that its mean is equal to its variance and the data we have is overdispersed. Instead, we will use a counting process that has a Negative Binomial distribution at time t . The Negative Binomial distribution is often used for fitting to count data, and is well known in operational risk. The application of the negative binomial distribution to real world data is done in a cybersecurity context in Leslie et al. (2018). While it is straightforward to relate a Poisson distribution to the Poisson process, it is not immediately obvious what process has a Negative Binomial distribution. Such a process can be constructed several ways. For instance, one can relate it to a pure birth process, see Toscas and Faddy (2003) for details. A good overview of this distribution is given in Gurland (1959); the following result is read from there with the addition of a thinning probability. Proposition 1 (Poisson Process with Gamma Intensity is Negative Binomial) . Suppose Λ is a Gamma random variable with parameters α> 0and β> 0and q is a probability. If N(t) is a (thinned) Poisson Process with intensity Λq , then its distribution at time t is Negative Binomial with parameters p=qt/(β+qt) and r=α. Recall that the probability density function of the Gamma distribution is given by f(x) = βα Γ(α)xα−1e−βx,x>0
Risks 2020,8, 61 4 of 20 and the probability mass function of the Negative Binomial is given by Pr(N=n) = n+r−1 npn(1−p)r,n=0, 1, 2, . . . Suppose that we have some count data telling us the number of successful incidents over some time periods [ 0, δt] and the probability q that a given incident is successful. If we find estimates for the parameters as ˆ pand ˆ r, we can find αand βas ˆ α=ˆ r ˆ β=q·(1−ˆ p)·δt ˆ p (1) In the sequel, we will change the parameters of the probability of successful attack q by varying the amount spent on different mitigations. The idea we use here is as follows. We find p and r from the data and assume some baseline q . This implies some baseline α and β for that assumed q . When we change the spending and hence q , the new p and r that apply are given in terms of those baseline α and βby Proposition 1. To this point we have only described how to model the frequency of attacks. In order to have a complete univariate model for losses we need a model for the severities. Good choices here would include the Lognormal (see for instance Hubbard and Seiersen 2016), Weibull or Power distributions. Due to lack of data, we will use a very simple model for severities described in the Results section. 2.2. A Multivariate Model for Losses We require a model that is able to handle different, but dependent, categories of damages. There are two components of that requirement. Firstly, we need to handle more than one damage type. For instance, it might be that an organisation faces two types of incidents: an incident of malware or a data spillage event. One would imagine that the first would happen frequently, but have a small impact and that the second would happen rarely but have a large impact. It makes sense to model these incidents separately. The second component of the requirement is an ability to handle dependence between the incidents. For example, it could be that a malware incident sometimes causes a data spillage event. We suppose there are j= 1, . . . , J categories of damage. It is trivial to make a multivariate model. This can be done by fitting an independent model to each category and summing them. That is, for j=1, . . . , Jwe have Lj(t) = Nj(t) ∑ i=1 Xj i(2) where the jsubscripts relate to the jth type of damage. Our object of interest is then L(t) = J ∑ j=1 Lj(t)(3) If the marginal models are all compound Poisson processes, their sum will also be a compound Poisson process. This is very useful because numerical methods can be used to great effect; see Shevchenko (2010), particularly the Fast Fourier Transform based method. Unfortunately simply adding the Lj(t)will not introduce dependence between incident types in our model. A simple way to include dependence is suggested in Chavez-Demoulin et al. (2006), who look at multivariate operational risk models. Among the ideas presented there is to use a copula function on the marginal frequencies. That is, we have exactly the model in Equations (2) and (3), but we have
Risks 2020,8, 61 5 of 20 a multivariate distribution for (N1(t) , . . . , NJ(t)) . Ultimately, we will use Monte Carlo simulation to look at the output of such a multivariate model. Because of this, we will restrict our attention to the simulation of a Gaussian copula, rather than looking at the deeper theory of copula functions. For further details on copula functions we note the excellent treatise of Nelsen (1999) and a very practical introduction in Genest and Favre (2007). A multivariate distribution encodes not only the marginal distributions but their dependence. A copula function is one way of encoding that dependence only. Sklar’s Theorem gives us that combining a copula function with marginal distributions is one way of building a multivariate distribution. Conversely, it also gives us that a given multivariate distribution characterises a copula function. In this vein, a Gaussian copula is the dependence that comes from a multivariate Gaussian distribution; in essence this is equivalent to using linear correlation. Simulating a Negative Binomial random variable under this copula is quite simple. The method is as follows. Given a permissible correlation structure, to simulate a vector (N1, . . . , NJ)of counts: 1. Simulate a vector (X1 , . . . , XJ) of correlated, standard normal random variables. One can use the Cholesky decomposition of the correlation matrix to move from independent, standard normal random variables to such a correlated vector; see for instance Section 2.3.3 of Glasserman (2003). 2. Transform these values to a dependent vector of uniform random variables (U1 , . . . , UJ) . This can be done by setting each component as Uj=Φ(Xj) where Φ is the cumulative distribution function (CDF) of the standard normal distribution. 3. The output (N1 , . . . , NJ) is given by setting each component to F(−1) j(Uj) , where F−1 j is the inverse of the jth Negative Binomial CDF1. We note in passing that the key idea here is the Inverse Transform Method. The above method is illustrated in Figure 1for two Poisson random variables. We close this section by giving a result on the mean and variance of Equation (3), dropping the t for convenience, when we know the correlations between the Nj. Proposition 2 (Mean and Variance of L).The mean and Variance of L are given by E[L] = J ∑ j=1 E[Nj]E[Xj 1](4) and Var(L) = J ∑ j=1E[Nj]Var(Xj 1) + Var(Nj)E[Xj 1]2 + J ∑ i=1 J ∑ j=1, j6=i ρijE[Xi 1]E[Xj 1]qVar(Ni)Var(Nj) (5) where ρij is the correlation between Niand Nj. 1 We note that there are some technicalities to inverting the distribution of a discrete random variable that we are glossing over.
Risks 2020,8, 61 6 of 20 −2 −1 0 1 2 Z 1 −2 −1 0 1 2 Z 2 −2 −1 0 1 2 X 1 −2 0 2 X 2 0 1 2 3 4 5 6 7 8 9 N 1 0 2 4 6 N 2 3 3 6 42 5 41 2 1 1 1 1 23 1 21 1 12 2 1 0.0 0.2 0.4 0.6 0.8 1.0 U 1 0.0 0.2 0.4 0.6 0.8 1.0 U 2 Figure 1. Moving clockwise from the top left, the four plots show how to simulate 100 pairs (N1 , N2) of Poisson random variables with λ1= 4.0, λ2= 2.0 under a Gaussian copula with ρ= 0.8. The top left hand plot shows 100 pairs of independent N( 0, 1 ) random variables (Z1 , Z2) . In the top right hand plot these are mapped to correlated standard normal random variables (X1 , X2) using the Cholesky decomposition of the covariance/correlation matrix. In the bottom right hand plot, these are mapped backwards to [ 0, 1 ]2 using the standard normal CDF to give correlated uniform random variables (U1 , U2) . The dashed lines are from the PMF of the two Poisson random variables, which can be used in inverting the joint distribution. The final picture shows the simulated distribution; that is, the number of simulated outcomes of each pairing of N1 and N2 . As an example, because there are six points (U1,U2)that are in [FN1(2),FN1(3)] ×[FN2(0),FN2(1)] there are six outcomes of {N1=3, N2=1}. Proof. The expression for the mean of L comes from the independence of the counting processes and the severities, see for instance Proposition 2.2 of Shevchenko (2010). A similar expression for the variance of a random sum of random variables also exists in the same source, reading Var(Lj) = E[Nj]Var(Xj 1) + Var(Nj)E[Xj 1]2 However we cannot add these values up to get Var(L) because the Nj are not independent. Rather we will start from Var J ∑ j=1 Lj!= J ∑ j=1 Var(Lj) + J ∑ i=1 J ∑ j=1, j6=i Cov(Li,Lj) meaning that we also need to calculate the covariance terms for i6=j. By definition we have Cov(Li,Lj) = E[LiLj]−E[Li]E[Lj]
Risks 2020,8, 61 7 of 20 Given that we have the means to calculate expected values we can easily calculate the latter term. So we will focus on the first term, for i6=j . We proceed by conditioning on the event {Ni=ni,Nj=nj}: E[LiLj|Ni=ni,Nj=nj] = E"ni ∑ k=1 Xi k· nj ∑ l=1 Xj l# =E"ni ∑ k=1 Xi k#E"nj ∑ l=1 Xj l# =niE[Xi k]njE[Xj 1], where the second line comes from the independence of the different types of severity. Hence using iterated expectations we have E[LiLj] = E[E[LiLj|Ni,Nj]] =E[NiE[Xi 1]NjE[Xj 1]] =E[Xi 1]E[Xj 1]E[NiNj] We can rearrange the formula for correlation ρij to give E[NiNj]in terms of ρij: E[NiNj] = E[Ni]E[Nj] + ρijqVar(Ni)Var(Nj) Substituting backwards using the expression for E[Lj], for i6=jwe have Cov(Li,Lj) = E[Xi 1]E[Xj 1]E[NiNj]−E[Ni]E[Nj] =ρijE[Xi 1]E[Xj 1]qVar(Ni)Var(Nj) which gives the result. 2.3. A Model for Mitigations In the previous section we detailed a multivariate model for cybersecurity risk. This is valuable in and of itself because it can be used to describe risk, for instance by calculating a VaR value. However, we want to build on the key idea of Gordon and Loeb (2002) which is modelling the impact of mitigations on such risk. In this section we look at a simple model for mitigations. We start by assuming that we have m= 1, . . . , M different mitigations that each cost at most ωm per year. We assume that we have an overall budget of z per year and denote the amount that we spend on each mitigation as zm , with the restriction ∑M m=1zm≤z in one year. We fix a time horizon T of interest and assume that spending scales directly in T . That is, each mitigation costs at most ωmT over [ 0, T] and we have a budget of zT over [ 0, T] . One could view the modelling in Gordon and Loeb (2002) as having one mitigation and one damage type and finding the best level of spending given different functional forms of q(z1) , the probability of successful attack given spending on that mitigation. Mapping the mitigation models in Gordon and Loeb (2002) to our setting gives q(z) = q0 (αz+1)β(6) as well as q(z) = qαz+1 0(7)
Risks 2020,8, 61 8 of 20 where q0 is the probability of successful attack in the absence of mitigations and α> 0 and β≥ 1 are parameters. Similar modelling, but with more than one mitigation and damage type, is done in Zhuo and Solak (2014) . Here the effect of mitigations comes in through the expression for total losses as ∑ s∈S ∑ a∈A falas ∏ o∈O 1−eoa(zo)! where S , A and O are sets of assets, attack types and mitigations, fa is a rate of attack, las is the maximum damage from an attack and eoa(zo) is the effectiveness of mitigation o on attack type a given spending zo. This is given as eoa(zo) = βoa −e−(αozo−ln βoa)(8) where βoa gives the maximal effectiveness of spending and αo gives the rate at which spending approaches that level. We use a multiplicative model similar to Zhuo and Solak (2014), but one that looks at frequency and severity separately. We first look at modelling the effect of spendings z= (z1 , . . . , zM) on the probability of success (and hence the frequency) of attack type jand then on the effect on severities. The broad idea is that for each attack type j there is some baseline probability of success when there is no spending on mitigations, denoted q0 j , and that the probability of successful attack goes down as spending increases. This is achieved by a factor that decreases linearly as spending increases to its maximum value ωm . Finally, the combined effect of all the mitigations is simply the product of those factors. Rather than model the effect of synergies or interference between mitigations as in Zhuo and Solak (2014) , we use a floor value to ensure that this value does not become unrealistically small. We will now fill in this broad idea. The linear reduction is achieved through a simple function f defined as f(zm;sm,em,ωm) = (sm+em−sm ωmzm, if zm≤ωm em, if zm>ωm (9) This function describes a straight line between a start point ( 0, sm) and an end point (ωm , em) and a constant em for any zm beyond ωm . We model the effect of spending z on the probability of a successful attack of type jover the period [0, T]as qj(z) = max q0 j M ∏ m=1 f(zm; 1, amj,ωmT),qj!(10) where amj ∈( 0, 1 ] is a factor that reduces q0 j if the full spending zm=ωm is used and qj is a floor on this probability. For example, amj = 1 indicates no effect of mitigation m on the probability of success of attack type j and amj = 0 indicates that the probability is reduced to 0. The interpretation of the expression for qj(z) is that the base probability of a successful attack of type j is modified by the product of different scaling factors, each coming from a different mitigation. The floor is used to ensure that the risk of attack does not become unrealistically small, as aforementioned. A similar model is used for the effect of spending z on the severities. We assume that we know the distribution of severities Yj that apply in the absence of spending and model Xj as a reduction of these values. That is, we set Xj i=max Yj i M ∏ m=1 f(zm; 1, bmj,ωmT) + M ∑ m=1 f(zm; 0, cmj,ωmT),yj!(11)
Risks 2020,8, 61 15 of 20 Table 5. Values of amj , bmj ∈[ 0, 1 ] and cmj ≤ 0, each entry gives a triple (amj , bmj , cmj) . A entry of ∗ means a default entry of ( 1, 1, 0 ) , meaning the mitigation has no effect on that attack type. Entries of the type (amj , ∗ , ∗) mean that the mitigation has an effect on qj but not on Yj . For instance, the first row states that a full investment in Application Whitelisting reduces the probability of a successful Malware attack by a factor of 0.6, reduces the relevant damage by a factor of 0.3 and takes one hour off the resolution of each successful attack. The third row, first column states that Continuous Incident Detection reduces the probability and damage of a successful Data Spillage incident by a factor of 0.1. Data Spillage Lost/Stolen Malware Other Application Whitelisting * * (0.6,0.3,−1.0) * Patch Applications * * * (0.5,0.4,−0.5) Continuous Incident Detection (0.1,0.1,*) (0.6,0.8,*) * * Antivirus Software * * (0.8,*,−1.0) * TLS Encryption * * * (0.8,*,−1.0) We set T= 3 / 12, rather than the one month of the input data. This means the available budget is 75,000 dollars over this period. Two optimisations are carried out: one to minimise E[L(T) + ∑mzm] and the other to minimise min{L∗> 0 :P(L(T) + ∑mzm>L∗)≤ 0.01 } . The purpose of adding the ∑mzm term is to ensure that the costs of the mitigations are taken into account. The optimisations are done by the implementation of COBYLA given in the scipy library (Virtanen et al. 2020). In optimisation we use the result in Proposition 2as described in the last part of Section 2.3. This compares to simulating to find the mean and VaR, which is what is done once the optimised choices are found in Figure 7and Table 6. Attempting an optimisation where each the objective function needs to be simulated at each step would be prohibitively expensive. The values of the mean and 99% VaR of L(T) and the % spend of the available 75,000 dollars are given in Table 6. Table 6. The Average, VaR and % Spend of Budget for the four densities in Figure 7. The % reductions are from the “No Spend” case, the term in parenthesis represents an increase. The VaR terms are simulated, their errors going down are 0.9%, 0.6%, 0.8% and 0.6% respectively. Note that these values are inclusive of the budget spent, so in the bottom row the average amount of damages over the period is 79,664 dollars, with 75,000 dollars spent on mitigations bringing the losses up to 154,664 dollars. Approach E[L(T)] % Reduction VaR % Reduction % Spend No Spend 164,653 0 306,626 0 0 Equal Spend 169,578 (2.99) 256,908 16.21 100.000 Optimise Mean 150,551 8.57 254,094 17.13 66.69 Optimise VaR 154,664 6.07 228,763 25.39 100.000 The means and standard deviations of the Nj(T)and Lj(T)for T=3/12 are given in Table 7. Table 7. The averages and standard deviations of the frequency and total losses for each different type of damage. This table shows in particular how the assumptions on the cost of an incident map to costs over a three month period. Damage Type jE[Nj] sd(Nj)E[Lj] sd(Lj) Data Spillage 9.6 4.97 52,302 30,704 Lost/Stolen 73.9 63.95 14,801 13,026 Malware 582.9 263.33 60,057 27,257 Other 1032.7 654.07 37,493 23,858 The output of the optimisation procedure is the proportion of the available budget that should be spent on each type of mitigation. These are given in Figure 8and compared to maximum possible spends. This is the second key output of the model. Given assumptions on mitigations, these give the amount of spending on the mitigations to achieve different objectives.
Risks 2020,8, 61 16 of 20 0 1 2 3 4 Mitigation Method 0.0 0.2 0.4 0.6 0.8 1.0 Proportion of Total Method Max Spending By Mean By VaR Figure 8. The output spendings for the five categories, from Application Whitelisting being 0 to Personnel Management as 4, after optimising to minimise the mean (in green) and to minimise the VaR at the α= 0.01 level (in red). The maximum spendings in black give the ratios ωm/z , the ratio of the cost of the mitigation to the available budget; this is the proportion of the budget needed to purchase this mitigation in full. 4. Discussion In fitting the model to real world data, we can see it gives realistic output, gives a distribution of losses, allows for different types of attacks and mitigations, includes dependence, and has a mitigation model that can target frequency and losses separately. The model adds to the literature by improving the modelling of damages in Gordon and Loeb (2002) towards the sort of treatment in Sawik (2013), while being fitted to real world data. Figure 2shows that the model gives realistic output from real world input. It is of course not perfect. In particular, a Negative Binomial distribution for the counts of Lost/Stolen does not fit observed data. An implicit assumption of the model is that of stationarity, but the simulated output of Lost/Stolen looks rather different from the input. Of import is the log scale on the y-axis. The input data has a stationary period over the first 20 or so months, before trending upward. The scaling means that the input frequency is actually approximately exponentially increasing in time. These two periods can be seen in Figure 4and lead to the poor fit. In contrast, the model implicitly assumes stationarity. That is, it assumes that the parameters of the frequencies and severities do not change over time. It is our view that the conclusions coming from the model do not suffer overall from this breached assumption. The use of a copula means that a different type of distribution could be used for this type of damage. Of more concern is the distributions for severities. While in Kuypers et al. (2016) the choice is a Power law, we lack that more finely grained view of the data. A first approach was to fit a lognormal survival function to the points Sj(h) . This gave an overly light tail, which lead to the more empirical
Risks 2020,8, 61 17 of 20 approach plotted in Figure 6. It is surprising that such a blunt approach leads to the reasonable output in Figure 2. The first key output of the modelling is the distribution of losses, given in Figure 3. This gives a much more nuanced view of possible future losses than just the mean, which is what ALE is. In particular, it shows a relatively heavy right tail. An advantage to the model is that the time horizon of interest T is independent of the input data; we could just as easily change T to be six months or ten days. Comparing the simulated pairwise counts in Figure 5to the observed pairwise counts suggests the use of the Gaussian copula dependence structure being reasonable. It is not clear how much influence the correlations have on the final values. Proposition 2shows that there will be no effect on the mean and that there will be an effect on the variance. Indeed, for this data and assumptions the variance of L increases by about 7% compared with the output when correlations are all set to 0, leaving all other values unchanged. One would think that this leads to a larger VaR, but simulated values are essentially equal. For this set of data and these assumptions, the dependence modelling has very little effect. This is not entirely surprising, as we can only reject the null hypothesis of independence for the pairs Lost/Stolen /Malware and Lost/Stolen /Other. This does not support the view that a model with dependence is necessary. Nevertheless, our opinion is that some form of connection between the different categories is a necessary ingredient in a model for Cybersecurity risk. One can test the importance of the input correlation matrix to the final VaR as follows. Using the method outlined in Rebonato and Jäckel (1999), simulate different correlation matrices. For each simulated matrix, calculate an overall measure of dependence as the average of the off-diagonal values. Finally, calculate the VaR for the simulated correlation matrix and compare it to the VaR that results with zero correlations by looking at the ratio of these two values. The outcome of 20,000 such simulations is given in Figure 9. This image suggests that although the example data’s correlations have no effect, in extreme cases the correlation could move the VaR by as much as 30% over a model that has all components independent of one another. While the model for losses is driven by the data, the model for mitigations is highly stylised. The aim is to give a framework by which cybersecurity experts could supply estimates of reductions in success and damage. While it is stylised, it includes the idea that mitigations might target frequency and severities separately, as well as having a weak interaction effect by assuming limits on the efficacy of mitigations. It is also designed to be easy to map from an expert’s opinion to parameters. The fact that mitigations can target different types of attack means that different strategies for optimisation, either minimising the mean or the VaR, can be pursued. In Table 6, we establish a baseline by spending equally across all categories before optimising to minimise the mean and VaR. Spending equally in this manner decreases the VaR, but increases the average loss. Both of the average loss and VaR are reduced when looking at the other strategies. As would be expected, minimising the mean gives the lowest average loss and minimising the VaR gives the lowest VaR. The former strategy saves on average costs by leaving some of the budget unspent, where the later strategy spends this money to lower the VaR. The assumptions are chosen so that there are solutions that the optimisation “should” find. One can see from Table 7which types are most important. In particular, we can see from E[Nj] and E[Lj] that Data spillage is rare but damaging; this is due to the assumption on its cost per hour. From Table 5, we can see that only continuous incident detection makes this less frequent and less severe. We can also see that Application Whitelisting and Patch Applications are better at dealing with Malware and Other than Antivirus Software and TLS Encryption, although this needs to be balanced with their lower costs. All things being equal, one would expect a strategy to lower the VaR would focus on Continuous Incident Detection and would expect that Application Whitelisting and Patch Applications are preferred to Antivirus Software and TLS Encryption.
Risks 2020,8, 61 18 of 20 −0.2 0.0 0.2 0.4 0.6 0.8 Average of Off-Diagonal Correlations 0.7 0.8 0.9 1.0 1.1 1.2 1.3 VaR Ratio Figure 9. A total of 20,000 simulations of an approximation to the VaR found for a random correlation matrix divided by the VaR found when all correlations are set to 0. The ratio corresponding to the example data’s correlations is marked with a red cross and, being very near to 1.0, shows no real difference. In extreme cases the VaR is 30% larger or 30% smaller than the value that would come from setting correlations to be 0. This is essentially what we see in Figure 8; both strategies focus on the more effective methods, with the VaR minimising approach spending the most overall. The optimisation is imperfect; because the Malware category is more damaging than the Other category, one would expect any money on the last two mitigations to be spent on Antivirus Software rather than TLS Encryption. 5. Conclusions This paper looks firstly at describing a model to quantify losses from cybersecurity risk and then secondly at enhancing it with a model for mitigations to optimise towards certain goals. The important features of the model for losses are that it can account for several types of attack and for dependence between different types of attack. The important features of the model for mitigations are that it is simple and targets frequency and severity separately. The simplicity means that expert knowledge can be translated into the model. The model can be used by practitioners and policy makers in two key ways. Firstly, it can be used to more exactly model potential losses from Cyber attacks. Secondly, given assumptions on the efficacy of different mitigation methods, it can be used to give the optimal choice of mitigations for a given objective. The model can be extended in several ways. Firstly, VaR and the Gaussian copula are used for simplicity’s sake and more sophisticated risk measures (see, e.g., Artzner et al. 1999) and copulae exist. Secondly, the framework of the Common Shocks model from Lindskog and McNeil (2003), which allows for an incident of one type to cause another, would be a means to introduce a more
Risks 2020,8, 61 19 of 20 realistic form of dependence. Thirdly and finally, it is unrealistic to imagine that fractional amounts of mitigations can be purchased. As mentioned in the Introduction, there is a collection of papers that use constraint programming which do not suffer from this issue. There are two key concepts that this paper rests upon. The first is that it is important to model different types of attack and their dependence. In the numerical example considered here, the dependence modelling was of little consequence. However, the effect of changing the dependence structure could change estimates of risk by up to 30%. The second is that although data for the effect of mitigations on attacks is limited and this limits the modelling, it is worthwhile to optimise the choice of mitigations. In the numerical example considered here, the reduction in VaR is 25% rather than the 16% found from spending naïvely. Author Contributions: Conceptualization, Z.Z. and P.T.; methodology, M.B. and Z.Z.; software, M.B. and A.S.; validation, A.S. and P.T.; formal analysis, M.B., P.T. and A.S.; investigation, M.B.; data curation, M.B.; writing–original draft preparation, M.B.; writing–review and editing, M.B., A.S., Z.Z., and P.T.; visualization, M.B. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding. Conflicts of Interest: The authors declare no conflict of interest. References Artzner, Philippe, Freddy Delbaen, Jean-Marc Eber, and David Heath. 1999. Coherent measures of risk. Mathematical Finance 9: 203–28. [CrossRef] Baskerville, Richard. 1991. Risk analysis: An interpretive feasibility tool in justifying information systems security. European Journal of Information Systems 1: 121–30. [CrossRef] Bojanc, Rok, and Borka Jerman-Blažiˇc. 2008. Towards a standard approach for quantifying an ict security investment. Computer Standards & Interfaces 30: 216–22. Chavez-Demoulin, V., P. Embrechts, and J. Ne ˘ slehová. 2006. Quantitative models for operational risk: Extremes, dependence and aggregation. Journal of Banking and Finance 30: 2635–58. [CrossRef] Eling, Martin, and Werner Schnell. 2016. Ten Key Questions on Cyber Risk and Cyber Risk Insurance. Technical Report. Geneva: The Geneva Association. Geer, Daniel, Kevin Soo Hoo, and Andrew Jaquith. 2003. Information security: Why the future belongs to the quants. IEEE Security & Privacy 99: 24–31. Genest, Christian, and Anne-Catherine Favre. 2007. Everything you always wanted to know about copula modeling but were afraid to ask. Journal of Hydrologic Engineering 12: 347–68. [CrossRef] Glasserman, Paul. 2003. Monte Carlo Methods in Financial Engineering. New York: Springer. Gordon, Lawrence A., and Martin P. Loeb. 2002. The economics of information security investment. ACM Transactions on Information and System Security 5: 438–57. [CrossRef] Gurland, John. 1959. Some applications of the negative binomial and other contagious distributions. The American Journal of Public Health 49: 1388–99. [CrossRef] [PubMed] Hubbard, Douglas W., and Richard Seiersen. 2016. How to Measure Anything in Cybersecurity Risk. Hoboken: John Wiley & Sons. Hulthén, Rolf. 2009. Managing Information Risk and the Economics of Security. Chapter Communicating the Economic Value of Security Investments: Value at Security Risk. Boston: Springer, pp. 121–40. Jacobson, Robert, William Brown, and Peter Browne. 1974. Guidelines for Automatic Data Processing, Physical Security and Risk Management. Technical Report FIPS PUB 31. Gaithersburg: National Bureau of Standards. Kuypers, Marshall A., Thomas Maillart, and Elisabeth Paté-Cornell. 2016. An Empirical Analysis of Cyber Security Incidents at a Large Organization. Available online: https://fsi-live.s3.us-west-1.amazonaws.com/ s3fs-public/kuypersweis_v7.pdf (accessed on 26 June 2017). Lee, Yong Jick, Robert Kauffman, and Ryan Sougstad. 2011. Profit-maximizing firm investments in customer information security. Decision Support Systems 51: 904–20. [CrossRef] Leslie, Nandi O., Richard E. Harang, Lawrence P. Knachel, and Alexander Kott. 2018. Statistical models for the number of successful cyber intrusions. Journal of Defense Modeling and Simulation: Applications, Methodology, Technology 15: 49–63. [CrossRef]
Risks 2020,8, 61 20 of 20 Lindskog, Filip, and Alexander J. McNeil. 2003. Common poisson shock models: Applications to insurance and credit risk modelling. ASTIN Bulletin 33: 209–38. [CrossRef] Munteanu, Adrian. 2017. Running the risk IT—More perception and less probabilities in uncertain systems. Information & Computer Security 25: 345–54. Nelsen, Roger B. 1999. An Introduction to Copulas. Lecture Notes in Statistics. New York: Springer. Oppliger, Rolf. 2015. Quantitative risk analysis in information security management: A modern fairy tale. IEEE Security & Privacy 13: 18–21. Paté-Cornell, M-Elisabeth, Marshall Kuypers, Matthew Smith, and Philip Keller. 2018. Cyber risk management for critical infrastructure: A risk analysis model and three case studies. Risk Analysis 38: 226–41. [CrossRef] [PubMed] Rebonato, Riccardo, and Peter Jäckel. 1999. The most general methodology to create a valid correlation matrix for risk management and option pricing purposes. Available online: https://papers.ssrn.com/sol3/papers. cfm?abstract_id=1969689 (accessed on 31 August 2017). Risk.net. 2020. Top 10 operational risks for 2020. March. Available online: https://www.risk.net/riskmanagement/7450731/top-10-operational-risks-for-2020 (accessed on 2 June 2020). Rohatgi, Ankit. 2018. WebPlotDigitizer. January. Available online: https://automeris.io/WebPlotDigitizer (accessed on 19 March 2018). Ross, Sheldon M. 2010. Introduction to Probability Models, 10th ed. Cambridge: Academic Press. Sawik, Tadeusz. 2013. Selection of optimal countermeasure portfolio in IT security planning. Decision Support Systems 55: 156–64. [CrossRef] Shevchenko, Pavel V. 2010. Calculation of aggregate loss distributions. The Journal of Operational Risk 5: 3–40. [CrossRef] The Australian Signals Directorate. 2017. Strategies to Mitigate Cyber Security Incidents. Available online: https://www.cyber.gov.au/sites/default/files/2019-03/Mitigation_Strategies_2017.pdf (accessed on 1 February 2018). Toscas, Peter, and Malcolm Faddy. 2003. Likelihood-based analysis of longitudinal count data using a generalized poisson model. Statistical Modelling 3: 99–108. [CrossRef] Venables, W. N., and B. D. Ripley. 2002. Modern Applied Statistics with S, 4th ed. New York: Springer, ISBN 0-387-95457-0. Viduto, Valentina, Carsten Maple, Wei Huang, and David López-Peréz. 2012. A novel risk assessment and optimisation model for a multi-objective network security countermeasure selection problem. Decision Support Systems 53: 599–610. [CrossRef] Virtanen, Pauli, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathon Bright, and et al. 2020. SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nature Methods 17: 261–72. [CrossRef] [PubMed] Wang, Jingguo. 2008. A value-at-risk approach to information security investment. Information Systems Research 19: 106–20. [CrossRef] Zhuo, Yueran, and Senay Solak. 2014. Measuring and optimizing cybersecurity investments: A quantitative portfolio approach. Paper presented at the 2014 Industrial and Systems Engineering Research Conference, Montréal, QC, Canada, May 31–June 3. c 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).