Cyber Security  ·  Level 5
Secure Software Application
Chapter 3: Perform application security assessment
📚 7 Topics

Application security is a critical domain within cyber security, focusing on protecting software applications from threats that could compromise data integrity, confidentiality, or availability. In Kenya's rapidly digitizing economy, where businesses and government agencies increasingly rely on software systems, ensuring robust application security is vital to safeguard sensitive information against cyberattacks. Cyber security professionals must understand the principles and phases of application security to conduct effective assessments and implement security controls that reduce vulnerabilities. This chapter equips learners with foundational knowledge to perform comprehensive application security assessments in diverse Kenyan organizational contexts.

3.1 Introduction to Application Security

Application security encompasses the measures and practices designed to protect software applications from external and internal threats throughout their lifecycle. This discipline aims to prevent security breaches that could lead to unauthorized access, data theft, or service disruption. Kenyan institutions such as banks and county governments have experienced attacks exploiting application vulnerabilities, underscoring the need for proactive application security strategies. Understanding the core concepts of application security enables cyber security professionals to identify risks and apply appropriate controls tailored to the Kenyan technological landscape.

3.1.1 Meaning of Application Security

Application security refers to the processes, tools, and practices implemented to prevent, detect, and remediate vulnerabilities in software applications. It involves securing applications from development through deployment and maintenance to ensure they function as intended without exposing sensitive data or systems to threats. This includes coding practices, security testing, and runtime protection. For example, a SACCO’s member portal must have application security measures to prevent unauthorized access to financial records and protect members’ personal information.

3.1.2 Importance of Application Security in Cyber Security

Application security is vital because most cyberattacks exploit software vulnerabilities rather than network weaknesses. Weak application security can lead to data breaches, financial loss, and reputational damage. In Kenya, where digital financial services are expanding rapidly, application security failures can disrupt critical services such as mobile banking platforms. Ensuring applications are secure helps maintain business continuity, comply with data protection laws like the Data Protection Act 2019, and protect user privacy.

3.1.3 Common Application Security Threats

Applications face numerous threats that cyber security professionals must anticipate and mitigate. These include injection attacks such as SQL injection, cross-site scripting (XSS), broken authentication, and insecure direct object references. For instance, a university’s student registration system vulnerable to injection attacks could allow attackers to manipulate database queries, compromising student records. Understanding these threats aids in prioritizing security controls during assessments.

3.1.4 Application Security Practices and Tools

Effective application security involves adopting secure coding standards, conducting regular security testing, and employing automated tools like static application security testing (SAST) and dynamic application security testing (DAST). Kenyan software development firms use these tools to identify vulnerabilities early in the development cycle. Additionally, practices such as threat modeling and penetration testing help simulate attacks and evaluate the system’s resilience. Integrating these practices reduces the likelihood of exploitable flaws in deployed applications.

Practice Questions

  1. Explain the meaning of application security and discuss its significance in protecting Kenyan digital services. (10 marks)
  2. Identify and describe five common threats to application security with examples relevant to Kenyan institutions. (15 marks)
  3. Discuss the role of automated tools in enhancing application security during software development. (10 marks)
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒3.2 Phases of Application Security

Application security is not a one-time activity but a continuous process integrated throughout the software development lifecycle (SDLC). Understanding the distinct phases helps cyber security professionals plan and implement security controls effectively. In…

🔒3.3 Reconnaissance and Information Gathering

In the context of application security assessment within Kenya's cyber security landscape, reconnaissance and information gathering form the foundational steps for identifying potential vulnerabilities. Cyber security professionals in Kenyan banks, county gove…

🔒3.4 Threat Modelling

Threat modelling is a structured process used by cyber security professionals in Kenya to identify, assess, and prioritize potential threats against software applications. It enables proactive defense strategies by understanding how attackers might exploit vul…

🔒3.5 Vulnerability Assessment

Vulnerability assessment is a fundamental phase in securing software applications, especially in Kenya’s growing digital economy where cyber threats are increasingly sophisticated. This process involves identifying, quantifying, and prioritizing vulnerabilitie…

🔒3.6 Exploitation and Verification

Following vulnerability identification, exploitation and verification confirm the presence and impact of security weaknesses within an application. This phase is essential to prioritize remediation efforts based on real risk rather than theoretical vulnerabili…

🔒3.7 Best Practices

Application security assessment is a critical phase in the software development lifecycle that ensures vulnerabilities are identified and mitigated before deployment. In Kenya’s growing digital ecosystem, where institutions such as banks, healthcare providers,…

Chapter Summary

This chapter provides a comprehensive overview of application security, emphasizing its critical role in protecting software from threats and vulnerabilities. It outlines the key phases of application security, starting with reconnaissance and information gathering, which includes both passive and active methods to collect data about the target system. The chapter then explores threat modelling techniques, focusing on the STRIDE and PASTA models, which help identify and prioritize potential security risks. Vulnerability assessment is addressed through manual testing and the use of automated scanning tools to detect weaknesses within applications. Following this, the process of exploitation and verification is discussed, highlighting how identified vulnerabilities are tested for impact and validity. The chapter concludes with best practices for maintaining robust application security, ensuring ongoing protection against evolving threats.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. What is the primary goal of application security in the context of cyber security? (2 marks)
  2. Identify and briefly describe the three main phases of application security. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Define application security and explain why it is critical for Kenyan financial institutions such as Equity Bank. (4 marks)
  2. List and briefly describe the main phases of application security. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Conduct Passive Information Gathering on a Target Web Application

