Join the discussion
Question 4/25
Below is the syntax of a command-line utility that displays active TCP connections and ports on which the computer is listening.
netstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]
Identify the netstat parameter that displays active TCP connections and includes the process ID (PID) for each connection.
netstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]
Identify the netstat parameter that displays active TCP connections and includes the process ID (PID) for each connection.
Correct Answer: C
In Windows forensics and incident response, investigators often need to linknetwork activity(remote IPs, ports, connection states) to theresponsible processto determine whether traffic is legitimate or associated with malware, unauthorized tools, or data exfiltration. The Windowsnetstatutility can enumerate current TCP connections and listening ports, but the key flag that enables attribution to a running program is-o. The-o parameter instructs netstat to include theOwning Process ID (PID)with each connection or listening socket.
Once the PID is known, examiners can correlate it with process listings (e.g., Task Manager,tasklist, memory forensics output) to identify the executable name, path, user context, and parent process-critical steps in reconstructing attacker behavior and persistence.
The other options do not provide PID mapping:-nshows addresses and ports in numeric form (useful for speed and to avoid DNS lookups),-adisplays all connections and listening ports but without PID attribution by itself, and-sshows protocol statistics rather than per-connection ownership. Therefore, the parameter that shows active connectionsandincludes the PID for each is[-o](Option C).
Once the PID is known, examiners can correlate it with process listings (e.g., Task Manager,tasklist, memory forensics output) to identify the executable name, path, user context, and parent process-critical steps in reconstructing attacker behavior and persistence.
The other options do not provide PID mapping:-nshows addresses and ports in numeric form (useful for speed and to avoid DNS lookups),-adisplays all connections and listening ports but without PID attribution by itself, and-sshows protocol statistics rather than per-connection ownership. Therefore, the parameter that shows active connectionsandincludes the PID for each is[-o](Option C).
Add Comments
- Other Question (25q)
- Q1. While investigating a web attack on a Windows-based server, Jessy executed the following c...
- Q2. Which of the following steps in forensic readiness planning provides a backup for future r...
- Q3. Bob, a professional hacker, targeted an organization to launch attacks. Bob gathered infor...
- Q4. Below is the syntax of a command-line utility that displays active TCP connections and por...
- Q5. Michael, a forensic expert, was assigned to investigate an incident that involved unauthor...
- Q6. Jack, a forensic investigator, was appointed to investigate a Windows-based security incid...
- Q7. Which of the following standards and criteria version of SWGDE mandates that any action wi...
- Q8. Which of the following layers of the TCP/IP model includes protocols such as Frame Relay, ...
- Q9. Cheryl, a forensic expert, was recruited to investigate a malicious activity performed by ...
- Q10. Which of the following tools can be used by an investigator to analyze the metadata of fil...
- Q11. Below are the elements included in the order of volatility for a typical computing system ...
- Q12. Bob, a forensic specialist at a newly established NGO, discovered a security loophole in t...
- Q13. A system that a cybercriminal was suspected to have used for performing an anti-social act...
- Q14. Bob, a forensic investigator, is investigating a live Windows system found at a crime scen...
- Q15. Clark, a security professional, identified that one of the systems in the organization is ...
- Q16. Bob, a network specialist in an organization, is attempting to identify malicious activiti...
- Q17. Which of the following types of phishing attacks allows an attacker to exploit instant mes...
- Q18. In which of the following attacks does an attacker trick high-profile executives such as C...
- Q19. Which of the following data acquisition formats supports the Lempel-Ziv-Markov chain (LZMA...
- Q20. Below are the various steps involved in forensic readiness planning. Keep an incident resp...
- Q21. Sam is working as a loan agent for a financial institution. He frequently receives a numbe...
- Q22. Sam, a digital forensic expert, is working on a case related to file tampering in a system...
- Q23. Steve, a professional hacker, attempted to hack Alice's banking account. To accomplish his...
- Q24. Which of the following NTFS system files contains a record of every file present in the sy...
- Q25. John, a forensic officer, was working on a criminal case. He employed imaging software to ...
