Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free GIAC Certified Incident Handler GCIH Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 23 Total 335 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Attacking Passwords

Skill tested: Identifies weak password-hash storage and selects an appropriate offline audit approach.

During an authorized incident investigation, responders recover a database containing user passwords represented as 32-character hexadecimal values. A sample confirms the values are unsalted MD5 digests. The organization needs to determine whether common employee passwords were exposed, but investigators must preserve the evidence and avoid attempting authentication against production accounts. Which approach is most appropriate?

Correct Answer: C. Perform an offline dictionary and rule-based audit against verified MD5 candidates, then recommend migration to a unique-salt, deliberately slow password-hashing scheme.
Explanation:

Unsalted MD5 is fast and deterministic, so common and reused passwords can be tested efficiently offline without contacting production authentication systems. A recovered digest cannot be converted into a bcrypt hash by adding a parameter; the original password is required to create a new hash. Pass-the-hash applies to particular password-derived authentication protocols and is not a safe audit method here. Online guessing risks lockouts and alters production systems. The durable fix is to rehash passwords with unique salts and a password-specific, configurable work factor, and to reset credentials shown to be compromised.

Question 2

New Single answer

Topic: Detecting Evasive and Post-Exploitation Techniques

Skill tested: Correlates host artifacts to identify persistence through a Windows service.

An endpoint detection alert reports an unfamiliar executable in a writable application-data directory. The file's creation time is close to the time an administrator observed an unexpected reboot. Event logs show a newly installed service configured for automatic startup, with its binary path pointing to that executable; no corresponding approved change ticket exists. The host is isolated, and the response team must identify the likely persistence mechanism before deciding what evidence to collect next. Which conclusion best fits these indicators?

Correct Answer: D. The attacker likely established persistence by installing an automatically starting Windows service; preserve the service configuration and binary before remediation.
Explanation:

A newly installed automatic-start service whose image path points to an unapproved executable is a direct, coherent indicator of service-based persistence. Preserving the service configuration, executable, timestamps, and relevant event records helps establish behavior and attribution before cleanup. A Run key or scheduled task could also provide persistence, but neither is evidenced by the stated artifacts. A reboot does not by itself indicate firmware compromise. Investigators should continue correlating service creation and process execution with other evidence rather than treating any single event as conclusive proof of the full intrusion.

Question 3

New Multiple answers

Topic: Detecting Exploitation and Covert Communications Tools

Skill tested: Recognizes common Metasploit and netcat indicators in process and network evidence.

A responder reviewing an isolated Linux web server finds a process launched as `nc -lvnp 4444` by the web-service account. A packet capture shows a TCP connection to that port immediately before the process began, followed by interactive-looking data in both directions. Separately, a neighboring workstation's endpoint logs show `msfconsole` launched from an administrator's home directory during the same incident window. Which two conclusions are best supported? Select TWO.

Correct Answer: B. The netcat command is consistent with a listener bound to TCP port 4444; the connection's direction and payload should be examined to determine its role.; E. The server-side netcat listener may have provided a shell or other interactive channel, so the process ancestry and captured stream should be investigated.
Explanation:

The `-l` and `-p` options indicate listening on the specified port, while `-v` and `-n` request verbose output and numeric addresses. Netcat can carry interactive input and output, but the command and bidirectional stream alone do not prove exactly what was exchanged; process ancestry and payload analysis are valuable. The presence of Metasploit's console indicates the tool was run, not that an exploit succeeded or that a particular payload reached the server. TCP traffic is not necessarily encrypted, and `msfconsole` is not a routine web-server component.

Question 4

New Single answer

Topic: Endpoint Attack and Pivoting

Skill tested: Reconstructs a pivot path from host and firewall logs and selects a segmentation control.

An incident review finds that a compromised employee laptop connected to an application server over SMB. The application server then initiated an RDP session to a database administrator workstation, which later accessed a database host. Firewall records confirm these connections, and endpoint logs show the same unusual account on the first two servers. The database network currently permits broad east-west access for operational convenience. Which immediate network change most directly limits repetition of this pivot path while retaining necessary application access?

