Unit 4: Linux and Network Forensics - Practice Quiz

INT250 — Digital Evidence Analysis 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which type of Linux data is typically lost when the system is powered off?

Volatile and Non-volatile Data in Linux Easy
A. Non-volatile data
B. File system metadata
C. Volatile data
D. Archived data

2 Which item is an example of non-volatile data on a Linux system?

Volatile and Non-volatile Data in Linux Easy
A. RAM contents
B. Files stored on disk
C. Active network connections
D. Running processes

3 What is a forensic image of a Linux storage device?

File System Image Analysis Easy
A. A bit-for-bit copy of the device
B. A list of installed applications
C. A screenshot of the desktop
D. A compressed folder containing only the files selected by an investigator

4 Why is a hash value calculated for a forensic image?

File System Image Analysis Easy
A. To verify image integrity
B. To encrypt the image
C. To identify the operating system
D. To reduce the image size

5 Which source is primarily examined during Linux memory forensics?

Memory Forensics Easy
A. A RAM capture
B. A disk partition
C. A printer log
D. A software installation package containing application files and documentation

6 Which evidence can commonly be identified in a Linux memory image?

Memory Forensics Easy
A. Running processes
B. Monitor settings
C. Physical disk labels
D. Printed documents

7 What is the main focus of network forensics?

Network Forensics Easy
A. Installing operating system updates on every device connected to the network
B. Repairing storage devices
C. Investigating network activity
D. Designing web pages

8 Which device commonly records summaries of network communication flows?

Network Forensics Easy
A. External speaker
B. Network router
C. Local keyboard
D. Display monitor

9 What is the basic purpose of a system log?

Logging Fundamentals Easy
A. To replace user passwords
B. To increase processor speed
C. To automatically restore every file deleted from the computer
D. To record system events

10 Which Linux directory traditionally contains many system log files?

Logging Fundamentals Easy
A. /boot
B. /home
C. /var/log
D. /media

11 Why are accurate timestamps important in forensic logs?

Logging Fundamentals Easy
A. They establish event timing
B. They encrypt user activity
C. They compress log files
D. They prevent all unauthorized attempts to modify historical log entries

12 What does network forensic readiness aim to achieve?

Network Forensic Readiness Easy
A. Replacement of network hardware
B. Elimination of all network traffic
C. Automatic prosecution of anyone who violates an organization's security policy
D. Preparation for evidence collection

13 Which practice best supports network forensic readiness?

Network Forensic Readiness Easy
A. Allowing each device to maintain a different time without using a common reference
B. Synchronizing system clocks
C. Disabling every audit source
D. Deleting logs each hour

14 What is event correlation?

Event Correlation Concepts Easy
A. Combining related events from multiple sources
B. Encrypting all messages sent across a network
C. Deleting duplicate files from one storage device
D. Creating a separate user account for each application

15 Which field is especially useful when correlating firewall and authentication logs?

Event Correlation Concepts Easy
A. Screen brightness
B. Desktop wallpaper
C. IP address
D. Printer model

16 Which network log pattern may be an Indicator of Compromise (IoC)?

Indicators of Compromise (IoCs) from Network Logs Easy
A. A monitor entering sleep mode after inactivity
B. A user changing the size of a desktop icon
C. Repeated connections to a known malicious IP address
D. A printer completing a scheduled maintenance test

17 Which item can be used as a network-based IoC?

Indicators of Compromise (IoCs) from Network Logs Easy
A. A monitor resolution
B. A malicious domain name
C. A keyboard layout
D. A document font size

18 What does a packet capture contain?

Network Traffic Investigation Easy
A. A complete physical inventory of all equipment owned by the organization
B. Printed audit reports
C. Deleted disk partitions
D. Recorded network packets

19 Which tool is commonly used to inspect packet capture files?

Network Traffic Investigation Easy
A. Calculator
B. Text editor
C. Wireshark
D. Disk defragmenter

