While reviewing a recent compromise, a forensics team discovers that there are hard-coded credentials in the database connection strings. Which of the following assessment types should be performed during software development to prevent this from reoccurring?
Static analysis should be performed during software development to prevent hard-coded credentials.
Static analysis involves examining the source code for patterns, such as hard-coded credentials, without executing the program. This technique helps identify security flaws early in the development cycle, allowing developers to rectify vulnerabilities before the software is deployed.
A vulnerability scan is a process that scans a system or application for known vulnerabilities, but it typically focuses on deployed systems rather than the underlying code. While it can help identify risks in production environments, it is not designed to catch issues like hard-coded credentials at the code level during development.
A penetration test simulates an attack on a system to identify security weaknesses. This method is more effective for evaluating the security of a deployed application rather than the code itself. It may uncover hard-coded credentials during testing, but it does not proactively prevent the issue in the coding phase.
Static analysis examines source code for potential vulnerabilities without running the program. This technique is specifically effective in identifying hard-coded credentials as it reviews the code structure and patterns. Implementing static analysis early in the development process helps ensure that such security flaws are caught and addressed promptly.
Quality assurance (QA) focuses on ensuring that the software meets specified requirements and is free from defects. While QA is essential for software reliability and performance, it does not specifically target security issues like hard-coded credentials unless it incorporates security testing practices, which is not its primary function.
To prevent the inclusion of hard-coded credentials in software development, static analysis serves as a critical assessment type. This proactive approach allows developers to catch security vulnerabilities early, ensuring a more secure application before it reaches production. Other assessment types, while valuable for different purposes, do not effectively address code-level vulnerabilities during the development phase.
Related Questions
View allA systems administrator is concerned about vulnerabilities within clou...
Which of the following is a benefit of launching a bug bounty program?...
A penetration tester visits a client's website and downloads the site'...
Which of the following features should the company set up? (Select two...
A company's antivirus solution is effective in blocking malware but of...
Related Quizzes
View allCompTIA A Plus Certification Exam
CompTIA A Plus Exam Questions
CompTIA A Plus 1001 Exams Practice
CompTIA A Plus Practice Exam
CompTIA CySA+ Cybersecurity Analyst Certification all in One Exam Guide
CompTIA Network Plus Certification Exam Quiz
CompTIA Security Plus Exam Answers
CompTIA Security Plus Simulation Questions
CompTIA Security Plus 501 Practice Questions
CompTIA Security Plus Example Questions
- ✓ 500+ Practice Questions
- ✓ Detailed Explanations
- ✓ Progress Analytics
- ✓ Exam Simulations