Docsity

Secure Software: Key Concepts, Questions, and Solutions, Exams of Software Engineering

Toggle sidebar
bg1
Secure Software โ€“ Questions & Solutions
Compilation
Complete mediation Accurate Answer:- Where every
request by a subject to access an object in a computer system
must undergo a valid and effective authorization procedure
Open design Accurate Answer:- An access control system
design evaluated and tested by a large number of experts
providing a more secure authentication method than one that has
not been widely assessed
Economy of mechanism Accurate Answer:- This promotes
simple and comprehensible design and implementation of
protection mechanisms, so that unintended access paths do not
exist or can be readily identified and eliminated
Least common mechanism Accurate Answer:- This
principle states that a minimum number of protective
mechanisms should be common to multiple users, as shared
access paths can be sources of unauthorized information
exchange
Leveraging existing components Accurate Answer:- In
many instances, the security mechanisms of an information
system are not configured properly or used to their maximum
capability. Reviewing the state and settings of the extant security
mechanisms and ensuring that they are operating at their
optimum design points will greatly improve the security posture
of an information system.
Psychological acceptability Accurate Answer:- refers to
the ease of use and intuitiveness of the user interface that
controls and interacts with the access control mechanisms. The
user must be able to understand the user interface and use it
without having to interpret complex instructions.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Secure Software: Key Concepts, Questions, and Solutions and more Exams Software Engineering in PDF only on Docsity!

Secure Software โ€“ Questions & Solutions

Compilation

Complete mediation Accurate Answer:- Where every request by a subject to access an object in a computer system must undergo a valid and effective authorization procedure Open design Accurate Answer:- An access control system design evaluated and tested by a large number of experts providing a more secure authentication method than one that has not been widely assessed Economy of mechanism Accurate Answer:- This promotes simple and comprehensible design and implementation of protection mechanisms, so that unintended access paths do not exist or can be readily identified and eliminated Least common mechanism Accurate Answer:- This principle states that a minimum number of protective mechanisms should be common to multiple users, as shared access paths can be sources of unauthorized information exchange Leveraging existing components Accurate Answer:- In many instances, the security mechanisms of an information system are not configured properly or used to their maximum capability. Reviewing the state and settings of the extant security mechanisms and ensuring that they are operating at their optimum design points will greatly improve the security posture of an information system. Psychological acceptability Accurate Answer:- refers to the ease of use and intuitiveness of the user interface that controls and interacts with the access control mechanisms. The user must be able to understand the user interface and use it without having to interpret complex instructions.

Complete mediation Accurate Answer:- a. identification of the entity making the access request b. verification that the request has not changed since its initiation c. application of the appropriate authorization procedures and d. reexamination of previously authorized requests by the same entity. Analysis phase Accurate Answer:- The phase that determines how PII will be handled to ensure that it conforms to applicable legal, regulatory, and policy requirements regarding privacy Third-party security assessment Accurate Answer:- An extensive review that will be conducted by your software security architect, a third party, or a combination of both Data flow diagram (DFD) Accurate Answer:- The first step of the threat modeling process; to develop a visual representation of the threat flows, typically drawn during a whiteboard session Software security policy Accurate Answer:- A policy intended to define what needs to be protected and how it will be protected, including reviewing and incorporating policies from outside the SDL that may impact the development process Software security evangelist (SSE) Accurate Answer:- This individual has two roles, as an SSC in training and as an evangelist for the overall software product security program promulgated policy, enforcing policy, and evangelizing the overall SDL process Software security champion (SSC) Accurate Answer:- There will ideally be one of these roles per Tier 1 software product within each engineering software product development group