20 Which filter would help an investigator focus on traffic involving one specific host?

Network Traffic Investigation Easy
A. An IP address filter
B. A screen color filter
C. A font style filter
D. A file permission filter that reviews every local user and group setting

21 A Linux server is suspected of running a reverse shell. Which evidence should an investigator collect first?

Volatile and Non-volatile Data in Linux Medium
A. Active network connections and running processes
B. Installed package lists and user home directories
C. Disk partitions and file-system superblocks
D. Archived application logs and configuration files

22 After an unexpected shutdown, which source is most likely to retain evidence of earlier SSH authentication attempts?

Volatile and Non-volatile Data in Linux Medium
A. The contents of /proc/net/tcp
B. The file /var/log/auth.log
C. The system's current ARP cache
D. The output of the jobs command

23 An investigator must examine an ext4 image without allowing journal recovery to modify evidence. Which approach is most appropriate?

File System Image Analysis Medium
A. Run fsck -y before mounting the image
B. Mount the image using ro,noload options
C. Mount the image read-write with sync enabled
D. Copy files from the image using a file manager

24 A file's modification time is months earlier than the creation of its owning user account, but its metadata-change time matches the incident date. What should the investigator suspect?

File System Image Analysis Medium
A. Normal access-time updating
B. Routine journal checkpointing
C. Possible timestamp manipulation
D. Automatic file-system compression

25 A deleted file's directory entry and inode remain available, but its data blocks have been reallocated. What is the most likely recovery outcome?

File System Image Analysis Medium
A. The original content will be fully recovered
B. The journal will always restore the original content
C. The inode will automatically recreate the data blocks
D. The filename may remain, but content may be corrupted

26 A standard process listing does not show a suspected malware process, but a scan of process structures in memory finds it. What is the best interpretation?

Memory Forensics Medium
A. The memory image contains only cached files
B. The disk image was acquired incorrectly
C. The process may have been hidden by a rootkit
D. The process is necessarily a terminated zombie

27 Why should an investigator record the acquisition tool, start time, end time, and hash when capturing Linux memory?

Memory Forensics Medium
A. To convert volatile evidence into non-volatile evidence
B. To restore terminated processes after the capture completes
C. To demonstrate how the volatile image was obtained and preserved
D. To guarantee that acquisition made no changes to memory

28 A firewall log shows malicious traffic from a public IP address shared by many internal users through NAT. Which additional records are most useful for identifying the originating host?

Network Forensics Medium
A. DNS zone-transfer and mail-server logs
B. Printer audit and file-integrity logs
C. NAT translation and DHCP lease logs
D. Kernel boot and package-manager logs

29 Payload inspection is unavailable because a connection uses TLS. Which combination can still help identify suspicious communication?

Network Forensics Medium
A. Shell history, environment variables, and aliases
B. File permissions, inode numbers, and user IDs
C. CPU usage, load average, and swap activity
D. Packet timing, destination, volume, and TLS metadata

30 On a systemd-based Linux host, which command is most suitable for reviewing logs associated with the SSH daemon unit?

Logging Fundamentals Medium
A. journalctl -u sshd
B. lsblk -f sshd
C. iptables -L sshd
D. findmnt -t sshd

31 An investigator finds auth.log, auth.log.1, and auth.log.2.gz. What is the correct way to build a complete authentication timeline?

Logging Fundamentals Medium
A. Analyze only auth.log because rotated logs are duplicates
B. Use only auth.log.2.gz because it contains the oldest events
C. Combine current and rotated logs, then normalize their timestamps
D. Delete the compressed log before sorting the remaining entries

32 Why is consistent time synchronization important across firewalls, servers, and intrusion-detection systems?

Network Forensic Readiness Medium
A. It allows events from different systems to be correlated accurately
B. It increases the amount of payload captured
C. It eliminates the need to retain historical logs
D. It prevents attackers from encrypting network traffic

