nerdexam
CompTIA

CAS-002 · Question #116

A network administrator notices a security intrusion on the web server. Which of the following is noticed by file?

The correct answer is D. XSS attack. XSS (Cross-Site Scripting) attacks are detected by examining web server log files and application files for injected malicious script payloads that were delivered to users.

Enterprise Security

Question

A network administrator notices a security intrusion on the web server. Which of the following is noticed by file?

Options

  • ABuffer overflow
  • BClick jacking
  • CSQL injection
  • DXSS attack

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    8% (3)
  • D
    88% (35)

Why each option

XSS (Cross-Site Scripting) attacks are detected by examining web server log files and application files for injected malicious script payloads that were delivered to users.

ABuffer overflow

Buffer overflow attacks manifest as application crashes, unexpected process termination, or memory corruption events, not as artifacts detectable in standard web server log or application files.

BClick jacking

Clickjacking uses invisible iframe overlays to hijack user clicks and is detected through client-side UI analysis or HTTP response header inspection (X-Frame-Options / Content-Security-Policy), not through file examination.

CSQL injection

SQL injection attacks target back-end database queries and are primarily detected through database error logs and query logs, not through web server application files alone.

DXSS attackCorrect

XSS attacks inject malicious client-side scripts into web pages served to users, and evidence of these attacks is found in web server access logs and application files where the injected payloads appear as abnormal script content. Reviewing these files is a standard forensic step during a web server intrusion investigation to identify XSS attack artifacts.

Concept tested: XSS attack detection via log and file analysis

Source: https://owasp.org/www-community/attacks/xss/

Topics

#XSS#web application attacks#intrusion detection#file-based detection

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice