GIAC Certified Forensic Analyst GCFA Practice Questions with Explanations
Free GIAC Certified Forensic Analyst GCFA practice questions. 50 of them, each with the correct answer, a full explanation, and the reason every other option is wrong. These are real questions from the GCFA exam, not paraphrases, and every explanation is written out rather than just marking the right letter.
They are drawn from the same bank as the full GCFA pack, which has 318 questions in total.
Get the full GCFA question bank (318 questions) →
GCFA practice questions
Question 1
Adam, a malicious hacker has successfully gained unauthorized access to the Linux system of Umbrella Inc. Web server of the company runs on Apache. He has downloaded sensitive documents and database files from the computer. After performing these malicious tasks, Adam finally runs the following command on the Linux command box before disconnecting. for (( i = 0;i<11;i++ )); do dd if=/dev/random of=/dev/hda && dd if=/dev/zero of=/dev/hda done Which of the following actions does Adam want to perform by the above command?
- A. Making a bit stream copy of the entire hard disk for later download.
- B. Deleting all log files present on the system.
- C. Wiping the contents of the hard disk with zeros.
- D. Infecting the hard disk with polymorphic virus strings.
Show answer and explanation ▾
Correct answer: C
The command loops 11 times, alternating between writing random data (dd if=/dev/random) and zeros (dd if=/dev/zero) to /dev/hda, which is the hard disk device. This pattern of overwriting with random data followed by zeros is a standard disk wiping technique used to securely erase data by making it unrecoverable. Adam is attempting to destroy forensic evidence of his activities.
Why the other options are wrong:
- A. Bitstream copying would use if=/dev/hda as the input source, not the output destination (of=/dev/hda).
- B. Log files are specific files in directories like /var/log, not erased by directly writing to the disk device.
- D. The command writes deterministic patterns (random data and zeros), not polymorphic virus code designed to evade detection.
Question 2
Adam works as a Computer Hacking Forensic Investigator for a garment company in the United States. A project has been assigned to him to investigate a case of a disloyal employee who is suspected of stealing design of the garments, which belongs to the company and selling those garments of the same design under different brand name. Adam investigated that the company does not have any policy related to the copy of design of the garments. He also investigated that the trademark under which the employee is selling the garments is almost identical to the original trademark of the company. On the grounds of which of the following laws can the employee be prosecuted?
- A. Trademark law
- B. Cyber law
- C. Copyright law
- D. Espionage law
Show answer and explanation ▾
Correct answer: A
The key evidence is that the employee's trademark is 'almost identical' to the company's original trademark. Trademark law protects distinctive marks used to identify goods or services, and using a confusingly similar mark constitutes trademark infringement. While the design itself may not be protectable without a copyright policy, the trademark infringement is the clear basis for prosecution in this scenario.
Why the other options are wrong:
- B. Cyber law typically addresses digital crimes and internet-related offenses, not trademark infringement involving physical garments.
- C. Copyright law protects original works of authorship, but the company had no copyright policy in place and copyright requires registration in many jurisdictions.
- D. Espionage law addresses theft of national defense information or trade secrets with intent to harm the country, not simple employee theft of designs.
Question 3
You work as a Network Administrator for Perfect Solutions Inc. You install Windows 98 on a computer. By default, which of the following folders does Windows 98 setup use to keep the registry tools?
- A. $SYSTEMROOT$REGISTRY
- B. $SYSTEMROOT$WINDOWS
- C. $SYSTEMROOT$WINDOWSREGISTRY
- D. $SYSTEMROOT$WINDOWSSYSTEM32
Show answer and explanation ▾
Correct answer: B
In Windows 98, registry tools and the registry database files (system.dat and user.dat) are stored by default in the Windows directory itself, which is typically C:\WINDOWS. The $SYSTEMROOT$ variable points to this Windows directory. Windows 98 did not organize system files as elaborately as later versions.
Why the other options are wrong:
- A. There is no $REGISTRY subdirectory in the Windows folder structure for Windows 98.
- C. Windows 98 does not use a dedicated WINDOWSREGISTRY folder for registry tools.
- D. The SYSTEM32 folder exists in Windows 98 but registry tools are in the main Windows directory, not SYSTEM32.
Question 4
Which of the following tools can be used to perform tasks such as Windows password cracking, Windows enumeration, and VoIP session sniffing?
- A. John the Ripper
- B. L0phtcrack
- C. Obiwan
- D. Cain
Show answer and explanation ▾
Correct answer: D
Cain & Abel is a comprehensive Windows password recovery and network analysis tool that supports Windows password cracking (including SAM hashes), Windows network enumeration, and VoIP session sniffing and recording. It combines multiple attack capabilities in one suite, making it suitable for all three tasks mentioned.
Why the other options are wrong:
- A. John the Ripper is primarily a password cracking tool and does not perform Windows enumeration or VoIP sniffing.
- B. L0phtcrack is focused on Windows password cracking and hash recovery, not VoIP session sniffing.
- C. Obiwan is not a recognized mainstream tool for performing all three of these security assessment tasks.
Question 5
Which of the following type of file systems is not supported by Linux kernel?
- A. vFAT
- B. NTFS
- C. HFS
- D. FAT32
Show answer and explanation ▾
Correct answer: C
HFS (Hierarchical File System) is the native file system for Mac OS Classic and early versions of Mac OS X. While the Linux kernel can support vFAT, NTFS (with third-party drivers), and FAT32 through various drivers and modules, HFS support in the Linux kernel is limited or not natively supported by default, making it the correct answer for an unsupported file system.
Why the other options are wrong:
- A. vFAT (Virtual File Allocation Table) is supported by Linux through the FAT driver module.
- B. NTFS is supported on Linux systems, typically through the NTFS-3G driver or built-in read support.
- D. FAT32 is well-supported by Linux through the FAT driver module as a standard feature.
Question 6
Which of the following modules of OS X kernel (XNU) provides the primary system program interface?
- A. BSD
- B. LIBKERN
- C. I/O Toolkit
- D. Mach
Show answer and explanation ▾
Correct answer: A
The XNU (X is Not Unix) kernel of OS X is built with multiple components, and the BSD layer provides the primary system programming interface and POSIX compliance. BSD provides the core system calls and interfaces that applications and higher-level software use to interact with the kernel.
Why the other options are wrong:
- B. LIBKERN is a kernel library component that provides kernel utilities, not the primary system program interface.
- C. I/O Toolkit is responsible for device drivers and hardware abstraction, not the primary system program interface.
- D. Mach is the microkernel component providing low-level task and thread management, but BSD provides the primary interface for system programs.
Question 7
You work as a Network Administrator for Blue Bell Inc. You want to install Windows XP Professional on your computer, which already has Windows Me installed. You want to configure your computer to dual boot between Windows Me and Windows XP Professional. You have a single 40GB hard disk. Which of the following file systems will you choose to dual-boot between the two operating systems?
- A. NTFS
- B. FAT32
- C. CDFS
- D. FAT
Show answer and explanation ▾
Correct answer: B
FAT32 is the only file system choice that is compatible with both Windows Me and Windows XP Professional. Windows Me cannot read NTFS partitions, so using FAT32 allows both operating systems to access the same partitions. This is necessary for a functional dual-boot configuration where both systems can coexist and access shared data.
Why the other options are wrong:
- A. NTFS is not supported by Windows Me, which would prevent Windows Me from accessing NTFS partitions, breaking the dual-boot configuration.
- C. CDFS is the file system used for CD-ROMs and cannot be used as the primary file system for a hard disk installation.
- D. FAT (FAT16) has significant limitations with 40GB drives (maximum partition size around 2GB) and is not practical for this scenario.
Question 8
John works as a professional Ethical Hacker. He has been assigned the project of testing the security of www.we-are-secure.com. He receives the following e-mail: The e-mail that John has received is an example of __________.
- A. Virus hoaxes
- B. Spambots
- C. Social engineering attacks
- D. Chain letters
Show answer and explanation ▾
Correct answer: C
The email is a classic social engineering attack that uses psychological manipulation to trick John into revealing information or taking action. It impersonates a Disney authority figure, creates false urgency and legitimacy through technical details (IP addresses, database tracking), and uses reward incentives (free Disney World passes) to manipulate the recipient into participating in what appears to be an email tracking scheme. This combines multiple social engineering tactics: authority impersonation, urgency, incentives, and building false trust to extract participation in a potentially malicious data collection activity.
Why the other options are wrong:
- A. Virus hoaxes spread false warnings about non-existent threats; this email is a real malicious attempt to track and collect user data, not a false alarm.
- B. Spambots are automated systems that send mass unsolicited emails; this is a carefully crafted individual social engineering message with specific targeting.
- D. Chain letters request recipients to forward messages to others; while this email mentions forwarding through a database, its primary goal is data collection and tracking through social manipulation, not perpetuating a chain.
Question 9
Which of the following Acts enacted in United States allows the FBI to issue National Security Letters (NSLs) to Internet service providers (ISPs) ordering them to disclose records about their customers?
- A. Wiretap Act
- B. Computer Fraud and Abuse Act
- C. Economic Espionage Act of 1996
- D. Electronic Communications Privacy Act of 1986
Show answer and explanation ▾
Correct answer: D
The Electronic Communications Privacy Act (ECPA) of 1986 provides the legal framework that allows the FBI and other law enforcement agencies to issue National Security Letters (NSLs) to ISPs and other service providers, compelling them to disclose customer records without a warrant. NSLs are a key investigative tool authorized under ECPA.
Why the other options are wrong:
- A. The Wiretap Act addresses the interception of wire communications but does not specifically authorize NSLs for ISP records.
- B. The Computer Fraud and Abuse Act addresses unauthorized computer access and crimes, not the issuance of NSLs for customer data.
- C. The Economic Espionage Act of 1996 addresses the theft of trade secrets, not the authority to issue NSLs to ISPs.
Question 10
TCP FIN scanning is a type of stealth scanning through which the attacker sends a FIN packet to the target port. If the port is closed, the victim assumes that this packet was sent mistakenly by the attacker and sends the RST packet to the attacker. If the port is open, the FIN packet will be ignored and the port will drop the packet. Which of the following operating systems can be easily identified with the help of TCP FIN scanning?
- A. Solaris
- B. Red Hat
- C. Knoppix
- D. Windows
Show answer and explanation ▾
Correct answer: D
Windows operating systems do not properly implement RFC 793 for TCP FIN scanning responses. When a Windows system receives a FIN packet on an open port, it responds with a RST packet rather than silently dropping it (as RFC 793 dictates). This non- compliant behavior makes Windows easily identifiable through TCP FIN scanning, as the response pattern differs from properly RFC-compliant systems like Solaris, Linux distributions (Red Hat, Knoppix), and other Unix-like systems.
Why the other options are wrong:
- A. Solaris properly implements RFC 793 and silently drops FIN packets on open ports, making it not easily identifiable by this method.
- B. Red Hat Linux follows RFC 793 specifications and does not respond to FIN packets on open ports with RST.
- C. Knoppix, being a Linux distribution, properly implements RFC 793 and is not easily identified by TCP FIN scanning.
Question 11
Which of the following encryption methods uses AES technology?
- A. Dynamic WEP
- B. Static WEP
- C. TKIP
- D. CCMP
Show answer and explanation ▾
Correct answer: D
CCMP (Counter Mode with CBC-MAC Protocol) is the encryption method that uses AES (Advanced Encryption Standard) technology. CCMP was designed as the successor to TKIP and is used in WPA2 (Wi-Fi Protected Access 2) to provide stronger encryption than earlier wireless security standards.
Why the other options are wrong:
- A. Dynamic WEP uses RC4 encryption, not AES.
- B. Static WEP uses RC4 encryption, not AES.
- C. TKIP uses RC4 encryption as well, not AES.
Question 12
Mark works as a security manager for SofTech Inc. He is using a technique for monitoring what the employees are doing with corporate resources. Which of the following techniques is being used by Mark to gather evidence of an ongoing computer crime if a member of the staff is e-mailing company's secrets to an opponent?
- A. Electronic surveillance
- B. Civil investigation
- C. Physical surveillance
- D. Criminal investigation
Show answer and explanation ▾
Correct answer: A
Electronic surveillance refers to the monitoring of digital communications and computer activities, such as email monitoring, network traffic analysis, and system activity logging. When Mark monitors what employees are doing with corporate resources to gather evidence of data theft via email, he is conducting electronic surveillance of corporate systems and communications.
Why the other options are wrong:
- B. Civil investigation refers to non-criminal legal proceedings and is not the technique for monitoring employee computer activities.
- C. Physical surveillance involves observing people or locations in person, not monitoring digital resources.
- D. Criminal investigation is conducted by law enforcement after a crime is suspected, not the initial monitoring technique used by a security manager.
Question 13
Which of the following is the first computer virus that was used to infect the boot sector of storage media formatted with the DOS File Allocation Table (FAT) file system?
- A. Melissa
- B. Tequila
- C. Brain
- D. I love you
Show answer and explanation ▾
Correct answer: C
The Brain virus (also known as the Pakistani virus), discovered in 1986, was the first computer virus to infect the boot sector of storage media formatted with the DOS FAT file system. It marked the beginning of boot sector virus threats and is considered a historically significant milestone in computer virus evolution.
Why the other options are wrong:
- A. Melissa was a macro virus that spread through email in 1999, not a boot sector virus.
- B. Tequila was a file-infecting virus, not the first boot sector virus.
- D. I Love You was an email-borne worm from 2000 that infected files, not a boot sector virus.
Question 14
Which of the following attacks saturates network resources and disrupts services to a specific computer?
- A. Teardrop attack
- B. Polymorphic shell code attack
- C. Denial-of-Service (DoS) attack
- D. Replay attack
Show answer and explanation ▾
Correct answer: C
A Denial-of-Service (DoS) attack saturates network resources and disrupts services to a specific computer or network by overwhelming it with traffic or requests, making legitimate services unavailable to users. This is the core definition and primary purpose of DoS attacks.
Why the other options are wrong:
- A. A Teardrop attack exploits a vulnerability in IP packet reassembly by sending fragmented packets, causing system crashes rather than resource saturation.
- B. A Polymorphic shell code attack involves malicious code that changes its form to evade detection, not a resource saturation attack.
- D. A Replay attack involves capturing and retransmitting legitimate network messages to gain unauthorized access, not saturating resources.
Question 15
Peter works as a Technical Representative in a CSIRT for SecureEnet Inc. His team is called to investigate the computer of an employee, who is suspected for classified data theft. Suspect's computer runs on Windows operating system. Peter wants to collect data and evidences for further analysis. He knows that in Windows operating system, the data is searched in pre-defined steps for proper and efficient analysis. Which of the following is the correct order for searching data on a Windows based system?
- A. Volatile data, file slack, registry, memory dumps, file system, system state backup, internet traces
- B. Volatile data, file slack, registry, system state backup, internet traces, file system, memory dumps
- C. Volatile data, file slack, internet traces, registry, memory dumps, system state backup, file system
- D. Volatile data, file slack, file system, registry, memory dumps, system state backup, internet traces
Show answer and explanation ▾
Correct answer: A
The correct order for collecting forensic evidence on Windows systems follows the principle of collecting the most volatile (time-sensitive) data first and progressing to more persistent storage. The order is: volatile data (RAM, network connections), file slack, registry, memory dumps, file system, system state backups, and finally internet traces. This sequence ensures that the most ephemeral evidence is captured before it is lost while maintaining proper forensic methodology.
Why the other options are wrong:
- B. This order incorrectly places system state backups and internet traces before file system analysis.
- C. This order incorrectly places internet traces before registry and memory dumps, violating the volatility principle.
- D. This order incorrectly places file system analysis before registry and memory dumps.
Question 16
Which of the following methods is used by forensic investigators to acquire an image over the network in a secure manner?
- A. DOS boot disk
- B. Linux Live CD
- C. Secure Authentication for EnCase (SAFE)
- D. EnCase with a hardware write blocker
Show answer and explanation ▾
Correct answer: C
Secure Authentication for EnCase (SAFE) is a specialized method designed specifically for acquiring forensic images over a network in a secure manner. It provides encrypted authentication and secure data transfer capabilities during remote acquisition. DOS boot disks and Linux Live CDs are local acquisition methods, while hardware write blockers are physical devices used with direct connections, not network-based acquisition.
Why the other options are wrong:
- A. DOS boot disk is used for local forensic acquisition, not network-based secure imaging.
- B. Linux Live CD is a local acquisition tool, not designed for secure network-based image acquisition.
- D. Hardware write blockers are physical devices for direct drive connections, not for network acquisition.
Question 17
You company suspects an employee of sending unauthorized emails to competitors. These emails are alleged to contain confidential company data. Which of the following is the most important step for you to take in preserving the chain of custody?
- A. Preserve the email server including all logs.
- B. Make copies of that employee's email.
- C. Seize the employee's PC.
- D. Place spyware on the employee's PC to confirm these activities.
Show answer and explanation ▾
Correct answer: A
Preserving the email server including all logs is the most critical first step because it captures the complete forensic evidence in its original state, including server logs that document the unauthorized email transmission, timestamps, and other metadata necessary to establish a complete chain of custody. Making copies of only the employee's email is incomplete, seizing the PC alone may not capture server-side evidence, and installing spyware is illegal and violates chain of custody protocols.
Why the other options are wrong:
- B. Copying only the employee's email misses critical server logs and metadata necessary for complete evidence preservation.
- C. Seizing only the employee's PC does not capture the complete evidence trail on the email server.
- D. Installing spyware is illegal, violates chain of custody procedures, and is an unethical investigative technique.
Question 18
Which of the following is the correct order of loading system files into the main memory of the system, when the computer is running on Microsoft's Windows XP operating system?
- A. NTLDR, BOOT.ini, HAL.dll, NTDETECT.com, NTOSKRNL.exe
- B. NTLDR, BOOT.ini, NTDETECT.com, HAL.dll, NTOSKRNL.exe
- C. NTLDR, BOOT.ini, HAL.dll, NTDETECT.com, NTOSKRNL.exe
- D. BOOT.ini, HAL.dll, NTDETECT.com, NTLDR, NTOSKRNL.exe
Show answer and explanation ▾
Correct answer: B
The correct Windows XP boot sequence is NTLDR, BOOT.ini, NTDETECT.com, HAL.dll, NTOSKRNL.exe. NTLDR initiates the boot process and reads BOOT.ini for boot options, then NTDETECT.com detects hardware, followed by HAL.dll (Hardware Abstraction Layer) loading, and finally NTOSKRNL.exe (the Windows kernel) loads into memory. This sequence ensures proper hardware detection and system initialization.
Why the other options are wrong:
- A. This order places HAL.dll before NTDETECT.com, which is incorrect; hardware detection must occur before HAL loads.
- C. This order also incorrectly places HAL.dll before NTDETECT.com, violating the proper boot sequence.
- D. This order incorrectly places BOOT.ini and HAL.dll before NTLDR, which must be the first file loaded during boot.
Question 19
Which of the following file systems provides file-level security?
- A. CDFS
- B. FAT
- C. FAT32
- D. NTFS
Show answer and explanation ▾
Correct answer: D
NTFS (New Technology File System) is the only file system among the options that provides file-level security through Access Control Lists (ACLs), which allow granular permission settings on individual files and directories. CDFS is designed for CD-ROMs with no security features, and both FAT and FAT32 lack any security mechanisms or file- level access controls.
Why the other options are wrong:
- A. CDFS (CD File System) was designed for read-only CD-ROMs and has no security features.
- B. FAT (File Allocation Table) lacks any file-level security or access control mechanisms.
- C. FAT32 is an extension of FAT that similarly lacks file-level security or permission controls.
Question 20
Adam works as an Incident Handler for Umbrella Inc. He is informed by the senior authorities that the server of the marketing department has been affected by a malicious hacking attack. Supervisors are also claiming that some sensitive data are also stolen. Adam immediately arrived to the server room of the marketing department and identified the event as an incident. He isolated the infected network from the remaining part of the network and started preparing to image the entire system. He captures volatile data, such as running process, ram, and network connections. Which of the following steps of the incident handling process is being performed by Adam?
- A. Recovery
- B. Eradication
- C. Identification
- D. Containment
Show answer and explanation ▾
Correct answer: D
Adam is performing the Containment phase of incident handling. He has already identified the incident and is now taking steps to isolate the infected network from the rest of the network to prevent further damage or spread of the malware. He is also capturing volatile data before imaging, which is part of containment activities to preserve evidence and limit the attack's impact. Recovery is post-incident restoration, Eradication is removing the threat, and Identification was already completed.
Why the other options are wrong:
- A. Recovery involves restoring systems to normal operations after the incident is resolved, not isolating infected systems.
- B. Eradication is the process of removing the malware and threats from the system, which comes after containment.
- C. Identification was already performed when Adam recognized the event as an incident; containment is the next step.
Question 21
Which of the following is the process of overwriting all addressable locations on a disk?
- A. Drive wiping
- B. Spoofing
- C. Sanitization
- D. Authentication
Show answer and explanation ▾
Correct answer: A
Drive wiping is the process of overwriting all addressable locations on a disk to ensure data cannot be recovered. This method systematically writes over all sectors with patterns (often zeros or random data) to destroy previous data traces. Spoofing is impersonation, Sanitization is a broader term for data destruction (of which wiping is one method), and Authentication is a security verification process.
Why the other options are wrong:
- B. Spoofing refers to impersonating another entity or system, not overwriting disk data.
- C. While sanitization is a broader category that includes wiping, the specific process of overwriting all addressable locations is called drive wiping.
- D. Authentication is a security mechanism for verifying identity, unrelated to disk overwriting processes.
Question 22
An executive in your company reports odd behavior on her PDA. After investigation you discover that a trusted device is actually copying data off the PDA. The executive tells you that the behavior started shortly after accepting an e-business card from an unknown person. What type of attack is this?
- A. Session Hijacking
- B. Bluesnarfing
- C. PDA Hijacking
- D. Privilege Escalation
Show answer and explanation ▾
Correct answer: B
Bluesnarfing is a Bluetooth attack where an attacker gains unauthorized access to a Bluetooth-enabled device and copies data from it without the owner's knowledge or consent. The scenario describes data being copied off the PDA after the executive received a malicious e-business card via Bluetooth, which is the classic signature of a bluesnarfing attack. Session Hijacking targets network connections, PDA Hijacking is not a standard attack type, and Privilege Escalation involves gaining higher access levels.
Why the other options are wrong:
- A. Session Hijacking targets active network sessions, not Bluetooth device connections or file transfers.
- C. PDA Hijacking is not a recognized standard attack type; the correct term is bluesnarfing.
- D. Privilege Escalation involves gaining higher user permissions, not unauthorized data copying via Bluetooth.
Question 23
You work as a Network Administrator for Net Perfect Inc. The company has a Windows Server 2008 network environment. The network is configured as a Windows Active Directory-based single forest single domain network. The network is configured on IP version 6 protocol. All the computers on the network are connected to a switch device. One day, users complain that they are unable to connect to a file server. You try to ping the client computers from the server, but the pinging fails. You try to ping the server's own loopback address, but it fails to ping. You restart the server, but the problem persists. What is the most likely cause?
- A. The cable that connects the server to the switch is broken.
- B. Automatic IP addressing is not working.
- C. The switch device is not working.
- D. The server is configured with unspecified IP address.
- E. The server's NIC is not working.
Show answer and explanation ▾
Correct answer: E
The server's NIC (Network Interface Card) not working is the most likely cause. The critical diagnostic clue is that the server cannot even ping its own loopback address (127.0.0.1 or ::1 in IPv6), which is a purely internal test that does not require network hardware. If the loopback ping fails, it indicates a fundamental NIC or network stack problem. A broken cable or non-functional switch would allow loopback pings to succeed. IPv6 addressing issues would not prevent loopback pings. The restart eliminates temporary issues.
Why the other options are wrong:
- A. A broken cable would not prevent the server from pinging its own loopback address, which is internal.
- B. Automatic IP addressing issues would not prevent loopback pings, which require no external addressing.
- C. A non-functional switch would not affect loopback pings, which do not require network hardware.
- D. An unspecified IP address would not prevent loopback pings from working on the server itself.
Question 24
You want to upgrade a partition in your computer's hard disk drive from FAT to NTFS. Which of the following DOS commands will you use to accomplish this?
- A. FORMAT C: /s
- B. CONVERT C: /fs:ntfs
- C. SYS C:
- D. FDISK /mbr
Show answer and explanation ▾
Correct answer: B
CONVERT C: /fs:ntfs is the correct DOS command to convert a FAT partition to NTFS without data loss. This command performs an in-place conversion while preserving all files on the partition.
Why the other options are wrong:
- A. FORMAT C: /s formats the drive and installs system files, destroying all data rather than converting the file system.
- C. SYS C: copies system files to a drive but does not convert file systems.
- D. FDISK /mbr repairs the master boot record and does not convert file systems.
Question 25
A firewall is a combination of hardware and software, used to provide security to a network. It is used to protect an internal network or intranet against unauthorized access from the Internet or other outside networks. It restricts inbound and outbound access and can analyze all traffic between an internal network and the Internet. Users can configure a firewall to pass or block packets from specific IP addresses and ports. Which of the following tools works as a firewall for the Linux 2.4 kernel?
- A. OpenSSH
- B. IPTables
- C. IPChains
- D. Stunnel
Show answer and explanation ▾
Correct answer: B
IPTables is the firewall framework for the Linux 2.4 kernel and later. It provides packet filtering, network address translation, and port forwarding capabilities essential for protecting networks.
Why the other options are wrong:
- A. OpenSSH is a secure shell protocol and remote access tool, not a firewall.
- C. IPChains was used in Linux 2.2 kernel, predating the Linux 2.4 kernel specified in the question.
- D. Stunnel is a tunneling proxy for encrypting connections, not a firewall solution.
Question 26
An organization monitors the hard disks of its employees' computers from time to time. Which policy does this pertain to?
- A. Network security policy
- B. User password policy
- C. Privacy policy
- D. Backup policy
Show answer and explanation ▾
Correct answer: C
Monitoring employee hard disks relates to privacy policy, as it involves surveillance and inspection of personal or work data stored on employee computers. Organizations must establish privacy policies governing when and how employee systems may be monitored to balance security needs with employee privacy rights.
Why the other options are wrong:
- A. Network security policy addresses network access controls and protection, not hard disk monitoring.
- B. User password policy governs password creation, complexity, and management requirements.
- D. Backup policy addresses data backup procedures and recovery mechanisms, not monitoring of existing data.
Question 27
You work as a Network Administrator for Net World International. You have configured the hard disk drive of your computer as shown in the image below: The computer is configured to dual-boot with Windows 2000 Server and Windows 98. While working on Windows 2000 Server, you save a file on the 6GB partition. You are unable to find the file while working on Windows 98. You are not even able to access the partition on which the file is saved. What is the most likely cause?
- A. The file is corrupt.
- B. The 6GB partition is corrupt.
- C. Windows 98 does not support the NTFS file system.
- D. Files saved in Windows 98 are not supported by Windows 2000.
Show answer and explanation ▾
Correct answer: C
The diagram shows the hard disk partitioned into a 2GB FAT32 partition and a 6GB NTFS partition. When a file is saved to the NTFS partition in Windows 2000 Server, it cannot be accessed from Windows 98 because Windows 98 does not have native support for the NTFS file system. Windows 98 only supports FAT32 and earlier FAT file systems. Therefore, when booting into Windows 98, the NTFS partition is inaccessible, making the file invisible to that operating system.
Why the other options are wrong:
- A. If the file were corrupt, it might be unreadable but the partition itself would still be accessible in Windows 2000.
- B. If the 6GB partition were corrupt, it would likely be inaccessible in Windows 2000 as well, not just Windows 98.
- D. This is backwards logic; the issue is not about file format compatibility between operating systems, but rather about file system support at the partition level.
Question 28
Which of the following types of computers is used for attracting potential intruders?
- A. Bastion host
- B. Data pot
- C. Files pot
- D. Honey pot
Show answer and explanation ▾
Correct answer: D
A honeypot is a security resource designed to attract, detect, and deceive attackers by appearing as an attractive target while actually being monitored and isolated. It lures potential intruders to interact with it, revealing their techniques and intentions.
Why the other options are wrong:
- A. A bastion host is a hardened, single-purpose server used to defend networks, not to attract intruders.
- B. Data pot is not a recognized security term or tool.
- C. Files pot is not a recognized security term or tool.
Question 29
Which of the following standard file formats is used by Apple's iPod to store contact information?
- A. HFS+
- B. hCard
- C. vCard
- D. FAT32
Show answer and explanation ▾
Correct answer: C
vCard is the standard file format used by Apple's iPod and other devices to store and exchange contact information. vCard (.vcf) files contain contact details like names, phone numbers, email addresses, and other personal information in a universally compatible format.
Why the other options are wrong:
- A. HFS+ is the file system used on Apple drives, not a contact information format.
- B. hCard is an HTML-based microformat for marking up contact information on web pages, not an iPod contact format.
- D. FAT32 is a file system format used for storage, not for storing contact information.
Question 30
Which of the following types of evidence proves or disproves a specific act through oral testimony based on information gathered through the witness's five senses?
- A. Conclusive evidence
- B. Best evidence
- C. Hearsay evidence
- D. Direct evidence
Show answer and explanation ▾
Correct answer: D
Direct evidence proves or disproves a fact through the witness's personal sensory perception without requiring inference or assumption. A witness testifying about what they directly saw, heard, felt, or experienced is providing direct evidence. This is distinguished from circumstantial evidence, which requires inference.
Why the other options are wrong:
- A. Conclusive evidence eliminates all reasonable doubt but is not defined by oral sensory testimony.
- B. Best evidence refers to original documentary evidence, not testimony based on senses.
- C. Hearsay evidence is testimony about what someone else said, not based on the witness's own sensory perception.
Question 31
Which of the following sections of an investigative report covers the background and summary of the report including the outcome of the case and the list of allegations?
- A. Section 2
- B. Section 4
- C. Section 3
- D. Section 1
Show answer and explanation ▾
Correct answer: A
Section 2 of an investigative report typically contains the background, summary, case outcome, and list of allegations. This section provides the overview and context needed to understand the investigation before detailed findings are presented in subsequent sections.
Why the other options are wrong:
- B. Section 4 typically contains conclusions or recommendations, not background and summary.
- C. Section 3 usually contains detailed findings or analysis rather than overview material.
- D. Section 1 is typically the title page or introduction, not the background and summary section.
Question 32
Which of the following switches of the XCOPY command copies attributes while copying files?
- A. /o
- B. /p
- C. /k
- D. /s
Show answer and explanation ▾
Correct answer: C
The /k switch in XCOPY copies file attributes while copying files. This preserves the source file's attributes (such as read-only, archive, system, or hidden) on the copied files. Other XCOPY switches serve different purposes like pausing, copying subdirectories, or handling permissions.
Why the other options are wrong:
- A. /o copies file ownership and ACL information, not general attributes.
- B. /p prompts the user before creating each destination file.
- D. /s copies directories and subdirectories but does not specifically address attribute copying.
Question 33
Which of the following directories in Linux operating system contains device files, which refers to physical devices?
- A. /boot
- B. /etc
- C. /dev
- D. /bin
Show answer and explanation ▾
Correct answer: C
The /dev directory in Linux contains device files that represent physical and virtual devices connected to the system, such as hard drives, terminals, and printers. These special files allow user programs to interact with hardware devices through the filesystem.
Why the other options are wrong:
- A. /boot contains bootloader files and the kernel, not device files.
- B. /etc contains system configuration files, not device files.
- D. /bin contains executable binary programs and commands, not device files.
Question 34
On which of the following locations does the Windows NT/2000 operating system contain the SAM, SAM.LOG, SECURITY.LOG, APPLICATION.LOG, and EVENT.LOG files?
- A. \%Systemroot%system32
- B. \%Systemroot%profiles
- C. \%Systemroot%system32config
- D. \%Systemroot%help
Show answer and explanation ▾
Correct answer: C
The SAM, SAM.LOG, SECURITY.LOG, APPLICATION.LOG, and EVENT.LOG files are all located in the %Systemroot%\system32\config directory on Windows NT/2000 systems. This directory contains the registry hives and event log files essential for system security and logging.
Why the other options are wrong:
- A. %Systemroot%\system32 is the parent directory but not the specific location of these files.
- B. %Systemroot%\profiles contains user profile data, not system files like SAM or event logs.
- D. %Systemroot%\help contains help documentation files, not system configuration or log files.
Question 35
You are handling technical support calls for an insurance company. A user calls you complaining that he cannot open a file, and that the file name appears in green while opening in Windows Explorer. What does this mean?
- A. The file is encrypted.
- B. The file belongs to another user.
- C. The file is infected with virus.
- D. The file is compressed.
Show answer and explanation ▾
Correct answer: D
In Windows Explorer, when a file name appears in green text, it indicates that the file is compressed. This is a standard Windows visual indicator for compressed files and folders. Compressed files use less disk space and the green coloring helps users quickly identify which files have compression enabled.
Why the other options are wrong:
- A. Encrypted files typically show a lock icon or different indicator, not green text coloring.
- B. Files belonging to other users would show different permission indicators or ownership markers, not green text.
- C. Virus-infected files would typically trigger antivirus alerts or quarantine actions, not result in green text coloring.
Question 36
Which of the following is a name, symbol, or slogan with which a product is identified?
- A. Trade secret
- B. Patent
- C. Copyright
- D. Trademark
Show answer and explanation ▾
Correct answer: D
A trademark is a name, symbol, or slogan used to identify a product or brand and distinguish it from competitors. Trademarks protect brand identity and are registered with intellectual property offices. Examples include the Nike swoosh, Apple logo, or Coca-Cola script.
Why the other options are wrong:
- A. A trade secret is confidential business information that provides competitive advantage, not a brand identifier.
- B. A patent protects inventions and novel processes, not brand names or symbols.
- C. Copyright protects original creative works like literature, music, and software, not brand identifiers.
Question 37
Which of the following file systems supports the hot fixing feature?
- A. FAT16
- B. exFAT
- C. FAT32
- D. NTFS
Show answer and explanation ▾
Correct answer: D
NTFS (New Technology File System) supports hot fixing, which is the ability to replace bad sectors dynamically without taking the system offline. NTFS includes journaling capabilities and advanced fault tolerance features that allow it to handle and recover from disk errors while the system remains operational.
Why the other options are wrong:
- A. FAT16 lacks advanced error handling and hot fixing capabilities.
- B. exFAT is a simplified file system designed for removable media and does not support hot fixing.
- C. FAT32 does not support hot fixing or advanced fault tolerance features.
Question 38
John works as a professional Ethical Hacker. He has been assigned a project for testing the security of www.we-are-secure.com. He wants to corrupt an IDS signature database so that performing attacks on the server is made easy and he can observe the flaws in the We-are-secure server. To perform his task, he first of all sends a virus that continuously changes its signature to avoid detection from IDS. Since the new signature of the virus does not match the old signature, which is entered in the IDS signature database, IDS becomes unable to point out the malicious virus. Which of the following IDS evasion attacks is John performing?
- A. Evasion attack
- B. Session splicing attack
- C. Insertion attack
- D. Polymorphic shell code attack
Show answer and explanation ▾
Correct answer: D
A polymorphic shellcode attack involves malware that continuously changes its signature or code structure to evade detection by signature-based intrusion detection systems. Each iteration has a different signature, making it impossible for the IDS database to match and detect the threat. This is exactly what John's virus is doing by changing signatures to avoid IDS detection.
Why the other options are wrong:
- A. Evasion attack is too generic; polymorphic shellcode is a specific evasion technique.
- B. Session splicing involves fragmenting attack traffic across multiple packets or sessions, not signature mutation.
- C. Insertion attack involves injecting extra data into network traffic to confuse the IDS, not changing malware signatures.
Question 39
You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to fix partitions on a hard drive. Which of the following Unix commands can you use to accomplish the task?
- A. fdformat
- B. exportfs
- C. fsck
- D. fdisk
Show answer and explanation ▾
Correct answer: C
The fsck (filesystem check) command is used in Unix/Linux to check and repair filesystems. It performs disk checking and can fix partition errors and corrupted filesystem issues. This is the appropriate tool for fixing partitions on a hard drive in a Unix environment.
Why the other options are wrong:
- A. fdformat is used to format floppy disks, not to fix hard drive partitions.
- B. exportfs is used to manage NFS (Network File System) exports, not to repair partitions.
- D. fdisk is used to partition disks, not to fix or repair existing partitions.
Question 40
Which of the following is a type of intruder detection that involves logging network events to a file for an administrator to review later?
- A. Packet detection
- B. Passive detection
- C. Active detection
- D. Event detection
Show answer and explanation ▾
Correct answer: B
Passive detection involves monitoring and logging network events to a file or log system for later review by administrators. This non-intrusive approach observes network activity without taking active response actions. The administrator examines logs after the fact to identify potential security issues.
Why the other options are wrong:
- A. Packet detection refers to analyzing individual packets but is not specifically about logging for later review.
- C. Active detection involves real-time response and blocking of threats, not passive logging for later review.
- D. Event detection is too generic; passive detection specifically refers to logging-based monitoring.
Question 41
Which of the following file systems is designed by Sun Microsystems?
- A. NTFS
- B. CIFS
- C. ext2
- D. ZFS
Show answer and explanation ▾
Correct answer: D
ZFS (Zettabyte File System) was designed by Sun Microsystems. It is an advanced file system known for its robustness, large storage capacity support, and features like snapshots and data compression. Sun Microsystems developed ZFS as a next-generation filesystem for their Unix-based systems.
Why the other options are wrong:
- A. NTFS was developed by Microsoft for Windows operating systems.
- B. CIFS (Common Internet File System) was developed by Microsoft, not Sun Microsystems.
- C. ext2 was developed by the Linux community, not Sun Microsystems.
Question 42
Which of the following evidences are the collection of facts that, when considered together, can be used to infer a conclusion about the malicious activity/person?
- A. Corroborating
- B. Circumstantial
- C. Incontrovertible
- D. Direct
Show answer and explanation ▾
Correct answer: B
Circumstantial evidence is a collection of facts that, when considered together, allow an inference about a conclusion. Unlike direct evidence which proves a fact independently, circumstantial evidence requires logical connection between multiple pieces of information to establish a conclusion about malicious activity or a person's involvement.
Why the other options are wrong:
- A. Corroborating evidence supports or confirms other evidence but isn't defined as a collection of facts that together infer a conclusion.
- C. Incontrovertible evidence is indisputable or beyond question, not a collection of facts requiring inference.
- D. Direct evidence proves a fact on its own without requiring inference from multiple pieces of information.
Question 43
You are working with a team that will be bringing in new computers to a sales department at a company. The sales team would like to keep not only their old files, but system settings as well on the new PC's. What should you do?
- A. Use the Disk Management tool to move everything to the new computer.
- B. Copy the files and the Windows Registry to a removable media then copy it onto the new machines.
- C. Do a system backup (complete) on each old machine, then restore it onto the new machines
- D. Use the User State Migration tool to move the system settings and files to the new machines.
Show answer and explanation ▾
Correct answer: D
The User State Migration Tool (USMT) is specifically designed to transfer user files, settings, and system configurations from old computers to new ones. It properly handles both user data and system settings while maintaining compatibility and integrity, making it the appropriate tool for this scenario.
Why the other options are wrong:
- A. Disk Management is for managing disk partitions and volumes, not for transferring files and settings between computers.
- B. Manually copying the Windows Registry to removable media and then to new machines is risky, unsupported, and can cause system instability.
- C. While system backup and restore could work, it's not the intended method for this task and USMT is the proper solution designed for this specific purpose.
Question 44
Which of the following is the process of comparing cryptographic hash functions of system executables and configuration files?
- A. Spoofing
- B. File integrity auditing
- C. Reconnaissance
- D. Shoulder surfing
Show answer and explanation ▾
Correct answer: B
File integrity auditing is the process of comparing cryptographic hash values of system files and configuration files to detect unauthorized changes. This method ensures that executables and configurations have not been modified, which is essential for detecting compromised systems.
Why the other options are wrong:
- A. Spoofing is impersonation of identity or systems, not a process involving hash comparisons.
- C. Reconnaissance is the initial information gathering phase of an attack, not verification of file integrity.
- D. Shoulder surfing is observing someone's screen or keyboard input without permission, unrelated to cryptographic hashing.
Question 45
Which of the following is the correct order of digital investigations Standard Operating Procedure (SOP)?
- A. Initial analysis, request for service, data collection, data analysis, data reporting
- B. Initial analysis, request for service, data collection, data reporting, data analysis
- C. Request for service, initial analysis, data collection, data reporting, data analysis
- D. Request for service, initial analysis, data collection, data analysis, data reporting
Show answer and explanation ▾
Correct answer: D
The correct standard operating procedure for digital investigations is: Request for service (initial request), Initial analysis (assess the situation), Data collection (gather evidence), Data analysis (examine findings), and Data reporting (document conclusions). This sequence ensures proper authorization, assessment, evidence gathering, interpretation, and documentation.
Why the other options are wrong:
- A. This sequence begins with initial analysis before requesting service, which violates proper authorization protocols.
- B. This sequence places data reporting before data analysis, which is illogical as analysis must precede reporting of findings.
- C. This sequence places data analysis after data reporting, which is backward- conclusions must be analyzed before being reported.
Question 46
Which of the following is the initiative of United States Department of Justice, which provides state and local law enforcement agencies the tools to prevent Internet crimes against children, and catches the distributors of child pornography on the Internet?
- A. Innocent Images National Initiative (IINI)
- B. Internet Crimes Against Children (ICAC)
- C. Project Safe Childhood (PSC)
- D. Anti-Child Porn.org (ACPO)
Show answer and explanation ▾
Correct answer: B
The Internet Crimes Against Children (ICAC) Task Force is the Department of Justice initiative that provides state and local law enforcement with resources, training, and tools to combat online child exploitation and apprehend distributors of child sexual abuse material. It is the established and primary program for this purpose.
Why the other options are wrong:
- A. The Innocent Images National Initiative is an older program that has been largely superseded by and integrated into ICAC efforts.
- C. Project Safe Childhood is a broader DOJ initiative that includes multiple components, but ICAC is the specific task force program.
- D. Anti-Child Porn.org is not an official Department of Justice initiative.
Question 47
Mark is the Administrator of a Linux computer. He wants to check the status of failed Telnet-based login attempts on the Linux computer. Which of the following shell commands will he use to accomplish the task?
- A. GREP
- B. CP
- C. FSCK
- D. CAT
Show answer and explanation ▾
Correct answer: A
GREP is a command-line utility used to search for patterns within text files. To check failed Telnet login attempts, an administrator would use GREP to search log files (typically /var/log/auth.log or similar) for failed authentication entries related to Telnet connections.
Why the other options are wrong:
- B. CP is the copy command used for copying files, not for searching or analyzing log file contents.
- C. FSCK is the filesystem check utility used for disk repair and maintenance, not for analyzing login attempts.
- D. CAT displays file contents but does not search for specific patterns like failed login attempts; GREP is needed for pattern matching.
Question 48
You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to allow direct access to the filesystems data structure. Which of the following Unix commands can you use to accomplish the task?
- A. du
- B. debugfs
- C. df
- D. dosfsck
Show answer and explanation ▾
Correct answer: B
debugfs is a Unix utility specifically designed to examine and modify the ext2/ext3 filesystem's internal structure and data blocks directly. It provides low-level access to filesystem metadata and data structures. du reports disk usage, df shows disk space availability, and dosfsck checks DOS/FAT filesystems-none provide direct access to filesystem data structures like debugfs does.
Why the other options are wrong:
- A. du only reports disk space usage summaries, not direct filesystem structure access.
- C. df displays disk free space information but does not allow direct access to filesystem structures.
- D. dosfsck is a tool for checking and repairing DOS/FAT filesystems, not for accessing Unix filesystem structures.
Question 49
You work as a Network Security Analyzer. You got a suspicious email while working on a forensic project. Now, you want to know the IP address of the sender so that you can analyze various information such as the actual location, domain information, operating system being used, contact information, etc. of the email sender with the help of various tools and resources. You also want to check whether this email is fake or real. You know that analysis of email headers is a good starting point in such cases. The email header of the suspicious email is given below: What is the IP address of the sender of this email?
- A. 172.16.10.90
- B. 209.191.91.180
- C. 216.168.54.25
- D. 141.1.1.1
Show answer and explanation ▾
Correct answer: C
When analyzing email headers to identify the actual sender's IP address, the most reliable indicator is the 'Received:' header field, which shows the path the email took through mail servers. In this header, the first 'Received:' line shows 'from 216.160.54.25 (EHLO wetpaintmail.com) (216.160.54.25) by mtx251-n1.mail.re3.yahoo.com', indicating that the email originated from IP 216.160.54.25. This is the source IP address of the sending mail server, making it the sender's IP address for forensic analysis purposes. The IP 209.191.91.180 appears in the X-Apparently-To field which is metadata added by Yahoo, not the actual sender. The other IPs (172.16.10.90 and 141.1.1.1) are internal/private addresses not associated with the actual email transmission in these headers.
Why the other options are wrong:
- A. 172.16.10.90 does not appear as a sending server IP in the Received headers and is a private address range.
- B. 209.191.91.180 appears only in the X-Apparently-To field, which is metadata added by the receiving mail server (Yahoo), not the actual sender's IP.
- D. 141.1.1.1 does not appear in the email headers at all and is not associated with any mail server in this communication.
Question 50
You work as a Network Administrator for uCertify Inc. You want to edit the MSDOS.SYS file, in your computer, from the DOS prompt. You are unable to find the file. What is the most likely cause?
- A. It is a read-only file.
- B. It is a built-in command in the COMMAND.COM file.
- C. Someone has deleted the file.
- D. It is a hidden file.
Show answer and explanation ▾
Correct answer: D
MSDOS.SYS is a hidden system file in DOS/Windows 9x environments. By default, hidden files are not visible when listing directory contents or searching for files at the DOS prompt. The file exists and is not deleted; it is simply not displayed due to its hidden attribute. This is why the user cannot find it without explicitly showing hidden files using commands like DIR /A:H.
Why the other options are wrong:
- A. While MSDOS.SYS is read-only, this would not prevent finding it; the issue is visibility.
- B. MSDOS.SYS is a separate file, not a built-in command in COMMAND.COM.
- C. The file has not been deleted; it is present but hidden from normal directory listings.
Get the complete GCFA bank
These 50 questions are roughly 21% of the bank. The full pack has 318 real GCFA questions, each with the same depth of explanation, plus a questions-only PDF for timed practice and free updates forever.
View the full GIAC Certified Forensic Analyst GCFA question bank →