Assignment 2 · exam preparation

Network Forensics – All 30 Questions (Easy English)

These are exam preparation answers based on your assignment. I have used simple English, included important technical terms, and kept the answers in the same order as your teacher's questions.

Your teacher will select 5 questions, worth 10 marks each. The IP addresses, numbers, and log entries may change, but the main concepts will remain the same.

Start with Question 1
30
questions
3
parts
5
in the exam
10
marks each

Instructions

devilhunter@kali: ~/assignment-2
  1. Attempt all 30 questions as preparation for the examination.
  2. Each question is designed as a 10-mark question.
  3. Answers must demonstrate technical reasoning, evidence interpretation, forensic methodology, and investigative judgment.
  4. Where packet records, logs, or network artifacts are provided, analyze the evidence before reaching a conclusion.
  5. Commands and Wireshark filters may be written where relevant, but marks will primarily be awarded for understanding and correct application.
  6. The examination will be handwritten, without computers, internet access, or reference material.
  7. Five questions will be selected from the concepts covered in this assignment. The examination may contain modified scenarios, addresses, timestamps, or evidence.

Part 1: Questions 1–10

Question 1. Investigating a Compromised Web Server

A company's web server, 192.168.10.50, has experienced unusual outbound traffic. The security team provides a 6 GB PCAP file, web server access logs, firewall logs, and a NetFlow export. The suspected attack occurred between 02:00 and 03:00.

aDevelop an investigation plan using the OSCAR methodology, specifying the most important activities at each phase. (4 marks)

OSCAR has five steps:

  1. OObtain Information: Collect basic details about the attack, such as the affected server, IP address, and time.
  2. SStrategize: Make a plan. Decide which evidence to check first.
  3. CCollect Evidence: Collect PCAP files, firewall logs, web logs, and NetFlow records.
  4. AAnalyze: Check the evidence to identify suspicious connections and activities.
  5. RReport: Write what happened, when it happened, and what evidence supports your findings.

bDetermine which evidence source you would examine first and justify your selection. (2 marks)

Start with NetFlow records because they quickly show which IP addresses communicated, when they communicated, and how much data was transferred.

This helps us find suspicious traffic before examining the large 6 GB PCAP file.

cExplain how you would correlate the PCAP, firewall logs, and NetFlow records to reconstruct the incident timeline. (2 marks)

  • Check that all logs use the same time zone.
  • Find events between 02:00 and 03:00.
  • Match the source and destination IP addresses.
  • Use NetFlow to identify connections, firewall logs to check allowed or blocked traffic, and PCAP to examine packets.
  • Arrange the events in time order.

dIdentify two limitations that could prevent you from establishing the complete attack sequence. (2 marks)

  1. Some packets or log records may be missing.
  2. Encrypted traffic may hide important information.

Question 2. Packet Capture and Data Reduction

An investigator has a PCAP containing 2 million packets from an enterprise network. Only traffic involving 10.10.10.25 and TCP port 443 is relevant.

aWrite a valid tcpdump command to extract the relevant packets into a new PCAP file. (3 marks)

tcpdump
tcpdump -r original.pcap -w filtered.pcap 'host 10.10.10.25 and tcp port 443'

This command reads the original PCAP and saves only TCP port 443 traffic involving 10.10.10.25.

bExplain the difference between a capture filter and a Wireshark display filter, using this investigation as an example. (3 marks)

Capture filterDisplay filter
Selects packets to capture or saveSelects packets to show in Wireshark
Usually uses BPF syntaxUses Wireshark filter syntax
Can reduce saved dataDoes not remove packets from the original PCAP

Example Wireshark display filter:

wireshark filter
ip.addr == 10.10.10.25 && tcp.port == 443

cDescribe how you would identify conversations with unusually high data transfer using Wireshark's analysis features. (2 marks)

Open Wireshark and select:

Sort the conversations by the Bytes column. Connections with unusually high byte counts should be examined.

dExplain why reducing the dataset before analysis can be useful, and identify one risk of filtering too aggressively. (2 marks)

  • It makes analysis faster.
  • It removes unrelated traffic.
  • It helps investigators focus on important packets.

Risk: Important evidence may be missed if the filter is too strict.

Question 3. Selecting a Network Evidence Collection Method

An organization is experiencing an ongoing intrusion. Investigators can collect traffic through a switch SPAN port, a network TAP, or router-generated NetFlow records. The production network cannot tolerate significant downtime.

aCompare the three collection methods in terms of evidence visibility, deployment requirements, and potential packet loss. (4 marks)

MethodWhat it collectsMain limitation
SPANCopies packets from a switchMay drop packets during heavy traffic
TAPCopies network traffic directly from a network linkPhysical installation may interrupt the link
NetFlowRecords IPs, ports, times, and traffic amountsDoes not normally contain packet contents

bRecommend an appropriate collection approach under these operational constraints and justify your decision. (2 marks)

Use SPAN and NetFlow during the ongoing attack.

SPAN provides packet details, and NetFlow provides a quick traffic summary. Both can often be used without stopping the network.

A TAP can be installed later if a suitable maintenance window is available.

cExplain how dropped packets or asymmetric routing could affect the reliability of the forensic conclusions. (2 marks)

  • Dropped packets may hide important attack steps.
  • Asymmetric routing means traffic in one direction may take a different route. The sensor might only capture one side of the connection.

Both problems can lead to an incomplete conclusion.

dIdentify two steps necessary to preserve the integrity and traceability of collected evidence. (2 marks)

  1. Calculate a SHA-256 hash to check that the evidence has not changed.
  2. Maintain a chain of custody recording who collected, accessed, or transferred the evidence.

Question 4. Reconstructing a Suspicious HTTP Session

A PCAP contains the following simplified sequence:

evidence
10:15:01  10.0.0.25 -> 10.0.0.80  TCP SYN
10:15:01  10.0.0.80 -> 10.0.0.25  SYN, ACK
10:15:01  10.0.0.25 -> 10.0.0.80  ACK
10:15:02  10.0.0.25 -> 10.0.0.80  HTTP GET /admin
10:15:02  10.0.0.80 -> 10.0.0.25  HTTP 401
10:15:05  10.0.0.25 -> 10.0.0.80  HTTP POST /login
10:15:05  10.0.0.80 -> 10.0.0.25  HTTP 302

