r/netsec • • May 02 '16

Can’t Hack a Hacker: Reverse Engineering a Discovered ATM Skimmer

https://trustfoundry.net/reverse-engineering-a-discovered-atm-skimmer/
925 Upvotes

95 comments sorted by

216

u/HighRelevancy May 02 '16 edited May 02 '16

Can't hack a hacker
Error establishing a database connection

Well done...

34

u/flapanther33781 May 02 '16

I saw that and thought, "Well, that's appropriate."

19

u/HighRelevancy May 02 '16

Very appropriate actually, now that I think about it. You can't hack him if you can't connect!

4

u/expert-at-nothing May 02 '16

oh, I thought this was a WordPress joke >_<

24

u/Lugnut1206 May 02 '16

10/10 best airgap measures

8

u/MrPicklePop May 02 '16

It was the Indonesian gangs

46

u/G00dCopBadCop May 02 '16

I always shake the shit out of anything on ATM's that might look even slightly odd before I use it.

29

u/[deleted] May 02 '16

I was in LA this weekend and needed to use the ATM in a sketchy parking lot. I got some odd looks from the group standing near by.

76

u/Bunderslaw May 02 '16

Since the skimmer records video and saves them using time-stamps and it has footage of the person installing the skimmer, couldn't the bank just use this information to look at the ATM camera footage of that time to find the culprit?

15

u/Chicken-n-Waffles May 02 '16

A non descript guy wearing a hoodie? Good luck finding his address

15

u/Sophira May 02 '16

It's okay, they can just look for the person that removes the skimmer and takes it home with them, right?

That was really risky. I don't know what I would have done.

1

u/Bunderslaw May 02 '16

Or you remove the skimmer and wait for the guy to install it again (preferably within 3 days).

If they did it once, they're probably stupid enough to try it again I guess.

11

u/Mr-Yellow May 02 '16

find the culprit

The guy who does the installation is just a low-level disposable lackey.

Though a bit more advanced and possibly higher level organisation, this talk goes into details of ATM malware design and how each layer of people are isolated from any actions without approval from above or in any way running off with the technology.

Electronic Bank Robberies [30c3]

2

u/you_do_realize May 02 '16

Sounds right.

58

u/[deleted] May 02 '16

[removed] — view removed comment

37

u/wzdd May 02 '16

Which seems a bit of a stretch given that a replacement skimmer was installed on the same machine days after the first report.

35

u/Moonpenny May 02 '16

On the upside, free 32GB microSD card. Maybe a second one if they take the new skimmer too.

27

u/tendimensions May 02 '16

Is there a web site that maps where confirmed skimming devices have been found? Wouldn't that be an interesting collection of data?

14

u/locotxwork May 02 '16

ATM ratings . . I like it.

6

u/acme001 May 02 '16

An 'ATM Advisor' if you will.

3

u/G00dCopBadCop May 03 '16

Don't we pay enough taxes in the U.S. to have the FBI do stuff like this for us? I understand that ATM's are run by for-profit corporations, but the police track drug trafficking and sales, so what's the difference?

2

u/acme001 May 03 '16

I was just making a joke, do you have TripAdvisor in the US?

7

u/FearTheCron May 02 '16

Seems like such data could be sold to the people who run ATMs for quite a bit of money. Combine with some facial recognition software and cross reference the skimmed ATMs and you suddenly have a pretty plausible list of suspects.

5

u/ineedmorealts May 02 '16

Combine with some facial recognition software and cross reference the skimmed ATMs and you suddenly have a pretty plausible list of suspects.

If you ever look at carding forums one of the first recommendations is to put a sticker over the ATMs cameras a few days/weeks before you do anything so I doubt this would catch most people.

4

u/mikef22 May 02 '16

That would mean the ATM owners would have to give a shit about protecting their customers.

3

u/SueyPork May 02 '16

Scammers would love that information. It tells them areas that haven't been hit and where people might not be on the lookout.

7

u/ineedmorealts May 02 '16

And where they can grab other peoples skimmers to see what they're doing.

1

u/hacky_chan May 05 '16

But then, wouldn't that just be a map of 'trusted' ATMs that it would make sense to target

13

u/agumonkey May 02 '16

Read like a crime novel.

21

u/hst May 02 '16

Reading the title, I thought the plot twist was that there was a rootkit on the usb device.

9

u/Ukhai May 02 '16

Thanks for sharing. I was wondering how easy it was for people to install their readers, or whatever it is they use, on machines that people use every day. The two just clipping it on there was just so out in the open, am impressed. I've been a victim twice and always thought that it might have been from the gas stations I've been at or various liquor stores.

8

u/kalpol May 02 '16

I used an ATM once in the lobby of a JW Marriott, and got my card skimmed. So it could be pretty much anywhere.

3

u/Othello May 02 '16

The one time I got lazy and didn't bother checking shit/covering the pin pad I got skimmed, at an ATM inside a bank lobby.