Correct Answer: D. Apply host- and role-based allow rules: restrict workstation-to-server administration, permit only required application-to-database flows, and deny unnecessary server-to-workstation RDP and SMB.
Explanation:

The logs describe a lateral path from a user endpoint through an application server and administrator workstation toward a database. Least-privilege, role-based east-west rules directly break unnecessary links while preserving explicitly required application-to-database traffic. Blocking only internet access does not restrict the internal pivot. Requiring another authentication step does not prevent a compromised account or host from using permitted protocols. A second perimeter firewall is useful only if its rules constrain the relevant flows; unrestricted server-to-workstation access leaves a key pivot route open.

Question 5

New Single answer

Topic: Exploiting Insecure Web Application References

Skill tested: Identifies unsafe client-side references that can expose credentials or source code.

A company's internal support portal includes a page that imports JavaScript from an external package service using a URL assembled from a query-string parameter. The page also loads an internal diagnostic script whose URL contains a temporary access token, and the portal's content security policy allows scripts from the package service's entire domain. Investigators suspect an attacker can influence the package reference. Which remediation best addresses both the code-injection and credential-leak risks without disabling the portal's required external library?

Correct Answer: C. Use a fixed, allowlisted package URL with integrity verification where supported, and remove secrets from URLs by using appropriately protected requests and short-lived credentials.
Explanation:

An attacker-controlled script reference can cause the browser to load attacker-selected code, and a token embedded in a URL can leak through browser history, logs, or referrer handling. A fixed allowlisted dependency prevents query input from selecting arbitrary script sources; integrity verification can help detect unexpected changes to supported static resources. Secrets should not be placed in URLs, and their exposure should prompt revocation or rotation. HTML encoding does not make an arbitrary resource URL trustworthy, while broader script allowances and hidden fields do not secure either risk.

Question 6

New Multiple answers

Topic: Incident Response and Cyber Investigation

Skill tested: Applies incident-response sequencing to preserve volatile evidence before containment changes.

A security operations center confirms that an administrator workstation is actively communicating with an unknown external host. The workstation may contain a memory-resident credential stealer, and the connection is still active. The organization's response plan permits network isolation but requires evidence preservation where feasible; stopping the system could destroy volatile data. What should the incident lead direct first? Select TWO.

Correct Answer: B. Capture volatile memory and relevant live-state information promptly using an approved forensic method, while maintaining chain-of-custody records.; D. Document the alert, host identity, time, and current network indicators, and coordinate an evidence-preserving response.
Explanation:

The active threat requires prompt coordinated response, but possible memory-only malware makes volatile evidence time-sensitive. Recording the incident context and capturing memory and live-state artifacts using an approved method preserves information that shutdown or remediation could destroy. Isolation may then be performed according to the response plan, with the action and timing documented. Powering off first loses volatile evidence; deleting files modifies the system and destroys artifacts; restoring before investigation removes evidence and risks leaving scope and affected credentials unknown.

Question 7

New Multiple answers

Topic: Integrating LLMs with Offensive Operations

Skill tested: Identifies prompt-injection risks and controls for LLM-assisted reconnaissance workflows.

A red team proposes using a language model to summarize public-facing documentation and draft reconnaissance queries. The model will receive retrieved web pages, and its output will be reviewed before any testing. A pilot demonstrates that hostile text embedded in a retrieved page can persuade the model to disregard the team's requested task and generate instructions for extracting secrets from connected tools. The organization wants to retain the summarization capability but prevent the model from directly initiating external actions. Which TWO controls are most appropriate? Select TWO.

Correct Answer: C. Require human review and policy validation of generated material before using it in authorized reconnaissance.; E. Treat retrieved content as untrusted data, isolate it from privileged instructions, and constrain the model to a narrowly defined output task.
Explanation:

Retrieved pages can contain prompt-injection text, so the workflow should treat their contents as untrusted input and limit the model's task, context, and access to privileged instructions or data. Human review and authorization checks provide an additional boundary before generated queries are used. A system prompt is not a security guarantee, and production credentials or unrestricted tool access would magnify the impact of manipulation. Logging after arbitrary actions does not prevent unauthorized activity. This scenario calls for controlled assistance, not autonomous execution.

