**International Journal of Communications, Network and System Sciences**

Vol.12 No.01(2019), Article ID:90203,10 pages

10.4236/ijcns.2019.121001

Nonhomogeneous Risk Rank Analysis Method for Security Network System

Pubudu Kalpani Hitigala Kaluarachchilage^{1*}, Chris P. Tsokos^{2}, Sasith M. Rajasooriya^{3 }

^{1}Department of Mathematical and Physical Sciences, Miami University, Middletown, OH, USA

^{2}Department of Mathematics and Statistics, University of South Florida, Tampa, FL, USA

^{3}Department of Mathematics, University of Dayton, Dayton, OH, USA

Copyright © 2019 by author(s) and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution-NonCommercial International License (CC BY-NC 4.0).

http://creativecommons.org/licenses/by-nc/4.0/

Received: December 11, 2018; Accepted: January 22, 2019; Published: January 25, 2019

ABSTRACT

Security measures for a computer network system can be enhanced with better understanding the vulnerabilities and their behavior over the time. It is observed that the effects of vulnerabilities vary with the time over their life cycle. In the present study, we have presented a new methodology to assess the magnitude of the risk of a vulnerability as a “Risk Rank”. To derive this new methodology well known Markovian approach with a transition probability matrix is used including relevant risk factors for discovered and recorded vulnerabilities. However, in addition to observing the risk factor for each vulnerability individually we have introduced the concept of ranking vulnerabilities at a particular time taking a similar approach to Google Page Rank Algorithm. New methodology is exemplified using a simple model of computer network with three recorded vulnerabilities with their CVSS scores.

**Keywords:**

Markov Chain, Vulnerability, Non Homogeneous Risk Analysis, Network Security, Google Page Rank

1. Introduction

A network system could have numerous vulnerabilities. We understand the process of generating vulnerabilities is highly stochastic and outcomes are hard to predict. Similarly the behaviors of attacks and attackers also have higher level of unpredictability. When considering a particular system based on the discovered vulnerabilities the analysis must consider the dynamic nature of the effect of vulnerabilities over time. As we observed in our previous researches [1] [2] [3] [4] [5] , effect of the vulnerabilities vary with the time over their life cycle. Therefore, for a particular system, the most threatening vulnerability [6] [7] [8] at time t_{1} might not be the same at time t_{2}. Hence, it would be very useful to have analytical models to observe the behavior of the rank of vulnerabilities based on the magnitude of the threat with respect to time for a given network system.

Such ranking distribution over time would empower the defenders by giving the priority directions to attend on fixing vulnerabilities. In this paper we attempt to address this need.

In Section 2, the methodology of this new ranking approach is discussed with relevant introductions to Google Page Rank Algorithm and the Risk Rank Algorithm presented in this study. Section 3 illustrates the application of the proposed methodology with a model example step by step. Section 4 discusses the resulting risk ranks for vulnerabilities and their behavior over time. In Section 5, contributions of the study and conclusions are summarized.

2. Methodology

2.1. Google Page Rank Algorithm

This section provides a background for our quantitative analysis of risk rank algorithm method. Ranking web pages is an important function of an internet search engine [9] [10] . Google Page Rank Algorithm [11] is one of the most accurate and efficient page ranking methods in use. Methodology behind this algorithm will be briefly discussed below.

Output of this algorithm gives a probability distribution which is used to represent the likelihood that a person randomly clicking on links will arrive at any particular page. Using this method we can rank the likelihood of clicking on any web link. This can be calculated for any number of web links. In this algorithm, the sum of the page rank values of all the considered web links is equal to be one and it is assumed that the probability of selecting a web page initially is equal for any available option.

Google page rank algorithm simulates the clicking behavior of a web link in two ways. First is to visit a web link via an incoming link to the current web page and second way is to pick a web page randomly. Google page rank theory holds that any surfer who is randomly clicking on web links will eventually stop clicking. At any of these stages, a damping factor d is the probability that the web surfer will continue surfing. Many researches have tested various damping factors but in generally it is assumed that the damping factor will be set around 0.85.