7

u/ineedmorealts May 02 '16

I've been a victim twice and always thought that it might have been from the gas stations I've been at or various liquor stores.

Never use an ATM that isn't in a open place. Anyone can buy the key needed to unlock the ATM panel and insert skimmers into the ATM itself. Such skimmers are often very hard to find and remove.

1

u/Ukhai May 02 '16

Yeah I learned the hard way. Actually, I should have learned from my parents. They never talked to me about it, but whenever they needed cash they have always planned ahead of time and always went to their banks instead. Never seen them use an open ATM unless it was to pay someone right there and then.

15

u/vitamintrees May 02 '16

Anyone have a mirror? Wayback machine doesn't seem to have it indexed and it's throwing a database error

0

u/[deleted] May 02 '16

[deleted]

5

u/remadeus May 02 '16

Thanks for providing that valuable cache.

8

u/Magnets May 02 '16

Very daft to take that thing home, what if he was caught with it, or seen taking it?

→ More replies (1)

2

u/itsaride May 02 '16

ATM transactions need 2FA.

6

u/cablethrowaway2 May 03 '16

ATMs are two factor. Something you have (card) and something you know.

The issue is the card number is static

4

u/itsaride May 03 '16

Not really, the card is your username and the pin is your password. Both are really just one factor.

3

u/cablethrowaway2 May 03 '16

Canyon go up to an atm and get money out without the card?

3

u/itsaride May 03 '16

I understand what you're saying, lets just say it needs one more step to make it too much effort for thieves.

1

u/jftuga May 03 '16

So what do you think would be the best 2nd factor?

2

u/itsaride May 03 '16 edited May 03 '16

TOTP using a smartphone or sms/automated voice verification (do you authorise this transaction yes/no). Obviously this has to be optional, default being on.

2

u/Involder May 03 '16

I don't know how it is in the rest of the world, but in Brazil we have a security token that utilizes TOTP. And it is pretty good.

http://banco.bradesco/portal/layout/imagens/modulos/pessoajuridica/cheve-de-seguranca-token.jpg

1

u/itsaride May 03 '16

Yup, those would be fine for those not wanting or having a smartphone.

1

u/Jaden71 May 02 '16

Getting shot at must've been scary, no?

1

u/zetas_ May 04 '16

Can't hack a hacker? sure you can. You wouldn't plug in a random USB drive you found on the street, but all of a sudden when you think you've outsmarted someone you'll install a USB device from a known criminal?

1

u/[deleted] May 17 '16

I felt the same way while reading this. Maybe next time he should do this on an air gaped machine.

1

u/[deleted] May 17 '16

Extremely impressed that stripping a USB cable and plugging it in worked. Sounds like cybercriminals need to start introducing malware into these devices in the case that someone decides to fool around with it.

1

u/locotxwork May 02 '16

Dood that was a awesome!

-5

u/[deleted] May 02 '16

Spending over 90 minutes threading tiny braided wires and holding them by hand was a better use of this person's time than say, finding a thicker wire?

0

u/[deleted] May 02 '16

[deleted]

28

u/dyngnosis May 02 '16

...or, notify the criminals that you are on to them and hmmm.. did you provide the address of your hotel? vry risky friend.

0

u/[deleted] May 02 '16

[deleted]

18

u/yossarian_flew_away Trusted Contributor May 02 '16

the network side is encrypted

I wouldn't be so sure.

Even if it was, there's no reason to believe that transaction sessions are encrypted in disk/on memory on the ATM. The skimming could occur just as easily there (admittedly with a more involved insertion/extraction).

0

u/[deleted] May 02 '16

[deleted]

23

u/wildcarde815 May 02 '16

Don't put too much faith in that, last time my friend checked the local Wawa was still sending cc numbers to the central machine via open wifi easily captured via wireshark and that's in the US. In Indonesia? Who the hell knows what if any standards are being used.

0

u/[deleted] May 02 '16

[deleted]

11

u/markosolo May 02 '16

That looks like a maybank atm. For one, banks often don't care about compliance to PCI(in my experience) and secondly, I have worked with Maybank on their ATM and POS networks and have seen their general attitude to compliance, standards, etc and it's not good. Not good at all.

ATM is possibly running an old version of Win XP and an app which could be owned in minutes.

1

u/LeberechtReinhold May 04 '16

Sometimes it's not even XP, but OS2 or NT...

The thing is that bank love money. And putting security means money, and more work for the atm dept (=more money). They don't get attacked enough to care.

2

u/wildcarde815 May 02 '16

That was admittedly years ago at this point, but those fly by night atms are notorious for being insecure end to end, if they aren't taken over outright. Many are running extremely dated software packages that while they may have met compliance at some point probably don't now. Still for amount of work vs. potential pay off, the bogus boss scam seems way more effective.

3

