Cyber Security  ·  Level 5
Conduct Security Assessment And Testing
Chapter 2: Scan and Map the Network
📚 5 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Define clear network scanning objectives and scope that follow your organization's policies and assessment needs.
  • Choose the right approved scanning tools such as Nmap, Nessus, OpenVAS, and Wireshark based on what the assessment requires.
  • Perform network discovery scans to accurately find active devices and systems on the network.

Mastering these skills helps you protect networks by finding potential weaknesses early, keeping systems safe and secure in the real world.

Compiled by: Julius Mwangi

Network scanning is a fundamental activity in cybersecurity, essential for identifying active devices, open ports, and vulnerabilities within an organizational network. For Kenyan cybersecurity professionals, understanding how to scan and map networks enables proactive defense measures and efficient troubleshooting in environments such as county government offices or financial institutions. This chapter delves into the purpose of network scanning and examines different scan types, equipping practitioners with the knowledge to choose appropriate scanning methods depending on the security assessment objectives.

2.1 Understand the purpose of network scanning for security, troubleshooting, and optimization

Network scanning serves multiple crucial roles in cybersecurity operations. It helps identify devices connected to a network, detect open ports and services, and uncover potential security weaknesses before malicious actors exploit them. In Kenya’s growing digital economy, organizations like banks and hospitals increasingly rely on network scanning to maintain secure, resilient IT infrastructures. Beyond security, scanning also supports troubleshooting network issues and optimizing performance by providing detailed visibility into network topology and traffic.

2.1.1 Identifying Network Assets and Vulnerabilities

Network scanning enables cybersecurity professionals to create an inventory of all devices and services active on a network. This inventory is vital for vulnerability management since unrecognized devices may harbor exploitable weaknesses. For example, a university IT department can use scanning to detect unauthorized devices that bypass access controls, reducing insider threats. Vulnerability scanners build on network scans to assess the security posture of identified assets, highlighting outdated software or misconfigurations that require remediation.

2.1.2 Supporting Incident Response and Threat Detection

During a security incident, rapid network scanning helps delineate the scope of compromise by revealing infected hosts or suspicious open ports. For instance, a county government cybersecurity team might scan their network after a suspected intrusion to identify unusual services running on critical servers. Continuous network scanning also aids in threat detection by highlighting unexpected changes in network topology or new devices that could indicate insider threats or external breaches.

2.1.3 Assisting Network Troubleshooting and Performance Analysis

Network scanning is not limited to security; it also facilitates troubleshooting connectivity issues and performance bottlenecks. By mapping the network, IT teams at hospitals or retail chains can identify misconfigured routers or overloaded servers causing slow response times. Scanning uncovers network loops, unauthorized access points, or incorrect subnetting that degrade service quality, enabling targeted interventions to restore optimal network function.

2.1.4 Enabling Network Optimization and Capacity Planning

Organizations require detailed knowledge of their network structure to optimize resource allocation and plan for growth. Scanning tools provide data on device types, bandwidth usage, and port availability, helping administrators at institutions like SACCOs to balance loads and avoid congestion. This information supports strategic decisions such as upgrading hardware, segmenting networks, or implementing quality of service (QoS) policies to improve overall network efficiency.