aReconstruct the communication sequence and explain the purpose of the TCP handshake. (3 marks)

  1. Client sends SYN to start a TCP connection.
  2. Server replies with SYN-ACK.
  3. Client sends ACK. The TCP connection is established.
  4. Client requests /admin.
  5. Server responds with 401.
  6. Client sends a login request.
  7. Server responds with 302.

The first three packets form the TCP three-way handshake. Its purpose is to establish a connection and confirm that both sides can communicate.

bInterpret the HTTP response codes and identify what can reasonably be inferred about authentication. (3 marks)

  • 401 Unauthorized: Authentication is required or the request did not provide valid authentication.
  • 302 Found: The server tells the client to visit another URL.

The 302 response after login might indicate a redirect to a dashboard, but it does not prove that login was successful.

cExplain how Follow TCP Stream could assist the investigation. (2 marks)

It is a Wireshark feature that shows the communication between a client and server in one place.

For unencrypted HTTP, it can show requests, responses, headers, and available content.

dIdentify two additional artifacts required before concluding that unauthorized access occurred. (2 marks)

  1. Authentication or application logs showing a successful login.
  2. Session records and later requests showing access to a protected page.

Question 5. TCP SYN Flood Investigation

A network sensor records the following traffic:

SourceDestinationFlagsCount
10.1.1.10192.168.1.100:80SYN12,000
10.1.1.11192.168.1.100:80SYN9,500
10.1.1.12192.168.1.100:80SYN11,300
192.168.1.100Multiple clientsSYN, ACK28,000
Multiple clients192.168.1.100ACK600

All counts are from the same one-minute interval.

aIdentify the likely attack and explain the TCP behavior supporting your conclusion. (3 marks)

The traffic suggests a TCP SYN flood attack.

The three sources send:

12,000 + 9,500 + 11,300 = 32,800 SYN packets

A SYN flood sends many connection requests without completing the TCP handshake. This can fill the server's connection queue and affect real users.

bExplain the significance of the difference between SYN-ACK responses and final ACK packets. (2 marks)

  • Server sends 28,000 SYN-ACK packets.
  • Clients send only 600 final ACK packets.

Very few handshakes appear to be completed compared with the number started.

This supports the SYN flood theory, although some packets may be missing or repeated.

cDescribe two additional packet-level checks that would strengthen or weaken the SYN flood hypothesis. (3 marks)

  1. Check whether many TCP connections remain half-open without a final ACK.
  2. Check whether SYN packets are repeated rapidly without normal data communication.

dIdentify a Wireshark filter useful for investigating initial TCP SYN packets. (2 marks)

wireshark filter
tcp.flags.syn == 1 && tcp.flags.ack == 0

This shows SYN packets that are not SYN-ACK responses.

Question 6. IP and TCP Header Interpretation

An IPv4 packet has the following properties:

evidence
Source IP:       172.16.1.20
Destination IP:  172.16.1.50
IP Header Len:   20 bytes
IP Total Length: 1500 bytes
IP Protocol:     6
TCP Header Len:  32 bytes
TCP Flags:       PSH, ACK
TTL:             58

aIdentify the transport-layer protocol and calculate the TCP payload size. Show your calculation. (3 marks)

IP Protocol 6 means TCP.

Formula:

Payload = Total Length − IP Header − TCP Header
1500 − 20 − 32 = 1448 bytes

bExplain what the PSH and ACK flags indicate and what they do not establish about the application data. (2 marks)

  • PSH (Push): Requests that the receiving TCP stack pass available data to the application promptly.
  • ACK (Acknowledgment): Confirms receipt of TCP data up to an acknowledgment number.

These flags do not prove that the application data is safe, malicious, or successfully processed.

cExplain why the observed TTL value cannot, by itself, determine the exact number of routers crossed. (2 marks)

TTL decreases as a packet passes through routers.

However, different systems can start with different TTL values, such as 64, 128, or 255.

Because we do not know the original TTL, a value of 58 cannot tell us the exact number of routers crossed.

dIdentify three TCP/IP header fields that could assist with detecting retransmissions, fragmentation, or suspicious packet behavior. Explain their relevance. (3 marks)

  1. TCP Sequence Number: Helps identify repeated or retransmitted data.
  2. IP Fragment Offset / Flags: Helps identify packets split into smaller fragments.
  3. TCP Flags: Unusual SYN, RST, or FIN patterns can indicate scanning or connection problems.

Question 7. ICMP Protocol Misuse

An analyst observes repeated ICMP Echo Requests from a workstation to an external IP address. Each request contains approximately 900 bytes of payload, and the payload changes across successive requests.

aExplain why this traffic might indicate protocol misuse rather than ordinary network diagnostics. (2 marks)

ICMP is normally used for network testing, such as ping.

Repeated Echo Requests with around 900 bytes of changing data may suggest that someone is using ICMP to secretly carry information.

This is called an ICMP covert channel.

bDescribe how you would inspect ICMP identifiers, sequence numbers, packet sizes, and payload content in Wireshark. (3 marks)

Use:

wireshark filter
icmp

Check:

  • Identifier: Helps match related ICMP messages.
  • Sequence number: Shows the order of requests.
  • Packet size: Helps identify unusually large requests.
  • Payload: Check whether the data contains readable text, repeated patterns, or changing encoded content.

cPropose two ways to distinguish legitimate monitoring activity from a possible ICMP covert channel. (3 marks)

  1. Check whether an approved network monitoring tool is generating the traffic.
  2. Check the endpoint process, packet timing, and payload patterns for unusual behavior.

dExplain why the observed traffic alone does not prove data exfiltration. (2 marks)

No. Large ICMP packets may also be used for legitimate tests.

We need more evidence, such as the sending process and the meaning of the payload.

Question 8. Deep Packet Inspection and SNI-Based Filtering

An organization uses Deep Packet Inspection to control access to selected HTTPS domains. Investigators notice that some connections can be associated with domain names while others cannot.

