Skip to content
RCE Write-up Intermediate

Capstone Blue Team Cyber Security: Analisis Log SIEM & Forensik D

A training exercise analysed logs from a compromised endpoint, finding SQL injection, XSS, file inclusion and a backdoor. The attacker used these flaws to read system files and run a reverse shell.

Arfan Follow

Published on medium.com

Pada tugas Capstone Blue Team ini, saya bertindak sebagai Security Analyst yang ditugaskan untuk melakukan Incident Response terhadap serangkaian insiden siber yang terjadi pada infrastruktur server lokal. Berdasarkan skenario, sebuah endpoint diduga telah mengalami kompromi melalui berbagai eksploitasi kerentanan…

Arfan (p4n), on 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 web application did not properly validate user input, allowing SQL injection, cross-site scripting and file inclusion attacks.

What the attacker needed

Access to the vulnerable web application; ability to send crafted requests; network access to the target

How it was found

  1. Open the Wazuh dashboard and go to the Agents section to list connected agents.
  2. In Wazuh Discover, filter logs by the agent ID and inspect the location field to find the web server log path.
  3. Use KQL filters on fields such as data.url to count SQL injection events within the incident time range.
  4. Change the filter to detect XSS and inspect the HTTP response status code in the logs.
  5. Investigate file inclusion logs to see the targeted file path.
  6. In Wireshark, filter HTTP POST requests and follow the TCP stream on port 9001 to observe suspicious communication.

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.

This is a practice investigation where someone looked at security logs, network captures and a memory dump from a hacked machine. They found that an attacker used common web bugs to break in and leave a backdoor program running. The exercise shows how to spot such attacks using tools like a log dashboard, a network analyser and a memory examiner.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.