This morning, another phishing email in my inbox. Short message, and a link to http://priveservicetemporaire.fr/ (targets French users).
I remembered reading this tweet from @averagesecguy :
Find a phishing site? Overwhelm it with fake credentials. https://t.co/nS56XNb6ek It's preconfigured for a phishing site I found today.— Stephen Haywood (@averagesecguy) 23 Février 2015
I didn’t found the tweet and the link in the first place, so I built a small Python script to do the same. It just posts random credentials on the given URL and checks the response to be sure everything went fine.
Release the Kraken !
Then I began to flood the phishing website :
$ python3 phisherflooder.py #0000 Envoi : (.firstname.lastname@example.org, MHPTwHcJw) #0001 Envoi : (email@example.com, RiwnRKQ6DVKiVOKM) #0002 Envoi : (firstname.lastname@example.org, gThR4c) #0003 Envoi : (email@example.com, 1WP83dxul3O6ECx) #0004 Envoi : (firstname.lastname@example.org, AF8oKV3cEn) [...] #0075 Envoi : (email@example.com, nQWCCi)
After the 75th post, the flood stopped working: the website was throwing an error (“Error sending the message”). My guess is that the form sends an email to the “phisherman” instead of storing the credentials on the server, and the hoster limits the number of sent email per hour (75 mail / hour ?). Trying a few hours after gave the same result.
Now the phisherman is receiving hundreds of fake credentials into his mailbox, each day. Nice, eh ?
Okay, now even if someone fills in their credentials, nothing will be sent. But even if I plan to let the script run until the website finally gets down, there is something more efficient to do: report the incident !
Reporting phishing incidents
Whois can give us the “abuse” registrar contact, and information about who and when the domain name has been registered.
whois priveservicetemporaire.fr -H
Sending an email to report the phishing website will hopefully result in the server being shut down.
I then looked at the email, especially the headers to see from where did the email come from :
Received: from webmail.no-log.org (webmail.no-log.org [22.214.171.124]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by lpn-prd-vrin014 (Postfix) with ESMTPS id 558E9180143; Sun, 8 Mar 2015 06:10:00 +0100 (CET) Received: by webmail.no-log.org (Postfix, from userid 33) id 1802C4BDCC; Sun, 8 Mar 2015 06:10:00 +0100 (CET) X-Squirrel-UserHash: QFEPDQEJKSAAAAAAABpdRlU= X-Squirrel-FromHash: AgsCDl4DCio= Message-ID: <firstname.lastname@example.org> Date: Sun, 8 Mar 2015 06:10:00 +0100 Subject: infos m.laposte From: P.arametres-Laemail@example.com User-Agent: SquirrelMail/1.4.21
So this email has been sent from a webmail webmail.no-log.org : their website shows an abuse email contact. I then sent them the full email (with headers) to them so they can block the corresponding account.
- received a phishing email
- built a tool to flood the fake website with fake credentials
- reached a limit that prevents new credentials to be submitted within a period of time
- reported the phishing campaign to the hoster and the SMTP provider