Repository navigation
Software Engineering Lecture 14 Security Engineering Management Risk Assessment and Design
Full tutorial link > https://www.youtube.com/watch?v=eS1U8Qrgcg4
#SoftwareEngineering #Course #HowToProgram #HowToCode #HowToBeEngineer
Hello everyone. My name is Furkan Gözükara, and I am a Computer Engineer Ph.D. Assistant Professor at the Software Engineering department.
In this course, we will learn what is the true meaning of being a Software Engineer rather than being a web developer / freelancer developer / software developer / developer / coder / programmer, etc.
Software Engineering Full Course Playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
GitHub repository of the course : https://github.com/FurkanGozukara/Software-Engineering-CSE307-2020
Discord channel link of the course : https://discord.gg/6Mrb8MwteQ
How to use Discord : https://youtu.be/AEwPtYiLvsQ
This course does not require you to have any knowledge about programming in any programming language.
However, if you want to start learning programming or develop your other Software Engineering related skills you can watch our below full courses:
[1] Introduction to Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffskoSXySh0MdiayPJsBZ7m2o
[2] Object Oriented Programming Full Course with C# playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsnH3XJb66FDIHh1yHwWC26I
[3] Artificial Intelligence (AI) and Machine Learning (ML) Full Course with C# Examples playlist: https://www.youtube.com/playlist?list=PL_pbwdIyffskVschrADCL6KEnL_nqDtgD
[4] Software Engineering Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslgxMVyXhnHiSn_EWTvx1G-
[5] Security of Information Systems Full Course playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffslM_o92NwkaUzD7C6Fekx26
[6] (Turkish) Bilgisayar Becerileri Tam Ders playlist : https://www.youtube.com/playlist?list=PL_pbwdIyffsmyE2e909ea1MXLcMb8MenG
Auto timed subtitle : success
-
00:00:01 Hello dear students. Welcome to the lecture 14 of software engineering course,
-
00:00:06 so do today's topic is security engineering and we are going to cover this below topics.
-
00:00:14 Security engineering and Security Management
-
00:00:21 Security engineering concerned with applications; Security Management with infrastructure.
-
00:00:31 Security risk assessment
-
00:00:34 Designing a system based on the assessment of security risks
-
00:00:40 designed for security
-
00:00:42 How system architectures have to be designed for security. Okay.
-
00:00:49 Security engineering
-
00:00:53 Tools, techniques and methods to support the development and maintenance of systems that
-
00:00:58 can resist malicious attacks that are intended to damage a computer-based system or its data.
-
00:01:07 So what is security engineering? It is a composition of tools techniques
-
00:01:11 and methods to support development and maintenance of systems that can resist.
-
00:01:15 This is the important part. Malicious attacks that are intended to damage a computer-based system or
-
00:01:21 its data. So this is what is being as what about security engineering.
-
00:01:30 a subfield of the broader field of computer security.
-
00:01:35 Assumes background knowledge of dependability and
-
00:01:38 security Concepts (lecture 10) and security requirements specification (lecture 12)
-
00:01:49 Application infrastructure security
-
00:01:52 Application security is a software engineering
-
00:01:55 problem where the system is designed to resist attacks.
-
00:02:00 Infrastructure security as a systems management
-
00:02:03 problem where the infrastructure is configured to resist attacks.
-
00:02:08 The focus of this lecture is application security.
-
00:02:12 So infrastructure security is another topic different than the application security.
-
00:02:20 System layers where security may be compromised. Okay, so there are multiple system layers where
-
00:02:27 security may be comprised such as application layer, reusable components and libraries.
-
00:02:34 Middleware, database management, generate
-
00:02:36 shared applications such as browsers emails and such and operating system.
-
00:02:46 system Security Management
-
00:02:49 User and permission management
-
00:02:53 Adding and removing users from the system and setting up appropriate permissions for users.
-
00:03:00 Software deployment and maintenance
-
00:03:04 Installing application software and middleware
-
00:03:07 and configuring these systems so that vulnerabilities are avoided.
-
00:03:12 Attack monitoring, detection and Recovery monitoring the system for unauthorized access,
-
00:03:17 design strategies for resisting attacks and develop backup and Recovery strategies.
-
00:03:22 So you see there are three main layers of system Security Management user and permission
-
00:03:28 management software deployment and maintenance attack monitoring detection and Recovery.
-
00:03:34 Okay security risk management.
-
00:03:38 Risk management is concerned with assessing the possible losses that might ensue from
-
00:03:42 attacks on the system and balancing these losses against the costs of security procedures that may
-
00:03:48 reduce these losses. Risk management should be driven by an organizational security policy.
-
00:03:54 It's impossible to a hundred percent make the system secure. So you have to consider
-
00:04:01 a balance between security and risk because having higher security means
-
00:04:08 spending more on security. Therefore, You have to keep a balanced healthy balance
-
00:04:16 between security and the cost of security Management. So the risk management involves
-
00:04:24 preliminary at risk assessment, life cycle risk assessment and operational risk assessment.
-
00:04:30 So the preliminary risk assessment is like below preliminary risk assessment. Asset
-
00:04:38 Representation and organization and asset value assessment threat identification
-
00:04:46 exposure assessment and threat identification is attack assessment and it takes
-
00:04:53 taken into consideration technology choices. It is also being used in attack assessment
-
00:05:00 then control identification available controls design and requirements changes. So you see
-
00:05:07 This figure shows which are being used by which control and system.
-
00:05:19 Misuse cases
-
00:05:23 Miss use cases are instances of threats to a system.
-
00:05:29 Interception threats, attacker gains access to an asset.
-
00:05:33 So when an interception attack happens or that happens, attacker gains access to an asset, it can
-
00:05:41 be anything such as your network card your graphic card your operating system access Interruption
-
00:05:48 threats, attacker makes part of a system unavailable. So if an interruption
-
00:05:52 attack happens part of your system becomes unavailable such as the attack disables your
-
00:05:59 mouse and you can't use it anymore or other things.
-
00:06:05 modification threats, a system asset if tampered with.
-
00:06:10 Okay, so if attacker modifies an asset of a system that is modification attack such as
-
00:06:19 they modify your sound card software and it still works but they can then listen your sounds and
-
00:06:30 such fabrication threats, false information is added to a system. This is this can be such as
-
00:06:42 They are adding an illegal content on your device. And then they report you to alter it authorities
-
00:06:51 and this publication threat. So asset analysis, there are assets column here and value of an asset
-
00:06:59 and the exposure what happens so the asset the information system itself as an asset the value.
-
00:07:08 High required to support all clinical consultations potentially safety-critical. Okay. So this is
-
00:07:15 asset an asset of Medical Health Care Mental Health Care system. Okay,
-
00:07:23 so what happens but if the asset information system asset exposures get exposed
-
00:07:31 High. Financial loss is clinics may have to be canceled costs of restoring system.
-
00:07:37 Possible patient harm if treatment cannot be prescribed. Okay, so the patient database of the
-
00:07:45 mental health care System
-
00:07:48 value
-
00:07:50 High. Required to support all clinical consultations potentially safety critical.
-
00:07:58 High. Financial loss is clinics may have to be cancelled. Costs of restoring system possible
-
00:08:04 patient harm if treatment cannot be prescribed and an individual patients record, okay?
-
00:08:13 Normally low although maybe high for specific high-profile patients. So if their profile let's
-
00:08:19 say the president of a country and exposure of that patient record can cause a lot of damage
-
00:08:29 and harm your reputation and such so it depends on the profile that is building exposed.
-
00:08:39 Low direct losses, but possible loss of reputation
-
00:08:44 threat and control analysis. So the threat number one threat
-
00:08:49 Unauthorized user gains access as system manager and makes system unavailable.
-
00:08:55 So probability is low control.
-
00:09:00 Only allow system management from specific locations that are physically secure.
-
00:09:05 So if Allow system management to be possible from on the specific locations, it is
-
00:09:12 very low for threat actor to gain unauthorized access. So the feasibility
-
00:09:20 of control. Low cost of implementation, but care must be taken with key
-
00:09:26 distribution and to ensure the keys are available in the event of an emergency.
-
00:09:30 So it can be done. It is feasible.
-
00:09:36 Unauthorized user gains access as system user and accesses confidential information.
-
00:09:42 Okay. This is high why it is high because
-
00:09:48 require all users to authenticate themselves using a biometric mechanism log all changes to
-
00:09:54 patient information to track system usage. Because if users are logging in with their password and
-
00:10:01 let's say there's national ID. And if they are using easy to guess passwords, the the hackers can
-
00:10:14 gain access to their profile easily with guessing weak.
-
00:10:17 First, okay, and for the property the prevention of such incident is let's say
-
00:10:26 forces users to login with biometric mechanism, which cannot be obtained without physical
-
00:10:35 interaction. However, it is extremely hard to achieve that.
-
00:10:43 Technically feasible but high cost solution
-
00:10:47 possible user resistance simple and transparent to implement and also supports recovery.
-
00:10:53 So requiring biometric mechanism is very hard to achieve it is technically feasible, but high-cost
-
00:11:01 logging all changes to patient information to track system usage which it is very easy simple
-
00:11:07 and transparent to implement so you such incident happens you can then roll back
-
00:11:13 patient information modification and it is done. You have solved the problem.
-
00:11:21 Security requirements
-
00:11:27 Patient information must be downloaded at the start of a clinic session to a secure
-
00:11:32 area on the system client that is used by clinical staff. Patient information must not
-
00:11:38 be maintained on system clients after a clinic session has finished. Log on a separate computer
-
00:11:44 from the database server must be maintained of all changes made to the system database.
-
00:11:50 Okay. So these are the security requirements of such system and lifecycle risk assessment.
-
00:11:57 Life cycle risk assessment
-
00:12:01 risk assessment while the system is being developed and after it has been deployed
-
00:12:06 more information as available system platform middleware and the system architecture and data
-
00:12:11 organization vulnerabilities that arise from design choices May therefore be identified.
-
00:12:21 So what are the life cycle of the risks and how to assess them?
-
00:12:25 So the risk assessment while the system is being developed and after it has been deployed
-
00:12:29 more information is available after it is deployed system platform little bit of system
-
00:12:35 architecture and data organization vulnerabilities that arise from design
-
00:12:39 choices. Maybe therefore I therefore be identified after the system deployed, okay.
-
00:12:44 So let's see, The life cycle is other asset representation and organization
-
00:12:49 asset value assessment threat identification exposure assessment
-
00:12:53 design and requirements changes and after we done attack assessment and control identification
-
00:13:00 technology choices and available controls. Okay, let's continue.
-
00:13:06 One moment. Okay, let's continue.
-
00:13:15 Design decisions from use of COTS. Okay, so what was the COTS?
-
00:13:33 Okay, so commercial off-the-shelf.
-
00:13:36 Yeah. It means that you are buying a system readily available system.
-
00:13:44 System users authenticated using a name password combination. The system architecture
-
00:13:50 is client server with clients accessing the system through a standard web browser.
-
00:13:55 Information is presented as an editable web form.
-
00:14:02 Vulnerabilities associated with technology choices so the technology choice login password
-
00:14:08 authentication. We could also choose biometric authentication, but we have preferred it login
-
00:14:13 password authentication and what vulnerabilities that are user set guessable password
-
00:14:19 as I mentioned a little bit ago. authorized users reveal their passports to the unauthorized
-
00:14:25 users to another key case and another technology which has client-server architecture using web
-
00:14:31 browser. We could also choose a specially developed application. However, we choose
-
00:14:38 the readily available one web browsers several subject to the denial of service attack because
-
00:14:45 because everything is exposed to the public. Confidential information may be left in
-
00:14:50 browser cache. It's another possibility. Especially if client is looking from
-
00:14:57 a public Area Public computer public device. Browser
-
00:15:02 security loopholes lead to unauthorized access if the browser is not secure enough if the clients
-
00:15:08 browser it may be outdated. It's varying be another popular secure one. It is another
-
00:15:17 vulnerability and use the editable web forms. We could have used another way to
-
00:15:25 modify. The system find green logging of changes is impossible authorization
-
00:15:31 can't be varied according to users role. Okay.
-
00:15:40 Security requirements. Okay. These are the security requirements of
-
00:15:46 commercial off-the-shelf systems. A password Checker shall be made available and shall be
-
00:15:52 run daily weak passwords shall be reported to system administrators
-
00:15:58 access to the system shall only be allowed by approved client computers.
-
00:16:03 All client computers shall have a single approved web browser installed by System administrators.
-
00:16:11 By the way, the client here is being the employers using
-
00:16:17 The mental health care management system not the patients themselves.
-
00:16:26 operational risk assessment
-
00:16:30 Continuation of life cycle risk assessment but with additional information about the
-
00:16:35 environment where the system is used. Environment characteristics can lead
-
00:16:40 to new system risks risk of interruption means that logged in computers are left unattended.
-
00:16:47 okay design work for security architectural design
-
00:16:53 How do architectural design decisions affect the security of a system? So good practice.
-
00:17:01 What is accepted good practice when designing secure systems?
-
00:17:05 Designed for deployment. What support should be designed into a system to avoid the introduction
-
00:17:12 of vulnerabilities when a system is deployed for use? So, let's see the architectural design.
-
00:17:20 Two fundamental issues have to be considered when designing an architecture for security.
-
00:17:26 First fundamental issue is protection hospital system be organized. So that critical assets
-
00:17:33 can be protected against external attack? And the other issue is distribution of the system
-
00:17:39 how to put system assets be distributed so that the affects of a successful attack art
-
00:17:46 minimized these are potentially conflicting.
-
00:17:50 Why?
-
00:17:52 If assets are distributed, then they are more expensive to protect
-
00:17:56 if assets are protected then usability and performance requirements may be compromised.
-
00:18:02 Okay, so the protection platform level protection.
-
00:18:08 Top level controls on the platform on which a system runs. And application Level protection.
-
00:18:17 Specific protection mechanisms built into the application itself e.g additional
-
00:18:22 password protection. Record-level protection.
-
00:18:27 Protection that is invoked when access to specific information is requested.
-
00:18:33 Okay, this is for example, when you try to change your password on a logged in
-
00:18:39 system such as your Gmail, it asks you to enter rewrite your password. Okay,
-
00:18:47 and all maybe your age other specific information that you have provided previously.
-
00:18:55 This could prevent such cases that for example, you have logged in your Gmail
-
00:19:01 account on a public computer and you forgot to sign out and another person comes in and
-
00:19:07 try to change your password or another information of your account. Then the
-
00:19:13 password or other information would appear asked. So this is record level protection.
-
00:19:23 These lead to a layered protection architecture.
-
00:19:27 Okay, A layered protection architecture platform level our protection system
-
00:19:31 authentication system authorization file Integrity management application Level
-
00:19:36 protection database login database authorization transaction management database recovery
-
00:19:42 record level protection record access authorization record encryption record
-
00:19:45 Integrity management and patient records. So the distribution
-
00:19:58 Distributing assets means that attacks on one
-
00:20:01 system do not necessarily lead to complete loss of system service.
-
00:20:07 Each platform has separate protection features and maybe different from other
-
00:20:11 platforms so that they do not share a common vulnerability.
-
00:20:18 Distribution is particularly important if the risk of denial of service attacks is high.
-
00:20:24 So distributed assets in an equity trading system. You see there is authentication and
-
00:20:30 authorization New York trading system and London trading system US User accounts International
-
00:20:36 user accounts u.s. Trading history us Equity Data International Equity prices US Funds data.
-
00:20:44 And another one UK user accounts international use records UK trading history UK Equity
-
00:20:51 Data International Equity prices UK funds data. Then Frankfurt trading system
-
00:20:58 European users accounts internet user accounts European trading history and such. You see
-
00:21:06 the equity trading system is split in two main four main parts, and they are based
-
00:21:14 on london trading system Hong Kong services in Frankfurt trading system New York trading system
-
00:21:19 if London trading system get unavailable then they may use international
-
00:21:24 user accounts of Hong Kong trading system and such or the other areas may still
-
00:21:30 continue working. So the key points of the first chapter is like this. Let's read each of them.
-
00:21:41 Security engineering is concerned with how to develop systems that can resist
-
00:21:45 malicious attacks. Okay, even if you are not a security engineer, when you develop a system,
-
00:21:51 you have to always consider there will be malicious attacks against your system.
-
00:21:58 Okay, even if you are developing a system for a single user you have to consider that
-
00:22:04 fact because it may happen and take necessary precautions.
-
00:22:13 Security threats can be threats to confidentiality Integrity or availability of a system or its data.
-
00:22:20 So that can multiple different threats such as confidential theology Integrity or
-
00:22:26 availability of a system or its data. You have to consider all of these possibilities.
-
00:22:34 Security risk management is concerned with assessing possible losses from attacks and
-
00:22:39 deriving security requirements to minimize losses. Okay. So there is another area which
-
00:22:44 is security risk management and the management team is concerned with the assessing
-
00:22:50 possible losses. So they evaluate that if we take this security measure, what can we
-
00:22:56 protect and if we don't take it what can happen and what is the cost of that? So with balance
-
00:23:04 and cost of risk with cost of risk and security protection.
-
00:23:13 They keep the balance. Okay, and finally
-
00:23:20 Designed for security involves architectural design following
-
00:23:23 good design practice and minimizing the introduction of system vulnerabilities.
-
00:23:29 Okay. So now part I will take a pause.
-
00:23:34 Okay, so the part in the part of the design guidelines for security
-
00:23:39 guidelines that help you design a secure system design for deployment.
-
00:23:44 Design so that deployment problems that may introduce vulnerabilities are many minimized.
-
00:23:52 System survivablity
-
00:23:57 System survivability allow the system to deliver essential Services when under attack, okay.
-
00:24:07 Design guidelines for security engineering
-
00:24:15 Okay.
-
00:24:19 Design guidelines encapsulate good practice in Secure systems design
-
00:24:26 Design guidelines serve two purposes design guidelines encapsulate good practice in
-
00:24:31 Secure systems design. It has a multiple times read it design guidelines serve two purposes.
-
00:24:40 They raise awareness of security issues in a software engineering team
-
00:24:45 security is considered when design decisions are made. They can be used
-
00:24:50 as the basis of a review checklist that is applied during the system validation process.
-
00:24:55 Okay. So you see raising awareness is really important among developers because eventually
-
00:25:02 the developer has to be careful when designing and developing a system and developer has to be
-
00:25:10 aware could be used as a runner vulnerability of a system. Moreover They can be used as
-
00:25:17 the basis of the review of checklist that is applied during the system validation.
-
00:25:24 So having design guidelines are extremely useful
-
00:25:27 Design guidelines here are applicable during software specification and design, okay.
-
00:25:35 Design guidelines for secure systems engineering security guidelines, so let's read them.
-
00:25:44 Base security decisions on an explicit security policy, avoid a single point of
-
00:25:49 failure, fail securely, balance security and usability, log user actions, use redundancy
-
00:25:54 and diversity to reduce risk, validate all inputs, compartmentalize your assets,
-
00:25:59 design for deployment, design for recoverability. Okay so if we
-
00:26:06 order them with the importance from my perspective from my point of view, I would say number one is
-
00:26:13 we validate all inputs. This is number one rule never trust any input validated sanitize it okay,
-
00:26:23 and then fail securely this is another important one third one is log
-
00:26:31 user actions fourth one is I would say balance security and usability
-
00:26:37 and then use redundancy and diversity to reduce risk.
-
00:26:42 and basically the decisions on an explicit security policy for the same and
-
00:26:51 Designed for deployment design for recoverability and comparatmentalize door assets. Okay. So
-
00:26:57 design guidelines 1 to 3 let's read the definition base decisions on an explicit security policy.
-
00:27:06 Define a security policy for the organization that sets out the fundamental security requirements
-
00:27:12 that should apply to all organizational systems. Avoid a single point of failure.
-
00:27:20 Ensure that a security failure can only result when there is more than one failure
-
00:27:25 in security procedures for example have password and question-based Authentication.
-
00:27:32 Fail securely
-
00:27:36 When systems fail for whatever reason, ensure that sensitive information cannot
-
00:27:40 be accessed by unauthorized users even although normal security procedures are unavailable.
-
00:27:49 Balance security and usability
-
00:27:52 Try to avoid security procedures that make the system difficult to use.
-
00:27:57 Sometimes you have to accept weaker security to make the system more usable.
-
00:28:04 Log user actions
-
00:28:08 Maintain a log of user actions that can be analyzed to discover who did what.
-
00:28:13 If users know about such a log they are less likely to behave in an irresponsible way. This
-
00:28:19 is similar to have security cameras. Okay, when a person knows that there are security cameras.
-
00:28:28 They are recording everything they tend to be obey and follow the rules much better and avoid
-
00:28:38 illegal actions
-
00:28:42 Use redundancy and diversity to reduce risk, keep multiple copies of data and use diverse
-
00:28:48 infrastructure so that an infrastructure vulnerability cannot be the single point of
-
00:28:53 failure. And the number one the most important one according to me. Validate all inputs.
-
00:29:00 Check that all inputs are within range. So that unexpected inputs cannot cause problems.
-
00:29:07 Compartmentalize your assets
-
00:29:10 Organize the system. So that assets are in separate areas and users only have
-
00:29:15 access to the information that they need rather than all system information.
-
00:29:20 Designed for deployment
-
00:29:23 design the system to avoid deployment problems designed for recoverability.
-
00:29:30 Designed the system to simplify recoverability after a successful attack designed for deployment.
-
00:29:41 Deployment involves configuring software to operate in its working environment
-
00:29:46 installing the system and configuring it for the operational platform. Vulnerabilities may
-
00:29:51 be introduced at this stage as a result of configuration mistakes. Designing deployment
-
00:29:57 support into the system can reduce the probability that vulnerabilities will be introduced.
-
00:30:04 Okay, software deployment understand and Define the
-
00:30:07 software is operating on operational environment configure software with the environment details
-
00:30:13 install software on computers where it will operate
-
00:30:16 configure software with computer details. So you design the deployments basically.
-
00:30:24 Configuration vulnerability, it's the most important one never will their ability of
-
00:30:28 configuration is vulnerable default settings. I think we have shown you an article on
-
00:30:37 arstechnica, which was showing the MR scan on devices were using default password.
-
00:30:50 Okay Radiology devices this you see how much they make the system vulnerable. If you use
-
00:30:59 default password, then they can access all the devices that are connected to the internet.
-
00:31:06 It applies to everything basically, For example, if your refrigerator is
-
00:31:11 let's say intelligence has IT capability.
-
00:31:18 Internet then if you use the default password, it becomes a victim or security cameras or
-
00:31:26 intelligent TVs, whatever whatever connected to internet
-
00:31:30 if you are using default password and you are in danger, okay?
-
00:31:37 Attackers can find out the default settings for software.
-
00:31:41 If these are weak often to increase usability, then they can be exploited
-
00:31:45 by users when attacking a system development rather than deployment.
-
00:31:51 Some configuration settings in systems are designed to support development and debugging.
-
00:31:57 if these are not turned off they can be a vulnerability that can be exploited by attackers.
-
00:32:03 This is also true for example of and developing a software. It displays all the errors in details.
-
00:32:10 So if we deploy your system within that configuration
-
00:32:15 the attackers may cause unhandled exceptions to see
-
00:32:23 let say to see important data
-
00:32:27 related to your system and this is a vulnerability so deployment support one.
-
00:32:38 Includes support for viewing and analyzing configurations. Make sure that the system
-
00:32:43 administrator responsible for deployment can easily view the entire configuration.
-
00:32:49 This makes it easier to spot omissions and errors that have been made.
-
00:32:54 Minimize default Privileges and thus limit the damage that might be caused. Design the system so
-
00:33:00 that the default privileges for an administrator are minimized. This means that if someone gains
-
00:33:06 admin access they do not have immediate access to the features of the system deployment support 2.
-
00:33:14 Localized configuration settings
-
00:33:19 When setting up a system all information that is relevant to the same part or component of
-
00:33:23 a system should be localized so that it is all set up at once.
-
00:33:28 Otherwise, it is easy to forget to set up related security features
-
00:33:32 provide easy ways to fix security vulnerabilities When problems are detected provide easy ways
-
00:33:39 such as auto updating to repair security vulnerabilities in the deployed systems.
-
00:33:48 system survivability
-
00:33:52 Survivability as an emergent system property that reflects the system's ability to deliver
-
00:33:57 essential Services whilst it is under attack or after part of the system has been damaged.
-
00:34:03 Survivability analysis and design should be part of the security engineering Process.
-
00:34:14 Importance of survivability
-
00:34:19 Okay, our economic and social lives are dependent on computer systems
-
00:34:24 critical infrastructure, electricity gas telecommunications transport.
-
00:34:29 These are all depended on electronic systems Healthcare government loss of business systems for
-
00:34:37 even a short time can have very severe economic effects such as airline reservation systems
-
00:34:43 e-commerce Systems payment systems and then service availability.
-
00:34:53 Which system services are the most critical for a business how might these Services be
-
00:34:58 compromised? What is the minimal quality of service? That must be maintained.
-
00:35:02 How can these Services be protected? If a service becomes unavailable
-
00:35:05 how quickly can it be recovered? So these are the questions that needs to answered
-
00:35:13 Survivability strategies. Resistance
-
00:35:17 Avoiding Problems by building capabilities into the system to resist attacks.
-
00:35:22 This is the number one rule that we want to achieve avoiding problems. Recognition.
-
00:35:30 Detecting Problems by building capabilities into the system to detect attacks and failures
-
00:35:35 and assess the resultant damage. And finally Recovery Tolerating Problems by building
-
00:35:42 capabilities into the system to deliver Services whilst under attack. you see the
-
00:35:47 stages in survival analysis. Then we have system requirement and architecture identify critical
-
00:35:53 services and components identify attacks and compromisable components identify softspots.
-
00:36:00 And survival ability strategies done again review system requirements and architectures.
-
00:36:06 So it is an iterative process and you analyze
-
00:36:10 take action. They will again analyze take action review again and such. So the Key activities are
-
00:36:18 System understanding review goals requirements and architecture critical service
-
00:36:25 identification identify services that must be maintained. Attacks simulation device.
-
00:36:30 Devise attacks scenarios and identify components affected and this is also kind of
-
00:36:37 white hat hackers are trying to penetrate systems and find vulnerabilities such as hackathon.
-
00:36:45 You can also join hackathons. Okay, it is written like this and survivability analysis
-
00:36:52 identifies. Our ability studies to strategies to be applied.
-
00:36:59 Trading system survivability
-
00:37:04 User accounts and Equity prices replicated across servers to some provision for survivability made.
-
00:37:10 So if they are replicated in one system fails and other one can continue operating
-
00:37:17 this was the case. This is usually a case in healthcare system such as in hospitals.
-
00:37:25 They also keep redundant clone servers as the main server and therefore
-
00:37:34 if the main server fails the Clone servers the gets in takes the control immediately. Therefore no
-
00:37:47 process is interrupted. It is extremely important for hospitals to operate continuously and many
-
00:37:55 other systems. So replicated servers are a great system survivability.
-
00:38:03 Key capability to be maintained is the ability to place orders for stock
-
00:38:08 Orders must be accurate and reflect the actual sales purchases made by a Trader.
-
00:38:16 The critical service that must survive is the ability
-
00:38:19 for authorized users to place orders for stock.
-
00:38:23 This requires three components of the system to be available and operating
-
00:38:27 reliability: User authentication allowing authorized users to log on to the system
-
00:38:32 Price quotation allowing buying and selling prices to be quoted
-
00:38:37 order placement allowing buy and sell orders to be made. so possible attacks. What are they?
-
00:38:48 Malicious user masquerades as a legitimate user and places
-
00:38:52 malicious orders for stock with the aim of causing problems for the legitimate user.
-
00:38:58 An unauthorized user corrupts the database of transactions
-
00:39:02 thus making reconciliation of sales and purchases impossible.
-
00:39:08 Survivability analysis in an equity trading system. Okay. So the attack
-
00:39:14 Unauthorized user places is malicious orders. the resistance what could be the resistance against
-
00:39:19 this attack require a dealing password that is different from login password to place orders.
-
00:39:25 So this is two different protection two-stage protection recognition send a copy of orders by
-
00:39:34 email to authorize that users with contact phone numbers so that they can detect
-
00:39:38 malicious orders you see that when you log in your for example Gmail account or
-
00:39:44 your Twitter account from a different IP or a different device. You get a notification from your
-
00:39:51 others logged in IP devices or to your email that you have logged from this
-
00:39:58 location. Do you know that login and such so this is recognition.
-
00:40:05 Maintain users order history and check for unusual trading patterns. And what is the recovery?
-
00:40:14 Provide mechanism to automatically undo trades and restore user accounts refund
-
00:40:20 users for losses that are due to malicious trading ensure against
-
00:40:24 consequential losses. Okay. So another attack type is corruption of transactions database.
-
00:40:31 So the protection the resistance for this attack require privileged users to be
-
00:40:36 authorized using a stronger authentication mechanism such as digital certificates.
-
00:40:42 And recognition
-
00:40:47 maintain read-only copies of transactions for an office on an international
-
00:40:52 server periodically compare transactions to check for corruption
-
00:40:57 maintain cryptographic checksum with all transaction records to detect corruption
-
00:41:03 and Recovery recover database from backup copies provide a mechanism to replay trades
-
00:41:09 from a specified time to recreate the transactions database. Okay, so the key points of the chapter 2
-
00:41:18 General Security guidelines sensitize designers to security issues and serve as review checklists
-
00:41:27 Configuration visualization setting localization and minimization of
-
00:41:32 default privileges help reduce deployment errors.
-
00:41:37 System survivability reflects the ability of a system to deliver Services whilst under attack
-
00:41:42 or after part of the system has been damaged. Okay. This is was the last lecture of our course
-
00:41:49 and so let's recap or repeat our final project details.
-
00:42:00 Okay, okay.
-
00:42:12 a project details
-
00:42:18 One first of all, you will determine a project to as soon as you determine your project. You
-
00:42:24 can start working on it three the project can be a web application mobile application desktop
-
00:42:30 application for the project has to be a project that would likely to be used on business Life 5
-
00:42:38 the project scale is totally up to you, but it has to be complex enough to apply
-
00:42:42 software engineering logic six. You can do the project either soul.
-
00:42:48 Or is it to developer team 7 if you decide to do the project with one of your friend as a to
-
00:42:54 developers team both of you, please email me and let me know that you want to work together eight.
-
00:42:59 The project has to be developed by using GitHub or bitbucket code Management Systems 9.
-
00:43:06 You have to properly commit push merge pull request and such 10 you can find
-
00:43:12 necessary related information about code Management on the internet. So this is the
-
00:43:18 sent by checking your commit push merge pull request history. I will be able to see which part
-
00:43:26 of the project you have the development if you are working as a two developers team moreover having
-
00:43:37 experience on how to use a code management system is extremely crucial because nowadays all every
-
00:43:48 Decent company uses code management to develop software and
-
00:43:55 share the software development workflow workload between multiple Developers.
-
00:44:05 11 you can use git bash or any program for code management 12. You have to develop software
-
00:44:12 with versioning such as version 1.0 2.0 and the one point 0.1 and then one point 0.2 Etc. Okay.
-
00:44:26 13 you have to make a layout and summary of your project and asked me before starting it.
-
00:44:32 So I will approve your project 14 send me your project layout and details by email for con dot
-
00:44:39 goes acara at Toros dot edu dot t-- AR-15 you can do the project in any programming language
-
00:44:46 with using any database management system such as using C sharp PHP ASP net python mssql MySQL
-
00:44:56 Sqlite Etc 16 rather than the project itself how well you apply software engineering approaches and
-
00:45:04 methodologies on your project matter more 17, you will prepare a detailed report about your project
-
00:45:10 which will include below software engineering diagrams tables descriptions Etc 18, in addition
-
00:45:18 to the project you will record a video which will be explained at the end of this document.
-
00:45:26 B which diagrams tables descriptions will be prepared for the project.
-
00:45:31 Okay, you're supposed to do as many as of them in your project and according to
-
00:45:39 your efforts and what you have achieved. I will grade your score. Okay?
-
00:45:47 A professional drawing software is a must like a Microsoft Visio or Microsoft Office.
-
00:45:54 I don't want you want you to use paint.
-
00:45:58 One which one will be your project model waterfall incremental or reuse oriented development lecture
-
00:46:04 to explain in details and why to write full story of your project features for each feature example
-
00:46:12 case at prescribing medication story in lecture 3 page 21 3 right detailed test case of your project
-
00:46:21 features for each feature example case test case description for dos checking in lecture 3 page.
-
00:46:27 One, okay. It's continued you can read them. So.
-
00:46:34 See General things that needs to be considered.
-
00:46:39 Every project will be controlled one by one. So if you cheat or bring a ready code project,
-
00:46:45 you will get f f there will not a final exam your grade will be based on this project thus
-
00:46:52 take this project very seriously and start working on it immediately. Look the internet
-
00:46:57 for the parts that you do not know write your code with as many as possible explanations.
-
00:47:03 What does do that code block? Of course put those explanations into your code with comment block.
-
00:47:09 Such as or asterisk asterisk create an account on HTTP colon slash slash stackoverflow.com
-
00:47:16 and ask there or look for answers there.
-
00:47:20 Okay, you can also contact me by discord Channel latest project delivery date is end of finals,
-
00:47:27 but you can use you can also tell every at the makeup exams. You know them.
-
00:47:34 Okay, let's see this part as well.
-
00:47:40 One lastly everyone will record a very detailed video to explain the project
-
00:47:46 to video will be recorded with OBS studio in 1080P
-
00:47:50 high quality so that I can read explained code easily resolution 3. It is mandatory to
-
00:47:57 use microphone when recording and explaining the project verbally by speaking for Turkish
-
00:48:03 students can record the video in Turkish five. The project has to be made in English six.
-
00:48:10 Non Turkish students can also record their video in Turkish if they're Turkish is better than
-
00:48:15 their English. However, they should use English if their English is better than their Turkish
-
00:48:20 seven when explaining your project you need to explain every piece of your written code.
-
00:48:32 Eight, what does that particular code piece or that particular class or that particular method
-
00:48:37 Etc. And how did you write it nine moreover, you have to explain and show every feature of
-
00:48:44 your application. So run your application and do example of every feature that your
-
00:48:49 application have. Let's say you have made an e-commerce website application
-
00:48:54 then show how to search ad to chart make purchase. This can be demo list categories Etc.
-
00:49:02 10 then after you have to upload your video to the YouTube and set visibility as public or unlisted.
-
00:49:08 Okay. So about YouTube you can also upload to
-
00:49:13 Google Drive. Actually Google Drive is even better because YouTube radius is quality,
-
00:49:20 even if it is not much there for you can upload to Youtube or Google Drive.
-
00:49:50 Okay.
-
00:49:55 Let's continue.
-
00:50:02 Eleven because it has to be accessible 12 furthermore. Add your YouTube video link to the
-
00:50:08 project folder as text 13 finally zip or are your entire project and upload to your Google drive
-
00:50:16 after you get your Google Drive upload link send me that link as email
-
00:50:20 for con dot goes a car at Toros dot edu dot t-- are 14 when sharing your
-
00:50:27 Google Drive upload link as email. Make sure that your uploads visibility is
-
00:50:31 That correctly set it as who has link can view or download so that I can download it.
-
00:50:38 15 everyone will be sending a word or PDF document along with their final project
-
00:50:44 files. This document will contain screenshots of your all comments to the lecture videos. All
-
00:50:50 of the 14 lecture videos take screenshots with high-resolution. Your comment has to be clearly
-
00:50:57 readable those who fails to send this document will be counted as not attended to the lectures.
-
00:51:03 Therefore they will get FF also if you can't see your comment sort
-
00:51:08 comment newest date and check them from private window. If you still can't see them. You
-
00:51:14 can repost your comments. Okay. This is the project details. So I think this is
-
00:51:23 sufficient for this lecture. Hopefully see you at next semester or next year take care
-
00:51:30 and of lectures and end of the course software engineering.