Practice Questions

  1. Explain how network scanning contributes to vulnerability management in a financial institution. (5 marks)
  2. Describe two ways network scanning assists in incident response during a cybersecurity breach. (6 marks)
  3. Discuss the role of network scanning in troubleshooting network performance issues in a hospital environment. (6 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
🔒2.2 Differentiate between various types of scans

Cybersecurity professionals must understand the characteristics and appropriate use cases of different network scan types. Each scan type varies in its method of probing hosts and ports, impacting detection speed, stealth, and comprehensiveness. In Kenya’s pub…

🔒2.3 Use Nmap to discover live hosts, open ports, and services

In Kenyan cybersecurity operations, network reconnaissance is a foundational step for identifying potential attack surfaces. Nmap is a powerful open-source tool widely adopted by cybersecurity professionals in banks, county government offices, and large enterp…

🔒2.4 Perform vulnerability scans

Vulnerability scanning is a critical phase in cyber security assessments, enabling the identification of weaknesses in networked systems before attackers exploit them. In Kenya, organizations such as KRA and NHIF rely on vulnerability scanners to maintain comp…

🔒2.5 Interpret Scan Results to Identify Potential Security Gaps

In the Kenyan cyber security landscape, interpreting network scan results accurately is crucial for identifying vulnerabilities that could be exploited by attackers. Cyber security professionals working in sectors such as banking, healthcare, and county govern…

Chapter Summary

This chapter explored the critical role of network scanning in enhancing security, troubleshooting issues, and optimizing network performance. Various types of scans were examined, including ping scans for detecting active hosts, SYN scans for identifying open TCP ports, full TCP scans to map port states, and UDP scans for uncovering services using the UDP protocol. The practical application of Nmap was detailed, demonstrating how it can efficiently discover live hosts, open ports, and running services within a network. Vulnerability scanning tools such as Nessus and OpenVAS were introduced, highlighting their capabilities in identifying security weaknesses. The chapter concluded with guidance on interpreting scan results to pinpoint potential security gaps, enabling informed decisions to strengthen network defenses and maintain system integrity.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. What is the primary purpose of network scanning in cybersecurity? (2 marks)
  2. Differentiate between a ping scan and a SYN scan in terms of their operation and use cases. (4 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain the primary purpose of network scanning in cybersecurity within a Kenyan banking environment. (4 marks)
  2. Differentiate between a ping scan and a SYN scan in terms of their operation and typical use cases. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Explain and Demonstrate Network Scanning Purposes

Cyber Security · Level 5
Conduct Security Assessment And Testing
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Explain the purposes of network scanning and perform a network scan of the local network segment showing results of security, troubleshooting, and optimization scans.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Laptop with Kali Linux installedAccess to local wired or wireless network
Network scanner software (Nmap)Internet connectivity for research
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Laptop with Kali Linux installed1 Pc per Candidate
2Network scanner software (Nmap)1 Pc per Candidate
3Access to local wired or wireless network1 Network per Candidate
4Internet connectivity for research1 Connection per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Explain network scanning purposes
Explained the purpose of network scanning for security (e.g., identifying open ports, vulnerabilities)
(Award 5 marks for clear explanation)
5
Explained the purpose of network scanning for troubleshooting (e.g., detecting device connectivity and network issues)
(Award 5 marks for clear explanation)
5
Explained the purpose of network scanning for network optimization (e.g., identifying bandwidth usage and network topology)
(Award 5 marks for clear explanation)
5
Sub-Total15
TASK 2: Demonstrate network scanning
Prepared the laptop and launched Nmap software
(Award 2 marks for correct setup)
2
Performed a security scan using Nmap to identify open ports and vulnerabilities on the local network segment
(Award 5 marks for running correct scan)
5
Performed a troubleshooting scan to detect active devices and connectivity status
(Award 5 marks for running correct scan)
5
Performed a network optimization scan to map the network topology and bandwidth usage
(Award 5 marks for running correct scan)
5
Saved and documented the scan results in a folder named CDACC on the desktop
(Award 3 marks for saving scan results correctly)
3
Explained the scan results clearly relating to each scanning purpose
(Award 5 marks for clear explanation)
5
Sub-Total25
PRODUCT CHECKLIST
Scan results correctly saved and documented with clear labeling and organized files
(Award 5 marks for proper documentation)
5
Clear and concise explanation of scan results relating to security, troubleshooting, and optimization
(Award 5 marks for explanation matching scan results)
5
Sub-Total10
GRAND TOTAL50
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Differentiate Network Scan Types and Their Applications

Cyber Security · Level 5
Conduct Security Assessment And Testing
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 and document different types of network scans on a 5-device LAN to differentiate their applications and results.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Laptop with Kali Linux installedLocal area network with at least 5 connected devices
Network scanner tool (Nmap pre-installed)
Pen and notebook
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Laptop with Kali Linux installed1 Pc per Candidate
2Network scanner tool (Nmap pre-installed)1 Pc per Candidate
3Local area network with at least 5 connected devices1 Setup per Candidate
4Pen and notebook for notes1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Prepare and Configure the Scanning Environment
Ensured PPE usage (e.g., anti-static wrist strap if applicable) before starting the scan process
(Award 2 marks for correct PPE usage or 0 if omitted)
2
Verified network connectivity and identified the IP range of the LAN
(Award 3 marks for correct identification of network range or 0)
3
Launched Nmap tool and prepared command line interface for scanning
(Award 2 marks for successful launch or 0)
2
Sub-Total7
TASK 2: Perform Different Network Scan Types
Executed a Ping Scan to identify live hosts in the network
(Award 3 marks for correct command and execution or 0)
3
Performed a TCP SYN Scan to detect open ports on live hosts
(Award 4 marks for correct command usage and execution or 0)
4
Conducted a UDP Scan on selected hosts to identify UDP services
(Award 4 marks for correct command usage and execution or 0)
4
Ran a Service Version Detection Scan to determine running services and versions
(Award 4 marks for correct execution and output or 0)
4
Captured and saved scan results in text format for analysis
(Award 3 marks for correctly saving results or 0)
3
Sub-Total18
TASK 3: Analyze and Differentiate Scan Results
Described the purpose and characteristics of each scan type performed
(Award 5 marks for clear, accurate descriptions or 0)
5
Compared the advantages and limitations of each scan type in a written report
(Award 5 marks for detailed, relevant comparison or 0)
5
Recommended appropriate scan types for different network assessment scenarios
(Award 5 marks for relevant and justified recommendations or 0)
5
Sub-Total15
PRODUCT CHECKLIST
Complete and well-organized report differentiating scan types, including screenshots of scan results and clear explanations
(Award up to 10 marks for completeness, clarity, and accuracy of the report)
10
Sub-Total10
GRAND TOTAL50
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

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

Create a free account
🔒Perform a Ping Scan on a Given NetworkPractical 3
🔒Perform SYN Scan to Detect Open Ports on Target HostsPractical 4
🔒Execute TCP scan to identify open ports on a network devicePractical 5
🔒Perform UDP Scan to Identify Open UDP Ports on Network HostsPractical 6
🔒Use Nmap for Host Discovery on a Local NetworkPractical 7
🔒Perform Nessus Vulnerability Scan on a Network SegmentPractical 8
🔒Perform OpenVAS Vulnerability Scan on Network SegmentPractical 9
🔒Interpret Network Scan Results to Identify Security VulnerabilitiesPractical 10
🔒Compare Vulnerability Scanning Tools Nessus and OpenVASPractical 11
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

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

17 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Define clear network scanning objectives and scope that follow your organization's policies and assessment needs.
  • Choose the right approved scanning tools such as Nmap, Nessus, OpenVAS, and Wireshark based on what the assessment requires.
  • Perform network discovery scans to accurately find active devices and systems on the network.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.