scieee AI-readable full text Open interactive document viewer

Modelling Security of Critical Infrastructures: A Survivability Assessment

Rodríguez, Ricardo; Merseguer, José; Bernardi, Simona

Abstract

Critical infrastructures, usually designed to handle disruptions caused by human errors or random acts of nature, define assets whose normal operation must be guaranteed to maintain its essential services for human daily living. Malicious intended attacks to these targets need to be considered during system design. To face these situations, defence plans must be developed in advance. In this paper, we present a Unified Modelling Language profile, named SecAM, that enables the modelling and security specification for critical infrastructures during the early phases (requirements, design) of system development life cycle. SecAM enables security assessment, through survivability analysis, of different security solutions before system deployment. As a case study, we evaluate the survivability of the Saudi Arabia crude-oil network under two different attack scenarios. The stochastic analysis, carried out with Generalized Stochastic Petri nets, quantitatively estimates the minimization of attack damages on the crude-oil network. Rodríguez, Ricardo; Merseguer, José; Bernardi, Simona

Full text

Modelling Security of Critical Infrastructures: A Survivability Assessment Ricardo J. Rodr´ ıguez†, Jos´ e Merseguer‡, Simona Bernardi§ †Research Institute of Applied Sciences in Cybersecurity University of Le´on, Spain ‡Dpto. de Inform´atica e Ingenier´ıa de Sistemas Universidad de Zaragoza, Mar´ıa de Luna 1, 50018 Zaragoza, Spain §Centro Universitario de la Defensa, Academia General Militar, Zaragoza, Spain Email: [email protected], {jmerse, simonab}@unizar.es Critical infrastructures, usually designed to handle disruptions caused by human errors or random acts of nature, define assets whose normal operation must be guaranteed to maintain its essential services for human daily living. Malicious intended attacks to these targets need to be considered during system design. To face with these situations, defense plans must be developed in advance. In this paper, we present a UML profile, named SecAM, that enables the modelling and security specification for critical infrastructures during the early phases (requirements, design) of systems development life-cycle. SecAM endows security assessment, through survivability analysis, of different security solutions before system deployment. As a case study, we evaluate the survivability of the Saudi Arabia crude-oil pipeline network under two different attack scenarios. The stochastic analysis, carried out with Generalized Stochastic Petri nets, quantitatively estimates the minimisation of attack damages into the crude-oil network. Keywords: security, software system engineering, UML, survivability, sensitive analysis 1. INTRODUCTION A critical infrastructure describes a facility, system, site or network whose loose or compromise represents a major impact on the availability or integrity of essential services for daily life operations, leading to severe financial looses, social consequences or even to put in risk human lives. For instance, the U.S. government defines as critical infrastructures the sectors related to water, energy, food and even information and telecommunications [1]. Infrastructures are usually planned to handle disruptions caused by human errors, or by unexpected acts of nature, having a small or not measurable degradation in performance. However, these critical assets represent a main target for terrorist attack plans, aiming at damaging as much as possible governments and citizens [1]. Suppose that a coordinated attack disrupts the power system paths from an energy station, thus losing power to end customers (home users and industries). As a consequence, power-dependent activities stop, then causing economic distress, among other fatalities. This turns to be even worst when an attacker disrupts safety-critical assets, such as the SCADA (Supervisory Control and Data Acquisition) system of a water treatment plant or an oil & gas distribution network thus provoking a poisoning of the population. As it is stated in [2], critical infrastructures must not only be safe (i.e., able to face random disrupting events), but also secure systems (i.e., able to face malicious intended attacks). That is, a critical infrastructure must have a security level enabling it to identify unexpected but intended events, must handle them and must recover from them. We thus need to develop in advance defense plans to protect critical infrastructures. Survivability strategies [3] - that include resistance, recognition and recovery phasesaim at providing protection for critical infrastructures in the presence of attacks. Since the attacks of September 11, 2001, to the Twin Towers there has been an even growing interest by the worldwide communities on the physical and cyber-security issues in critical infrastructures [1], so security and survivability should be considered as first-class properties in the system development life-cycle. We propose a specific language named SecAM (stands for Security Analysis and Modelling) that allows the security specification and modelling of critical infrastructures. SecAM is integrated The Computer Journal, Vol. ??, No. ??, ???? 2R. J. Rodr´ ıguez, J. Merseguer, S. Bernardi with UML (Unified Modelling Language [4]) as a Profile [5], and enables survivability analysis for critical infrastructures, which means to provide capabilities for assessing defense plans. The benefits of integrating security in the design of critical infrastructures are several. For instance, it enables to specify, both qualitatively and quantitatively, security and survivability requirements as well as to carry out sensitive analysis of different security solutions considering different attack scenarios. In this realm, our approach comes to fill some gaps in the literature regarding the modelling and analysis of critical infrastructures. Firstly, we propose models for the critical infrastructure and for attack patterns, these models can be merged to carry out survivability analysis. In particular, the attack patterns address the three phases of survivability previously mentioned – resistance, recognition and recovery –. Secondly, the survivability analysis is addressed through formal methods, in particular, Generalized Stochastic Petri nets [6]. Our approach obtains well-formed Petri nets that can be verified using standard model-checking techniques. The kind of analyses that can be performed is very rich indeed. Although the paper illustrates qualitative analysis and vulnerability analysis, the Petri net also allows to compute resource optimisation of the critical infrastructure, and to provide feedback to the engineers designing a critical system by reporting system bottlenecks (i.e., the slowest part in the system). Last but not least, the kind of techniques that can be used for Petri net analysis is also very rich. In the paper we apply efficient techniques, linear algebra and linear programming-based techniques [7] and steady state analysis, also simulation of the Petri net can be performed. SecAM promotes an integrated view of security considering all stages of the critical infrastructures lifecycle. We show the potential of SecAM in Section 6 by assessing security issues of the Saudi Arabia crudeoil pipeline network. We initially model using SecAM this critical infrastructure and propose two different attack scenarios. First, a physical attack to multiple network facilities and later a coordinated cyber-attack to the SCADA system. The attack scenarios develop survivability strategies for the system to be timely recovered. The outline of the paper is as follows. Section 2 describes technical background. Section 3 introduces SecAM, developing its core components. Section 4 details the steps we followed to develop the Saudi Arabia crude oil pipeline network case study. Section 5 models the critical infrastructure and the attack scenarios of the case study. Section 6 assesses the survivability analysis of the infrastructure. Section 7 reviews some works in the literature. Finally, Section 8 concludes the paper. 2. TECHNICAL BACKGROUND 2.1. UML and Profiles UML is a language for systems and software specification. It addresses structural, behavioural and deployment issues. Profiling [5] is a technique introduced in UML to add new capabilities to the language, in our case security modelling and analysis capabilities. A UML Profile is just an extension of the UML defined in terms of: •Stereotypes or concepts in the target domain that will be added to UML. For example, SecAM adds stereotypes to model attacks or intrusions. •Tags, the attributes of the stereotypes. For example, for the attack stereotype we define attributes such as its type, objective or location. SecAM relies on two profiles: the standard MARTE [8] (Modelling and Analysis of Real-Time and Embedded systems) and DAM [9] (Dependability Analysis and Modelling), see relationships among them in Figure 1(a). SecAM inherits from MARTE its analysis capabilities, among other features, and from DAM those concepts shared by the dependability and security fields [10]. 2.2. Generalized Stochastic Petri Nets A Generalized Stochastic Petri net (GSPN) [6] is a bipartite graph, in which the vertices can be either transitions or places. The transitions represent events that may occur in the system, they can be immediate or exponentially distributed. The former, depicted by black bars, fire in zero time and the latter, depicted by white bars, fire according to the specified distribution. The places, represented by circles, are used to model conditions. The directed arcs, shown by arrows, describe which places are pre- or post-conditions for which transitions. Places may contain tokens, depicted by black dots. The GSPN dynamics is governed by the transition enabling and firing rules. A transition is enabled whenever there is at least a token in each of its precondition places. When it fires, a token is consumed from each of its pre-condition places and a token is produced in each of its post-condition places. 3. MODELLING SECURITY OF CRITICAL INFRASTRUCTURES SecAM is organized in two main packages, the SecAM UML Extensions, that includes a set of stereotypes, and the SecAM Library, that contains basic and complex types used to define the tags of the stereotypes, see Figure 1(a). SecAM stereotypes are divided in four sub-packages, Resilience, Cryptographic, SecurityMechanisms and AccessControl, as depicted in Figure 1(b). This organization addresses different security The Computer Journal, Vol. ??, No. ??, ???? Modelling Security of Critical Infrastructures: A Survivability Assessment 3 <<profile>> MARTE <<profile>> DAM <<profile>> SecAM <<modelLibrary>> SecAM_Library SecAM_UML_Extensions <<modelLibrary>> SecAM::SecAM_Library Basic_SECA_Types Complex_SECA_Types <<profile>> MARTE::VSL::DataType <<modelLibrary>> MARTE::MARTE_Library::BasicNFP_Types <<import>> <<apply>> <<import>> <<import>> <<import>> <<import>> <<import>> (a) (b) FIGURE 1. (a) SecAM profile and SecAM Library, (b) SecAM UML extensions (subpackages). Security SecAM packages attributes (P1) (P2) (P3) (P4) Integrity √ √ √ Availability √ √ Confidentiality √ √ √ Authorisation √ Non-repudiation √ Authenticity √ (P1): Cryptographic; (P2): SecurityMechanisms (P3): Resilience; (P4): AccessControl TABLE 1. Security attributes covered by SecAM. issues of relevance for critical infrastructures. These issues are typically dealt by independent research communities, SecAM encompasses all of them to produce a common security specification. We have used a breadth-first approach to provide these common basis for the specification of security. Each sub-package deals with a subset of wellknown security attributes [11] (integrity, availability, confidentiality, authorisation, non-repudiation and authenticity) and, as shown in Table 1, the sub-packages overlap with respect to attribute coverage. 3.1. SecAM::Resilience package The Resilience package addresses the (malicious) threat characterization. It enables the specification in UML behavioural diagrams of attacks, vulnerabilities and intrusion concepts, and also their causal relationships (i.e., the attack-vulnerability-intrusion or AVI chain) [12]. The package was initially proposed in [13] to conduct a vulnerability stochastic analysis. Figure 2 details the package. It mainly contains two stereotypes, SecaAttackGenerator and SecaStep, that specialise some DAM stereotypes. Hence, by inheritance, they can be applied to all those UML behavioural model elements that can be stereotyped with the DAM ones. For example, SecaStep can stereotype action or activity states in activity diagrams. SecaStep has three tags, kind,vulnerability and intrusion and also inherits hostDemand, which describes its computational requirements, and prob, which indicates the probability of the step to be executed (for a conditional execution). Each tag has a type which is completely described in the SecAM Library, Figure 2 right hand side. For example, the type of intrusion is SecaIntrusion and it owns three tags, one of them successProb to define the probability for the attack to success. The SecaAttackGenerator has the tag attack of type SecaAttack to completely describe an attack as follows. The type of attack can be active or passive. The different classes of attacks (ClassOfAttack) are compliant to the taxonomy defined by Hansman and Hunt in [14], e.g., virus trojan, or worm. The KindOfAttack [15] depends on the method adopted by the attacker to succeed in the intent, e.g., injection or resource modification. For the objective of the attack (AttackObjective) we can distinguish: denial of service, run arbitrary code, privilege escalation, data modification and information leakage. Considering from where the attack is actuating, three different locations [16] can be identified (AttackLocation): single-source (originated at only one host), multi-source (replicated over multiple hosts), and reflector-source (the attacker uses legitimate hosts to attack the victim, hiding so his identity or amplifying his attack [17]). Finally, the target of an attack represents execution resources such as classes, instances, components, parts, and deployment nodes stereotyped as gaExecHost. Finally, the concept of coordinated attack is introduced by the complex type SecaCoordAttack. A coordinated attack allows attackers to avoid an intrusion detection by splitting a malicious attack pattern in several sub-patterns (attacks attribute). It can be classified (coordType attribute) as [18]: acumulative attack, when simultaneous attacks are initiated to overcome computer limitations; a replicated attack, when several attacks target replicated services occur to bring down the entire service structure; or a mixed attack, i.e., a combination of the previous ones. The Computer Journal, Vol. ??, No. ??, ???? 4R. J. Rodr´ ıguez, J. Merseguer, S. Bernardi <<stereotype>> SecaAttackGenerator attack : SecaAttack <<stereotype>> DAM::DaFaultGenerator <<profile>> SecAM::Resilience <<tupleType>> DAM::DaFault ocurrenceProb : NFP_Real[*] <<tupleType>> SecaCoordAttack coordType : CoordinationType attacks : SecaAttack[2..*] / ocurrenceProb : NFP_Real[*] <<tupleType>> SecaIntrusion successProb : NFP_Real origin : SecaVulnerable cause : SecaAttack <<tupleType>> SecaVulnerable degree : Degree composed : SecaVulnerable[*] <<tupleType>> SecaAttack type : TypeOfAttack class : ClassOfAttack location : AttackLocation objective : AttackObjective kind: KindOfAttack[*] target: GaExecHost <<stereotype>> DAM::DaStep <<stereotype>> SecaStep vulnerability : SecaVulnerable intrusion : SecaIntrusion kind :SecaStepKind <<Constant>> Injection <<Constant>> ResourceModification <<Constant>> ProtocolManipulation <<Constant>> Analysis <<Constant>> APIabuse <<Constant>> BruteForce <<Constant>> Flooding <<Constant>> Spoofing <<Constant>> SocialEngineering <<Constant>> Explosive <<enumeration>> KindOfAttack <<Constant>> Denial-Of-Service <<Constant>> RunArbitraryCode <<Constant>> PrivilegeScalation <<Constant>> DataModification <<Constant>> InformationLeakage <<enumeration>> AttackObjective <<Constant>> Single-source <<Constant>> Multi-source <<Constant>> Reflector-source <<enumeration>> AttackLocation <<Constant>> Virus <<Constant>> Worm <<Constant>> BufferOverflow <<Constant>> ResourceConsuming <<Constant>> Physical <<Constant>> Password <<Constant>> InformationGathering <<Constant>> Trojan <<enumeration>> ClassOfAttack <<Constant>> Cumulative <<Constant>> Replicated <<Constant>> Mixed <<enumeration>> CoordinationType <<Constant>> Active <<Constant>> Passive <<enumeration>> TypeOfAttack <<modelLibrary>> SecAM::SecAM_Library <<import>> FIGURE 2. The SecAM::Resilience package. <<modelLibrary>> SecAM::SecAM_Library <<import>> <<Constant>> Software <<Constant>> Hardware <<Constant>> Biometric <<enumeration>> KeyType <<Constant>> Assymmetric <<Constant>> Symmetric <<enumeration>> KeyKind <<Constant>> Zero <<Constant>> Bit <<Constant>> Byte <<enumeration>> PaddingScheme <<Constant>> ECB <<Constant>> CBC <<Constant>> CFM <<Constant>> OFM <<Constant>> CTR <<enumeration>> OperationMode <<Constant>> Synchronous <<Constant>> Asynchronous <<enumeration>> StreamType <<Constant>> Periodic <<Constant>> NonPeriodic <<enumeration>> Perioricity <<Constant>> vulnerable <<Constant>> intrusion <<Constant>> cryptographic <<Constant>> messageDigest <<enumeration>> SecaStepKind size : NFP_Integer type : KeyType kind : KeyKind[0..1] cipher : SecaCipher[0..1] <<tupleType>> SecaKey type : StreamType perioricity : Perioricity key : SecaKey <<tupleType>> SecaStream size : NFP_Integer padding : PaddingScheme[0..1] opMode : OperationMode concreteAlgorithm : NFP_String <<tupleType>> SecaBlock errorRate : NFP_Real operationalRate : NFP_Real kind : CipherKind <<tupleType>> SecaCipher <<Constant>> Stream <<Constant>> Block <<enumeration>> CipherKind kind : SecaStepKind cryptographic : SecaKey hash : SecaMessageDigest <<stereotype>> SecaStep <<stereotype>> DAM::DaStep length : NFP_DataSize padding : PaddingScheme[0..1] opMode : OperationMode blocks : SecaBlock [1..*] <<tupleType>> SecaMessageDigest key : SecaKey <<tupleType>> SecaMAC SecAM::Cryptography <<profile>> FIGURE 3. The SecAM::Cryptographic package. 3.2. SecAM::Cryptographic package Cryptography [19] is primarily used to gain confidentiality over the communications between pairs, however, it also supports data integrity and authentication. The Cryptographic package deals with security properties related to ciphers and algorithms. Hence, the package mainly supports the specification of cryptographic design of the critical infrastructure and its performance characteristics, see Figure 3. The SecaStep stereotype, already considered in the Resilience package, is now used to specify a cryptographic step through the new tags: kind, cryptographic and hash. The cryptographic tag is a complex type (SecaKey) that enables to characterize the key, either asymmetric or symmetric (KeyKind). The latter can be of different types, depending on how/where it is deployed (KeyType): software, hardware (i.e., cryptographic devices) or biometric (e.g., fingerprint, facial recognition or retinal scanning). A cipher (SecaCipher) can be either a block or stream cipher, depending on the algorithm, and it uses a key. It is characterized by an error rate, i.e., the ratio of errors that the cipher can suffer during the process of encryption/decryption, and an operational rate, i.e., the number of encrypted/decrypted bits per time unit. A stream cipher (SecaStream) uses a key-stream to cipher/decipher plain text, which generates a stream of secret bits given an initial key. It can be either self-synchronous (i.e., ciphertext-auto-key, CTAK) or synchronous (i.e., key-auto-key, KAK), depending on whether the used key-stream is influenced or not by the ciphered/deciphered text. A block cipher The Computer Journal, Vol. ??, No. ??, ???? Modelling Security of Critical Infrastructures: A Survivability Assessment 5 (SecaBlock) has a block size, that is the number of characters (or bits) of the plain text message which can be ciphered at a time. Normally, the partition of the message into blocks is not exact and, therefore, a padding scheme is needed. Besides, it uses an operation mode (OperationMode) which determines its encryption/decryption scheme, we rely on the ones approved by NIST [20]. A message digest (SecaMessageDigest), also called hash, is a value calculated through a cryptographic hash function. Such a value is used, for instance, to determine if a message has been altered. When the cryptographic hash function uses a key (then called keyed hash function), the obtained value is called message authentication code (MAC, SecaMAC). MAC values assure data integrity and data authenticity. 3.3. SecAM::SecurityMechanisms package The SecurityMechanisms package, depicted in Figure 4, characterises both hardware and software solutions provided by the critical infrastructure to attain security. It comprises basic cryptographic devices [19], more sophisticated ones [21–23], the use of security communication links such as Virtual Private Networks, honeypots [24] or any kind of security software. A security mechanism can be located either in a host machine or in a network. In the first case, it can be either a software, e.g., the Windows firewall or UNIX packet-filtering rules (SecaHostFirewall). In the second case, it can be a hardware device, e.g., a wormhole [23] or a cryptographic token/accelerator [19]. The type of defense (DefenceType) of the security mechanism can be proactive, reactive or both [23]. Several types of specialised security hardware mechanisms can be distinguished: crypto hardware (SecaCryptoHW), wormholes (SecaWormhole), firewalls (SecaFirewall) and Intrusion Detection and Prevention System (IDPS) (SecaIDPS). Crypto hardware may have a key which is used to perform cryptographic actions (SecaKey complex type in Figure 3). A wormhole [23] enables both proactive and reactive defense on the system and is characterized by several parameters: the number of tolerated faulty hosts (nFaulty tag), the number of host replicas which can be recovered in parallel (nParallel) and timing parameters (the recovery time, tRecovery, and the period, tPeriod). A firewall [21], usually a networklocation device, filters packets from the network at different layers of the OSI architecture (FilterLevel), e.g., data-link or application-based filtering. An IDPS monitors the network (or a single host) to discover security breaches. Several detection methods exist (DetectionMethod), our profile relies on the ones described by NIST [22]. An aggregation of security hardware devices can conform to a demilitarised zone (DMZ) [21]. There exists many configurations for a DMZ, from a single router to a more complex architecture. The hosts deployed on a DMZ zone are called bastions (SecaBastion stereotype), they offer secure services, e.g., web, mail, FTP, DNS or honeypot. A honeypot (SecaHoneyPot stereotype) can be a virtual machine, a sandbox (logical) environment or a real system with capability features. Through the operativeSystem tagged-value we can specify the software which is running in such confined environment knowing the security breaches within it. Besides, the monitor tagged-value specifies what operation and what feature are being monitored. A secure communication link (SecaLink stereotype) is characterised by the number of authentication factor (e.g., one level if only a password is needed, two levels if a correct combination of user/password is needed, and so on), the layer where the secure communication is taking place and the specification of the secure protocol. 3.4. SecAM::AccessControl package The AccessControl package supports the specification of access control policies to the critical infrastructure. It addresses confidentiality, integrity and authorisation issues. Access control can be classified, depending on the policy, in three basic groups [25]: Mandatory Access Control (MAC)1, Discretionary Access Control (DAC) and Role-Based Access Control (RBAC) [26]. The small set of stereotypes defined in Figure 5 include the necessary concepts to specify all the aforementioned access control and integrity policies, and also any other access control policies that a user needs to devise for securing the critical infrastructure. Control policies rely on: 1. Who is accessing to the system (SecaSubject stereotype); 2. Which objects should be protected for unauthorised access or modification (SecaObject stereotype); 3. Which operations a user wants to perform on the available objects (SecaOperation). In SecaSubject the attributes inheritance and exclusion allow to specify delegation of authority and separation of duties, respectively, two major concerns in access control policies. The other attribute, level, allows to specify the level of security of the subject. Such level aims to be defined by the engineer depending on the problem context. For instance, High, Medium,Low levels when designing a military security policy, or Manager,Developer,Administrative when dealing with a company’s hierarchy. Namely, Figure 5 shows the NATO clearance levels (TopSecret,Secret, Confidential and Restricted) [27]. The type attribute (SecaOperation stereotype) indicates the type of the operation to be performed. 1MAC is also called Lattice-Based Access Control (LBAC). The Computer Journal, Vol. ??, No. ??, ???? 6R. J. Rodr´ ıguez, J. Merseguer, S. Bernardi <<Constant>> Low <<Constant>> Medium <<Constant>> High <<enumeration>> Degree <<Constant>> OnDemand <<Constant>> RealTime <<enumeration>> ScanningMode <<Constant>> VirtualMachine <<Constant>> Logical <<Constant>> CapabilitySystem <<enumeration>> HPotType <<Constant>> SignatureBased <<Constant>> AnomalyBased <<Constant>> StatefulBased <<Constant>> Other <<enumeration>> DetectionMethod <<Constant>> DataLink <<Constant>> Packet <<Constant>> Stateful <<Constant>> Circuit <<Constant>> Application <<enumeration>> FilterLevel <<Constant>> FileSystem <<Constant>> Registry <<Constant>> Process <<Constant>> Memory <<Constant>> Services <<Constant>> Ports <<Constant>> All <<enumeration>> Feature <<Constant>> Read <<Constant>> Write <<Constant>> Create <<Constant>> Delete <<Constant>> Open <<Constant>> Kill <<Constant>> Close <<Constant>> All <<enumeration>> OpMonitored <<Constant>> Host <<Constant>> Network <<enumeration>> Location <<Constant>> Proactive <<Constant>> Reactive <<Constant>> Both <<enumeration>> DefenceType <<Constant>> Web <<Constant>> Mail <<Constant>> FTP <<Constant>> DNS <<Constant>> Proxy <<Constant>> VPN <<Constant>> Honeypot <<Constant>> Other <<enumeration>> ServiceOffered antivirus : SecaAntivirus [0..*] hostFirewall : SecaHostFirewall [0..*] idpsSoftware : SecaIDPSsoftware [0..*] webBrowser : SecaWebBrowser [0..*] <<tupleType>> SecaOperativeSystem scanningMode : ScanningMode <<tupleType>> SecaAntivirus filterLevel : FilterLevel <<tupleType>> SecaHostFirewall detection : DetectionMethod <<tupleType>> SecaIDPSsoftware <<tupleType>> SecaWBPlugin wbPlugins : SecaWBPlugin [0..*] securityLevel : Degree <<tupleType>> SecaWebBrowser feature : Feature operation : OpMonitored [1..*] <<tupleType>> SecaMonitorFeature name : NFP_String version : NFP_String vulnerabilities : SecaVulnerable [0..*] <<tupleType>> SecaCommonType <<modelLibrary>> SecAM::SecAM_Library <<import>> <<stereotype>> MARTE::GRM::Resource location : Location defenceType : DefenceType hitRate : NFP_Real <<stereotype>> SecaSecurityDevice key : SecaKey <<stereotype>> SecaCryptoHW nParallel : NFP_Integer nFaulty : NFP_Integer tPeriod : NFP_Duration tRecovery : NFP_Duration <<stereotype>> SecaWormhole detection : DetectionMethod[1..*] <<stereotype>> SecaIDPS filterLevel : FilterLevel <<stereotype>> SecaFirewall <<metaclass>> UML::Package service : ServiceOffered <<stereotype>> SecaBastion <<stereotype>> SecaDMZ type : HPotType duration : NFP_DataTime operativeSystem : SecaOperativeSystem cryptoHW : SecaCryptoHW [0..*] monitor : SecaMonitorFeature [0..*] <<stereotype>> SecaHoneyPot <<ex t e n d >> <<profile>> SecAM::SecureMechanisms nFactor : NFP_Integer layer : ProtocolLayer protocol : NFP_String <<stereotype>> SecaLink nFactor : NFP_Integer layer : ProtocolLayer protocol : NFP_String <<stereotype>> SecaLink CommunicationMedia <<stereotype>> MARTE::GRM:: FIGURE 4. The SecAM::SecurityMechanisms package. FIGURE 5. The SecAM::AccessControl package. The set of operations (OperationType values) can be redefined in order to customize them to the target domain problem. For instance, if the engineer wants to consider a payment as an operation, s/he can define a permission constant such as payment which will be valid in his/her domain. 4. TECHNICAL PROCESS Sections 5 and 6 develop the case study of the Saudi Arabia crude oil pipeline network. These sections follow the main steps outlined in Figure 6 and develop the models proposed in such figure. The model-based process is partitioned in three sides: UML models, Petri net models and analysis and assessment step. UML models of the critical infrastructure are represented by a flow model and a resource model. The former is developed through a UML activity diagram, while the latter using the deployment diagram. In parallel we develop different attack models using UML activity diagrams also. We consider paradigmatic survivability patterns that may conform to a library of survivability scenarios, for our case study they represent The Computer Journal, Vol. ??, No. ??, ???? Modelling Security of Critical Infrastructures: A Survivability Assessment 7 physical attacks and coordinated cyber-attacks. Both models, the critical infrastructure one and those of the attacks, are annotated using SecAM. Finally, each SecAM variable in the attack models is parameterized for eventually conducting sensitivity analysis. For example, we can fix probability values for the occurrence of the selected resistance strategies. Petri net models, in particular Generalized stochastic Petri nets (GSPN [6]), are obtained through UML-2- GSPN model transformation according to the approach in [28]. We obtain a GSPN model representing the critical infrastructure and one GSPN model per attack scenario. The analysis and assessment step starts with a qualitative analysis of the GSPN, which ensures that the net is free of bottlenecks. Then the quantitative assessment proceeds through sensitivity analysis. 5. SURVIVABILITY MODELLING OF A CRITICAL INFRASTRUCTURE The Saudi Arabia crude-oil pipeline network is a paradigmatic case of critical infrastructure wanted to be attacked by terrorists, in fact it was a terrorist target in 2006 [2]. According to [2] Saudi Arabia was the world’s largest producer and exporter of total petroleum liquids in 2010 and the world’s second largest crude oil producer behind Russia. Morgan Stanley reports [29] that a reduction in Saudi Arabia crude-oil output to 4 mmbbl/day2(only about 5% of world demand), from a current of 8 to 9 mmbbl/day, would cause worldwide economic distress leading to a global recession if the infrastructure could not be repaired in a few months. Unless having survivability strategies leading to quickly recover the infrastructure -in hours or few days-, the report informs that worldwide oil prices shoot skyward. Saudi Aramco processes the majority of crude oil in a plant at Abqaiq and distributes it through an extensive network of pipelines that connects the plant to three primary oil seaports, Ras Al-Juaymath, Ras Tanura and Yanbu, and two minor terminals, Ras Al- Khafji and Jubail. The deployment diagram in Figure 7 depicts these facilities and the distribution network. This distribution network operates thousands of miles of pipelines and junctions throughout alternative pathways, both domestic and international. Activity diagram in Figure 8 offers an excerpt of the oil flow from the source to the terminals with an example of the time delays for pipes and junctions annotated using SecAM. An enormous security force guards the distribution network, but being more than 9000 miles long -only the domestic pathways-, the area cannot be patrolled completely. Attacks to oil pipeline infrastructures may range from physical ones (e.g., damaging seaport infrastructures, pipeline segments or junctions) to cyber-attacks (e.g., compromising the network control system through a 2million barrels per day. distributed denial of service -DDoS- or infecting it). Survivability strategies should face the reported threats, and may lead to recover the infrastructure -physical and network control systemfor guaranteeing oil production timely. We present one standard survivability strategy model for each kind of attack, using SecAM to specify both the attacks and the survivability parameters. The first survivability strategy, Figure 9, identifies the three common stages: if the system does not resists the attack then a recognition step possibly followed by a recovery will try to maintain the infrastructure up. The secaAttackGenerator stereotype and its tag attack completely describe the physical attack and the resources being attacked (pipes P1, P3 and Qadif junction node). The secaStep stereotype is used to model intrusions, as probabilities that will allow a stochastic analysis of the strategy, and the demands for recovering and repairing activities. For the latter we used exponentially distributed random variables, $recovery3and $MTTR, which fit the stochastic analysis and also allow to perform sensitivity analysis varying the values assigned to them. The second survivability strategy, Figure 10, describes a scenario with two coordinated attacks to different nodes of the computing control system of the distribution network. On the one hand, a DoS attack tries to shut down the Qadif node. An IDPS (intrusion detection and prevention system) is the resistance strategy that constantly monitorizes the network for malicious activity. For the sake of space, we express in Figure 7 the existence of this IDPS by means of the SecaIDPS stereotype in Qadif node (light gray annotation). If the system does not resist recovering activities are carried out. On the other hand, an attack to the control node of pipe P1 tries to obtain advantage over a vulnerability in its communication protocol for executing code arbitrarily (thus, gaining access to the control system). The resistance strategy is a RSA cryptographic algorithm, which introduces the corresponding delay ($decipher). 6. SURVIVABILITY ANALYSIS OF THE INFRASTRUCTURE A previous vulnerability analysis of the oil distribution network was carried out in [2,7]. In particular in [7], a Time Petri Net model was used to evaluate the impact on the network throughput of different attack plans having as objective three network facilities (i.e., two pipes connecting Abqaiq and Yanbu and the junction of Qadif). Herein, the aim of the analysis is to provide a quantitative stochastic characterization of the survivability requirements, devised for the two attack scenarios specified in the previous section. For this purpose, the survivability steps (resistance, recognition and recovery) have been parameterized in order to 3Values preceded by $ are variables that will be parameterized during analysis. The Computer Journal, Vol. ??, No. ??, ???? 8R. J. Rodr´ ıguez, J. Merseguer, S. Bernardi CI Flow model (UML Activity diag.) CI Resource model (UML deplyment diag.) CI Model SecAM <<profile>> SecAM <<profile>> Survivability pattern Annotating security Model to model transformation Annotating security Model to model transformation Attack Model (UML Activity diag.) CI GSPN Model GSPN composition GSPN Model4Analysis Qualitative analysis Quantitative assessment (through sensitivity analysis) UML modelsPetri net models Analysis & Assessment Survivability pattern library (coordinated attacks, cyber-attacks, ..) GSPN Attack Model Param. for analysis FIGURE 6. Model-based process followed to develop the case study. <<device>> <<gaExecHost>> Abqaiq <<device>> <<gaExecHost>> Ras Al-Juaymah <<device>> <<gaExecHost>> Yanbu <<device>> <<gaExecHost>> Ras Tanura <<device>> <<gaExecHost>> Ras Al-Khafji <<device>> <<gaExecHost>> Jubail <<device>> <<gaExecHost>> Qadif <<device>> <<gaExecHost>> Pipe P3 <<device>> <<gaExecHost>> Pipe P1 FIGURE 7. An excerpt of the Saudi Arabia crude-oil pipeline distribution network. evaluate, through sensitivity analysis, the effects of the aforementioned attacks on the network infrastructure. We reuse the model of the oil distribution network, under stochastic assumptions, and the composition approach in [7] to get the GSPN [6] models of the network under the two types of attacks. A preliminary qualitative analysis of the composed GSPN models has been carry out to check whether they are well-formed and, then suitable for evaluating survivability metrics. In particular, we have applied linear algebra and linear programming-based techniques to verify that: •the network resources (i.e., pipes and junctions) are used in conservative manner and the oil quantity flowing through the distribution network is preserved, and The Computer Journal, Vol. ??, No. ??, ???? Modelling Security of Critical Infrastructures: A Survivability Assessment 9 To Ras Al-Juaymah To Yanbu To Ras Tanura To Ras Al-Khafji To Jubail Through Pipe P1 Through Pipe P3 Through Junction J1 Through Pipe P2 Through Junction J2 Through Pipe P4 In Yanbu In Jubail In Ras Al-Juaymah In Ras Tanura In Ras Al-Khafji MergeNode Which path? FIGURE 8. An excerpt of the Saudi Arabia crude-oil pipeline system flow. <<secaAttackGenerator>> Attacking <<secaStep>> Recovering <<secaStep>> Repairing <<secaStep>> <<secaStep>> <<secaStep>> System Repairs Attack System Recognizes and Recovers Attack System Resists Attack Recognition success? Resistance success? No Yes Yes No Survivability scenario (physical attack) FIGURE 9. Survivability scenario of a physical attack. •the oil flow injected in the network will reach eventually the port terminals. It is worth to observe that such type of analysis also provides a feedback to the designer on the correctness of the UML models. In all the experiments, the GSPN models have been solved with the GreatSPN [30] steady state simulator (confidence level 99% and accuracy 3%). Figure 11(A1) sketches the GSPN model used in the analysis of the first survivability scenario, where the clouds represent the oil distribution network subnet and the survivability scenario under a physical attack assumption. The latter is detailed in Figure 11(A2) and it is obtained through UML-2-GSPN model transformation according to the approach in [28], where the three concurrent dotted subnets, one per each attacked resource (i.e., the pipes P1, P3 and Qadif junction), are obtained from the AD pattern in Figure 9. Table 2 summarizes the parameters of the survivability scenario of Figure 9, the (range) values assigned to them in the sensitivity analysis and their mapping to the transition parameters of the GSPN subnet of Figure 11(A2). In particular, in this first study, we have assumed a perfect recognition (probability of recognition equal to one). The distribution network parameters have been set to the values used in the work [7]. The GSPN model sketched in Figure 11(A1) has The Computer Journal, Vol. ??, No. ??, ????