33 A sensor records an average of Mbps continuously for seven days. Ignoring overhead and compression, approximately how much storage is required?

Network Forensic Readiness Medium
A. Approximately TB
B. Approximately TB
C. Approximately TB
D. Approximately GB

34 A packet-capture sensor connected to a switch mirror port frequently drops packets during peak hours. Which readiness improvement best addresses the problem?

Network Forensic Readiness Medium
A. Reduce all log timestamps to one-second precision
B. Disable capture filtering on every network interface
C. Increase sensor throughput and monitor packet-loss counters
D. Replace packet captures with user shell histories

35 Logs show repeated failed SSH logins, one successful login, and a sudo command shortly afterward. Which correlation rule would provide the strongest alert?

Event Correlation Concepts Medium
A. Group every SSH event by message length and file size
B. Match all events that occur on the same calendar day
C. Alert whenever any user executes a command containing sudo
D. Link the events by account, source address, host, and time window

36 A proxy records usernames, while a firewall records only internal IP addresses. What additional data best supports correlation between their events?

Event Correlation Concepts Medium
A. Process memory and CPU registers
B. Password policies and access-control lists
C. DHCP leases and synchronized timestamps
D. File hashes and partition tables

37 DNS logs show one workstation querying hundreds of newly registered domains with long, random-looking subdomain labels. What is the most likely concern?

Indicators of Compromise (IoCs) from Network Logs Medium
A. A routine internal reverse-DNS lookup operation
B. A normal operating-system time synchronization process
C. A standard DHCP address-renewal sequence
D. A domain generation or DNS-tunneling technique

38 A host sends a small outbound connection to the same rare IP address every 60 seconds, including overnight. Which IoC does this pattern most strongly suggest?

Indicators of Compromise (IoCs) from Network Logs Medium
A. Periodic command-and-control beaconing
B. A large one-time software download
C. Interactive video-streaming traffic
D. Local file-system journal activity

39 A packet capture shows an internal host sending repeated HTTP POST requests containing several megabytes of encoded data to an unfamiliar external server. What should be investigated first?

Network Traffic Investigation Medium
A. Possible ARP cache expiration on the gateway
B. Possible data exfiltration through HTTP
C. Possible disk fragmentation on the server
D. Possible DHCP exhaustion on the subnet

40 A capture shows one source sending TCP SYN packets to many ports on a server, with very few completed handshakes. Which activity is most consistent with this evidence?

Network Traffic Investigation Medium
A. A TCP port scan
B. A normal TLS session
C. A DNS zone update
D. A successful file transfer

41 A live Linux server uses full-disk encryption, and responders suspect a memory-resident implant. Which acquisition strategy best preserves evidence that would otherwise become inaccessible?

Volatile and Non-volatile Data in Linux Hard
A. Acquire RAM and volatile state with trusted tools, then image the block devices
B. Freeze user processes, unmount every file system, then acquire physical memory
C. Copy application logs, reboot into forensic media, then image the logical volumes
D. Shut down cleanly, image the block devices, then inspect the swap partition

42 A process is executing a malicious file that has been unlinked. /proc/4821/fd/7 points to /tmp/.x (deleted). What is the most direct way to preserve the file's current content before the process exits?

Volatile and Non-volatile Data in Linux Hard
A. Run sync so the deleted directory entry is rewritten to the file system
B. Copy the content through /proc/4821/fd/7 and hash the resulting evidence file
C. Recover the original pathname from /tmp after terminating process 4821
D. Read /proc/4821/cmdline and reconstruct the executable from its arguments

43 On ext4, a file is renamed from /srv/a/report to /srv/b/report without changing its content. Assuming normal Linux behavior, which timestamp pattern is most consistent with that operation?

File System Image Analysis Hard
A. The file's birth time changes, its ctime remains, and both directories are updated
B. The file's atime changes, its mtime remains, and neither directory is updated
C. The file's ctime changes, its mtime remains, and both directories are updated
D. The file's mtime changes, its ctime remains, and only the target directory updates

