EUNICE
D385 - Software Security and Testing WITH 100% SURE
ANSWERS
Terms in this set (108)
What is the primary defense against log Sanitize outbound log messages 3 multiple choice options
injection attacks?
Sanitizing is the process of cleansing, filtering, or altering data to eliminate sensitive,
harmful, or inappropriate content. It often involves validation and transformation of
data to ensure its integrity and security.
Sanitizing
In the context of outbound log messages, sanitizing is the practice of reviewing and
modifying log data to remove sensitive or confidential information, validate its
correctness, and ensure that it adheres to security and privacy standards before it's
shared with external systems or users.
- Look for Unsanitized User Input
How to spot -
- Examine Log Functions
Log Injection
- Check for User-Controlled Data
a software development approach that aims to create robust and secure software by
anticipating and guarding against unexpected failures and security vulnerabilities.
Defensive Programming
It involves implementing error handling, input validation, and security measures to
protect the software from unexpected inputs, attacks, or faults, thereby enhancing its
reliability and security.
a type of software testing that examines the source code, design, or documentation
without executing the program. It aims to identify defects early in the development
Static Testing process.
white box
a software testing technique that involves executing the program or application with
test cases to observe its behavior at runtime. It aims to find defects related to
Dynamic Testing functionality, performance, and reliability
white-box, black-box, grey-box
a testing technique that involves providing unexpected or random inputs to a
software application to discover vulnerabilities, crashes, or unexpected behavior. It is
Fuzz Testing (Fuzzy Testing) commonly used for security testing
black-box
1/15
, a level of software testing where smallest individual components - units of a
software application are tested in isolation to ensure they work as intended. It helps
identify and fix issues at the smallest functional level.
white box
Unit Testing
frequency: as soon as an unit is complete, before it moves on
advantages: done early, easier to find root cause
disadvantages: tunnel vision since performed the developer, less formal
a level of software testing that focuses on testing the interactions between different
units or modules of a software application. It ensures that the integrated components
work together correctly
grey box
frequency: usually when 2 or more units get integrated, team specific guidelines,
done by developers or specialized teams
Integration Testing
advantages: more formal, manual /tools
patterns:
- client /server integration
- collaboration integration (mars probe metric vs us)
- distributed services integration
- layer integration
Regression testing is a type of testing performed to verify that recent code changes
or updates do not introduce new defects or negatively impact existing functionality.
It typically involves re-running previous test cases.
grey-box or black-box
frequency: when a change is made, to verify that the change didn't reintroduce
Regression Testing
problems, testing team
disadvantages: could be implemented poorly (radiation 8 ppl died)
Patterns:
- regress all
- regress some
2/15
D385 - Software Security and Testing WITH 100% SURE
ANSWERS
Terms in this set (108)
What is the primary defense against log Sanitize outbound log messages 3 multiple choice options
injection attacks?
Sanitizing is the process of cleansing, filtering, or altering data to eliminate sensitive,
harmful, or inappropriate content. It often involves validation and transformation of
data to ensure its integrity and security.
Sanitizing
In the context of outbound log messages, sanitizing is the practice of reviewing and
modifying log data to remove sensitive or confidential information, validate its
correctness, and ensure that it adheres to security and privacy standards before it's
shared with external systems or users.
- Look for Unsanitized User Input
How to spot -
- Examine Log Functions
Log Injection
- Check for User-Controlled Data
a software development approach that aims to create robust and secure software by
anticipating and guarding against unexpected failures and security vulnerabilities.
Defensive Programming
It involves implementing error handling, input validation, and security measures to
protect the software from unexpected inputs, attacks, or faults, thereby enhancing its
reliability and security.
a type of software testing that examines the source code, design, or documentation
without executing the program. It aims to identify defects early in the development
Static Testing process.
white box
a software testing technique that involves executing the program or application with
test cases to observe its behavior at runtime. It aims to find defects related to
Dynamic Testing functionality, performance, and reliability
white-box, black-box, grey-box
a testing technique that involves providing unexpected or random inputs to a
software application to discover vulnerabilities, crashes, or unexpected behavior. It is
Fuzz Testing (Fuzzy Testing) commonly used for security testing
black-box
1/15
, a level of software testing where smallest individual components - units of a
software application are tested in isolation to ensure they work as intended. It helps
identify and fix issues at the smallest functional level.
white box
Unit Testing
frequency: as soon as an unit is complete, before it moves on
advantages: done early, easier to find root cause
disadvantages: tunnel vision since performed the developer, less formal
a level of software testing that focuses on testing the interactions between different
units or modules of a software application. It ensures that the integrated components
work together correctly
grey box
frequency: usually when 2 or more units get integrated, team specific guidelines,
done by developers or specialized teams
Integration Testing
advantages: more formal, manual /tools
patterns:
- client /server integration
- collaboration integration (mars probe metric vs us)
- distributed services integration
- layer integration
Regression testing is a type of testing performed to verify that recent code changes
or updates do not introduce new defects or negatively impact existing functionality.
It typically involves re-running previous test cases.
grey-box or black-box
frequency: when a change is made, to verify that the change didn't reintroduce
Regression Testing
problems, testing team
disadvantages: could be implemented poorly (radiation 8 ppl died)
Patterns:
- regress all
- regress some
2/15