aExplain how the TLS ClientHello and Server Name Indication can provide domain-related visibility. (3 marks)

When a client starts a TLS connection, it sends a ClientHello message.

The message may include SNI (Server Name Indication), which tells the server which domain the client wants.

Example:

clienthello
SNI: example.com

A network security device can use visible SNI information to identify a requested domain.

bExplain why a DPI device may be able to observe TLS connection metadata without being able to inspect encrypted HTTP content. (3 marks)

DPI means Deep Packet Inspection.

The device may see information such as IP addresses, ports, and an unencrypted SNI.

However, HTTPS encrypts application content, such as web requests and responses. Without decryption keys or authorized interception, DPI cannot read that content.

cIdentify two technical conditions that could reduce the effectiveness of SNI-based filtering. (2 marks)

  1. Encrypted ClientHello (ECH) can hide the actual SNI.
  2. Some connections may not include a usable SNI, such as certain direct-IP connections.

dDescribe how you would determine whether a suspected connection was blocked during connection establishment or after an encrypted session was established. (2 marks)

  • Before TLS establishment: Look for a failed handshake, an early reset, or blocked connection logs.
  • After establishment: Look for an established encrypted session followed by a block, reset, or disconnection.

Check firewall and proxy logs to confirm the reason.

Question 9. Distinguishing Network Scanning from Service Failure

A network capture contains:

evidence
10.0.0.9 -> 10.0.0.20:21    SYN
10.0.0.20 -> 10.0.0.9       RST, ACK

10.0.0.9 -> 10.0.0.20:22    SYN
10.0.0.20 -> 10.0.0.9       SYN, ACK

10.0.0.9 -> 10.0.0.20:23    SYN
10.0.0.20 -> 10.0.0.9       RST, ACK

10.0.0.9 -> 10.0.0.20:80    SYN
10.0.0.20 -> 10.0.0.9       SYN, ACK

aDetermine which destination ports appear open and which appear closed based on the observed responses. (3 marks)

PortResponseResult
21RST-ACKClosed
22SYN-ACKOpen
23RST-ACKClosed
80SYN-ACKOpen

bExplain why this sequence is consistent with scanning but is not sufficient to establish malicious intent. (3 marks)

The same source IP contacts several different ports on the same destination.

This is a common sign of a port scan.

However, it might be an authorized security scan. The packets alone do not prove malicious intent.

cDescribe the additional traffic patterns you would inspect to distinguish an authorized vulnerability scan from suspicious reconnaissance. (2 marks)

  1. Whether the source scans many ports or many devices quickly.
  2. Whether the traffic matches an approved security scan's time, source, and target list.

dExplain how a firewall dropping packets instead of rejecting them would change the investigator's interpretation. (2 marks)

If a firewall silently drops packets, the client may receive no response.

The investigator cannot say the port is closed. It may be filtered or unreachable.

Question 10. Detecting Port Scanning Using NetFlow

The following flow records are collected within 20 seconds:

Source IPDestination IPPortPackets
172.16.5.10192.168.1.20212
172.16.5.10192.168.1.20222
172.16.5.10192.168.1.20232
172.16.5.10192.168.1.20802
172.16.5.10192.168.1.204432

aIdentify the suspected network activity and support your interpretation using the available flow fields. (3 marks)

Source 172.16.5.10 contacts destination 192.168.1.20 on five ports:

21, 22, 23, 80, 443

Every flow has only two packets, and all records appear within 20 seconds.

This suggests a possible port scan rather than normal application use.

bExplain how SiLK could be used to filter and aggregate these records by source, destination, and port. (3 marks)

SiLK is a tool used to analyze network flow records.

  • Use rwfilter to select traffic from the suspicious source.
  • Use rwstats to group and count records by source IP, destination IP, and destination port.
  • Check the number of ports contacted and the time between connections.

This helps identify scanning behavior.

cIdentify two additional flow fields or statistics that would improve your confidence in the conclusion. (2 marks)

  1. TCP flags, especially SYN and RST flags.
  2. Flow duration and byte counts.

These details help identify short connection attempts.

dExplain one limitation of NetFlow that prevents you from confirming the exact packets exchanged. (2 marks)

NetFlow summarizes connections. It does not normally contain the actual packets or application payload.

Therefore, it cannot always prove which TCP flags or exact messages were exchanged.

Part 2: Questions 11–20

Question 11. Detecting Possible Data Exfiltration

An internal workstation communicates with an external server:

DirectionBytesDuration
Internal → External850 MB12 minutes
External → Internal14 MB12 minutes

The connection uses TCP port 443 and occurs outside normal working hours.

aCalculate the approximate outbound-to-inbound byte ratio. (2 marks)

Given:

  • Outbound = 850 MB
  • Inbound = 14 MB
Ratio = 85014 = 60.71

Answer: Approximately 61:1

This means the workstation sends about 61 times more data than it receives.

bExplain why this traffic pattern may indicate exfiltration and provide two plausible benign explanations. (3 marks)

The workstation sends a large amount of data to an external server outside normal working hours.

This may indicate data exfiltration, meaning unauthorized transfer of information.

Two possible legitimate reasons are:

  1. Uploading a company backup to cloud storage.
  2. Synchronizing large files with an approved service.

cIdentify three additional artifacts or flow characteristics that could help establish the purpose of the transfer. (3 marks)

  1. Endpoint logs to identify the application sending the data.
  2. Proxy logs to identify the website or service being used.
  3. File access logs to check whether sensitive files were opened before the upload.

dExplain why full packet capture might still be insufficient to determine the transferred content. (2 marks)

The connection uses port 443, which commonly carries encrypted HTTPS traffic.

Even with all packets captured, the content may remain unreadable without the correct decryption keys.

Question 12. Flow Sensor Deployment and Evidence Gaps

A company's NetFlow collector reports no suspicious traffic between two internal servers. However, endpoint logs show repeated connections between them.

