Skip to content
XSS Write-up Beginner

Mengungkap Jejak Serangan Siber: Analisis Mendalam Scanning, XSS,

A packet capture showed one host sending thousands of requests, many returning 404 or 500, with a fuzzing tool's user agent, indicating scanning. The same capture contained one request containing 'script' and one containing SQL keywords, suggesting attempted XSS and SQL injection.

Celvine Adi Putra Follow

Published on celvineadiputradev.medium.com

Sebelum kita melangkah lebih jauh ke dalam analisis serangan scanning, Cross-Site Scripting (XSS), dan SQL Injection melalui file Packet Capture (PCAP), penting untuk memahami urgensi kemampuan ini dalam cyber security.

Celvine Adi Putra, on celvineadiputradev.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server was exposed to scanning and injection attempts because input was not validated and rate limiting was absent, though the text does not confirm any vulnerability was actually exploited.

Impact

The capture shows attempted scanning, XSS and SQL injection, but the text does not state whether any attempt succeeded or caused harm.

What the attacker needed

Access to a packet capture file; Wireshark installed

The fix

The text recommends rate limiting, strict input validation and sanitisation, a web application firewall, and ongoing monitoring, but does not say a fix was applied.

How it was found

  1. Open the packet capture file in Wireshark.
  2. Use Statistics > Conversations to find a host sending a large volume of data.
  3. Filter traffic from that host and count requests and error responses.
  4. Inspect a request to see the user agent, which revealed a fuzzing tool.
  5. Filter for requests containing 'script' to find an XSS attempt.
  6. Filter for requests containing SQL keywords to find a SQL injection attempt.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A packet capture is a recording of network traffic. Someone looked through such a recording and spotted a computer making lots of requests to a server, which looks like someone probing for weaknesses. They also found a request that looked like an attempt to inject a script and another that looked like an attempt to inject database commands.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.