Let ${p}_{t}\left(v\right)$ be the probability of visiting web page v at time t and v be a set of all web pages under consideration. Here $out\left(v\right)$ represents the set of web pages in v with an outgoing link from v, and $in\left(v\right)$ represents the set of incoming link to v. The page rank computation can be viewed as a Markov process whose states are pages and the links between pages represent state transitions. This computation is given in the Equation (1) below.

${P}_{t+1}=\left(1-d\right)\ast {\displaystyle {\sum}_{\forall u\in V}\frac{{P}_{t}\left(u\right)}{\left|V\right|}}+d\ast {\displaystyle {\sum}_{\forall u\in in\left(v\right)}\frac{{P}_{t}\left(u\right)}{\left|out\left(u\right)\right|}}$ (1)

Let, $\left|V\right|$ be the number of pages considered. Surfer will stop clicking on any link with probability 1 − d. Since there are $\left|V\right|$ number of pages and probability of visiting v from any page is equally likely, the probability for each case is equal to $\frac{1}{\left|V\right|}$ .

Here $d\ast {\displaystyle {\sum}_{\forall u\in in\left(v\right)}\frac{{P}_{t}\left(u\right)}{\left|out\left(u\right)\right|}}$ represents the case when the surfer continues clicking links with probability d and goes to page v at time t + 1 from page u that has an incoming link to v.

Initially at t = 0, each page has the same ranking value probability which is equal to $\frac{1}{\left|V\right|}$ . Then iterations are executed over time until the stability is achieved. Once the probability distribution for each page becomes stable, considering high to low probabilities ranks are assigned.

2.2. Risk Rank Algorithm

By developing the concept applied in Google Page Rank Algorithm here we introduce a ranking method for risk of vulnerabilities [10] [11] [12] [13] [14] in a network system.

To estimate the probabilities in Risk Rank Algorithm Markov model techniques can be applied similarly as in Google Page Rank Algorithm [11] . However there is a difference between web surfing behavior and Cyber security attacking behavior. A web surfing user can randomly select a web page but in cyberattacks an attacker doesn’t have the same freedom. In web surfing user can arrive at any web page in one single step by using its URL. But attacker has many restrictions. In computer network system an attacker doesn’t have the access to all vulnerabilities in the network system. To achieve attacker’s target state he must exploits several vulnerabilities in a particular order and enters in to the target system.

In the attacking process an attacker has two options. He can either continue or quit from his current path. If it is too difficult for him to achieve his goal state he can quit on the current path and try an alternative path by starting over from one of the set of initial states. Base on these assumptions here we propose our model to calculate the probability distribution of a given security attack model.

To obtain the risk rank [15] [16] [17] [18] we used the risk factor $R\left(v\left(t\right)\right)$ [2] [3] of each vulnerability at each state and calculated normalized risk factor matrix A(V, R) for the attack network system by using $\phi \left(u,v\right)$ transition probabilities from state u to v. Thus, we can calculate transition probabilities using the equation $\phi \left(u,v\right)=\frac{R\left(v\left(t\right)\right)}{{{\displaystyle \sum}}_{\forall w\in out(u)}R\left(w\left(t\right)\right)}$ .

Let P_{k}(v) be the probability of exploiting state

