GCFA · Question #188
You work as a Computer Hacking Forensic Investigator for SecureNet Inc. You want to investigate Cross-Site Scripting attack on your company's Website. Which of the following methods of investigation…
The correct answer is A. Review the source of any HTML-formatted e-mail messages for embedded scripts or links in the URL B. Use a Web proxy to view the Web server transactions in real time and investigate any communication D. Look at the Web servers logs and normal traffic logging. Investigating a Cross-Site Scripting (XSS) attack involves reviewing web server logs, monitoring live HTTP transactions through a proxy, and examining HTML email content for injected scripts.
Question
You work as a Computer Hacking Forensic Investigator for SecureNet Inc. You want to investigate Cross-Site Scripting attack on your company's Website. Which of the following methods of investigation can you use to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.
Options
- AReview the source of any HTML-formatted e-mail messages for embedded scripts or links in the URL
- BUse a Web proxy to view the Web server transactions in real time and investigate any communication
- CUse Wireshark to capture traffic going to the server and then searching for the requests going to the
- DLook at the Web servers logs and normal traffic logging.
How the community answered
(28 responses)- A75% (21)
- C25% (7)
Why each option
Investigating a Cross-Site Scripting (XSS) attack involves reviewing web server logs, monitoring live HTTP transactions through a proxy, and examining HTML email content for injected scripts.
Reviewing HTML-formatted emails for embedded scripts or suspicious URL parameters can reveal XSS payloads delivered or exfiltrated through email, which is a common vector for reflected and stored XSS attacks.
A web proxy positioned between client and server captures all HTTP and HTTPS transactions in real time, allowing the investigator to inspect request and response bodies for injected scripts or anomalous parameters characteristic of XSS activity.
Wireshark captures raw network-layer packets and cannot decrypt HTTPS traffic, which means it lacks the application-layer visibility needed to inspect injected scripts within encrypted web transactions during an XSS investigation.
Web server logs record all incoming requests including full URLs and query strings, which may contain XSS payloads, making log analysis one of the primary and most reliable methods for identifying and tracing XSS attack attempts.
Concept tested: Cross-Site Scripting attack forensic investigation methods
Source: https://owasp.org/www-community/attacks/xss/
Topics
Community Discussion
No community discussion yet for this question.