Home / GIAC Network Forensic Analyst (GNFA) / Mock exam
GIAC Network Forensic Analyst (GNFA) Exam-style mock test

GIAC GNFA Network Forensic Analyst Practice Exams|Practice test

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

Sample questions

Example1 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
While investigating a suspected data exfiltration incident at a B2B SaaS company, an analyst opens a Wireshark capture and finds a stream that begins with a SYN packet, followed by a SYN/ACK, then an ACK from the original host. What has this exchange established?
✓A completed TCP three-way handshake and open connection
Correct. SYN, SYN/ACK, then ACK is the complete three-way handshake, establishing a synchronized open TCP connection.
・An aborted connection reset by the destination server
Incorrect. A reset would show an RST flag, not an ACK completing the sequence.
・A half-open connection awaiting the final acknowledgment packet
Incorrect. The third ACK completes the handshake, so the connection is fully open, not half-open.
・A UDP pseudo-handshake negotiated by the application layer gateway
Incorrect. UDP is connectionless and performs no handshake; these are TCP flags.
Explanation
The SYN / SYN-ACK / ACK pattern is the canonical TCP three-way handshake that opens a connection.
Example2 · Network Traffic Capture, NetFlow, and Full Packet Capture
A B2B SaaS provider suspects data exfiltration from an application server toward an external IP. The analyst must capture every byte of the session payload for later file carving. Where should the full packet capture be positioned?
✓On a TAP at the egress uplink carrying the server's outbound traffic
Correct. A TAP on the egress uplink sees the full bidirectional payload of the exfil session, which is required for file carving.
・On the endpoint detection agent's local event buffer
Incorrect. The EDR agent records host events, not the raw on-wire packet payloads needed for carving.
・On the core switch management VLAN SNMP collector
Incorrect. SNMP polling yields counters and status, not session payload bytes.
・On the firewall's summarized connection logging interface forwarded to the SIEM
Incorrect. Firewall connection logs summarize flows and drop payload, so carving is impossible from them.
Explanation
Full packet capture for payload reconstruction must be placed where the complete bidirectional byte stream transits, such as a TAP on the egress uplink.
Example3 · Network Device and Log Analysis (Firewalls, Proxies, IDS)
During an investigation at a B2B SaaS provider, an analyst reviews perimeter firewall logs and finds repeated entries showing the action DENY for traffic from an internal host to many sequential external TCP ports on a single destination IP. What activity does this pattern most strongly indicate?
✓Outbound port scanning from a compromised internal host
Correct. Sequential destination ports to one external IP sourced from inside, all denied by egress rules, is the signature of an internally originating port scan, suggesting the host is compromised and probing an external target.
・A misconfigured NTP time synchronization client
Incorrect. NTP uses a single well-known port (UDP 123) rather than many sequential ports, so a scan pattern does not fit a time-sync client.
・Normal HTTPS browsing to a content delivery network
Incorrect. Normal HTTPS browsing targets port 443 and would be permitted, not generate a sweep of denied sequential ports.
・Inbound reconnaissance blocked at the external interface
Incorrect. The source is internal and the destination is external, so this is outbound traffic, not inbound reconnaissance at the external interface.
Explanation
A single internal source hitting many sequential external ports on one IP, all denied, is a classic egress port-scan signature indicating the internal host is likely compromised.
Example4 · Encrypted Traffic, Wireless, and Advanced Protocol Forensics
A forensic analyst at a healthcare services firm captures TLS 1.2 traffic from a workstation suspected of beaconing to a malicious host. The payload is encrypted and cannot be decrypted. Which handshake field most directly reveals the intended destination hostname for correlation with threat intelligence?
✓The Server Name Indication extension sent in the ClientHello
Correct. The SNI extension in the ClientHello carries the target hostname in cleartext during a TLS 1.2 handshake, allowing analysts to identify the destination without decryption.
・The encrypted application data record
Incorrect. Application data records are encrypted and reveal no hostname.
・The cipher suite list the client offers during negotiation
Incorrect. The cipher suite list aids fingerprinting but does not contain the hostname.
・The session identifier returned inside the ServerHello message
Incorrect. The session identifier supports resumption and does not encode the destination hostname.
Explanation
In TLS 1.2 the SNI value travels in cleartext within the ClientHello, making it the primary field for hostname-based correlation when payloads are encrypted.
Example5 · Network Threat Hunting, Reconstruction, and Reporting
A hunter at a healthcare services firm notices one clinical workstation makes HTTPS connections to a cloud host every 60 seconds, each transferring nearly identical byte counts. Which threat-hunting hypothesis best fits this pattern?
✓Beaconing command-and-control traffic
Correct. Fixed short-interval callbacks with consistent, small payload sizes are the classic signature of C2 beaconing and should drive the hunt.
・Bulk exfiltration of patient imaging archives over the session
Incorrect. Exfiltration of imaging archives would produce large, asymmetric outbound volumes, not tiny uniform transfers.
・Normal automated software update polling to a vendor endpoint
Incorrect. Update polling is typically irregular and far less frequent than a strict 60-second cadence.
・Misconfigured NTP client repeatedly syncing the workstation clock
Incorrect. NTP uses UDP/123, not HTTPS, so this does not match the observed traffic.
Explanation
Regular interval plus uniform small payloads over an encrypted channel is the canonical beaconing hypothesis a hunter should pursue.
Example6 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
During a breach investigation at a healthcare services firm, an analyst reviews a pcap of a workstation contacting a billing server. The analyst wants to confirm that a full TCP session was actually established before the data transfer. Which packet sequence confirms a completed three-way handshake?
・A SYN packet followed immediately by an RST with no further exchange
Incorrect. A SYN answered by an RST indicates the port was closed and the session was refused, not established.
✓SYN from client, then SYN-ACK from server, then ACK from client
Correct. The canonical handshake is SYN, SYN-ACK, then ACK, which establishes the session before data flows.
・A single SYN packet repeated several times with no server reply
Incorrect. Repeated SYNs with no reply show the server never responded, so no session formed.
・SYN from client followed only by an ICMP port unreachable message
Incorrect. An ICMP port unreachable reply means the destination rejected the attempt; the handshake never completed.
Explanation
A completed TCP connection requires the three-way handshake of SYN, SYN-ACK, and ACK. RSTs, lone SYNs, or ICMP unreachable responses all signal that the session was never established.
Example7 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
An analyst at retailer UrbanThread reviews a capture of a connection to the checkout server. The first packet carries only the SYN flag, the server replies, and the client sends the third packet. Which flag combination does that server reply packet carry?
・ACK only, acknowledging the client sequence without synchronizing
Incorrect. A bare ACK is the client's third packet, not the server's reply, which must still synchronize its own sequence number.
✓SYN and ACK
Correct. The server answers a SYN with SYN-ACK, synchronizing its sequence number while acknowledging the client's.
・SYN only
Incorrect. A lone SYN is the client's opening packet; the server must also acknowledge it.
・FIN and ACK together to tear down the half-open session
Incorrect. FIN-ACK belongs to connection teardown, not to establishing the handshake.
Explanation
The classic TCP handshake is SYN, SYN-ACK, ACK; the server's second packet is the SYN-ACK.
Example8 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
During an UrbanThread incident, an analyst must display only packets sent to or from the compromised POS host at 10.4.2.9 in Wireshark. Which display filter achieves this most directly?
・tcp.port == 10.4.2.9
Incorrect. tcp.port expects a numeric port, not an IP address, so this filter is invalid.
✓ip.addr == 10.4.2.9
Correct. ip.addr matches the address in either source or destination field, capturing both directions.
・ip.src eq 10.4.2.9
Incorrect. ip.src matches only packets originating from the host, missing inbound traffic.
・ip.addr == 10.4.2.9 and not arp and not dns broadcast noise
Incorrect. The extra clauses are unnecessary and the trailing syntax is not a valid Wireshark expression.
Explanation
ip.addr matches a value in either the source or destination address field, isolating all traffic for the host.
Example9 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
An UrbanThread analyst notes that exfiltration traffic used a protocol with no handshake, no sequence acknowledgments, and no retransmission. Which transport protocol best fits this behavior?
・TCP, because it guarantees ordered delivery through acknowledgments
Incorrect. TCP is connection-oriented and uses handshakes, sequence numbers, and retransmission.
✓UDP
Correct. UDP is connectionless with no handshake, acknowledgment, or retransmission.
・ICMP
Incorrect. ICMP is a control/diagnostic protocol, not a general-purpose transport layer.
・TCP with the window-scaling option disabled
Incorrect. Disabling window scaling does not remove TCP's handshake or acknowledgments.
Explanation
The described connectionless, unacknowledged behavior is characteristic of UDP.
Example10 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
During a breach investigation at a financial services firm, an analyst reviews a capture of traffic to the core banking API. A client packet carries only the SYN flag, the server replies with SYN and ACK, and the client then sends ACK. What does this sequence represent?
✓A completed TCP three-way handshake
Correct. SYN, then SYN-ACK, then ACK is the canonical three-way handshake that establishes a TCP connection.
・A half-open connection abandoned before data transfer began
Incorrect. A half-open connection lacks the final ACK from the client, which is present here.
・An abrupt teardown triggered by a RST flag from the server
Incorrect. No RST flag appears in the described sequence; the exchange completes normally.
・A retransmission of a lost segment during an established session
Incorrect. Retransmissions occur mid-session and would show duplicate sequence numbers, not a fresh SYN/SYN-ACK/ACK.
Explanation
The SYN -> SYN-ACK -> ACK pattern is the TCP three-way handshake that successfully opens a connection.
Example11 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
An analyst at a payment processor must isolate only DNS query and response traffic from a multi-gigabyte capture of the firm's internal network. Which Wireshark display filter should be applied?
・tcp.port eq 53 and udp
Incorrect. Combining tcp.port with a bare udp term is contradictory and would not reliably match DNS.
✓dns
Correct. The dns display filter matches both DNS queries and responses regardless of transport.
・frame contains "DNS" or ip.proto == 17 filtered on port 53
Incorrect. A frame contains string match is unreliable and the stated construction is malformed.
・udp.dstport == 53 only, excluding all server responses
Incorrect. Filtering only destination port 53 drops the server responses the analyst needs.
Explanation
Wireshark's protocol keyword dns cleanly isolates all DNS messages in both directions.
Example12 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
At a manufacturing distributor, an analyst reviews a pcap of a client connecting to the order-entry server. Three packets appear in sequence: SYN, then SYN/ACK, then ACK. What does this sequence confirm about the connection?
✓A complete TCP three-way handshake establishing the session
Correct. SYN, SYN/ACK, then ACK is the canonical TCP three-way handshake that establishes the session before data flows.
・A half-open connection that the server never acknowledged at all
Incorrect. A half-open connection lacks the final ACK; here the ACK is present, so the handshake completed.
・An RST-triggered teardown of a previously established TCP session
Incorrect. A teardown involves FIN or RST flags, none of which appear in this SYN-based sequence.
・A UDP exchange that was incorrectly reassembled by the capture tool as TCP
Incorrect. UDP is connectionless and has no handshake; these flagged segments are unmistakably TCP.
Explanation
The ordered SYN, SYN/ACK, ACK exchange is the defining signature of a successfully established TCP connection.
Example13 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
During a breach review at the distributor, an analyst must isolate only the HTTP traffic exchanged with the warehouse host 10.20.5.14 in Wireshark. Which display filter achieves this precisely?
✓http and ip.addr == 10.20.5.14
Correct. Combining the http protocol filter with ip.addr matches HTTP packets to or from that host.
・http.request.method == GET or 10.20.5.14
Incorrect. The bare address is not a valid field comparison and the OR broadens rather than restricts the result.
・tcp.port == 80 && ip.src != 10.20.5.14 only
Incorrect. Excluding the source address with != drops half the conversation and omits non-standard HTTP ports.
・capture only packets where http contains the host 10.20.5.14 field
Incorrect. This is prose, not a valid Wireshark display-filter expression, and http has no host-address field.
Explanation
A valid display filter conjoins the protocol keyword with ip.addr to capture both directions of the host's HTTP traffic.
Example14 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
A forensic analyst at a telecom operator reviews a Wireshark capture from a core billing server. She sees a packet with the SYN and ACK control flags both set, sent from the server to a subscriber workstation. Which stage of the TCP connection does this packet represent?
✓The server's response completing the second step of the handshake
Correct. A packet carrying both SYN and ACK is the server's reply, acknowledging the client's SYN while offering its own sequence number, which is the second of the three handshake steps.
・The client's initial connection request to the server
Incorrect. The client's initial request carries only the SYN flag, not SYN together with ACK.
・A graceful teardown of the established session
Incorrect. A graceful teardown uses FIN and ACK flags, not a SYN flag.
・A keep-alive probe on an idle connection
Incorrect. A keep-alive probe is a zero-length ACK segment and does not set the SYN flag.
Explanation
The combination of SYN and ACK uniquely identifies the server's response in the middle step of the TCP three-way handshake.
Example15 · Network Protocols and Packet Analysis (TCP/IP, Wireshark)
During an incident at a telecom operator, an analyst must isolate only the DNS traffic destined for the operator's internal resolver at 10.20.0.53 within a large capture. Which Wireshark display filter returns exactly that traffic?
✓dns and ip.dst == 10.20.0.53
Correct. Combining the dns protocol match with ip.dst equal to the resolver address, joined by and, returns only DNS packets whose destination is that server.
・dns.flags.response == 0 or ip.addr == 10.20.0.53
Incorrect. Using or broadens the result to every packet to or from that host plus all query packets, not just DNS to the resolver.
・udp.port == 53 && ip.src == 10.20.0.53
Incorrect. Filtering on ip.src matches responses leaving the resolver rather than traffic destined for it.
・dns || ip.dst == 10.20.0.53
Incorrect. The or operator here returns all DNS plus everything addressed to the host, a much wider set.
Explanation
A logical and between the protocol filter and the destination-address filter narrows the capture to DNS packets sent to the specified resolver.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)