aExplain three possible network architecture or sensor deployment reasons for this discrepancy. (3 marks)

  1. Both servers communicate through the same switch, so the traffic does not pass through the monitored router.
  2. The NetFlow sensor is monitoring the wrong interface or VLAN.
  3. Flow export or collection is incomplete because of sampling, dropped records, or configuration problems.

bDescribe how unidirectional and bidirectional flow representations could affect the interpretation of the communication. (3 marks)

  • Unidirectional flow: Records traffic moving in one direction, such as A → B.
  • Bidirectional flow: Combines both directions, A → B and B → A.

If an investigator examines only one direction, they may miss replies. Bidirectional records make it easier to see the complete exchange.

cExplain how you would verify whether the traffic was absent or simply not visible to the collector. (2 marks)

  1. Compare the endpoint logs with a packet capture from the switch.
  2. Check whether the collector receives records from the correct network interface.

dRecommend one improvement to the organization's flow collection architecture. (2 marks)

Enable flow monitoring on internal switches or deploy sensors where internal server-to-server traffic can be seen.

This improves visibility of east-west traffic, meaning traffic between devices inside the network.

Question 13. Converting PCAP Evidence into IPFIX Records

An investigator needs to analyze a large PCAP using flow-oriented tools.

aDescribe the logical process of generating IPFIX records from packet captures, including the key fields that should be retained. (3 marks)

  1. Read the packets from the PCAP file.
  2. Group packets belonging to the same connection or flow.
  3. Extract important information.
  4. Export the information as IPFIX records.

Important fields include:

  • Source and destination IP
  • Source and destination port
  • Protocol
  • Start and end time
  • Packet count
  • Byte count

IPFIX is a standard format used to store or export network flow information.

bExplain how aggregation into flow records can make large-scale scanning analysis more efficient. (2 marks)

A PCAP may contain millions of packets.

IPFIX reduces this information into flow summaries. This makes it easier to identify sources contacting many ports or devices.

cIdentify three types of evidence that may be lost or become less accessible when relying only on flow records. (3 marks)

  1. Actual packet payloads.
  2. Full packet-by-packet order and timing.
  3. Detailed protocol messages and some TCP behavior.

dExplain how you would validate that the generated flow records accurately represent the original capture. (2 marks)

Compare the IPFIX records with the original PCAP.

Check IP addresses, ports, timestamps, packet counts, and byte counts. Investigate any unexplained differences.

Question 14. SSH Brute-Force and Successful Login Analysis

A Linux server produces the following logs:

evidence
02:10:01 Failed password for root from 45.20.10.8
02:10:03 Failed password for root from 45.20.10.8
02:10:05 Failed password for admin from 45.20.10.8
02:10:07 Failed password for admin from 45.20.10.8
02:10:09 Accepted password for admin from 45.20.10.8
02:11:15 Accepted publickey for backup from 10.0.0.5

aReconstruct the suspicious authentication sequence and identify the account requiring immediate investigation. (3 marks)

At 02:10, the source IP 45.20.10.8 makes:

  • Two failed attempts for root.
  • Two failed attempts for admin.
  • One successful password login for admin.

This suggests a possible SSH brute-force attack, where someone repeatedly tries passwords.

The admin account needs immediate investigation because its login succeeded.

The later backup public-key login comes from a different IP and should be checked separately.

bExplain how you would distinguish the suspected attack from an ordinary user mistyping a password. (2 marks)

A legitimate user may enter a wrong password once or twice.

A brute-force attack may show:

  • Many failures in a short time.
  • Attempts against multiple accounts.
  • Repeated attempts from the same IP.
  • A successful login after several failures.

cDescribe a Linux log-processing pipeline that would count failed SSH attempts by source IP. (3 marks)

Example:

bash
grep 'Failed password' /var/log/auth.log |
awk '{for(i=1;i<=NF;i++) if($i=="from") print $(i+1)}' |
sort | uniq -c | sort -nr

The command finds failed SSH logins, extracts the source IP addresses, counts them, and shows the most frequent sources first.

dIdentify two additional evidence sources needed to determine what happened after the successful login. (2 marks)

  1. Linux audit logs or command history to check what happened after login.
  2. Network or firewall logs to identify any later connections or data transfers.

Question 15. Investigating Web Server Attacks Using Splunk

The following web access records are available:

evidence
10:00:01  10.1.1.5  GET  /index.php       200
10:00:03  10.1.1.5  GET  /admin           403
10:00:05  10.1.1.5  GET  /backup.zip      404
10:00:07  10.1.1.5  GET  /config.php.bak  200
10:00:09  10.1.1.5  POST /upload          200

aIdentify the most suspicious requests and explain why they warrant investigation. (3 marks)

The most important requests are:

  • GET /admin → 403: Possible attempt to reach a restricted area.
  • GET /backup.zip → 404: Possible search for a backup file.
  • GET /config.php.bak → 200: A possible configuration backup file was requested.
  • POST /upload → 200: A file or other data may have been submitted.

The configuration backup request and upload request need special attention.

bDescribe how Splunk could be used to identify the source IP, request sequence, and unusual response codes. Include a suitable SPL search or search logic. (3 marks)

Splunk searches and analyzes logs.

Example SPL search, assuming these fields exist:

splunk spl
index=web clientip="10.1.1.5"
| table _time clientip method uri_path status
| sort _time

This shows the requests from the suspicious IP in time order.

We can also count unusual HTTP status codes and search for suspicious paths.

cExplain why a 200 response does not necessarily prove that sensitive information was disclosed or malicious content uploaded. (2 marks)

No.

HTTP 200 OK means the server handled the request successfully at the HTTP level.

It does not prove that:

  • Sensitive information was returned.
  • A malicious file was saved.
  • The attacker gained control.

dIdentify two additional artifacts required to assess the impact of these requests. (2 marks)

  1. The HTTP response body or application logs.
  2. Server file-system logs showing whether a sensitive file was accessed or an uploaded file was saved.

Question 16. Proxy Log Investigation

An organization suspects that an employee workstation is communicating with a malicious external service. Proxy logs show:

TimeSource IPDestinationMethodBytes Out
14:0010.10.5.20updates.example.netGET500
14:0210.10.5.20cloud.example.netPOST1,500,000
14:0410.10.5.20cloud.example.netPOST1,650,000
14:0610.10.5.20cloud.example.netPOST1,720,000

