Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Reconnaissance and Information Gathering
📖 Scenario: You are a cybersecurity analyst tasked with gathering information about a company's online presence to understand potential security risks. This process is called reconnaissance and involves collecting data from public sources.
🎯 Goal: Build a simple step-by-step data collection plan that lists key information types to gather during reconnaissance and organizes them clearly.
📋 What You'll Learn
Create a dictionary called info_types with specific reconnaissance categories and example details
Add a variable called priority_level to set the importance of each category
Use a for loop with variables category and details to iterate over info_types.items()
Add a final summary string called summary that describes the reconnaissance plan
💡 Why This Matters
🌍 Real World
Reconnaissance is the first step in cybersecurity assessments to understand what information about a target is publicly available.
💼 Career
Cybersecurity professionals use reconnaissance to identify potential vulnerabilities and plan security measures.
Progress0 / 4 steps
1
Create the initial data structure
Create a dictionary called info_types with these exact entries: 'Domain Names': 'List of company domains', 'IP Addresses': 'Public IP ranges', 'Employee Info': 'Names and roles from LinkedIn'
Cybersecurity
Hint
Use curly braces {} to create a dictionary with keys and values as strings.
2
Add a priority level configuration
Add a variable called priority_level and set it to the string 'High' to indicate the importance of the reconnaissance categories.
Cybersecurity
Hint
Assign the string 'High' to the variable priority_level.
3
Iterate over the information types
Use a for loop with variables category and details to iterate over info_types.items(). Inside the loop, write a comment describing that you would collect data for each category.
Cybersecurity
Hint
Use for category, details in info_types.items(): to loop through the dictionary.
4
Add a final summary description
Add a string variable called summary that describes the reconnaissance plan as: 'This plan prioritizes High importance data collection for Domain Names, IP Addresses, and Employee Info.'
Cybersecurity
Hint
Assign the exact string to the variable summary.
Practice
(1/5)
1. What is the main purpose of reconnaissance in cybersecurity?
easy
A. To gather information about a target system or network
B. To fix vulnerabilities in software
C. To encrypt data for security
D. To create user accounts on a system
Solution
Step 1: Understand the role of reconnaissance
Reconnaissance is the initial phase where information about a target is collected to plan further actions.
Step 2: Identify the correct purpose
Among the options, only gathering information fits the reconnaissance phase.
Final Answer:
To gather information about a target system or network -> Option A
Quick Check:
Reconnaissance = Information gathering [OK]
Hint: Reconnaissance means collecting info first [OK]
Common Mistakes:
Confusing reconnaissance with fixing or attacking
Thinking it involves encryption
Assuming it creates accounts
2. Which of the following commands is commonly used for passive reconnaissance to find domain information?
easy
A. ping
B. nmap
C. whois
D. netstat
Solution
Step 1: Identify passive reconnaissance tools
Passive reconnaissance collects data without interacting directly with the target system.
Step 2: Match command to passive info gathering
The whois command queries public domain registration info without contacting the target directly.
Final Answer:
whois -> Option C
Quick Check:
Passive info tool = whois [OK]
Hint: whois shows domain info without touching target [OK]
Common Mistakes:
Using ping which sends packets actively
Confusing nmap as passive (it scans actively)
Thinking netstat gathers external info
3. Consider this command output from nmap -sP 192.168.1.0/30:
Host 192.168.1.1 is up
Host 192.168.1.2 is up
Host 192.168.1.3 is down
Host 192.168.1.4 is up
What does this output tell you?
medium
A. All hosts are unreachable
B. Hosts 192.168.1.1, 1.2, and 1.4 are reachable; 1.3 is not
C. Only 192.168.1.3 is reachable
D. The scan failed due to syntax error
Solution
Step 1: Understand nmap ping scan output
The -sP option checks which hosts respond to ping requests in the given IP range.
Step 2: Interpret the output lines
Hosts marked "is up" respond and are reachable; "is down" means no response.
Final Answer:
Hosts 192.168.1.1, 1.2, and 1.4 are reachable; 1.3 is not -> Option B