DEV Community

Duygu
Duygu

Posted on

Let'sDefend SOC166 - Javascript Code Detected in Requested URL Investigation Wlakthrough

  • When we first look at the requested URL in the investigation channel , we can see that "script" and "alert" js code was added to the request , so we can see that an attempt for an XSS attack was made.

  • Then , we want to check whether the source ip adress is malicious or not by using VirusTotal or AbuseIPDB. After checking the source ip adress , we can see the ip adress belongs to an internet provider service in China and marked as malicious on boh sites. After that, we check the destination ip adress on the same sites and see that the ip adress belongs to a company network , so we can say that the traffic was from internet to company network.

  • Then , we go to the "Log Management" section to see if we can see any logs from the source ip adress and when we check , there are 8 requests that were made at the time of event to the same destination ip adress and even though the http response status was "200" for 7 of these requests , the last request's status code was "302" so we can see that the attack was unsuccessful.

  • Later on , we check the "Email Security" section and see there isnt any planned tests. We go to the "Endpoint Security" section to contain the " WebServer1002" server to prevent any further damage.

Top comments (0)