aIdentify the most suspicious traffic pattern and explain your reasoning. (2 marks)

The workstation 10.10.5.20 sends three large POST requests to cloud.example.net.

The requests happen every two minutes and contain about 1.5–1.72 MB each.

This may indicate repeated data uploads.

bExplain how you would use request timing, HTTP methods, and byte counts to develop an exfiltration hypothesis. (3 marks)

Three important signs are:

  1. Timing: Requests happen regularly, every two minutes.
  2. Method: POST is commonly used to send information.
  3. Bytes: Each request sends a large amount of data.

Together, these signs support a possible exfiltration theory, but they do not prove it.

cIdentify two legitimate activities that might produce a similar pattern. (2 marks)

  1. Automatic cloud backup.
  2. Normal application file synchronization.

dDescribe three additional pieces of evidence required before classifying the traffic as malicious. (3 marks)

  1. Endpoint logs showing which process made the requests.
  2. Detailed proxy logs showing URLs, response codes, and available request information.
  3. Cloud audit logs showing which account uploaded the files and what actions occurred.

Question 17. Correlating Firewall, VPN, and Authentication Logs

Three systems report the following events:

evidence
VPN Log:
01:10:00 User alice connected from 203.0.113.25

Firewall Log:
01:12:00 10.8.0.5 -> 192.168.1.50 TCP/22 ALLOW

SSH Log:
01:12:03 Accepted password for admin from 10.8.0.5

Assume 10.8.0.5 is an address assigned by the VPN service.

aConstruct a timeline linking the three events. (3 marks)

TimeEvent
01:10:00User alice connects to VPN from 203.0.113.25.
01:12:00Firewall allows 10.8.0.5 to access 192.168.1.50 on SSH port 22.
01:12:03SSH login succeeds for admin from 10.8.0.5.

The events may be connected, but we must first verify that Alice's VPN session received the IP 10.8.0.5.

bExplain what additional VPN evidence is needed to establish that the external VPN session was assigned 10.8.0.5. (2 marks)

We need VPN session records showing:

  • Alice's VPN session ID.
  • The internal IP assigned to that session.
  • Connection start and end times.

This will help link the external VPN connection to the internal SSH activity.

cIdentify why the VPN username and SSH username being different is significant but not automatically malicious. (2 marks)

The VPN user is alice, but the SSH user is admin.

This is worth checking because one person may be using another account.

However, administrators sometimes use separate accounts for VPN and server management. Different names do not automatically mean an attack occurred.

dExplain how time synchronization errors and NAT could affect the accuracy of your correlation. (3 marks)

  • Incorrect system clocks can make events appear in the wrong order.
  • NAT can change the visible source IP address.
  • Investigators should check clock differences and NAT mapping records before linking events.

Question 18. Distinguishing Attack Attempts from Successful Exploitation

A web server logs the following requests:

evidence
11:20:01 GET /login                 200
11:20:04 GET /../../etc/passwd      403
11:20:06 GET /admin                 401
11:20:09 POST /login                302
11:20:12 GET /dashboard            200

aIdentify the likely attack techniques or suspicious behaviors represented in the log sequence. (3 marks)

The logs show:

  • GET /../../etc/passwd → Possible path traversal attack, attempting to access a file outside the web folder.
  • GET /admin → Possible attempt to access an administrative page.
  • POST /login → Login attempt.
  • GET /dashboard → Request to a dashboard page.

bExplain what the status codes reveal and why they cannot independently prove successful exploitation. (3 marks)

StatusMeaning
200Request handled successfully
403Access forbidden
401Authentication required or invalid
302Redirect to another URL

The 403 suggests the path traversal request was rejected.

The later 302 and 200 do not automatically prove that the attacker logged in or exploited the application.

cDescribe how you would correlate session identifiers, source addresses, and application logs to determine whether the dashboard request was authenticated. (2 marks)

  1. Compare the session ID or cookie used for login and dashboard requests.
  2. Check source IP addresses and timestamps.
  3. Check application authentication logs to see whether that session was logged in.

dIdentify two limitations of relying only on web access logs. (2 marks)

  1. They may not contain request and response bodies.
  2. They may not show whether an application session was authenticated or what actions were completed.

Question 19. Evil Twin Access Point Investigation

Two access points broadcast the same SSID, CampusWiFi.

AttributeAP-1AP-2
SSIDCampusWiFiCampusWiFi
BSSIDAA:BB:CC:11:22:33DE:AD:BE:44:55:66
Channel611
SecurityWPA2-EnterpriseOpen
Signal Strength-65 dBm-35 dBm

aIdentify which access point is more suspicious and explain the technical indicators supporting your assessment. (3 marks)

AP-2 is more suspicious.

Reasons:

  • Both APs use the same SSID, CampusWiFi.
  • AP-1 uses WPA2-Enterprise security.
  • AP-2 uses Open security, which is much weaker.
  • AP-2 has a stronger signal (-35 dBm), which may attract nearby users.

This could be an evil twin attack, where an attacker creates a fake Wi-Fi network that looks like the real one.

bDescribe how beacon frames, probe responses, and association events could assist the investigation. (3 marks)

  1. Beacon frames: Show the SSID, BSSID, channel, and security settings being advertised.
  2. Probe responses: Show how an AP responds when devices search for a Wi-Fi network.
  3. Association frames: Help identify which AP a client attempted to join.

cExplain how you would determine whether clients connected to the suspicious access point. (2 marks)

Look for successful association events involving AP-2's BSSID.

Also check wireless sensor logs and, where available, client or network connection records.

dIdentify two additional sources of evidence required to confirm an evil twin attack. (2 marks)

  1. Wireless controller records showing the organization's real access points.
  2. A physical wireless survey to locate and examine the suspicious AP.

Question 20. Wireless Deauthentication Attack

A wireless sensor captures 600 deauthentication frames in 15 seconds, apparently originating from the BSSID of a corporate access point.

aExplain why this pattern is suspicious and describe its possible effect on connected clients. (3 marks)