44 An ext4 volume was mounted with the default data=ordered journaling mode. What conclusion about a previous version of an overwritten file can safely be drawn from the journal alone?

File System Image Analysis Hard
A. The journal guarantees recovery until the next successful unmount operation
B. The journal may reconstruct metadata, but prior file data is not guaranteed
C. The journal contains file data only when the inode's atime was also modified
D. The journal necessarily contains every old data block and its original pathname

45 An investigator creates an LVM snapshot of a single logical volume containing a mounted ext4 file system and an active database, then images the snapshot. How should the resulting image be characterized?

File System Image Analysis Hard
A. It is fully consistent only if the snapshot is imaged before any later disk writes
B. It is physically inconsistent because snapshots cannot preserve mounted file systems
C. It is crash-consistent at snapshot time but may not be application-consistent
D. It is application-consistent because copy-on-write preserves database transactions

46 A Linux memory analyzer identifies implausible PIDs and invalid task-list pointers after being supplied symbols from a kernel with the same version number but a different distribution build. What is the best corrective action?

Memory Forensics Hard
A. Disable address-space randomization assumptions and reuse the existing symbol table
B. Interpret the invalid pointers as evidence of direct kernel object manipulation
C. Use symbols matching the exact kernel build and verify the banner in memory
D. Replace virtual addresses with physical offsets derived from the swap partition

47 A slab scan finds a task_struct that is absent from the normal process list. Which additional finding most strongly supports a hidden live process rather than a stale terminated-process object?

Memory Forensics Hard
A. Its PID is lower than the system's configured maximum PID
B. Its runnable thread and socket objects remain coherently cross-linked
C. Its memory address falls inside a recognized slab-cache region
D. Its command name resembles a common kernel worker process

48 A public IP address is shared by thousands of subscribers through carrier-grade NAT. Which evidence is essential for reliably attributing an observed outbound TCP connection to one subscriber?

Network Forensics Hard
A. A time-synchronized NAT mapping containing public and private address-port tuples
B. A DNS resolver log containing the queried domain and the shared public address
C. A firewall alert containing the destination port and the carrier's autonomous system
D. A DHCP lease containing the public destination address and the subscriber hostname

49 A packet capture contains overlapping TCP segments with conflicting bytes. The IDS alert reflects one byte sequence, but the destination host's operating-system behavior is unknown. What is the most defensible forensic approach?

Network Forensics Hard
A. Use only the last-seen bytes because retransmissions always supersede earlier data
B. Discard the entire flow because conflicting retransmissions make analysis impossible
C. Use only the first-seen bytes because packet arrival order defines TCP semantics
D. Reconstruct plausible streams under relevant overlap policies and compare corroborating evidence

50 A Linux host uses systemd-journald with Storage=auto. No /var/log/journal directory exists. What should an investigator expect after an ungraceful reboot?

Logging Fundamentals Hard
A. Journal entries will be copied automatically into the ext4 file-system journal
B. Journal entries will persist only if the kernel ring buffer was sufficiently large
C. Journal entries stored under /run/log/journal will generally be lost
D. Journal entries will persist because auto always creates permanent storage

51 A single Linux Audit event is represented by SYSCALL, EXECVE, CWD, and several PATH records. Which field should primarily be used to assemble those records into one event?

Logging Fundamentals Hard
A. The user ID alone, scoped to the login session and destination terminal
B. The process ID alone, scoped to the file-system mount and executable pathname
C. The audit record type alone, scoped to the current journald cursor position
D. The common msg=audit(timestamp:serial) identifier, scoped to host and boot

52 Host A records event at 12:00:00 with a clock uncertainty of seconds. Host B records event at 12:01:00 with a clock uncertainty of seconds. What ordering is justified from timestamps alone?