${P}_{k+1}\left(v\right)=\{\begin{array}{l}d\ast {\displaystyle {\sum}_{\forall u\in in\left(v\right)}{P}_{k}\left(u\right)}\ast \phi \left(u,v\right)+\frac{\left(1-d\right)}{\left|I\right|},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}v\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{an}\text{\hspace{0.17em}}\text{intial}\text{\hspace{0.17em}}\text{state}\\ d\ast {\displaystyle {\sum}_{\forall u\in in\left(v\right)}{P}_{k}\left(u\right)}\ast \phi \left(u,v\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{if}\text{\hspace{0.17em}}v\text{\hspace{0.17em}}\text{isnotanintialstate}\end{array}$ (2)

Let |I| be the number of initial states and attacker will stop his current path with probability 1 − d. Since there are |V| numbers of states and probability of exploiting v from any other state is equally likely, the probability for each case is $\frac{1}{\left|V\right|}$ .

Here in Equation (2) $d\ast {\displaystyle {\sum}_{\forall u\in in\left(v\right)}{P}_{k}\left(u\right)}\ast \phi \left(u,v\right)$ represents the case when the attacker continues his current path with probability d and attack to state v at time t + 1 from state u that has an incoming link to vulnerability v.

Initially at t = 0 each state has the same ranking value which is equal to $\frac{1}{\left|V\right|}$ . Then computing iterations over time the stability is achieved. Once the probability distribution for each state become stable, ranks are assigned to each vulnerability [20] [21] [22] .

This procedure is illustrated by the following schematic diagram given in Figure 1.3. Illustration of Applying of the Risk Rank AlgorithmTo illustrate the proposed analytical approach model that we have developed as discussed above, we considered a Network Topology [1] [4] , given by Figure 2.

Figure 1. Key steps of the risk rank algorithm.

Figure 2. Network topology.

The computer network consists of two service hosts IP 1, IP 2 and an attackers workstation. Attacker is connecting to each of the servers via a central router. In the server IP 1 the vulnerability is labeled as CVE 2016-3230 and shall denote as V_{1}. In the server IP 2 there are two recognized vulnerabilities, which are labeled as CVE 2016-2832 and CVE 2016-0911. Let’s denote them as V_{2} and V_{3}, respectively.

We proceed to use the CVSS score [12] [13] of the above vulnerabilities in our analysis.

The exploitability score (e(v) in Figure 2) and Risk Factor R(vj(t)) of each vulnerabilities as given in Table 1.

For example we can calculate the Risk Factor of V_{1} as follows.

$R\left(vj\left(t\right)\right)=Y\left(t\right)\times e(vj)$

$R\left(v1\left(t\right)\right)=\left[\mathrm{0.1917010.383521}\left(1/t\right)-0.00358\mathrm{ln}\left(\mathrm{ln}\left(t\right)\right)\right]\times 8$

and

$R\left(v1\left(9\right)\right)=1.702$

Although our proposed algorithm can be applied to any form of network system, for simplicity we will use our host centric attack graph model [1] [4] [23] introduced below to illustrate the process. The host centric attack graph is shown by Figure 3. Here, we consider that the attacker can reach the goal state only by exploiting V_{3} vulnerability. The graph shows all the possible paths that are available for the attacker to reach the goal state.

Note that IP1,1 state represents vulnerability V_{1} and states IP2,1 and IP2,2 represent vulnerabilities V_{2} and V_{3} respectively. Attacker can reach each state by exploiting the relevant Vulnerability.

In this methodology for the Host Centric Attack graph [24] [25] we can have the Adjacency Matrix as follows. Applying the information given in Table 1, the matrix A(V, R) can be obtained as follows, where we can find the transition probabilities from one state to another state.

Figure 3. Host centric attack graph.

Table 1. Vulnerability scores.

$A=\left[\begin{array}{cccc}0& 0.76& 0.24& 0\\ 0& 0& 1& 0\\ 0& 0.83& 0& 0.17\\ 0& 0& 0& 1\end{array}\right]$

Applying this normalized risk matrix into Algorithm 1, we can obtain steady state probabilities for each state in the network which represent risk of being exploited [14] [15] . Results we obtained for each state are shown in Table 2.

Table 2 results are in the order of being exploited by attacker at time t. Order of vulnerabilities based on the rank we obtained is s_{1}, s_{2}, s_{3}, s_{0}. This result suggests that s_{1} has the highest likelihood of being attacked. This means at time t, s_{1} is the most vulnerable state. However according to Table 1 risk factor values for vulnerability v_{1} is 1.702 which is higher than the risk factor values of vulnerabilities v_{2} and v_{3}. Therefore it is reasonable to assume that reaching state s_{1} from initial state s_{0} (attacker’s state) by exploiting v_{1} vulnerability is easier than reaching states s_{2} and s_{3}. Therefore, the risk rank of the state s_{1} is higher than other states.

4. Behavior of Risk Ranks over Time

In this section we extend our methodology to obtain the risk ranks of each attack state over time. Since our risk factor is a function of time, with the age of vulnerabilities the transition probability matrix with respect to the attack graph also varies. In our attack graph we consider dates according to Table 1 and therefore after each day, transition probabilities in the matrix vary.

Table 3 illustrates risk ranks obtained for the next 10 days using the new algorithm we proposed. As these results indicate “risk ranks” for vulnerabilities varies over time. For example at time t = 5 risk probabilities are 0.15, 0.2742,

Table 2. Ranking results in attack states.

Table 3. Ranking results for each state with time.

0.2628 and 0.313 for each state s_{0}, s_{1}, s_{2} and s_{3} respectively. As Table 3 exemplifies with initial ranks state one (vulnerability, V_{1}) was most risky or vulnerable. But, after two days state s_{3} (Vulnerability, V_{3}) becomes the most vulnerable, hence the most risky state and continue to be so afterwards. It should be noted that “State 0” is not a vulnerability but represents the attacker. Therefore it is at the last of the order of ranks always. It is interesting to see that s_{3} (Vulnerability, V_{3}) initially was at the least risk level so in the last position of the risk levels among vulnerabilities, and then just after one day becomes more risky and reach the second in the rank and after two dates become the dominating risk factor in this particular computer network model.

So, application of this algorithm in more a generalized real life network model would give us with the similar observations with respect to time. According to this model example, network administrators and defending resources must be allocated to resolve s_{3} (Vulnerability, V_{3}) at priority.

5. Conclusions

In this chapter a new Ranking Algorithm was introduced to rank the vulnerabilities in a particular computer network system. The methodology of well-known Google Page Rank Algorithm was used and we further developed it to fit a computer network environment. General assumptions used in Google Page Rank Algorithm with respect to the probability of selecting a particular web link were changed according to the probability distributions we obtained by normalized vulnerability scores in subject computer network system. Ranks were obtained for each vulnerability based on the likelihood of those vulnerabilities getting exploited.

We have further developed the algorithm so that the Distribution of Ranks of Vulnerabilities in the subject computer network system is given as a function of time. That is; using our new algorithm, a user (a network system administrator or a researcher) would be able to observe the behavior of the ranks of vulnerabilities with respect to time. This new methodology will greatly help relevant parties to make better decisions to protect network systems because at a particular time t, the algorithm will indicate which vulnerabilities are most vulnerable and needed immediate attention or priority.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Kaluarachchilage, P.K.H., Tsokos, C.P. and Rajasooriya, S.M. (2019) Nonhomogeneous Risk Rank Analysis Method for Security Network System. Int. J. Communications, Network and System Sciences, 12, 1-10. https://doi.org/10.4236/ijcns.2019.121001

References

- 1. Kaluarachchi, P.K., Tsokos, C.P. and Rajasooriya, S.M. (2016) Cybersecurity: A Statistical Predictive Model for the Expected Path Length. Journal of information Security, 7, 112-128. https://doi.org/10.4236/jis.2016.73008
- 2. Rajasooriya, S.M., Tsokos, C.P. and Kaluarachchi, P.K. (2016) Stochastic Modelling of Vulnerability Life Cycle and Security Risk Evaluation. Journal of information Security, 7, 269-279. https://doi.org/10.4236/jis.2016.74022
- 3. Rajasooriya, S.M., Tsokos, C.P. and Kaluarachchi, P.K. (2017) Cybersecurity: Nonlinear Stochastic models for Predicting the Exploitability. Journal of information Security, 8, 125-140. https://doi.org/10.4236/jis.2017.82009
- 4. Kaluarachchi, P.K., Tsokos, C.P. and Rajasooriya, S.M. (2018) Non-Homogeneous Stochastic Model for Cyber Security Predictions. Journal of Information Security, 9, 12-24. https://doi.org/10.4236/jis.2018.91002
- 5. Kaluarachchi, P.K., Tsokos, C.P. and Rajasooriya, S.M. (2019) Risk Rank Analysis Method for Vulnerabilities in a Network. Urban Studies and Public Administration, 2.
- 6. (2016) US Government Cybersecurity Report. https://explore.securityscorecard.com/rs/797-BFK-857/images/2018%20Government%20Cybersecurity%20Report.pdf
- 7. (2016) Symantec, Internet Security Threat Report. Vol. 21. https://www.symantec.com/content/dam/symantec/docs/reports/istr-21-2016-en.pdf
- 8. NVD National Vulnerability Database. http://nvd.nist.gov/
- 9. Kijsanayothin, P. (2010) Network Security Modeling with Intelligent and Complexity Analysis. Ph.D. Dissertation, Texas Tech University, Lubbock.
- 10. Sawilla, R. and Ou, X. (2007) Googling Attack Graphs. Technical Report TM-2007-205, Defense Research and Development Canada.
- 11. Gleich, D.F. (2015) PageRank Beyond the Web. SIAM Review, 57, 321-363. https://doi.org/10.1137/140976649
- 12. Schiffman, M. Common Vulnerability Scoring System (CVSS). http://www.first.org/cvss/
- 13. CVE Details. http://www.cvedetails.com/
- 14. Frei, S. (2009) Security Econometrics: The Dynamics of (IN) Security. Ph.D. Dissertation, ETH, Zurich.
- 15. Joh, H. and Malaiya, Y.K. (2010) A Framework for Software Security Risk Evaluation Using the Vulnerability Lifecycle and CVSS Metrics. Proceedings of International Workshop on Risk and Trust in Extended Enterprises (RTEE), November 2010, 430-434.
- 16. Alhazmi, O.H., Malaiya, Y.K. and Ray, I. (2007) Measuring, Analyzing and Predicting Security Vulnerabilities in Software Systems. Computers and Security Journal, 26, 219-228. https://doi.org/10.1016/j.cose.2006.10.002
- 17. Alhazmi, O.H. and Malaiya, Y.K. (2008) Application of Vulnerability Discovery Models to Major Operating Systems. IEEE Transactions on Reliability, 57, 14-22. https://doi.org/10.1109/TR.2008.916872
- 18. Alhazmi, O.H. and Malaiya, Y.K. (2005) Modeling the Vulnerability Discovery Process. Proceedings of 16th International Symposium on Software Reliability Engineering, Chicago, 8-11 November 2005, 129-138. https://doi.org/10.1109/ISSRE.2005.30
- 19. Lawler, G.F. (2006) Introduction to Stochastic Processes. 2nd Edition, Chapman and Hall/CRC Taylor and Francis Group, London, New York.
- 20. Noel, S., Jacobs, M., Kalapa, P. and Jajodia, S. (2005) Multiple Coordinated Views for Network Attack Graphs. IEEE Workshops on Visualization for Computer Security, Minneapolis, October 2005, 99-106.
- 21. Abraham, S. and Nair, S. (2014) Cyber Security Analytics: A Stochastic Model for Security Quantification Using Absorbing Markov Chains. Journal of Communications, 9, 899-907. https://doi.org/10.12720/jcm.9.12.899-907
- 22. Mehta, V., Bartzis, C., Zhu, H., Clarke, E.M. and Wing, J.M. (2006) Ranking Attack Graphs. In: Zamboni, D. and Krugel, C., Eds., Recent Advances in Intrusion Detection, Volume 4219 of Lecture Notes in Computer Science, Springer, Berlin, 127-144.
- 23. Jajodia, S. and Noel, S. (2005) Advanced Cyber Attack Modeling, Analysis, and Visualization. 14th USENIX Security Symposium, Technical Report 2010, George Mason University, Fairfax.
- 24. Wang, L., Singhal, A. and Jajodia, S. (2007) Measuring Overall Security of Network Configurations Using Attack Graphs. Data and Applications Security, 21, 98-112. https://doi.org/10.1007/978-3-540-73538-0_9
- 25. Wang, L., Islam, T., Long, T., Singhal, A. and Jajodia, S. (2008) An Attack Graph-Based Probabilistic Security Metric. DAS 2008, LNCS 5094, 283-296.