Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Behind the Phish: Romance Perhaps?

When I look at the masses of spam we receive on a daily basis, I often wonder who is behind it all. What systems do they have in place, and who are the people behind such madness? We have often discussed some of the big spamming botnets, like Cutwail,or Grum on this very blog. But at the same time as the big boys carry out their business, there is also a lot of smaller scale spamming and scamming going on.

Today I was examining a phishing message, and I realized it may offer a clue as to how it was sent and by who.

9242_4f9941fd-7dc7-4a2c-bb3d-d7fbf6af86ac

Pretty standard phish. The link led to a fake Common Wealth Bank phishing page illegitimately hosted on some little hotel's web site.

10184_7d0b157c-ee60-4fd9-857d-3a836eabe0ab
Looking closer at the message header revealed some interesting information, namely an X-PHP-Script: header field. This is a feature from PHP 5.3onwards that allows administrators to track mail (i.e. spam) sent from scripts on a web server. In this case, this little line told me the host and the path to the script which generated the message, i.e. /tmp/a7a.php. 10746_97673190-38f0-45c8-b9a6-53b69501d87c

So naturally I went to a browser and loaded that URL. It turns out to be a simple spam mailing application, again hosted illegitimately, where you can create your spam message, dump an address list, and away you go. Free spamming from a (presumably) honorable IP address.

10909_9f610242-87b9-4a1c-9d95-9b12e2021016
Pretty simple stuff, but also low tech, low volume as well. Even still, suitable for a low tech phisher, with a small targeted address list. This PHP app also had a curious little moniker at the bottom:

"DOla Habibi SpaM Was Here"

I figured that there had to be other web sites hosting this spamming script as well. A bit of Googling uncovered five other sites hosting the same script. Not only that, the source code was readily available on Pastebin. Easy peasy, all you need is a poorly protected website running PHP.

The other piece of information in the X-PHP-Script field was an IP address, 41.206.12.31. This indicates the IP address of the person who used the script to upload the spam. I wonder where that IP address is located? Yup, you guessed it:

7943_0fe96d7c-ec70-4d34-aa7b-ba064ca3f09c

A bit more Googling uncovered several complaints of Nigerian scammers with links to that IP address, including a very recent "Romance Scammer" within the last few days. Is this the face of our spammer? "Mr Mobolaji Adegboye" whom, if you are feeling romantic, you can reach at adegboye.mobolaji@yahoo.com. Maybe you can ask him if his mother knows he scams people for a living?

11809_ca9c54a9-0b6f-40e7-be41-cc0b1d68fd29

Perhaps. But on amore serious note, this little analysis highlights a few problems, mostly to do with insecure web servers. More and more email scams like this rely on otherwise legitimate web servers to do their work, and especially to piggy back on that server's IP reputation. Administrators, keep an eye on those webservers and have a system in place to regularly check for oddities. Also consider blocking outbound SMTP from any web servers that have no need to send email.

Latest SpiderLabs Blogs

Clockwork Blue: Automating Security Defenses with SOAR and AI

It’s impractical to operate security operations alone, using manual human processes. Finding opportunities to automate SecOps is an underlying foundation of Zero Trust and an essential architecture...

Read More

Professional Services Sector Under Attack - Trustwave SpiderLabs Report 2024

Recent research by Trustwave SpiderLabs, detailed in their newly published report "2024 Professional Services Threat Landscape: Trustwave Threat Intelligence Briefing and Mitigation Strategies,"...

Read More

Atlas Oil: The Consequences of a Ransomware Attack

Overview Atlas Oil, a major player in the oil and fuel distribution industry, fell victim to a ransomware attack orchestrated by the Black Basta group. This attack not only compromised sensitive...

Read More