u/[deleted] May 02 '16 edited May 02 '16

[deleted]

1

u/5-4-3-2-1-bang May 02 '16

What's the difference between an ATM and an ETH ATM?

6

u/[deleted] May 02 '16

He's referring to the cryptocurrency Ethereum

→ More replies (1)

5

u/prof_hobart May 02 '16

You're pretty positive that the standards say that they should be encrypted.

But do you know how closely this particular Indonesian bank has been assessed against those standards?

3

u/Corzex May 03 '16

Well to be honest they could just record every pin and not the card number, jump whoever they are actually trying to rip off as they leave, and use the recorded pin to empty their accounts. Just a possibility. Never know in Indonesia

5

u/Barry_Scotts_Cat May 02 '16

his time, when I went with Elizabeth to get some cash, I jiggled pieces of the ATM. The card reader was solid, but when I pulled on the guard that hides your hands when you type your PIN, it came right off.

Just sounds like that wasn't affixed quite as well, but you can also pull it harder than the card slot anyway

4

u/Angelworks42 May 02 '16

10 years ago I used to manage a small EDI network used to process credit for auto glass claims - which included billing data.

The whole thing was based on obscurity. They used site to site telephone/modem links and everything was sent in clear text.

When I left that company on 2006 they were only then adding encryption - only because they were starting to support internet links.

2

u/FearTheCron May 02 '16

The devices must look as close to the actual reader as possible so they don’t arouse suspicion. The blackhats go to great lengths to achieve this. Sometimes they will replace entire panels of the atm. They may even go as far as inserting a tiny card reader INSIDE the card slot. Alternatively, a thief may try to record the number “on the wire”. This is called “network skimming”.

I think he is talking about taking the card reader out and bugging it before it goes into the computer inside the machine. Additionally it sounds like some of the readers are small enough to fit inside the machine.

1

u/Chicken-n-Waffles May 02 '16

I'll add something to the discussion that's not really related;

there's a good gobsmack 'all of em' email providers that taunt 'secure email' and even go so far as to have an SSL for the connection side but still fail to encrypt the actual mail files on the data side.

In other words, if you had a script that could parse the mail directory, you'd still have access to the email and contents thereof which is trivial to obtain.

1

u/SirPavlova May 06 '16

What about Lavabit? Sure, they shut down, & sure, they were still vulnerable to the feds seizing the SSL keys (hence the decision to shut down), but nobody's getting email contents from there without the individual users’ passwords.

1

u/Chicken-n-Waffles May 06 '16

Lavabit was a secure email provider that went about it the right way.

There's all these webhosts that even have certs that tout 'secure' mail and while the connection is secure, the mail files are still plain text on the server.

1

u/ineedmorealts May 02 '16

Not sure what value a PIN would be without corresponding card #

Find the most common pins use them on stolen cards?

and the network side is encrypted

Assuming that they haven't tampered with the ATM by say replacing the card readers or making the stock card readers use a known key.

1

u/berkes May 02 '16

It could be they use another ATM for skimming. Once they have your PIN, you could be marked for a pickpocket too. They just have to wait if and when they get your card.

0

u/[deleted] May 02 '16

[deleted]

-6

u/berkes May 02 '16

(no way to computationally correlate)

Why would it need to correlate computationally? You are two American tourists in Jakarta. Whose city center is big, but still does not have tens of thousands of ATMS these two tourists can operate. Probably more in range of hundreds.

Just watch until you see them appear on your camera in that other ATM. Or pay some beggars or street vendors a few bucks to tip you off when they see the two entering one of the prepared ATMs.

14

u/5-4-3-2-1-bang May 02 '16

You genuinely think these guys set up a skimmer for the 0.01% of users that are obvious tourists? And then set up another one to finish the job?

1

u/standardoutput May 02 '16

Didn't Krebs write a story about an group in Mexico targeting specific ATMs, using techs to install their skimmers inside the machines?

0

u/[deleted] May 02 '16

[deleted]

48

u/ititsi May 02 '16

I can't believe it took me a few seconds...

11

u/barkappara May 02 '16

I autocorrected to "sorted in ascending order by frequency in the population", which might actually be useful.

9

u/DroidLogician May 02 '16

You think that's bad, I just got the joke 8 hours later.

4

u/MRoka5 May 02 '16

How much you want for that?

3

u/Kichigai May 02 '16

Ha hah! No way you have mine! Mine is so clever I had to use a song to remember it! 🎵0118999…🎶

0

u/[deleted] May 02 '16

[deleted]

0

u/[deleted] May 02 '16

[deleted]

43

u/daddy-dj May 02 '16

26

u/PM_ME_BUTTE_PICS May 02 '16

wtf how did they get my pin??!

9

u/nonesuchplace May 02 '16

Hey, my suitcase combo is in there, too!

4

u/Barry_Scotts_Cat May 02 '16

4chan strikes again!

→ More replies (1)