The sensor captures 600 deauthentication frames in 15 seconds.

That is:

600 / 15 = 40 frames per second

This is an unusually high rate.

A deauthentication frame tells a Wi-Fi client that its connection is being ended.

A large burst of these frames may disconnect users repeatedly, causing a Denial-of-Service (DoS) attack.

bIdentify the relevant 802.11 management frame information and Wireshark filtering approach used to investigate deauthentication activity. (3 marks)

Filter:

wireshark filter
wlan.fc.type_subtype == 0x0c

This displays 802.11 deauthentication frames.

Check:

  • Source and destination MAC addresses.
  • BSSID.
  • Reason code.
  • Time and number of frames.

cExplain why the apparent transmitter address alone may not reliably identify the actual device responsible. (2 marks)

MAC addresses can be spoofed, meaning a device can use another device's MAC address.

An attacker may send fake frames using the real access point's address.

dDescribe two ways to distinguish malicious deauthentication from legitimate wireless management activity. (2 marks)

  1. Check whether many clients receive deauthentication frames in a very short time.
  2. Compare the frames with wireless controller logs to see whether the real AP intentionally disconnected clients.

Part 3: Questions 21–30

Question 21. Wireless Capture and Decryption

An investigator possesses a wireless PCAP containing WPA2-Personal traffic and knows the network passphrase.

aExplain what additional information may be required to decrypt protected data frames in Wireshark. (3 marks)

Knowing the Wi-Fi password alone may not be enough.

We normally need:

  1. The correct Wi-Fi password.
  2. The network name (SSID).
  3. The client's four-way handshake or the required session key information.

These details help Wireshark calculate the encryption keys used by the connection.

bExplain the forensic significance of the four-way handshake. (3 marks)

The four-way handshake happens when a Wi-Fi client connects to a WPA2 network.

It allows the client and access point to create and confirm session encryption keys.

It is important because investigators can use its information, along with the correct password, to decrypt captured traffic.

cDescribe why a capture that begins after a client has already connected may not contain enough information for decryption. (2 marks)

If the capture begins after the client connects, the four-way handshake may be missing.

Without the handshake or session keys, Wireshark may not have enough information to decrypt the data.

dExplain one difference between decrypting WPA2-Personal and investigating WPA2-Enterprise traffic. (2 marks)

  • WPA2-Personal: Normally uses a shared Wi-Fi password.
  • WPA2-Enterprise: Uses an authentication system, often with individual user accounts.

Enterprise traffic usually requires session keys or other authorized key information. Knowing a normal Wi-Fi password is not enough.

Question 22. RF Monitoring and Wireless Evidence

A university experiences intermittent wireless disruptions. An investigator uses an RTL-SDR receiver to observe unusual RF activity near the affected area.

aExplain what useful evidence an RF spectrum observation can provide during wireless incident investigation. (3 marks)

RF means Radio Frequency.

An RTL-SDR receiver can help identify:

  1. Unusual signal activity on a frequency.
  2. Strong interference during network problems.
  3. The time and frequency range where interference happens.

This helps investigators identify possible wireless interference.

bDistinguish between evidence obtained through RF monitoring and evidence obtained from an 802.11 packet capture. (3 marks)

RF monitoringWi-Fi packet capture
Shows radio signal activityShows captured Wi-Fi frames
Helps identify interferenceShows MAC addresses and frame types
Does not normally explain packet contentsCan show communication details

cExplain why observing strong RF activity on a frequency does not establish the identity of the transmitting device. (2 marks)

No.

Several devices may use the same frequency. Signals can also reflect from walls and other objects.

A strong signal does not identify the exact device sending it.

dPropose two additional investigative steps to determine whether the disruption is caused by interference or malicious wireless activity. (2 marks)

  1. Use a directional antenna and take measurements from different locations to find the signal source.
  2. Compare RF activity with Wi-Fi packet captures and wireless controller logs.

Question 23. Investigating Encrypted HTTPS Traffic

A suspected malware-infected workstation repeatedly communicates with an external server using TLS. The investigator has a PCAP but no decryption keys.

aIdentify three categories of information that may still be visible in the encrypted traffic. (3 marks)

Three useful categories are:

  1. Network information: Source IP, destination IP, and ports.
  2. Traffic information: Packet sizes, connection times, and data amounts.
  3. TLS information: Some handshake details, such as visible SNI and supported TLS versions.

Encrypted HTTP content normally remains hidden.

bExplain how connection frequency, destination information, packet sizes, and timing could help identify suspicious behavior. (3 marks)

  • Regular connections may suggest automated communication.
  • An unusual destination may need investigation.
  • Large outbound data transfers may suggest an upload.
  • Small connections at fixed intervals may suggest malware beaconing.

These patterns are clues, not final proof.

cExplain why a successful TLS handshake does not prove the connection is benign. (2 marks)

No.

TLS provides encrypted communication, but malware can also use TLS.

A successful handshake only shows that the encrypted connection was established.

dIdentify two additional evidence sources that could help determine the purpose of the encrypted communication. (2 marks)

  1. Endpoint security logs showing which application started the connection.
  2. Proxy or DNS logs providing more information about the destination and requests.

Question 24. TLS Session Key Log Analysis

An investigator receives a PCAP and a valid TLS session key log from an authorized laboratory environment.

aDescribe how Wireshark can use the session key log to decrypt captured TLS traffic. (3 marks)

  1. Open the PCAP in Wireshark.
  2. Go to Edit → Preferences → Protocols → TLS.
  3. Select the (Pre)-Master-Secret log filename setting.
  4. Choose the correct TLS key log file.
  5. Reload or examine the traffic.

If the keys match the captured sessions, Wireshark can decrypt supported traffic.

bExplain the relationship between the TLS session secrets and the encrypted application data. (3 marks)

TLS uses secret key information to create encryption keys for a session.

These keys protect the application data being transferred.

If investigators have the correct session secrets, they can use them to decrypt the captured traffic.

cIdentify two reasons why decryption might fail even when a key log file is available. (2 marks)

  1. The key log does not contain the secrets for the captured connection.
  2. Important handshake packets may be missing from the capture.

