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.
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.
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.
Application security aims to achieve multiple objectives that collectively protect software systems and their data assets:
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.
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).
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.
Aligning with Kenyan data protection laws and international standards such as ISO/IEC 27034 to avoid legal penalties and reputation damage.
Identifying and mitigating security weaknesses during development to reduce costly post-deployment fixes and potential breaches.
Understanding typical vulnerabilities helps professionals prioritize security efforts during assessment and development. These vulnerabilities frequently appear in applications used by Kenyan organizations:
Such as SQL injection, where attackers manipulate input fields to execute unauthorized database commands, compromising data integrity and confidentiality.
Attackers inject malicious scripts into web pages viewed by other users, potentially stealing session cookies or redirecting users to phishing sites.
Weak login mechanisms in applications like online banking can allow attackers to impersonate legitimate users and access sensitive accounts.
Default settings or improper configurations in application servers or frameworks can leave systems exposed to exploits.
Failure to properly encrypt sensitive data, such as personal identifiers in county government databases, increases risk of data theft.
Application security must be integrated throughout the SDLC to build resilient applications:
Embedding security in every phase reduces the risk of costly breaches and enhances trust in software applications used by Kenyan enterprises and public institutions.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis 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.
Which of the following is NOT a phase of application security? (2 marks)
a) Reconnaissance
b) Exploitation
c) Deployment
d) Threat modelling
Explain the difference between passive and active information gathering in application security. (4 marks)