Presentation is loading. Please wait.

Presentation is loading. Please wait.

©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 1 Security Engineering.

Similar presentations


Presentation on theme: "©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 1 Security Engineering."— Presentation transcript:

1 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 1 Security Engineering

2 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 2 Objectives l To introduce issues that must be considered in the specification and design of secure software l To discuss security risk management and the derivation of security requirements from a risk analysis l To describe good design practice for secure systems development. l To explain the notion of system survivability and to introduce a method of survivability analysis.

3 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 3 Topics covered l Security concepts l Security risk management l Design for security l System survivability

4 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 4 l Tools, techniques and methods to support the development and maintenance of systems that can resist malicious attacks that are intended to damage a computer-based system or its data. l A sub-field of the broader field of computer security. Security engineering

5 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 5 System layers

6 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 6 Application/infrastructure security l Application security is a software engineering problem where the system is designed to resist attacks. l Infrastructure security is a systems management problem where the infrastructure is configured to resist attacks. l The focus of this chapter is application security.

7 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 7 Security concepts

8 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 8 Examples of security concepts

9 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 9 Security threats l Threats to the confidentiality of a system or its data l Threats to the integrity of a system or its data l Threats to the availability of a system or its data

10 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 10 Security controls l Controls that are intended to ensure that attacks are unsuccessful. This is analagous to fault avoidance. l Controls that are intended to detect and repel attacks. This is analagous to fault detection and tolerance. l Controls that are intended to support recovery from problems. This is analagous to fault recovery.

11 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 11 Security risk management l Risk management is concerned with assessing the possible losses that might ensue from attacks on the system and balancing these losses against the costs of security procedures that may reduce these losses. l Risk management should be driven by an organisational security policy. l Risk management involves Preliminary risk assessment Life cycle risk assessment

12 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 12 Preliminary risk assessment

13 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 13 Asset analysis

14 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 14 Threat and control analysis

15 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 15 Security requirements l Patient information must be downloaded at the start of a clinic session to a secure area on the system client that is used by clinical staff. l Patient information must not be maintained on system clients after a clinic session has finished. l A log on a separate computer from the database server must be maintained of all changes made to the system database.

16 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 16 Life cycle risk assessment l Risk assessment while the system is being developed and after it has been deployed l More information is available - system platform, middleware and the system architecture and data organisation. l Vulnerabilities that arise from design choices may therefore be identified.

17 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 17 Examples of design decisions l System users authenticated using a name/password combination. l The system architecture is client-server with clients accessing the system through a standard web browser. l Information is presented as an editable web form.

18 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 18 Technology vulnerabilities

19 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 19 Design for security l Architectural design - how do architectural design decisions affect the security of a system? l Good practice - what is accepted good practice when designing secure systems? l Design for deployment - what support should be designed into a system to avoid the introduction of vulnerabilities when a system is deployed for use?

20 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 20 Architectural design l Protection How should the system be organised so that critical assets can be protected against external attack? l Distribution How should system assets be distributed so that the effects of a successful attack are minimised? l Potentially conflicting If assets are distributed, then they are more expensive to protect.

21 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 21 Protection l Platform-level protection l Application-level protection l Record-level protection

22 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 22 Layered protection

23 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 23 A distributed equity system

24 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 24 Design guidelines l Design guidelines encapsulate good practice in secure systems design l Design guidelines serve two purposes: They raise awareness of security issues in a software engineering team. They can be used as the basis of a review checklist that is applied during the system validation process.

25 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 25 Design guidelines 1 l Base security decisions on an explicit security policy l Avoid a single point of failure l Fail securely l Balance security and usability l Be aware of the possibilities of social engineering

26 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 26 Design guidelines 2 l Use redundancy and diversity to reduce risk l Validate all inputs l Compartmentalise your assets l Design for deployment l Design for recoverability

27 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 27 Design for deployment l Deployment involves configuring software to operate in its working environment, installing the system and configuring it for the operational platform. l Vulnerabilities may be introduced at this stage as a result of configuration mistakes. l Designing deployment support into the system can reduce the probability that vulnerabilities will be introduced.

28 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 28 System deployment

29 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 29 Deployment support l Include support for viewing and analysing configurations l Minimise default privileges and thus limit the damage that might be caused l Localise configuration settings l Provide easy ways to fix security vulnerabilities

30 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 30 System survivability l Survivability is an emergent system property that reflects the systems ability to deliver essential services whilst it is under attack or after part of the system has been damaged l Survivability analysis and design should be part of the security engineering process

31 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 31 Service availability l Which system services are the most critical for a business? l How might these services be compromised? l What is the minimal quality of service that must be maintained? l How can these services be protected? l If a service becomes unavailable, how quickly can it be recovered?

32 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 32 Survivability strategies l Resistance Avoiding problems by building capabilities into the system to resist attacks l Recognition Detecting problems by building capabilities into the system to detect attacks and failures and assess the resultant damage l Recovery Tolerating problems by building capabilities into the system to deliver services whilst under attack

33 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 33 System survivability method

34 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 34 Key activities l System understanding Review golas, requirements and architecture l Critical service identification Identify services that must be maintained l Attack simulation Devise attack scenarios and identify components affected l Survivability analysis Identify survivability strategies to be applied

35 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 35 Trading system survivability l User accounts and equity prices replicated across servers so some provision for survivability made l Key capability to be maintained is the ability to place orders for stock l Orders must be accurate and reflect the actual sales/purchases made by a trader

36 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 36 Survivability analysis

37 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 37 Key points l Security engineering is concerned with how to develop systems that can resist malicious attacks l Security threats can be threats to confidentiality, integrity or availability of a system or its data l Security risk management is concerned with assessing possible losses from attacks and deriving security requirements to minimise losses l Design for security involves architectural design, following good design practice and minimising the introduction of system vulnerabilities

38 ©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 38 Key points l Key issues when designing a secure architecture include organising the structure to protect assets and distributing assets to minimise losses l General security guidelines sensitise designers to security issues and serve as review checklists l Configuration visualisation, setting localisation, and minimisation of default privileges help reduce deployment errors l System survivability reflects the ability of a system to deliver services whilst under attack or after part of the system has been damaged.


Download ppt "©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 30 Slide 1 Security Engineering."

Similar presentations


Ads by Google