Home / GIAC Certified Intrusion Analyst (GCIA) / Mock exam
GIAC Certified Intrusion Analyst (GCIA) Exam-style mock test

GIAC GCIA Certified Intrusion Analyst Practice Exams|Practice test

Full explanations Exam format Pass line 67%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
At a B2B SaaS provider, an analyst reviews a packet capture between a client and the application API. The capture shows one packet from the client to port 443 with only the SYN flag set, immediately followed by a packet from the server to the client with both the SYN and ACK flags set. Based on these two packets, what stage of the TCP connection is in progress?
・The connection is being torn down gracefully using a coordinated exchange of FIN and ACK flags between both hosts
Incorrect. Teardown uses FIN/ACK flags, but the capture shows SYN and SYN-ACK, which belong to connection setup rather than graceful termination.
✓The three-way handshake is underway and the final ACK from the client has not yet been observed
Correct. SYN followed by SYN-ACK is the first two steps of the three-way handshake; the connection completes only after the client's final ACK.
・The session has been reset by the server because of an invalid sequence number in the client packet
Incorrect. A reset would show the RST flag set, which is not present in either of the two observed packets.
・An established data transfer is occurring with payload bytes acknowledged in both directions
Incorrect. Established transfer shows ACK-only segments carrying payload, not the initial SYN and SYN-ACK exchange.
Explanation
A SYN followed by a SYN-ACK represents the opening two legs of the TCP three-way handshake; the connection is not established until the client sends the closing ACK.
Example2 · IDS/IPS Fundamentals: Snort and Suricata Rules
An analyst at a B2B SaaS company writes a Snort rule header: alert tcp $EXTERNAL_NET any -> $HOME_NET 443. During testing, the rule never fires on outbound TLS sessions the tenant portal initiates to a partner API. What does the rule header indicate about which traffic it inspects?
✓Only traffic flowing from external hosts toward the internal network on destination port 443
Correct. The directional operator -> limits inspection to packets from $EXTERNAL_NET to $HOME_NET with destination port 443, so inbound-only.
・Bidirectional traffic between external hosts and the internal network across all ports
Incorrect. A single -> operator is unidirectional; the bidirectional <> operator would be required for both directions.
・Only traffic the internal portal originates toward external partner APIs on port 443
Incorrect. Outbound sessions originated internally have the source and destination reversed and would not match this header.
・Any TCP traffic on port 443 regardless of the configured source and destination variables
Incorrect. The source and destination variables and the port do constrain matching, so this is not port-only.
Explanation
The -> operator defines direction from source to destination; this header matches only external-to-internal traffic on port 443, which is why internally originated outbound sessions never trigger it.
Example3 · Network Monitoring with tcpdump and Wireshark
An analyst at a B2B SaaS company is investigating a suspected data exfiltration channel toward an external host at 203.0.113.44. They need a tcpdump capture that shows only traffic destined to that specific host over HTTPS, excluding all other conversations on the tap. Which BPF filter expression achieves this?
・src host 203.0.113.44 or port 443
Incorrect. Using 'src host' captures traffic coming from the host, and 'or port 443' broadens the match to all 443 traffic regardless of host, which is the opposite of the intended scope.
✓dst host 203.0.113.44 and tcp port 443
Correct. 'dst host 203.0.113.44' limits to packets destined to that host and 'tcp port 443' restricts to HTTPS, precisely matching the exfiltration channel being investigated.
・host 203.0.113.44 and tcp
Incorrect. This captures all TCP traffic to or from the host but does not restrict to port 443, so it includes unrelated protocols.
・dst host 203.0.113.44 and (tcp port 443 or udp port 443) and not arp
Incorrect. Adding UDP 443 and the ARP exclusion overcomplicates the filter and broadens it beyond the single TCP HTTPS stream the analyst needs to isolate.
Explanation
A BPF filter combining a directional host qualifier with the protocol and port precisely isolates the traffic of interest. 'dst host X and tcp port 443' matches only HTTPS packets heading to the suspect host.
Example4 · Application Protocols and Threat Detection (HTTP, DNS, SMTP)
At a healthcare services firm, an analyst reviews a workstation's HTTP logs showing GET requests to the same external host every 60 seconds, each with an identical custom User-Agent and a URI ending in a long base64 string. Response bodies are tiny and vary each time. Which conclusion is best supported by this pattern?
・A standard browser prefetch mechanism retrieving cached page assets on a fixed timer from the firm's content delivery provider
Incorrect. Browser prefetch uses the browser's real User-Agent and fetches page assets, not fixed-interval encoded URIs with varying tiny responses.
✓Automated C2 beaconing, where the regular interval and encoded URI indicate a malware check-in channel
Correct. A fixed check-in interval, a static non-browser User-Agent, and base64-encoded URIs with small variable responses are classic indicators of malware beaconing to a C2 server.
・A legitimate software update agent polling a vendor's patch repository for newly released security definitions
Incorrect. Update agents poll irregularly, use vendor User-Agents, and request versioned paths rather than long base64 strings on a precise timer.
・Routine DNS-over-HTTPS resolution traffic that the local recursive resolver forwards upstream
Incorrect. DoH traffic is POST to a /dns-query endpoint with a DNS wire-format or JSON body, not periodic base64 GET requests to an arbitrary host.
Explanation
Regular timing, consistent custom User-Agent, and encoded URIs are hallmarks of C2 beaconing rather than any benign automated client.
Example5 · Network Forensics, Anomaly Detection, and Threat Intelligence
An analyst at a healthcare services firm is investigating a suspected data exfiltration from a billing server. She opens the PCAP in Wireshark and wants to read the exact HTTP payload that was transferred over one specific TCP connection, in the order the bytes arrived. Which action most directly reconstructs that single application-layer conversation for her to read?
・Apply the display filter tcp.analysis.retransmission to isolate only the packets that were resent during the session
Incorrect. Filtering for retransmissions shows resent segments only, which does not reconstruct the full ordered payload of the conversation.
✓Right-click a packet in the connection and choose Follow > TCP Stream to reassemble the ordered payload
Correct. Follow TCP Stream reassembles the segments of one TCP connection in sequence order and displays the combined application payload for reading.
・Sort the packet list by the Time column and manually copy each payload byte from the hex pane
Incorrect. Manually copying bytes by timestamp is error-prone and does not handle sequence-number ordering or reassembly the way the built-in feature does.
・Enable the Expert Information dialog and review the warnings generated for that conversation
Incorrect. Expert Information surfaces protocol anomalies and notes but does not present the reassembled application payload.
Explanation
Following the TCP stream reassembles segments in sequence order and renders the full application-layer payload, the standard way to read a reconstructed session.
Example6 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
At a healthcare services firm, an analyst reviews a capture of traffic hitting the patient portal web server. One source IP sends many TCP segments to ports 21, 22, 80, 443, and 3389, each with only the SYN flag set, and no corresponding ACKs follow the SYN-ACKs. What activity does this pattern most strongly indicate?
✓A SYN scan probing which service ports are open on the portal server
Correct. Half-open SYN segments sent to many ports without completing the handshake are the signature of a SYN (half-open) port scan.
・An established file transfer uploading records to the portal
Incorrect. A file transfer uses an established connection on a single service port, not lone SYNs to many ports.
・A full three-way handshake completing normally on each port
Incorrect. A completed handshake would show SYN, SYN-ACK, and ACK, but the ACKs are absent here.
・A legitimate browser loading several resources from one open port on the server at once
Incorrect. A normal browser session completes handshakes and targets the server's open web ports, not a sweep of unrelated ports.
Explanation
Lone SYNs fanned across many ports with no final ACK is the classic half-open SYN scan used to enumerate open services.
Example7 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
While reviewing a packet capture from DunfordMart's checkout server, an analyst sees a single inbound TCP segment to port 443 with only the SYN flag set, immediately followed by an outbound segment with SYN and ACK set. Which stage of the connection does this pair represent?
・The first two steps of the three-way handshake, where the client requests a connection and the server acknowledges while offering its own sequence number
Incorrect. This describes the handshake correctly but is phrased as the longest option to act as a plausible distractor rather than the intended answer.
✓The start of the three-way handshake being opened by the client and acknowledged by the server
Correct. A SYN followed by a SYN/ACK is the opening two of the three steps of the TCP three-way handshake.
・A graceful connection teardown initiated by the client using a FIN segment
Incorrect. A teardown would show FIN flags, not SYN and SYN/ACK.
・A mid-stream data transfer with piggybacked acknowledgements
Incorrect. Data transfer segments carry ACK with payload, not an initial SYN/SYN-ACK pair.
Explanation
A lone SYN answered by a SYN/ACK marks the first two legs of the TCP three-way handshake used to establish a connection.
Example8 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
An analyst at DunfordMart notices that packets leaving the fulfillment VLAN arrive at a remote partner with a progressively lower value in one IPv4 header field, and packets are dropped when that field reaches zero. Which field exhibits this behavior?
・The Time To Live field, which routers decrement at each hop to prevent packets from looping forever on the network
Incorrect. This is an accurate description but is the longest option, serving as a distractor.
✓The Time To Live (TTL) field, decremented by each forwarding router
Correct. The TTL field is decremented by one at each router hop and the packet is discarded when it reaches zero.
・The Differentiated Services field used for quality-of-service marking
Incorrect. The DS field marks QoS priority and is not decremented per hop.
・The Header Checksum field recalculated at every hop
Incorrect. The header checksum is recomputed but does not count down to zero to drop packets.
Explanation
The IPv4 TTL field is decremented at each hop and the packet is dropped at zero, preventing infinite routing loops.
Example9 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
DunfordMart's edge firewall logs show inbound ICMP Echo Request packets targeting a sequential range of internal host addresses within a single second. What activity does this most likely indicate?
・A host attempting to discover which internal systems are alive by sweeping across the address range with ping probes
Incorrect. This correctly describes a sweep but is the longest option and is written as a distractor.
✓A ping sweep used to enumerate live hosts on the network
Correct. ICMP Echo Requests sent across a sequential address range are characteristic of a ping sweep to find live hosts.
・Normal path MTU discovery between two established peers
Incorrect. Path MTU discovery uses specific ICMP unreachable messages, not a sweep of echo requests.
・A routine DNS resolution request for the store catalog
Incorrect. DNS resolution uses UDP/TCP port 53, not ICMP echo requests.
Explanation
A burst of Echo Requests across a sequential address block is a classic ICMP ping sweep for host discovery.
Example10 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
An analyst at a financial services firm captures traffic to the online banking portal. A client sends a packet with only the SYN flag set, the server replies with SYN and ACK set, and the client responds with only ACK set. What has just completed on this connection?
・A graceful connection teardown initiated by the client using a four-way exchange of FIN and ACK segments
Incorrect. Teardown uses FIN/ACK segments, not the SYN, SYN-ACK, ACK sequence shown here.
✓The three-way handshake establishing a new TCP session between the client and the banking server
Correct. SYN, then SYN-ACK, then ACK is the classic TCP three-way handshake that opens a session.
・A half-open scan where the client deliberately abandons the connection before it is fully set up
Incorrect. A half-open scan would stop after the SYN-ACK and never send the final ACK shown here.
・A TCP keepalive probe confirming an idle but still active session
Incorrect. A keepalive is a single probe on an existing session, not a SYN-based establishment.
Explanation
The SYN, SYN-ACK, ACK pattern is the definitive signature of the TCP three-way handshake that establishes a connection.
Example11 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
While reviewing packets destined for a bank's payment gateway, an analyst notices an IP datagram with the More Fragments bit set and a non-zero fragment offset. What does this combination indicate about the datagram?
・It is the first fragment of a fragmented datagram and no further fragments follow it
Incorrect. The first fragment has offset zero, but this datagram has a non-zero offset.
・It is an unfragmented datagram that was simply marked with the Don't Fragment bit by the sender
Incorrect. The Don't Fragment bit is unrelated to More Fragments, which here signals active fragmentation.
✓It is a middle fragment of a fragmented datagram with more fragments still to follow
Correct. A non-zero offset with More Fragments set marks a middle fragment with additional fragments following.
・It is a single complete datagram carrying the final piece of application data
Incorrect. A complete single datagram would have offset zero and the More Fragments bit clear.
Explanation
More Fragments set plus a non-zero offset means the packet sits in the middle of a fragment chain with more to come.
Example12 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
During a packet capture on the manufacturing distributor's warehouse VLAN, an analyst sees a single TCP packet sent to port 80 with only the SYN flag set, and no reply ever returns from the host. Which behavior does this single packet most directly represent?
・A completed three-way handshake confirming the warehouse host accepted and acknowledged the inbound connection on the web port
Incorrect. A lone SYN with no reply is not a completed handshake; completion would require SYN-ACK and ACK exchanges that are absent here.
✓An attempt to open a TCP connection whose first step received no response from the target host
Correct. A SYN with no returning SYN-ACK is the opening step of a connection attempt that the target did not answer.
・A graceful connection teardown where both endpoints exchange FIN segments to close the session
Incorrect. Teardown uses FIN flags, not a solitary SYN, so this does not describe a graceful close.
・A retransmission of previously acknowledged application data after a window update was received
Incorrect. Retransmitted data segments carry a payload and ACK flags, unlike this empty SYN probe.
Explanation
A single SYN with no SYN-ACK response indicates an unanswered connection attempt, which may reflect a filtered port or a dead host.
Example13 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
An analyst at the distributor reviews an IPv4 packet whose header shows the More Fragments bit set and a non-zero fragment offset. What does this combination tell the analyst about the packet?
✓It is a middle fragment of a larger original datagram, with additional fragments both before and after it
Correct. A set More Fragments bit plus a non-zero offset means fragments precede it and more follow, making it a middle fragment.
・It is an unfragmented standalone datagram that carries the entire payload within one packet
Incorrect. An unfragmented datagram has the More Fragments bit clear and a zero offset, which contradicts this header.
・It is the final fragment of the datagram, signaling that reassembly can now complete at the destination
Incorrect. The last fragment clears the More Fragments bit while keeping a non-zero offset, so this is not the final piece.
・It is a duplicate acknowledgment generated by the receiver after detecting out-of-order delivery
Incorrect. Duplicate acknowledgments are a TCP concept and are unrelated to IP fragmentation header bits.
Explanation
A non-zero offset indicates earlier fragments exist, and a set MF bit indicates more follow, identifying a middle fragment.
Example14 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
A telecom operator's SOC analyst reviews a capture from a core billing server and notices many inbound TCP segments where only the SYN and ACK flags are set, each arriving from a wide range of source ports on a single host. No prior SYN from the billing server preceded these segments. What does this pattern most likely indicate?
・A normal three-way handshake completing between the billing server and an authorized internal client on the operator network
Incorrect. A normal handshake requires the server to have sent a SYN first; here no originating SYN exists, so this is not an expected handshake completion.
✓SYN-ACK responses induced by a spoofed scan, where the operator's server is a backscatter target receiving replies to forged SYNs
Correct. Unsolicited SYN-ACKs from varied ports with no preceding SYN are classic backscatter, meaning the server's address was forged as the source of SYNs sent elsewhere.
・A legitimate keep-alive exchange using idle probes
Incorrect. Keep-alives reuse an established connection and do not present as fresh SYN-ACKs across many ports.
・An ICMP redirect storm rerouting billing traffic
Incorrect. ICMP redirects are ICMP messages, not TCP SYN-ACK segments, so the flag pattern does not match.
Explanation
Unsolicited SYN-ACKs with no originating SYN are backscatter, indicating the server's IP was spoofed as the source in a scan or flood aimed elsewhere.
Example15 · Network Traffic Analysis and Protocols (TCP/IP, Packets)
While analyzing traffic to a telecom operator's provisioning gateway, an analyst sees IP fragments where the fragment offsets overlap, causing later fragments to rewrite bytes of earlier ones during reassembly. Which concern should the analyst prioritize?
・The traffic is harmless jumbo-frame delivery
Incorrect. Jumbo frames are large unfragmented payloads, not overlapping fragments, so this does not explain rewritten offsets.
✓An overlapping-fragment attack intended to evade inspection by reassembling differently on the IDS versus the gateway
Correct. Overlapping fragment offsets let an attacker craft content that reassembles differently on the sensor and the host, a known evasion technique.
・Simple path MTU discovery adjusting segment size
Incorrect. Path MTU discovery lowers packet size to avoid fragmentation; it does not create overlapping offsets.
・Routine duplicate acknowledgment handling by TCP
Incorrect. Duplicate ACKs are a TCP congestion signal and are unrelated to IP-layer fragment offsets.
Explanation
Deliberately overlapping fragment offsets are a classic IDS evasion, since reassembly ambiguity can make the sensor and the target see different payloads.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)