when organized crime applies academic results a forensic ...€¦ · when organized crime applies...
TRANSCRIPT
![Page 1: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/1.jpg)
When Organized Crime Applies Academic Results
A Forensic Analysis of an In-Card Listening Device
Houda Ferradi
Information Security Group
Ecole Normale Supérieure
1
![Page 2: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/2.jpg)
Goal of This Presentation
Illustrate to what length white collar criminals can go tohack embedded electronic devices.
To date, the following is the most sophisticated smartcard fraud encountered in the field.
Goal: raise awareness to the level of resistance that IoTdevices must have to resist real attacks in the field.
2
![Page 3: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/3.jpg)
Context
A forensic assignments.
3
![Page 4: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/4.jpg)
Context
In May 2011: The French’s bankers Economic Interest Group (GIE CartesBancaires) noted that a dozen EMV cards, stolen in France a few months before, were being used in Belgium.
The net loss caused by this fraud is estimated to stand below 600,000€, stolen over 7,000 transactions using 40 modified cards.
A forensic investigation was hence ordered by Justice
4
![Page 5: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/5.jpg)
The Judicial Seizure
5
![Page 6: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/6.jpg)
The Judicial SeizureWhat appears as an ISO/IEC 7816 smart card.
The plastic body indicates that this is a VISA card issued byCaisse d’Épargne (a French bank).
Embossed details are:• PAN5= 4978***********89;
• expiry date in 2013;
• and a cardholder name, hereafter abridged as P.S.
• The forgery’s backside shows a normally looking CVV.
PAN corresponds to a Caisse d’Épargne VISA card.
PAN=Permanent Account Number (partially anonymized here).
CVV=Card Verification Value.6
![Page 7: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/7.jpg)
The backside is deformed around the chip area.
Such a deformation is typically caused by heating.
Heating (around 80°C) allows melting the potting glue to detach
the card module.
Visual Inspection
7
![Page 8: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/8.jpg)
Visual Inspection
The module looks unusual in two ways:
1) it is engraved with the inscription “FUN”;
2) glue traces (in red) clearly show that a foreign module was implanted to
replace the **89 card’s original chip8
![Page 9: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/9.jpg)
FUNCards
9
![Page 10: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/10.jpg)
FUNCard’s Inner Schematics
10
![Page 11: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/11.jpg)
Side-views show that forgery is somewhat thicker than a standard
card (0.83mm).
Extra thickness varies from 0.4 to 0.7mm suggesting the existence
of more components under the card module, besides the
FUNcard. 11
![Page 12: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/12.jpg)
FUNCard Under X-Ray
External memory (AT24C64)
µ-controller (AT90S85515A) Connection wires
Connection grid
12
![Page 13: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/13.jpg)
FunCard vs. Forgery under X-Ray
13
![Page 14: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/14.jpg)
Forgery vs. FunCard
Stolen card module
Connection wires added by fraudster
Welding points added by the fraudster14
![Page 15: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/15.jpg)
Pseudo-Color Analysis
Definition: Materials may have the same color in the
visible region of the EM spectrum and thus be indistinguishable
to the Human eye. However, these materials may have different
properties in other EM spectrum parts. The reflectance or
transmittance spectra of these materials may be similar in the
visible region, but differ in other regions.
Pseudo-coloring uses information included in the near-infrared
region (NIR) i.e. 800-1000nm to discriminate materials beyond
the visible region.
15
![Page 16: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/16.jpg)
Pseudo-Color Analysis
16
![Page 17: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/17.jpg)
Pseudo-Color Analysis
Stolen chip17
![Page 18: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/18.jpg)
Forgery Structure Suggested so Far
18
![Page 19: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/19.jpg)
Forgery Structure Suggested so Far
Stolen card speaks to reader but
instead of the reader the communication
is intercepted by the fun card
19
![Page 20: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/20.jpg)
Forgery Structure Suggested so Far
What the stolen card says goes into the
FUNcard
20
![Page 21: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/21.jpg)
Forgery Structure Suggested so Far
FUNCard talks to the reader
21
![Page 22: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/22.jpg)
Electronic Analysis Attempt
It is possible to read-back FunCard code if the card is not locked.
Attempted read-back failed. Device locked.
Anti-forensic protection by fraudster.
22
![Page 23: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/23.jpg)
Magnetic Stripe Analysis
The magnetic stripe was read and decoded.
ISO1 and ISO2 tracks perfectly agree with embossed data.
ISO3 is empty, as is usual for European cards.
23
![Page 24: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/24.jpg)
Electronic Information Query
Data exchanges between the forgery and the PoS were monitored.• The forgery responded with the following information:
• PAN = 4561**********79;
• expiry date in 2011;
• cardholder name henceforth referred to as H.D.
All this information is in blatant contradiction with data embossedon the card.
The forgery is hence a combination of two genuine cards
24
![Page 25: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/25.jpg)
Flashback 2010
25
![Page 26: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/26.jpg)
Flashback 2010
26
![Page 27: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/27.jpg)
The problem is here!
27
![Page 28: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/28.jpg)
Flashback 2010
28
![Page 29: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/29.jpg)
Flashback 2010
29
![Page 30: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/30.jpg)
Flashback 2010
30
![Page 31: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/31.jpg)
Modus Operandi Hypothesis
31
![Page 32: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/32.jpg)
Problem with Hypothesis!
no visible signal activity here!
32
![Page 33: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/33.jpg)
Back to X-Ray: Solution to Riddle!
no visible signal activity here!
33
![Page 34: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/34.jpg)
Anti-Forensic Protection by Fraudster
34
![Page 35: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/35.jpg)
Using Power Consumption Analysis
35
![Page 36: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/36.jpg)
PoS sends the ISO command 00 A4 04 00 07 Command echoed to the stolen card by the FunCard Stolen card sends the procedure byte A4 to the FunCard FunCard retransmits the procedure byte to the PoS PoS sends data to FunCard FunCard echoes data to stolen card Stolen card sends SW to FunCard FunCard transmits SW to PoS
Color Code:PoS FunCardFunCard Stolen CardStolen CardFunCardFunCard PoS
36
![Page 37: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/37.jpg)
Power Consuption During GetData
Confirms the modus operandi
37
![Page 38: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/38.jpg)
Power trace of the forgery during VerifyPIN command.
Note the absence of retransmission on the power trace beforethe sending of the SW
VerifyPIN Power Trace Analysis
38
![Page 39: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/39.jpg)
Having Finished All Experiments
We can ask the judge’s authorization to perform invasive analysis.
Authorization granted.
39
![Page 40: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/40.jpg)
Connection grid Stolen card module (outlined in blue) Stolen card’s chip FunCard moduleWelding of connection wires
Invasive Analysis
40
![Page 41: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/41.jpg)
FunCard module Genuine stolen card Welded wire
Invasive Analysis
41
![Page 42: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/42.jpg)
Original EMV Chip Clipped by Fraudster
Cut-out pattern over laid42
![Page 43: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/43.jpg)
Wiring Diagram of the Forgery
43
![Page 44: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/44.jpg)
Economical Damage
Cost of device replacement in the field
Cost of fraud (stolen money)
Damage to reputation
plus:
Forensic analysis cost. Here: 3 months of full time work.
44
![Page 45: When Organized Crime Applies Academic Results A Forensic ...€¦ · When Organized Crime Applies Academic Results A Forensic Analysis of an In-Card Listening Device Houda Ferradi](https://reader033.vdocument.in/reader033/viewer/2022042805/5f6693db2fc0653bd6751ad0/html5/thumbnails/45.jpg)
In Conclusion
Attackers of modern embedded IoT devices
•Use advanced tools
•Are very skilled engineers
•Are well aware of academic publications
•Use s/w and h/w anti-forensic countermeasures
If you do not design your IoT device with that in mind and if stakes are high enough, the device will be broken.
45