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

Performing application security assessment is a critical function for cyber security professionals in Kenya, especially given the increasing reliance on software applications across sectors such as banking, healthcare, government, and commerce. This chapter introduces the foundational concepts of application security and outlines the structured process of securing software through systematic assessment. Understanding these fundamentals enables professionals to identify vulnerabilities that could be exploited by attackers, thus protecting sensitive data and ensuring compliance with Kenya’s data protection laws. The knowledge gained here supports secure software development and maintenance across diverse organizational environments.

3.1 Introduction to application security

Application security forms the backbone of protecting software applications from threats that could compromise confidentiality, integrity, and availability. In Kenya’s financial institutions like KCB or Equity Bank, application security ensures customer data is safeguarded against unauthorized access and fraud. Similarly, county government offices rely on secure applications to maintain citizen records and service delivery without data breaches. This section explores what application security entails, its objectives, and the common vulnerabilities professionals must guard against.

3.1.1 Defining application security

Application security refers to the measures and practices designed to protect software applications from vulnerabilities that could be exploited by cyber attackers. It encompasses the entire lifecycle of an application, from design and development through deployment and maintenance, ensuring that security controls are integrated to prevent unauthorized access and data breaches. In the Kenyan context, where digital transformation is accelerating across sectors including healthcare and education, robust application security mitigates risks posed by cybercriminals targeting sensitive personal and institutional data.

3.1.2 Objectives of application security

Application security aims to achieve multiple objectives that collectively protect software systems and their data assets:

Protecting confidentiality

Ensuring that only authorized users can access sensitive information, such as patient records at Kenyatta National Hospital or financial transactions at SACCOs, thereby preventing data leakage.

Maintaining integrity

Guaranteeing that data and application functions are not altered maliciously or accidentally, preserving trust in systems used by organizations such as the Kenya Revenue Authority (KRA).

Ensuring availability

Preventing denial-of-service attacks that could disrupt essential services like online banking portals or county government e-services, ensuring users have reliable access when needed.

Compliance with regulations

Aligning with Kenyan data protection laws and international standards such as ISO/IEC 27034 to avoid legal penalties and reputation damage.

Early vulnerability detection

Identifying and mitigating security weaknesses during development to reduce costly post-deployment fixes and potential breaches.

3.1.3 Common application security vulnerabilities

Understanding typical vulnerabilities helps professionals prioritize security efforts during assessment and development. These vulnerabilities frequently appear in applications used by Kenyan organizations:

Injection flaws

Such as SQL injection, where attackers manipulate input fields to execute unauthorized database commands, compromising data integrity and confidentiality.

Cross-site scripting (XSS)

Attackers inject malicious scripts into web pages viewed by other users, potentially stealing session cookies or redirecting users to phishing sites.

Broken authentication

Weak login mechanisms in applications like online banking can allow attackers to impersonate legitimate users and access sensitive accounts.

Security misconfigurations

Default settings or improper configurations in application servers or frameworks can leave systems exposed to exploits.

Insecure cryptographic storage

Failure to properly encrypt sensitive data, such as personal identifiers in county government databases, increases risk of data theft.

3.1.4 Role of application security in software development lifecycle (SDLC)

Application security must be integrated throughout the SDLC to build resilient applications:

  • Requirement analysis includes defining security needs based on threat models relevant to Kenya’s cyber environment.
  • Design phase incorporates secure architecture principles to minimize attack surfaces.
  • Development applies secure coding practices to avoid common vulnerabilities.
  • Testing involves security-specific tests like penetration testing and static code analysis.
  • Deployment ensures secure configurations and patch management.
  • Maintenance monitors for new threats and applies updates to address emerging vulnerabilities.

Embedding security in every phase reduces the risk of costly breaches and enhances trust in software applications used by Kenyan enterprises and public institutions.

Practice Questions

  1. Define application security and explain its importance in Kenyan public institutions. (6 marks)
  2. List and describe five common vulnerabilities found in software applications. (10 marks)
  3. Discuss the objectives of application security and how they support compliance with Kenyan data protection laws. (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 achieved through a structured process involving distinct phases that ensure vulnerabilities are systematically identified and mitigated. Kenyan cyber security professionals apply these phases to secure applications used in diverse secto…

🔒3.3 Reconnaissance and information gathering

Reconnaissance and information gathering form the foundational phase of any application security assessment, particularly in Kenya’s evolving cyber security landscape. This stage involves collecting as much data as possible about the target application or syst…

🔒3.4 Threat modelling

Threat modelling is a structured approach to identifying, quantifying, and addressing security risks within software applications. In Kenya’s cyber security environment, where organizations face diverse threats from cybercrime to insider threats, threat modell…

🔒3.5 Vulnerability Assessment

Vulnerability assessment is a fundamental process in cyber security that involves identifying, quantifying, and prioritizing vulnerabilities in software applications. In the Kenyan context, organizations such as banks, county government offices, and healthcare…

🔒3.6 Exploitation and Verification

Exploitation and verification represent the critical phase in application security assessment where identified vulnerabilities are tested to confirm their presence and potential impact. In Kenya’s cyber security landscape, this phase ensures that security team…

🔒3.7 Best practices

In Kenya’s fast-evolving cyber security landscape, performing application security assessments requires adherence to best practices that ensure thoroughness, accuracy, and effectiveness. Cyber security professionals working with banks, county governments, hosp…

Chapter Summary

This chapter provided a comprehensive overview of application security, emphasizing its critical role in protecting software from threats and vulnerabilities. It outlined the key phases of application security, beginning with reconnaissance and information gathering, which includes both passive and active techniques to collect data about the target application. The chapter then explored threat modelling, detailing the STRIDE and PASTA models as structured approaches to identify and analyse potential security risks. Vulnerability assessment was examined through manual testing methods and the use of automated scanning tools to detect weaknesses in applications. Following this, the exploitation and verification phase was discussed, focusing on confirming identified vulnerabilities and understanding their impact. The chapter concluded with best practices for maintaining robust application security, highlighting strategies to prevent breaches and ensure continuous protection throughout the software development lifecycle.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Which of the following is NOT a phase of application security? (2 marks)
    a) Reconnaissance
    b) Exploitation
    c) Deployment
    d) Threat modelling

  2. Explain the difference between passive and active information gathering in application security. (4 marks)

🔒26 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain why application security is critical for Kenyan financial institutions such as Equity Bank in protecting customer data. (4 marks)
  2. Identify and briefly describe the main phases of application security. (4 marks)
🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

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

15 more in this section.

Create a free account