Question 8

New Single answer

Topic: Malware and AI Assisted Investigations

Skill tested: Selects a defensible initial collection method for volatile malware evidence.

A workstation exhibits symptoms consistent with fileless malware: suspicious PowerShell activity, unexplained outbound connections, and no clearly malicious executable on disk. The system is powered on, and responders have authorization to collect forensic evidence. The business owner requests that the computer remain operational if possible, but incident policy prioritizes preserving volatile evidence before cleanup. What is the best initial collection action?

Correct Answer: B. Capture physical memory with an approved, documented acquisition tool and record relevant live processes and network state before containment or shutdown.
Explanation:

Fileless activity may exist only in memory or in live process and network state, which can disappear when the host is shut down or rebooted. A documented memory acquisition, accompanied by relevant live-state collection and chain-of-custody records, is therefore the most useful first evidence step when feasible. Cleaning or rebooting alters or destroys evidence. A disk image remains valuable, but it cannot substitute for volatile memory in an investigation focused on memory-resident behavior. Responders should then contain the host according to the incident plan.

Question 9

New Single answer

Topic: Network and Log Investigations

Skill tested: Correlates firewall records with packet timing and flow behavior to isolate suspected command-and-control traffic.

An organization's egress firewall records show a workstation making a small outbound TLS connection to the same previously unseen internet address every 60 seconds. A packet capture from the same VLAN shows matching connection times and consistently small application-data records after each handshake. The destination is not an approved service, and endpoint logs identify no legitimate update process. The team must distinguish the most supportable investigative conclusion from an unsupported claim about encrypted content. What should it conclude?

Correct Answer: B. The periodic, matching flows are suspicious and consistent with beaconing; correlate endpoint process ownership and TLS metadata while preserving the capture.
Explanation:

Regular, small outbound connections to an unapproved destination can be consistent with command-and-control beaconing, and the packet capture's timing and flow characteristics corroborate the firewall records. TLS generally protects application content from passive inspection, so the capture does not by itself disclose a particular command. Conversely, encryption does not make traffic benign; metadata, destination reputation, endpoint process ownership, certificate information, and related host artifacts can guide investigation. Firewall logs alone are indicators, not proof of infection.

Question 10

New Single answer

Topic: Scanning and Mapping

Skill tested: Prioritizes exposed services by exploitability and reduces unnecessary external attack surface.

An authorized external scan of a small business network finds an internet-reachable remote administration service on a server, an HTTPS portal that must remain public, and a legacy file-transfer service exposed to the internet even though staff use a managed private access service. The remote administration service is restricted to a small set of source addresses but uses a vulnerable, unsupported version. The team can make one immediate change without interrupting the public portal. Which action should take priority?

Correct Answer: C. Remove public exposure to the legacy file-transfer service and verify that staff can use the approved private access path.
Explanation:

The legacy file-transfer service is unnecessary on the public interface, so removing that exposure promptly reduces attack surface without disrupting the required portal. The vulnerable remote administration service also needs urgent remediation or replacement despite source restrictions, since allowlisting does not eliminate vulnerabilities or configuration risk; however, the scenario asks for the immediate change that can be made without interrupting the portal, and the unnecessary service has a clear safe alternative. Disabling the required portal is not proportionate, and scanning more aggressively does not mitigate either exposure.

Question 11

New Multiple answers

Topic: Securing Credentials and Data in the Cloud

Skill tested: Remediates public object exposure and rotates potentially compromised cloud credentials.

A cloud security review finds a storage bucket containing customer exports that allows anonymous reads. Access logs show several unfamiliar downloads. A developer's long-lived access key, which has broad permissions including bucket administration, was committed to a public source repository. The organization must contain exposure, preserve evidence for investigation, and reduce the likelihood of recurrence. Which THREE actions are most appropriate? Select THREE.

