Stumbling across a scam & a system inadequate to fight cybercrime
Note: some of the finer details of this story have been withheld as this is an ongoing crime, and I donāt want to lead anyone else to the personal details that have been stolen and are freely available online, or make the attacker aware of their mistake while there is still a chance to catch them.
Unearthing a scam
Last Monday I received a text message proposing to be from a well known messaging app. The text read a little like this:
You subscription has run out. To renew your subscription and verify your account for just X amount of money, follow this link.
Of course I instantly realised this was a phishing attack, but being an inquisitive web developer I decided to follow the link (after taking appropriate precautions) and see how this attack worked. When visiting the link I was greeted by a pretty legitimate looking form, collecting all the standard personal information as well as credit card numbers with security codes, and shockingly, the form also asked for a bank account number, sort code, and security question! Surely people donāt fall for this. Why would a messaging app need bank info as well as your credit card?
The form was hosted on a domain that was intended to look like the real equivalent, only it had a few letters replaced with similar looking ones. Pretty standard phishing tactics. I noticed the form was not hosted at the root of the domain. For demonstration purposes lets imagine this is the address of the scam: http://mylegitapp.com/form/
I wondered what was at the root of the domain (http://mylegitapp.com) and to my surprise I was greeted with the file structure of the server, and a single .zip file. This was obviously a mistake on the attackerās behalf, the directory shouldnāt have been accessible, and as Iām about to explain, they definitely should not have left that zip file hanging around.
I couldnāt resist downloading the mysterious zip file to see what was inside. On opening the zip file I was astounded to find what looked like the code being used to run the scam š². The attacker evidently had very little technical knowledge, or is so confident they canāt even be bothered to cover their tracks in the slightest.
A few notes about the code:
- It was written in PHP, a programming language that powers a large part of the web
- It was messy and very unsophisticated
- Hilariously it had built in spam detection! It would check for expletives in the submissions and redirect the user to the real app website as soon as they were detected!
- The victimsā cards were never actually charged. This was all about stealing the details.
- There was a configuration file with instructions on how to set up the scam.
After a bit of poking around, I came to the conclusion that the attacker had probably purchased this scam pre-built off the dark web without much knowledge of how it works. All they needed to do was put their email address and a few other details in the config file and they would be good to go. This meant I now was pretty certain I had the attackerās email address.
Looking through the code, I could see that after submitting all parts of the form, the stolen details would sent to the email address provided in the config file, and also stored in a log file on the server.
Whoops, I had accidentally downloaded stolen credit card and bank details!
The log file in the zip only contained one victimās information, from September 2016, the time that the zip had been created. Needless to say, I was aware that the situation had gotten a little more serious.
Having access to the code, and now knowing its inner workings I could see where the live scam would be storing its victim log. I visited the address of the log in my browser, and there in front of my eyes, were the details of about 20 victims who had been scammed that same day!
The scam was active and apparently very effective! Most of the victims were elderly and had given away everything required to clear out their accounts!
I already couldnāt believe what I had found, but given the mistakes the attacker had already made I thought Iād try my luck and look up the WHOIS information for the domain name. When you register a domain name you are required to provide some basic information such as name, address and email etc. You can choose to hide this information from public view, but crucially, you have to opt-in to do this.
Unsurprisingly, it emerged that our attacker hadnāt done this. I now potentially had the email address, name, street address, and phone number of our attacker, as well as heaps of evidence to show them committing cyber crimes.
Trying to alert the authorities/pissing into the wind
At this point I had probably already dug around a little too much. It was time to pass on what I knew to the police, if they acted quickly they might be able to catch the attacker, and at worst they could inform the victims and prevent any money leaving their accounts.
A search along the lines of āReport cyber crime ukā lead me straight to the Action Fraud website: http://www.actionfraud.police.uk/ billed as āthe UKās national fraud and cyber crime reporting centreā.
Perfect! A division of the police specifically set up to handle this sort of thing. Nice to see the government taking cybercrime seriouslyā¦
I began by following the link to the online reporting tool they provide, choose to report āOnline scams or virusesā, and began to answer the questions presented to me. Two minutes later I had reached the end of the form.
Was that it? I had completed 3 multiple choice questions and reached the end of the form without the opportunity to provide any specific details about the crime I was trying to report!
It was clear this wouldnāt do so I started a live chat and explained the situation. Before I could get through most of the details the chat operator provided me with another link where I could provide a report and closed the chat.
Going to that link and navigating past the first few screens, it directed me to visit another site to perform the report. Gees, this was getting pretty long winded but I didnāt want to give up. Even while filling out these forms I could see new victims added to the log file.
The next series of tweets pretty accurately explain what happened when I followed this new link:
That probably would have stopped a lot of people trying to report a crime, luckily you can tell Google Chrome to continue to the site regardless. Doing so resulted in this:
I took a few minutes to bask in the irony of the situation I had unexpectedly found myself inā¦ You couldnāt make this up if you tried!
I got straight back on the web chat and this followed:
A few points about this chat. Firstly, Iām pretty certain the initial person I spoke to was Ross. If so, he originally sent me the wrong link (unfortunately I didnāt save my first web chat).
At one point I accidentally pasted a link to a forum dedicated to selling stolen cards into the chat! Not something you want to do while talking to the police š. Some information in the code had lead me to this forum where I suspect the attacker has an account.
Ross was quick to try the old āits not me, its your browserā line. Iām a web developer and I hear this line all the time, Iāve probably used it myself more than once. It definitely wasnāt my browser!
The corrected link Ross sent me lead me right back to the form I have previously mentioned (pictured above) and now I was more than a little annoyed. I explained to Ross that the form doesnāt actually collect any specific information, he then directed me to another link: http://actionfraud.police.uk/reportĀ-fraud-Āabout-Āyou
What a wild goose chase!
I had actually seen this link earlier on, but had decided it wasnāt the correct place to file a report since it was titled āReport fraud about youā. This entire service is extremely confusing and hard to navigate. I make websites for a living and can usually find my way around even poorly designed sites, but this one had me stumped!
Anyway, for the umpteenth time I began to fill out another form. As you can see in the chat I was worried that it wasnāt going to let me give enough detail again. The first steps werenāt really relevant, it was asking very specific details of the attacker that I didnāt have and wanted to know things like exactly how much money had been stolen.
A simple email address would have been more than enough for me to provide the police with the details I had, instead I was forced to fudge the first pages of a form just so I could get to the free text field at the end š¤.
I spent over an hour detailing everything I knew in the summary box. Well, almost everything. This box had a 2000 character limit, so after writing the report I had to then go back and prune it to fit within the limit. As if this process couldnāt get any more painful!
Finally I was done. I had already used most of my evening but at least the police would have my report and I could rest happy knowing I had done my bit. I pressed submit on the form andā¦ā¦
FUCKKKKā¦.š”
This really was beyond a joke now. I had spent so long trying to report this I didnāt want to give up, but I could see I wasnāt going to have any luck reporting it with Action Fraud.
Next up I rang 101, the non emergency police number. I waited on hold for almost another hour before someone answered. They really arenāt joking about it being non emergency.
I finally got through and began trying to describe my evening to a cheerful police woman working for Sussex police force. I started to appreciate that this was a pretty hard situation to explain over the phone, especially when you are speaking to someone with nothing more than basic computer knowledge. She was very surprised I had told Action Fraud that I had access to stolen credit card details and all they did was repeatedly get me to fill out a form.
Having described everything the best I could in layman's terms, the police officer admitted she needed to get technical advice before knowing what to do next. Five minutes later she returned and said that the ātechnical adviceā had told her I needed to be transferred to Merseyside police as that was where the domain was registered.
What had I gotten myself into? It was like I had entered some sort of never ending alternate reality wormhole, falling deeper and deeper into the void.
I explained that it didnāt really matter where the domain was registered, and that localised internet policing didnāt make much sense. She didnāt agree, so reluctantly I accepted the offer to be transferred and was put on hold again. Ten minutes later I get through to Merseyside police.
None of the information I had given Sussex police was passed on, so I had to explain everything again from scratch. This time the police officer I spoke to said he would take a report and we spent the next hour painstakingly going over everything I knew from the beginning.
Phonetically spelling out URLs over the phone is not my idea of a fun Monday evening.
The police officer I had spoke to was very helpful and I was satisfied he had done a good job of creating the report. He said something along the lines of āHoly shit, this is pretty juicy isnāt itā and promised me that I would receive a follow up call once they had looked into it.
I stressed to him, that it needed to be acted upon quickly. The attacker could realise at any moment that they have left their scam insecure and fix their mistake. All the evidence would disappear and we would no longer know who the victims were.
Twenty four hours passed and no contact from the police. During this period I saw another 20 people added to the attackers logs. For some reason the attacker also appeared to start another instance of the scam on the same server.
I decided to see how much stolen credit card info would sell for on the dark web and apparently you can get around US $30ā$40 for good quality info. Not a huge amount, but that meant that already there were 600ish dollars worth of card details sitting in these logs. Of course the real value is surfaced when the cards and accounts are actually used to make purchases.
Forty eight hours passed and still no contact from the police, and still more and more people were falling victim. I was aware scams like this existed but I never had any idea how effective they are! I wrongly assumed people were pretty savvy these days about entering banking information on sites.
Unfortunately most of the victims appeared to be elderly. I can imagine a lot of them had been told to download the app in question by their grandchildren.
I faced a bit of a moral dilemma at this point. I had handed this over to the police, but I was sat there with a front row seat watching daylight robbery. If you were watching someone get mugged on the street would you intervene?
I had access to the code and knew exactly how it worked, so myself and a work colleague began thinking of ways we could disrupt the scam. By doing so we were entering a legal grey area. If we were to enact any of our plans it could also be construed as hacking, and as far as I am aware, hacking in any shape or form is illegal in the UK. Even when you are trying to take down a scum bag scammer.
We started to develop a tool to disrupt the scam, but havenāt yet used it. Unlike the attacker we didnāt want to make any mistakes. Supposing we werenāt dealing with a script kiddy from Merseyside, and we had actually uncovered a hardcore Russian hacking circle, we didnāt want anything leading back to us.
Thursday morning, on my way to work my phone finally starts ringing with a call from Merseyside police. Great, its been three days, longer than I had wanted but at least they would have had chance to digest the report and can now do something about it.
Hello Mr Maxted, its Officer something something here, I believe you have been having trouble with a website?
Not exactly how I would have put it but go onā¦
We have looked into the case, and we can confirm you are going to need call Action Fraud.
š š š š š š š
It was lucky I didnāt drop my phone. Four days after the whole episode had begun and I had gone full circle. If you believe in reincarnation I was just reborn as a fly.
What now?
I find it hard to get angry at the police when I know they are so chronically underfunded, but I felt like I had just walked into a police station, explained to them I had witnessed a murder, to then be told I was in the wrong department!
Why should I have to speak to Action Fraud again? Couldnāt Merseyside police pass the information on themselves?
I couldnāt help getting angry when you think that our government is constantly finding ways to expand state surveillance powers under the guise of improving cyber security. Snoopers charter, and more recently talk of banning encryption are all perfect examples.
This debacle proves that the police donāt need more tools to fight these crimes. They canāt use the existing ones the have! All these new powers do is remove every day citizensā liberties, and make the web less secure!
As for the scam? Well itās still active and stealing cards. I have noticed the attacker clearing out the log file a few times now. This probably means they have already sold a few sets of details.
From Friday until the time of writing, another 20 people have had their cards and bank details stolen, the oldest of whom is over 80.
Iām unsure of the next action. As I said I could easily take this down myself, but I would be breaking the law in doing so, and would risk exposing myself to the attacker. Hopefully by writing this post someone with experience in this area or the relevant authorities will notice and help put a stop to this daylight robbery.