This PHP based spam script has been around for a reasonable amount of time. I commonly see it use a variety of names, all in the format, sm3 followed by 2 letters and one number which makes it relatively easy to find. In all cases where I have found this script it has been heavily obfuscated. Another common give-away for this script is it is usually located in an directory with an “_” at the start of the directory name, or as the actual directory name.
Script name: sm3rm1.php / sm3ht4.php / other names similar
Script MD5: 91492e2187437f08a0a66dea2e106790 / bd24fafaaf91898b8fb606461a7cbd1f (gzipped)
Compromise Method: Vulnerable osCommerce / Potentially Other
Notes: PHP script that finds its way onto compromised osCommerce (in all cases I have found) accounts used then to send out spam.
Example file(s): Original / Human Readable (Also see below)
Detail: Every case where I have found this script there has been a vulnerable version of osCommerce installed. This has lead to the compromise of the webspace allowing the attacker to upload this file.