dExplain how successful decryption could change the forensic conclusions that can be drawn from the capture. (2 marks)

Without decryption, investigators mainly see traffic patterns and metadata.

With decryption, they may see:

  • HTTP requests and responses.
  • Requested URLs.
  • Uploaded or downloaded data.
  • Possible commands sent by malware.

This provides stronger evidence about what actually happened.

Question 25. TLS Private Keys and Forward Secrecy

An investigator obtains the RSA private key of a server, but Wireshark cannot decrypt a recorded TLS session that used ephemeral key exchange.

aExplain why possession of the server's private key may be insufficient to decrypt the recorded session. (3 marks)

Some TLS connections use ephemeral key exchange, such as ECDHE.

This creates temporary session secrets that cannot be calculated from the server's RSA private key alone.

Therefore, even if investigators obtain the server private key, they may still be unable to decrypt earlier captured sessions.

bExplain the security purpose of ephemeral key exchange and forward secrecy. (3 marks)

Forward secrecy protects old encrypted communication.

If someone steals the server's long-term private key later, they should still be unable to decrypt earlier sessions that used secure ephemeral key exchange.

This is an important TLS security feature.

cIdentify two alternative authorized methods for obtaining visibility into the encrypted application traffic. (2 marks)

  1. Collect authorized TLS session key logs from the client or server.
  2. Use an authorized TLS-intercepting proxy in a controlled environment.

dExplain why identifying the negotiated TLS version and cipher suite is important before selecting a decryption approach. (2 marks)

Different TLS versions and cipher suites use different encryption and key exchange methods.

For example, older TLS 1.2 connections using RSA key exchange may allow private-key decryption, while ECDHE sessions do not.

Checking these details helps investigators choose the correct method.

Question 26. TLS Interception Through a Proxy

A security analyst uses an authorized TLS-intercepting proxy in a controlled laboratory to examine suspicious application traffic.

aExplain the communication path between the client, interception proxy, and destination server. (3 marks)

The communication path is:

  1. Client connects to the interception proxy.
  2. The proxy decrypts the client's HTTPS traffic.
  3. The proxy creates a separate encrypted connection to the real server.
  4. It forwards responses back to the client.

The proxy can examine the application traffic between the two connections.

bDescribe the role of certificate trust in allowing the proxy to inspect HTTPS traffic. (3 marks)

HTTPS uses certificates to help verify server identity.

To intercept HTTPS, the client must trust the proxy's certificate authority (CA).

If the client does not trust the certificate, the connection may show a security warning or fail.

cExplain two technical conditions that may prevent successful interception. (2 marks)

  1. Certificate pinning: The application accepts only a specific certificate or key.
  2. Certificate trust problems: The client refuses the proxy-generated certificate.

dIdentify two forensic or evidentiary concerns associated with collecting traffic through an interception proxy. (2 marks)

  1. The proxy may change some traffic details, such as headers or timing. Investigators must document this.
  2. Decrypted traffic may contain passwords or private information, so it must be stored securely.

Question 27. DNS Tunneling Investigation

A DNS sensor records repeated queries from 192.168.1.25:

evidence
a8d91f02.data.example.com
b7e23a91.data.example.com
c4f82b11.data.example.com
d9a13c77.data.example.com

The workstation generates hundreds of similar queries every minute.

aIdentify the suspected covert communication technique and explain three indicators supporting your hypothesis. (3 marks)

The traffic suggests possible DNS tunneling.

DNS tunneling means using DNS queries and responses to secretly carry information.

Three suspicious indicators are:

  1. Hundreds of DNS queries every minute.
  2. Frequently changing, random-looking subdomains.
  3. Repeated queries to the same parent domain, data.example.com.

bExplain how query frequency, subdomain length, entropy, and DNS response patterns could help investigate the activity. (3 marks)

  • Query frequency: How many DNS requests occur per minute?
  • Subdomain length: Are the subdomain names unusually long?
  • Entropy: Do the names look random instead of using normal words?
  • DNS responses: Are there unusual replies, repeated errors, or suspicious response data?

The given subdomain labels are short, but their changing patterns and high frequency still deserve investigation.

cDescribe how you would isolate the relevant DNS traffic in Wireshark. (2 marks)

To show DNS traffic:

wireshark filter
dns

To focus on the suspected domain:

wireshark filter
dns.qry.name contains "data.example.com"

To show DNS traffic from the workstation:

wireshark filter
dns && ip.src == 192.168.1.25

dExplain why these observations do not, by themselves, establish that confidential data was exfiltrated. (2 marks)

No.

Some legitimate applications also generate many changing DNS names.

We need more evidence from the endpoint, DNS responses, and any decoded data before confirming exfiltration.

Question 28. Abuse of Legitimate Cloud Services

An organization's security team suspects that malware is using a legitimate cloud storage service for covert communication. Proxy logs show frequent HTTPS connections to the service from a workstation that has no documented business requirement for it.

aExplain why identifying the destination as a legitimate cloud provider does not rule out malicious activity. (2 marks)

Yes.

Attackers can use trusted cloud storage services to:

  • Upload stolen data.
  • Receive instructions.
  • Exchange information with infected devices.

Therefore, a legitimate cloud provider does not automatically mean the traffic is safe.

bDescribe how an authorized mitmproxy investigation could help examine application requests and responses. (3 marks)

mitmproxy is a tool used to inspect HTTP and HTTPS communication.

In an authorized environment, it can:

  1. Intercept application requests.
  2. Show available request and response contents after TLS interception.
  3. Help identify suspicious uploads, downloads, and API activity.

TLS interception requires the proper certificate trust and may not work with all applications.

cExplain how cloud-service API activity and associated metadata could assist with reconstructing the suspected attack. (3 marks)

Investigators can examine:

  • Which cloud account was used.
  • Which API actions were performed.
  • Which files or objects were uploaded or downloaded.
  • The time and size of each transfer.

This helps reconstruct the communication sequence.

dIdentify two limitations or uncertainties that investigators should document before concluding that the cloud service was used for command and control. (2 marks)

  1. Encryption or certificate pinning may stop investigators from reading the request contents.
  2. Cloud access logs alone may not identify which local application or process caused the traffic.

