Phishing and being phished!
Early morning I was checking my mail as usual. I get a message from my bank that I need to update
because of some new security measures.
Well since the mail landed in my inbox and not my spam folder I had to check it out. For fun!
I click on Personal (and do remember that I am not going to put in any information in any form).
Ok, cool! the site is the same, since the code is a pure copy and paste from the original site. Now, some
would fall for this, giving all their info and getting screwed.
I wanted to understand how and probably who is doing this. So I use one of my super powers, source
code revealing skills. Let us take a look at what is behind this.
Initially when we opened the file, the attachment, we are moved to…
Then after clicking on “personal”; comes the form. Let’s see where the data is going, let’s search for
“action” in the html source code.
So post.php is being used to submit the data and you are then shown “showRegret()” ;)
What is there in post.php?
Ah, your info is being mailed to a gmail address. Oh lord! I would have thought this was more
complicated, but hell.
But then I realize that are some more things “$to”, what is that? I decide to have a look at java.js
A bit of obfuscation for the $to parameter. We’ll just add a print command to see what that really is,
Print $send = firstname.lastname@example.org
Cool, another email address to which the information is being sent. Was the phisher owned, I think so!
Anyways, don’t fall for such stuff. ;)