Hi there!
I had been getting alot of complaints about spam coming from my servers, so I edited the sendmail executable to provide some extra logging which will tell me what program is calling the sendmail program and what user it is running as, and in wading through that log I have found something suspicious that I havent seen before. Maybe somebody has seen this and can tell me what it is.
Here is the log entry:
thisuser - sh -c (/usr/sbin/sendmail -oi oem "this@email.com" </tmp/xmt.XKI46M;/bin/
note that I changed the username and email address in that line to protect the potentially innocent :-D
If I create a file called /tmp/xmt.XKI46M and then try to run that command, it will not execute telling me that /bin/ is a directory. And nothing shows up in my log file as I believe it never really executes the sendmail program.
The fact that this line made it into my log file means that the command completed successfully somehow.
Im not really sure what this command is supposed to do. I would imagine that it is attempting to send the contents of the bin directory as an attachment to that email address.
Anybody see this before?
Thanks in advance,
Gerald
[sig][/sig]
I had been getting alot of complaints about spam coming from my servers, so I edited the sendmail executable to provide some extra logging which will tell me what program is calling the sendmail program and what user it is running as, and in wading through that log I have found something suspicious that I havent seen before. Maybe somebody has seen this and can tell me what it is.
Here is the log entry:
thisuser - sh -c (/usr/sbin/sendmail -oi oem "this@email.com" </tmp/xmt.XKI46M;/bin/
note that I changed the username and email address in that line to protect the potentially innocent :-D
If I create a file called /tmp/xmt.XKI46M and then try to run that command, it will not execute telling me that /bin/ is a directory. And nothing shows up in my log file as I believe it never really executes the sendmail program.
The fact that this line made it into my log file means that the command completed successfully somehow.
Im not really sure what this command is supposed to do. I would imagine that it is attempting to send the contents of the bin directory as an attachment to that email address.
Anybody see this before?
Thanks in advance,
Gerald
[sig][/sig]