Correct Answer: B. Remove long-lived secrets from source code, use an appropriate managed identity or secret-management mechanism, and review least-privilege access.; D. Revoke or deactivate the exposed key, investigate its use, and issue narrowly scoped replacement credentials only if required.; E. Make the bucket private or otherwise remove anonymous access, while retaining access logs and relevant evidence.
Explanation:

Anonymous access should be removed promptly, and the key must be revoked because public repository exposure means it should be treated as compromised. Investigators should preserve and examine access logs to determine the scope of use, while replacement access - if needed - should be least-privileged. Moving an exposed key to a private repository does not undo the compromise. Deleting the cloud account is excessive and risks destroying evidence and services. Managed identities or controlled secret management reduce the recurrence of embedded long-lived credentials.

Question 12

New Single answer

Topic: SMB Security

Skill tested: Uses share-access evidence to contain unauthorized SMB activity and restrict lateral movement.

File-server auditing shows that a standard user account accessed an administrative share on several workstations overnight, followed by reads of sensitive project files on an SMB share. The account is not assigned endpoint-management duties, and the organization has no documented need for that user to administer workstations. The response team has isolated the account's workstation and wants to reduce the chance of recurrence without disrupting legitimate file sharing. Which change best addresses the observed risk?

Correct Answer: B. Remove the account's inappropriate administrative privileges and restrict SMB access by host, user, and share to required business flows.
Explanation:

The account's access to administrative shares is inconsistent with its role, while the sensitive-share reads warrant investigation of the account and permissions. Removing unjustified administrative rights and applying least-privilege SMB rules limits lateral movement without disabling required file sharing. Disabling SMB globally would disrupt legitimate operations and may not be feasible. Granting more privilege increases risk, and anonymous access removes accountability and broadens exposure. The team should also preserve logs, investigate how the account was used, and assess whether credentials need to be reset.

Question 13

New Single answer

Topic: Understanding Passwords

Skill tested: Distinguishes common password-hash representations and selects suitable password storage protections.

During a review of a credential export, an analyst sees entries formatted as `$2b$12$...` and others containing 64 hexadecimal characters. The team must determine what can be inferred before selecting a safe password-storage design. Which statement is the most accurate?

Correct Answer: D. The `$2b$12$...` values are bcrypt hashes with a cost parameter, while 64 hexadecimal characters alone are insufficient to identify a unique hash algorithm; new password storage should use a suitable salted password-hashing function.
Explanation:

The `$2b$` prefix identifies a bcrypt representation, and the following parameter includes its work factor; the salt and derived value are encoded in the complete string. A 64-character hexadecimal value could represent many things, including a SHA-256 digest, but its format alone does not prove that a salt was used or identify the algorithm with certainty. Hashing is not reversible encryption. For password storage, use a password-specific, deliberately costly function with a unique salt and appropriate parameters, and respond to exposed credentials as potentially crackable.

Question 14

New Multiple answers

Topic: Web Application API Attacks

Skill tested: Identifies authorization and injection risks in API parameters and recommends safe server-side handling.

A service exposes `GET /api/report?tenant=17&format=pdf`. The API authenticates users but accepts the `tenant` value directly from the request and uses it to select a customer record. A separate endpoint accepts a `filter` string that is concatenated into a database query. Testing shows that changing `tenant` can return another customer's report, while crafted `filter` input can alter query behavior. The team needs fixes that address both findings rather than relying on client-side validation. Which TWO changes are most appropriate? Select TWO.

Correct Answer: C. Build the database query with parameterized statements and validate allowed filter fields and operators.; E. Authorize access to the requested tenant on the server for every request, independently of the caller-supplied tenant identifier.
Explanation:

The tenant identifier is an object reference, not proof that the authenticated caller may access that tenant. The server must perform object-level authorization on every request to prevent insecure direct object reference and cross-tenant access. Parameterized queries keep user-supplied values from being interpreted as SQL syntax; allowlisting fields and operators further constrains the filter interface. Hiding a parameter or encoding a request does not establish authorization or prevent injection. Output format does not determine access rights.