More evidence is needed before confirming malware command-and-control activity.

Question 29. Identifying Covert Command-and-Control Patterns

A workstation communicates with an external service at the following times:

evidence
10:00:00
10:01:00
10:02:00
10:03:00
10:04:00

Each connection transfers approximately 200 bytes outbound and 400 bytes inbound.

aIdentify the suspicious communication pattern and explain why it may be associated with automated command-and-control traffic. (3 marks)

The workstation communicates at:

Each connection happens exactly 60 seconds apart.

Each sends about 200 bytes and receives about 400 bytes.

This may indicate beaconing.

Beaconing happens when malware regularly contacts an external server to check for commands or send status information.

bDescribe three traffic characteristics you would investigate to distinguish beaconing from legitimate periodic application activity. (3 marks)

  1. Timing: Does the connection happen at fixed intervals?
  2. Data size: Are similar amounts of data exchanged each time?
  3. Destination and application: Is the same unusual server contacted repeatedly, and which process makes the connection?

cExplain how packet-level evidence and proxy logs could complement each other during this investigation. (2 marks)

  • PCAP: Shows packet timing, size, IP addresses, and connection behavior.
  • Proxy logs: May show URLs, request methods, response codes, and user agents.

Combining both provides a clearer picture of the communication.

dIdentify two limitations of concluding that malware is present solely from periodic communication. (2 marks)

  1. Legitimate applications also check for updates or send regular health reports.
  2. Timing and byte counts do not reveal what the actual messages contain.

Question 30. Integrated Investigation of a Suspected Covert Channel

A security operations team provides the following evidence:

evidence
09:00:00  DNS query: api.cloud-example.net
09:00:01  TLS connection to 203.0.113.50:443
09:00:03  HTTPS session established
09:05:00  DNS query: api.cloud-example.net
09:05:01  TLS connection to 203.0.113.50:443
09:05:03  HTTPS session established
09:10:00  DNS query: api.cloud-example.net
09:10:01  TLS connection to 203.0.113.50:443
09:10:03  HTTPS session established

The same workstation has recently been flagged by endpoint security software.

aDevelop a hypothesis explaining the repeated DNS and TLS communication pattern, and provide one plausible alternative explanation. (2 marks)

The workstation makes a DNS query and then establishes a TLS connection.

This happens every five minutes:

The regular pattern may indicate malware command-and-control beaconing.

The endpoint security alert adds concern.

However, normal cloud synchronization or automated application checks could also explain the activity.

bExplain how you would correlate DNS records, TLS metadata, proxy logs, and endpoint evidence to investigate the suspected covert channel. (3 marks)

  1. DNS logs: Show that the workstation requested api.cloud-example.net.
  2. TLS metadata: Shows the connections to 203.0.113.50:443, along with connection times and data sizes.
  3. Proxy logs: May reveal request URLs, methods, and response details.
  4. Endpoint evidence: Helps identify the process responsible for making the connections.

Arrange these records by timestamp to determine whether the same process is responsible for the repeated communication.

cDescribe how authorized TLS decryption could help establish whether the communication contains commands, application synchronization, or transferred data. (3 marks)

Authorized decryption may reveal the real application requests and responses.

Investigators can then check whether the traffic contains:

  1. Commands: Instructions being received by the workstation.
  2. Synchronization: Normal updates or application data exchange.
  3. Transferred data: Files or information being uploaded or downloaded.

This can help separate normal activity from possible malicious communication.

dIdentify two findings that would significantly strengthen the conclusion that the activity represents malicious command-and-control communication. (2 marks)

  1. Endpoint evidence confirms that a malicious process is making the repeated connections.
  2. Decrypted traffic shows the server sending instructions that the malicious process receives or carries out.

Together, these would provide much stronger evidence of command-and-control activity.

Final Exam Revision: Important Things to Memorize

These are the concepts that appear again and again in your 30 questions.

OSCAR
Obtain, Strategize, Collect, Analyze, Report
PCAP
Contains captured network packets
NetFlow
Summarizes network connections
SPAN
Copies switch traffic
TAP
Copies packets directly from a network link
SYN
Starts a TCP connection
SYN-ACK
Server responds to SYN
ACK
Acknowledges received TCP data
HTTP 200
Request handled successfully
HTTP 401
Authentication required or invalid
HTTP 403
Forbidden
HTTP 404
Resource not found
HTTP 302
Redirect
SYN flood
Many incomplete connection attempts
Port scanning
Checking multiple ports for services
Data exfiltration
Unauthorized transfer of data
DNS tunneling
Using DNS to carry hidden communication
Evil twin
Fake Wi-Fi AP pretending to be legitimate
Deauthentication attack
Disconnecting Wi-Fi clients
TLS
Protects network communication with encryption
SNI
Identifies a requested hostname when visible
Four-way handshake
Helps create WPA2 session keys
Forward secrecy
Protects past sessions if a long-term key is stolen
Beaconing
Repeated communication at regular intervals
C2
Command and Control, used to control compromised devices

Four useful exam formulas

1. TCP payload size

Payload = IP Total Length − IP Header − TCP Header

2. Outbound-to-inbound ratio

Ratio = Outbound BytesInbound Bytes

3. Traffic rate

Rate = Number of EventsTime

4. Time interval

Interval = Next Event Time − Previous Event Time

How to answer the questions in your exam

Because each question is worth 10 marks, you should follow this simple method:

  1. Identify: State what is happening, such as port scanning, SYN flooding, or beaconing.
  2. Explain: Give the reason using the IP addresses, times, packet flags, or log entries.
  3. Investigate: Mention the tool, filter, or additional evidence you would use.
  4. Conclude carefully: Explain what the evidence supports and what it does not prove.

Most important rule: Suspicious activity does not always mean a successful attack. Your teacher repeatedly asks you to explain why more evidence is needed before making a final conclusion.

These 30 answers cover the assignment questions in simple English. For exam preparation, focus on understanding the method behind each answer rather than memorizing only the example IP addresses or numbers.