Event Correlation Concepts Hard
A. definitely occurred first because its recorded timestamp is earlier
B. definitely occurred first because Host A has greater clock uncertainty
C. Neither ordering is certain because the possible true-time intervals overlap
D. The events were simultaneous because their uncertainty ranges share timestamps

53 A sensor records an average traffic rate of 250 Mbps for 30 days. Stored captures achieve a 2.5:1 compression ratio. Ignoring overhead and using decimal units, approximately how much storage is required?

Network Forensic Readiness Hard
A. 324.0 TB
B. 81.0 TB
C. 12.96 TB
D. 32.4 TB

54 An organization wants the ability to inspect approved TLS sessions retrospectively. Most services use ephemeral ECDHE. Which readiness control is technically effective?

Network Forensic Readiness Hard
A. Retain DNS responses and infer TLS application content from destination hostnames
B. Archive only server private keys and reconstruct every ECDHE session after an incident
C. Securely retain authorized session secrets or capture plaintext at a managed endpoint
D. Capture certificate chains and derive session keys from their public-key signatures

55 Which DNS-log pattern should receive the highest investigative priority as a possible command-and-control beacon, while still requiring corroboration?

Indicators of Compromise (IoCs) from Network Logs Hard
A. One host queries changing high-entropy subdomains of a new domain at regular intervals
B. Many hosts query a popular CDN domain at irregular intervals during working hours
C. One resolver repeatedly queries an internal mail server after cached records expire
D. Many clients query a software-update domain shortly after a scheduled patch window

56 A TLS fingerprint associated with malware is also produced by a widely deployed legitimate runtime. How should analysts use this fingerprint?

Indicators of Compromise (IoCs) from Network Logs Hard
A. Treat it as conclusive because identical TLS fingerprints imply identical binaries
B. Ignore all matching traffic because shared runtimes eliminate investigative value
C. Treat it as a weak IoC and correlate it with destinations, certificates, and behavior
D. Block every match because collision risk matters only for server-side fingerprints

57 A web service accepts direct Internet connections and connections through trusted reverse proxies. Proxies append forwarding addresses to X-Forwarded-For. Which method best identifies the probable client without trusting spoofed headers?

Event Correlation Concepts Hard
A. Build the hop chain from the socket peer and walk right-to-left past trusted proxies
B. Prefer the address with the lowest TTL because it must be closest to the web server
C. Always select the leftmost header address because it represents the original client
D. Always select the rightmost header address because clients cannot modify that position

58 A PCAP was collected with a 96-byte snapshot length. Flow records show a 500 MB TLS transfer, but the PCAP contains only headers and short payload prefixes. What is the correct conclusion?

Network Traffic Investigation Hard
A. The full payload remains encoded in packet checksums and can be recovered computationally
B. The omitted payload cannot be recovered from that PCAP; other telemetry is required
C. The full payload can be reconstructed from TCP sequence numbers and acknowledgment values
D. The omitted payload can be obtained by increasing the snapshot length during later analysis

59 A host-based packet capture marks nearly every outbound TCP checksum as invalid, while inbound checksums validate and a downstream network sensor sees valid outbound packets. What is the most likely explanation?

Network Traffic Investigation Hard
A. Transmit checksum offloading occurs after the host capture point
B. The host firewall intentionally corrupts checksums to detect replayed traffic
C. The remote server repairs invalid checksums before acknowledging packets
D. The capture file uses a byte order incompatible with outbound TCP headers

60 During suspected ARP spoofing, a capture shows repeated unsolicited ARP replies mapping the default gateway's IP to a new MAC address. Which additional observation most strongly demonstrates an active man-in-the-middle path?

Network Traffic Investigation Hard
A. The new MAC sends ICMP echo requests to several hosts within the local subnet
B. Frames for external destinations arrive at the new MAC and are then forwarded onward
C. The switch advertises the same spanning-tree root bridge before and after the replies
D. The legitimate gateway continues broadcasting periodic ARP requests for client systems