delivering more secure and reliable software, hardware, and services Authentication Accurate Answer:- Ensures that the user is who he or she claims to be and that the data come from the appropriate place Authorization Accurate Answer:- Ensures that the user has the appropriate role and privilege to view data Software security champions (SSCs) Accurate Answer:- This role should have a minimum of 3-5 years of software development experience; a background in software security; trained in software security and software security tools, plans, & processes; and must know how to develop software and how to deconstruct while "thinking like a hacker" regarding all possible paths or exploits that an adversary could take Senior software security architects Accurate Answer:- Individuals who have five to ten years of development/coding experience before they come into the security field, and who are also experienced in the areas of software, networking, and cloud/SaaS architectural design Software Assurance Metrics And Tool Evaluation (SAMATE) Accurate Answer:- The project dedicated to improving software assurance by developing methods to enable software tool evaluations, measuring the effectiveness of tools and techniques, and identifying gaps in tools and methods Bugtraq IDs Accurate Answer:- Identifiers for a commercially operated vulnerability database that are used in security advisories and alerts, as well as for discussions on the mailing list Agile method Accurate Answer:- A time-boxed iterative approach that facilitates a rapid and flexible response to change, which in turn encourages evolutionary development and delivery while promoting adaptive planning, development, teamwork,

collaboration, and process adaptability throughout the lifecycle of the project Iterative Waterfall development model Accurate Answer:- An approach that carries less risk than traditional approaches but is more risky and less efficient and the overall project is divided into various phases, each executed using the traditional method Waterfall development Accurate Answer:- A more traditional approach to software development which is typically higher-risk, more costly, less efficient, uses requirements that are already known, each stage is signed off before the next commences, and requires extensive documentation Abstraction Accurate Answer:- The collection of similar elements into groups, classes, or roles for the assignment of security controls, restrictions, or permissions as a collective. backdoor or back door Accurate Answer:- Undocumented command sequences that allow individuals with knowledge of the backdoor to bypass normal access restrictions. Backdoors may be placed and left by the manufacturer or planted by hackers using exploits. buffer overflow Accurate Answer:- A vulnerability that can cause a system to crash or allow the user to execute shell commands and gain access to the system. Buffer overflow vulnerabilities are especially prevalent in code developed rapidly for the Web using CGI or other languages that allow unskilled programmers to quickly create interactive web pages. Input Validation Accurate Answer:- verifies that the values provided by a user match the programmer's expectation before allowing further processing. Code Review Walk-Through Accurate Answer:- These technical meetings usually involve only development personnel, who sit down with a copy of the code for a specific module and

TCP XMAS scanning Accurate Answer:- Sets the FIN, PSH, and URG flags, lighting the packet up like a Christmas tree Regression testing Accurate Answer:- is re-running functional and non-functional tests to ensure that previously developed and tested software still performs after a change. Software assurance maturity model (SAMM) Accurate Answer:- provides an opportunity to improve the software development life cycle by tailoring the process to the specific risks facing the organization Building Security In Maturity Model (BSIMM) Accurate Answer:- A study of real-world software security initiatives organized so that you can determine where you stand with your software security initiative and how to evolve your efforts over time Misuse Case Testing Accurate Answer:- software testing approach can be used against an attacker who manipulates input strings in banking software to gain access to another individual's overdrawn account in order to withdraw funds Interface testing Accurate Answer:- testing that assesses the performance of modules against the interface specifications to ensure that they will work together properly when all of the development efforts are complete. Interface testing Accurate Answer:- Tests

  1. Application Programming Interfaces (APIs)
  2. User Interfaces (UIs)
  3. Physical Interfaces Reasonableness check Accurate Answer:- executes an application and then uses data that is designed to evaluate whether the values returned by the application match a specified range of criteria

White box testing Accurate Answer:- A form of program testing that examines the internal logical structures of a program Broken Authentication Accurate Answer:- allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users' identities temporarily or permanently. Sensitive Data Exposure Accurate Answer:- Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Broken Access Control Accurate Answer:- Restrictions on what authenticated users are allowed to do are often not properly enforced. Attackers can exploit these flaws to access unauthorized functionality and/or data, such as access other users' accounts, view sensitive files, modify other users' data, change access rights, etc.