Software Security and Secure Design Principles
Quiz covering secure design principles, attack surfaces, vulnerabilities, and mitigation strategies in software security
Questions
Which of the following is a principal security risk of wireless LANs?
- Lack of physical access control
- Demonstrably insecure standards
- Implementation weaknesses
- War driving
A Web application firewall may actively defend a Web application by:
- Invalidating the application session
- Intercepting data flowing to and from a Web application
- Running in a separate process and memory space
- Learning about the application behavior
Potential security disadvantages of virtualization include:
- VM layer configuration is security relevant
- More intrusive intrusion detection via introspection
- An extra layer for defense-in-depth
- More flexible discovery/eviction of kernel root kits
Why cannot outside programs determine the existence of malicious code with 100 percent accuracy?
- Users do not update their scanners frequently enough
- Firewalls are not intended to detect malicious code.
- The purpose of a string depends upon the context in which it is interpreted
- The sourced code language is often unknown.
Format string vulnerabilities in programs can be found by:
- Forcing buffer overflows
- Submitting random long strings to the application
- Causing underflow problems
- Including string specifiers in input data
The main reason why UDP has a larger attack surface than TCP is:
- It allows the spread of worms
- It is a connection-oriented protocol
- It is a “fire and forget” protocol
- The IP address is easily spoofed
Which of the following is a process for assessing and documenting the weaknesses or security risks associated with an application?
- Control Identification
- Threat Modeling
- Control Prioritization
- Attack Surface Evaluation
Which of the following is attempting to gain access to a system by using a false identity
- Repudiation
- Eavesdropping
- Spoofing
- Hijacking
Which of the following is the ability of users to deny that they performed specific actions or transactions?
- Repudiation
- Eavesdropping
- Spoofing
- Hijacking
What is the best method for prioritizing a threat and its related countermeasures?
- Measuring the relative attack surface
- Quantifying the level of risk
- Enumerating the entry points and exit points
- Identifying the type of accessibility required
Why should a host-based firewall not be relied upon solely to mitigate a risk?
- It does not block incoming traffic
- It does not block outgoing traffic.
- It can be turned off.
- It can’t be turned off.
The choice of mitigation technologies should:
- Follow security best practices
- Depend on the number of sources researched
- Not depend on the technology of the application
- Address as few threat types as possible
A normal user assuming the identity of an administrator is what kind of attack?
- Elevation of privilege
- Denial of service
- Spoofing
- Repudiation
One of the main characteristics of a hardened operating system (OS) is :
- Has a smaller attack surface than an unhardened OS
- Implements mandatory access control
- Is less secure than an unhardened OS
- Has more entry and exit points than an unhardened OS system
Which of the following is used to preserve integrity in software?
- Encryption
- Hashing
- Recovery
- Redundancy
Which of the following is used to ensure availability in software?
- Encryption
- Hashing
- Recovery
- Redundancy
How does software exhibit graceful degradation in response to a denial-of-service (DoS) attack?
- Fail-over to a higher-availability service
- Vary its response times to subsequent requests
- Disconnect the affected connectivity point
- Fail-over to a hot standby
Which security design principle espouses the practice “Security should not depend on security-through-obscurity”?
- Defense-in-depth
- Open design
- Complete mediation
- Analyzability
Taking advantage of rapid recovery features at the system level is part of what secure design principle?
- Design for survivability
- Design for secure failure
- Design for controllability
- Design for redundancy
Which of the following provides control over the trust features in a software application?
- Security management interfaces
- Secure configuration management
- Application container
- Security manager