Cyber Security · Level 5
Secure Software Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Conduct passive information gathering on the target web application www.bankxyz.co.ke to collect domain, subdomains, email addresses, and IP ranges without direct interaction.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Laptop with internet accessTarget application URL document
Wireshark software
Maltego Community Edition software
theHarvester tool
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Laptop with internet access1 Pc per Candidate
2Installed Wireshark software1 Pc per Candidate
3Installed Maltego Community Edition software1 Pc per Candidate
4Installed theHarvester tool1 Pc per Candidate
5Target application URL document1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Preparation and Setup
Candidate wears appropriate PPE (e.g., anti-static wrist strap if applicable)
(Award 1 mark for correct PPE usage or zero)
1
Launched laptop and logged into user account
(Award 1 mark for successful login)
1
Opened terminal or command prompt ready for tool usage
(Award 1 mark for readiness to run commands)
1
Sub-Total3
TASK 2: Passive Reconnaissance Execution
Used theHarvester to gather domain and email information with command: theHarvester -d bankxyz.co.ke -b all
(Award 3 marks for correct command usage and output)
3
Used Maltego Community Edition to map subdomains and gather network information
(Award 3 marks for correct tool usage and mapping)
3
Monitored network traffic passively with Wireshark without sending packets
(Award 2 marks for correct passive sniffing setup)
2
Documented collected information including domain registrar, IP ranges, and email addresses
(Award 3 marks for complete and accurate documentation)
3
Sub-Total11
PRODUCT CHECKLIST
Comprehensive report detailing discovered subdomains, email addresses, IP ranges, and domain registrar information
(Award 6 marks for completeness, accuracy, and clarity)
6
Sub-Total6
GRAND TOTAL20
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Perform Active Information Gathering on a Target Web Application

Cyber Security · Level 5
Secure Software Application
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Perform active information gathering on the target web application www.bankxyz.co.ke and document open ports, services, and application endpoints discovered.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Laptop with Kali Linux OS installedAccess credentials to the test environment
Internet connectionTarget web application URL
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Laptop with Kali Linux OS installed1 Pc per Candidate
2Internet connection1 per Candidate
3Access credentials to the test environment1 set per Candidate
4Target web application URL1 per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Set up and verify environment
Verified laptop has Kali Linux OS installed and updated
(Award 2 marks for complete verification or zero)
2
Connected to Internet and confirmed connectivity
(Award 2 marks for successful connection or zero)
2
Accessed test environment using provided credentials
(Award 2 marks for successful access or zero)
2
Sub-Total6
TASK 2: Conduct active reconnaissance
Performed ping test to www.bankxyz.co.ke to confirm host availability
(Award 2 marks for successful ping or zero)
2
Used Nmap to scan for open TCP ports on www.bankxyz.co.ke (e.g. sudo nmap -sS -Pn www.bankxyz.co.ke)
(Award 4 marks for correct scan and results or zero)
4
Enumerated running services on discovered open ports
(Award 3 marks for accurate service detection or zero)
3
Used a web application scanner (e.g. Nikto or OWASP ZAP) to identify application endpoints and directories
(Award 3 marks for effective scanning and documentation or zero)
3
Sub-Total12
TASK 3: Documentation and reporting
Documented all open ports, services, and application endpoints discovered
(Award 4 marks for complete and clear documentation or zero)
4
Provided screenshots or command outputs as evidence
(Award 3 marks for relevant evidence or zero)
3
Sub-Total7
PRODUCT CHECKLIST
Comprehensive report containing host availability, open ports with correct port numbers, service names, and application endpoints
(Award up to 15 marks for accuracy, completeness and clarity)
15
Sub-Total15
GRAND TOTAL40
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Apply STRIDE Threat Modeling to a Web ApplicationPractical 3
🔒Perform Threat Modeling on a Web Application Using PASTA MethodologyPractical 4
🔒Manual Vulnerability Testing of a Web ApplicationPractical 5
🔒Perform automated vulnerability scanning on a web applicationPractical 6
🔒Exploit and Verify Identified Vulnerabilities in a Web ApplicationPractical 7
🔒Explain and Illustrate the Phases of Application SecurityPractical 8
🔒Document Threat Models and Security Findings for a Web ApplicationPractical 9
🔒Configure and Interpret Passive Information Gathering Tools for Application Security AssessmentPractical 10
🔒Configure and Analyze Active Security Scanning of a Web ApplicationPractical 11
🔒Implement Best Practices for Secure Application AssessmentPractical 12
🔒Integrate Manual and Automated Application Security Testing ResultsPractical 13
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 18 questions Start quiz ▾
0%
0 / 2
🔒

16 more in this section.

Create a free account