SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Hack in, Cash out
Hacking and Securing Payment Technologies
Tim Yunusov
Transaction stream fraud
Main question of the payment pentest
Good pentest Bad pentest
Get money from the bank From our own accounts
Decisions, decisions…
4 accounts in 2018
4 accounts in 2019
Card payment processing
Endpoint Acquirer Card brands Issuer’s
Authorisation host
Card
Endpoints
@A1ex_S
@groke1105
@ivachyou
@L_AGalloway
https://www.terminalsimulator.com/
POS+RCE – is the instrument
• EMV/NFC core real implementation
• May contain a lot of bugs
• Real payment process workflow
• Payment packet
• Configurations (limits, etc)
• Offline authentication and risk management
Example of the payment packet
BER encoding
• TLV – Tag Length Value
Example
• AA0105 [hex]
• Tag – AA
• Length – 1 byte
• Value - 05
Example of the payment
packet
https://tvr-decoder.appspot.com
PAN/Track2/Expiry date
Transaction date and time
Amount and currency
Type of the operation (payment, cashback, refund, other)
Type of the cryptogram, cardholder verification method
Attacks
• Refund/reverse attacks
• Chip & PIN attacks
• Card testing
Reverse attacks
Refund attacks
Credit card Debit card
Money movements
Free infinite credit line
Chip & PIN is still broken
• 2005 University of Cambridge, https://murdoch.is/papers/cl05chipandspin.pdf
• 2010 Inverse Path (F-Secure) / Aperture Labs
https://cansecwest.com/csw11/Chip%20&%20Pin%20-%20Barisani%20&%20Bianco.pdf
• Intercept PIN (ICC plaintext PIN verification)
• Make transactions without PIN knowledge (“PIN OK” attack)
• Downgrade to chip&signature
Chip & PIN is still broken
• CVM list – cardholder verification method list
• CVM list is defined on the card
• CVM List provides the terminal with four pieces of information on how an issuer wishes the
cardholder to be verified:
• CVM method (in priority)
• Conditions of use
• What if the CVM method is failed
• Encrypted PIN if supports, then Unencrypted PIN if supports, the signature, than cancel
• https://www.spotterswiki.com/emv/cardsearch.php
• https://tvr-decoder.appspot.com
• Offline data authentication – when POS checks that card and it’s data were genuine: SDA, DDA, CDA
When hackers come
• 2011, France https://eprint.iacr.org/2015/963.pdf
• 40 cards
• PIN-OK additional chip
• 7000 transactions
• 680,000 USD
Chip & PIN is still broken
• 2019, Europe
• PIN interception, “PIN OK” attack, chip&signature downgrading
• Why?
• “Nowadays CVM is signed” (c) Inverse Path - CDA
• Weak CVM Lists: PIN Online if unattended, PIN Offline elsewhere
• Visa cards do not provide Offline Data Authentication
• Card supports (DDA,CDA), terminal supports (DDA,CDA):
• Terminal choose DDA
• Terminal goes online if the offline authentication is failed
Card testing
• Balance testing for stolen cards
• https://www.zdnet.com/article/hackers-abuse-magento-paypal-
integration-to-test-validity-of-stolen-credit-cards/
When hackers come first
• Nov, 2016, 40,000 accounts, 9,000 successfully
Card testing
• 1 Dec 2016, Newcastle University
• https://eprint.ncl.ac.uk/file_store/production/230123/19180242-D02E-47AC-BDB3-73C22D6E1FDB.pdf
• Consecutive enumeration:
• BIN (public DB)
• PAN (online banking registration)
• Expiry Date (refund, recipient of funds)
• CVV (regular payment)
• Postcode for AVS (different error)
Card testing
• 1 Dec 2016, Newcastle University
• https://eprint.ncl.ac.uk/file_store/production/230123/19180242-D02E-47AC-BDB3-73C22D6E1FDB.pdf
• Consecutive enumeration:
• PAN (mobile banking registration)
• Expiry Date (refund, recipient of funds)
• CVV (regular payment)
• Postcode for AVS (different error)
Card testing
• July 2018, Monzo
Rounding
2001
Rounding
• 1 GBP = 1,30 USD
• 0.02 USD => float(0.0153; 2) == 0.02 GBP
• 0.02 GBP => float(0.026; 2) == to 0.03 USD
• Profit = 0.01 USD
Rounding
• 1 GBP = 1,30 USD
• 0.02 USD => float(0.0153; 2) == 0.02 GBP
• 0.02 GBP => float(0.026; 2) == to 0.03 USD
• Profit = 0.01 USD
Rounding
• 1 GBP = 1,30 USD
• 0.02 USD => float(0.0153; 2) == 0.02 GBP
• 0.02 GBP => float(0.026; 2) == to 0.03 USD
• Profit = 0.01 USD
x10,000
• OTP bypass
• Antifraud bypass
• Don’t need to do everything manually
Stat
• Maximum amount per project – $463,843 in 3 days (in live)
• In 2019 – 8/8 banks in Europe were potentially vulnerable to rounding,
one bank has confirmed the vulnerability
How to lose money during payment research
• Startup, which “allows you to spend money from any of your accounts using just one * Card” - *1234
• Connect any of your cards in the mobile app
• When you pay from the card *1234,
money will be withdrawn from the card you’ve chosen and connected (*5678)
• What if we will use Card2Card and send
From *1234 To *5678
• Just a regular transaction for *5678
• We will get a cashback!
How to lose money during payment research
• Send £100
• Money were withdrawn twice!
• Waited 5+ days
• Used 3 different card2card services
• Used 3 different cards, connected in the app
How to lose money during payment research
How to lose money during payment research
https://medium.com/@Tim_Y/how-to-lose-money-during-payment-research-or-in-
searching-for-financial-ombudsman-5047bff89bc2
Who will pay?
• Not all vendors/banks are the same
• Risk-based model doesn’t care “where’s the money”, but “how much money”
Bugbounty company from Google
1. Found vulnerability
2. Reported with lowest CVSS/out of scope
3. Thanks, $$$
4. Now vulnerabilities won’t be used in the
wild
Bank “A”
1. Found vulnerabilitity
2. Reported medium CVSS
3. It’s not been used in the wild
4. Vulnerabilities still can be used
in the wild
https://www.cardpayments.fail
info (at) cardpayments (dot) fail
@a66ot

Weitere ähnliche Inhalte

Was ist angesagt?

Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2
davidlambert1978
 
Pay Easy Solutions International
Pay Easy Solutions InternationalPay Easy Solutions International
Pay Easy Solutions International
jeanieaguilar
 
1609 Fraud Data Science
1609 Fraud Data Science1609 Fraud Data Science
1609 Fraud Data Science
Alejandro Correa Bahnsen, PhD
 

Was ist angesagt? (19)

HOW TO ESTABLISH YOUR OWN INVESTMENT BANK WITHOUT THE BUREAUCTATIC “RED TAPE”...
HOW TO ESTABLISH YOUR OWN INVESTMENT BANK WITHOUT THE BUREAUCTATIC “RED TAPE”...HOW TO ESTABLISH YOUR OWN INVESTMENT BANK WITHOUT THE BUREAUCTATIC “RED TAPE”...
HOW TO ESTABLISH YOUR OWN INVESTMENT BANK WITHOUT THE BUREAUCTATIC “RED TAPE”...
 
The First Certified Visa Processor Aggregator In Europe
The First Certified Visa Processor Aggregator In EuropeThe First Certified Visa Processor Aggregator In Europe
The First Certified Visa Processor Aggregator In Europe
 
3-D Secure 2.0
3-D Secure 2.03-D Secure 2.0
3-D Secure 2.0
 
Analysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud DetectionAnalysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud Detection
 
White Paper: Tokenization, Credit Card Fraud Prevention, Beyond PCI Measures
White Paper: Tokenization, Credit Card Fraud Prevention, Beyond PCI MeasuresWhite Paper: Tokenization, Credit Card Fraud Prevention, Beyond PCI Measures
White Paper: Tokenization, Credit Card Fraud Prevention, Beyond PCI Measures
 
Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2
 
Netpay Presentation
Netpay PresentationNetpay Presentation
Netpay Presentation
 
Bitcard
BitcardBitcard
Bitcard
 
Credit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A SurveyCredit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A Survey
 
Martijn de Boer, CEO of CDDN. Presentation at Gaming in Holland 2016 #GIH16
Martijn de Boer, CEO of CDDN. Presentation at Gaming in Holland 2016 #GIH16Martijn de Boer, CEO of CDDN. Presentation at Gaming in Holland 2016 #GIH16
Martijn de Boer, CEO of CDDN. Presentation at Gaming in Holland 2016 #GIH16
 
Pay Easy Solutions International
Pay Easy Solutions InternationalPay Easy Solutions International
Pay Easy Solutions International
 
internet banking
internet banking internet banking
internet banking
 
eCommerce Payment Gateways: An Introduction
eCommerce Payment Gateways: An IntroductioneCommerce Payment Gateways: An Introduction
eCommerce Payment Gateways: An Introduction
 
Innovative Payment Solutions
Innovative Payment SolutionsInnovative Payment Solutions
Innovative Payment Solutions
 
1609 Fraud Data Science
1609 Fraud Data Science1609 Fraud Data Science
1609 Fraud Data Science
 
Survey on Credit Card Fraud Detection Using Different Data Mining Techniques
Survey on Credit Card Fraud Detection Using Different Data Mining TechniquesSurvey on Credit Card Fraud Detection Using Different Data Mining Techniques
Survey on Credit Card Fraud Detection Using Different Data Mining Techniques
 
Identity Proofing with OpenID Connect
Identity Proofing with OpenID ConnectIdentity Proofing with OpenID Connect
Identity Proofing with OpenID Connect
 
Debit card
Debit cardDebit card
Debit card
 
E banking security
E banking securityE banking security
E banking security
 

Ähnlich wie Hack in Cash out OWASP London

Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY
Syeda Tabia
 
The electronic payment systems
The electronic payment systemsThe electronic payment systems
The electronic payment systems
Vishal Singh
 
18 computers and the law
18   computers and the law18   computers and the law
18 computers and the law
Khan Yousafzai
 

Ähnlich wie Hack in Cash out OWASP London (20)

Ec ch5 e payment system
Ec ch5 e payment systemEc ch5 e payment system
Ec ch5 e payment system
 
The Target Breach – Follow The Money
The Target Breach – Follow The MoneyThe Target Breach – Follow The Money
The Target Breach – Follow The Money
 
Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY
 
Atm’s
Atm’sAtm’s
Atm’s
 
Eps
EpsEps
Eps
 
WEB PAYMENT SYSTEM
WEB PAYMENT SYSTEMWEB PAYMENT SYSTEM
WEB PAYMENT SYSTEM
 
What is A Smart Card
What is A Smart CardWhat is A Smart Card
What is A Smart Card
 
Online Payment Systems in Turkish E-Commerce: Merchant Experiences - 2013-10-...
Online Payment Systems in Turkish E-Commerce: Merchant Experiences - 2013-10-...Online Payment Systems in Turkish E-Commerce: Merchant Experiences - 2013-10-...
Online Payment Systems in Turkish E-Commerce: Merchant Experiences - 2013-10-...
 
Indjic fintech week 5
Indjic fintech week 5Indjic fintech week 5
Indjic fintech week 5
 
Unit 5
Unit 5Unit 5
Unit 5
 
Electronic Payment Fundamentals: When Tech Embracing Payment Industry
Electronic Payment Fundamentals: When Tech Embracing Payment IndustryElectronic Payment Fundamentals: When Tech Embracing Payment Industry
Electronic Payment Fundamentals: When Tech Embracing Payment Industry
 
The electronic payment systems
The electronic payment systemsThe electronic payment systems
The electronic payment systems
 
Payment systems for electronic commerce
Payment systems for electronic commercePayment systems for electronic commerce
Payment systems for electronic commerce
 
Digital Cash
Digital CashDigital Cash
Digital Cash
 
Plastic money and digital cash sept 2012 abbl card info
Plastic money and digital cash sept 2012 abbl card infoPlastic money and digital cash sept 2012 abbl card info
Plastic money and digital cash sept 2012 abbl card info
 
E payment
E paymentE payment
E payment
 
18 computers and the law
18   computers and the law18   computers and the law
18 computers and the law
 
Detecting fraud with Python and machine learning
Detecting fraud with Python and machine learningDetecting fraud with Python and machine learning
Detecting fraud with Python and machine learning
 
ELECTRONIC PAYMENT SYSTEM
ELECTRONIC PAYMENT SYSTEMELECTRONIC PAYMENT SYSTEM
ELECTRONIC PAYMENT SYSTEM
 
Electronic payment system
Electronic payment systemElectronic payment system
Electronic payment system
 

Mehr von Payment Village

СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемыСМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
Payment Village
 

Mehr von Payment Village (8)

Unlocking Any Door In The 21st Century. Immersion In Biometric Security.
Unlocking Any Door In The 21st Century. Immersion In Biometric Security.Unlocking Any Door In The 21st Century. Immersion In Biometric Security.
Unlocking Any Door In The 21st Century. Immersion In Biometric Security.
 
Offensive Payment Security
Offensive Payment SecurityOffensive Payment Security
Offensive Payment Security
 
The white whales of fraud and where to find them
The white whales of fraud and where to find themThe white whales of fraud and where to find them
The white whales of fraud and where to find them
 
Breaking banks or saving them
Breaking banks or saving themBreaking banks or saving them
Breaking banks or saving them
 
Ради денег. Безопасность платежных терминалов
Ради денег. Безопасность платежных терминаловРади денег. Безопасность платежных терминалов
Ради денег. Безопасность платежных терминалов
 
Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.
 
How to build Big Brother
How to build Big BrotherHow to build Big Brother
How to build Big Brother
 
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемыСМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
 

Kürzlich hochgeladen

The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
allensay1
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
yulianti213969
 

Kürzlich hochgeladen (20)

KOTA 💋 Call Girl 9827461493 Call Girls in Escort service book now
KOTA 💋 Call Girl 9827461493 Call Girls in  Escort service book nowKOTA 💋 Call Girl 9827461493 Call Girls in  Escort service book now
KOTA 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book nowGUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptxQSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
QSM Chap 10 Service Culture in Tourism and Hospitality Industry.pptx
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
KALYANI 💋 Call Girl 9827461493 Call Girls in Escort service book now
KALYANI 💋 Call Girl 9827461493 Call Girls in  Escort service book nowKALYANI 💋 Call Girl 9827461493 Call Girls in  Escort service book now
KALYANI 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur DubaiUAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Only Cash On Delivery Call Girls In Sikandarpur Gurgaon ❤️8448577510 ⊹Escorts...
Only Cash On Delivery Call Girls In Sikandarpur Gurgaon ❤️8448577510 ⊹Escorts...Only Cash On Delivery Call Girls In Sikandarpur Gurgaon ❤️8448577510 ⊹Escorts...
Only Cash On Delivery Call Girls In Sikandarpur Gurgaon ❤️8448577510 ⊹Escorts...
 
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service AvailableNashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
Nashik Call Girl Just Call 7091819311 Top Class Call Girl Service Available
 
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
 
Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
 
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTSJAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
 

Hack in Cash out OWASP London

  • 1. Hack in, Cash out Hacking and Securing Payment Technologies Tim Yunusov
  • 3. Main question of the payment pentest
  • 5. Get money from the bank From our own accounts
  • 6. Decisions, decisions… 4 accounts in 2018 4 accounts in 2019
  • 7. Card payment processing Endpoint Acquirer Card brands Issuer’s Authorisation host Card
  • 9.
  • 12. POS+RCE – is the instrument • EMV/NFC core real implementation • May contain a lot of bugs • Real payment process workflow • Payment packet • Configurations (limits, etc) • Offline authentication and risk management
  • 13. Example of the payment packet BER encoding • TLV – Tag Length Value Example • AA0105 [hex] • Tag – AA • Length – 1 byte • Value - 05
  • 14. Example of the payment packet https://tvr-decoder.appspot.com PAN/Track2/Expiry date Transaction date and time Amount and currency Type of the operation (payment, cashback, refund, other) Type of the cryptogram, cardholder verification method
  • 15. Attacks • Refund/reverse attacks • Chip & PIN attacks • Card testing
  • 17. Refund attacks Credit card Debit card Money movements Free infinite credit line
  • 18. Chip & PIN is still broken • 2005 University of Cambridge, https://murdoch.is/papers/cl05chipandspin.pdf • 2010 Inverse Path (F-Secure) / Aperture Labs https://cansecwest.com/csw11/Chip%20&%20Pin%20-%20Barisani%20&%20Bianco.pdf • Intercept PIN (ICC plaintext PIN verification) • Make transactions without PIN knowledge (“PIN OK” attack) • Downgrade to chip&signature
  • 19. Chip & PIN is still broken • CVM list – cardholder verification method list • CVM list is defined on the card • CVM List provides the terminal with four pieces of information on how an issuer wishes the cardholder to be verified: • CVM method (in priority) • Conditions of use • What if the CVM method is failed • Encrypted PIN if supports, then Unencrypted PIN if supports, the signature, than cancel • https://www.spotterswiki.com/emv/cardsearch.php • https://tvr-decoder.appspot.com • Offline data authentication – when POS checks that card and it’s data were genuine: SDA, DDA, CDA
  • 20. When hackers come • 2011, France https://eprint.iacr.org/2015/963.pdf • 40 cards • PIN-OK additional chip • 7000 transactions • 680,000 USD
  • 21. Chip & PIN is still broken • 2019, Europe • PIN interception, “PIN OK” attack, chip&signature downgrading • Why? • “Nowadays CVM is signed” (c) Inverse Path - CDA • Weak CVM Lists: PIN Online if unattended, PIN Offline elsewhere • Visa cards do not provide Offline Data Authentication • Card supports (DDA,CDA), terminal supports (DDA,CDA): • Terminal choose DDA • Terminal goes online if the offline authentication is failed
  • 22. Card testing • Balance testing for stolen cards • https://www.zdnet.com/article/hackers-abuse-magento-paypal- integration-to-test-validity-of-stolen-credit-cards/
  • 23. When hackers come first • Nov, 2016, 40,000 accounts, 9,000 successfully
  • 24. Card testing • 1 Dec 2016, Newcastle University • https://eprint.ncl.ac.uk/file_store/production/230123/19180242-D02E-47AC-BDB3-73C22D6E1FDB.pdf • Consecutive enumeration: • BIN (public DB) • PAN (online banking registration) • Expiry Date (refund, recipient of funds) • CVV (regular payment) • Postcode for AVS (different error)
  • 25. Card testing • 1 Dec 2016, Newcastle University • https://eprint.ncl.ac.uk/file_store/production/230123/19180242-D02E-47AC-BDB3-73C22D6E1FDB.pdf • Consecutive enumeration: • PAN (mobile banking registration) • Expiry Date (refund, recipient of funds) • CVV (regular payment) • Postcode for AVS (different error)
  • 26. Card testing • July 2018, Monzo
  • 28. Rounding • 1 GBP = 1,30 USD • 0.02 USD => float(0.0153; 2) == 0.02 GBP • 0.02 GBP => float(0.026; 2) == to 0.03 USD • Profit = 0.01 USD
  • 29. Rounding • 1 GBP = 1,30 USD • 0.02 USD => float(0.0153; 2) == 0.02 GBP • 0.02 GBP => float(0.026; 2) == to 0.03 USD • Profit = 0.01 USD
  • 30. Rounding • 1 GBP = 1,30 USD • 0.02 USD => float(0.0153; 2) == 0.02 GBP • 0.02 GBP => float(0.026; 2) == to 0.03 USD • Profit = 0.01 USD x10,000 • OTP bypass • Antifraud bypass • Don’t need to do everything manually
  • 31. Stat • Maximum amount per project – $463,843 in 3 days (in live) • In 2019 – 8/8 banks in Europe were potentially vulnerable to rounding, one bank has confirmed the vulnerability
  • 32. How to lose money during payment research • Startup, which “allows you to spend money from any of your accounts using just one * Card” - *1234 • Connect any of your cards in the mobile app • When you pay from the card *1234, money will be withdrawn from the card you’ve chosen and connected (*5678) • What if we will use Card2Card and send From *1234 To *5678 • Just a regular transaction for *5678 • We will get a cashback!
  • 33. How to lose money during payment research • Send £100 • Money were withdrawn twice! • Waited 5+ days • Used 3 different card2card services • Used 3 different cards, connected in the app
  • 34. How to lose money during payment research
  • 35. How to lose money during payment research https://medium.com/@Tim_Y/how-to-lose-money-during-payment-research-or-in- searching-for-financial-ombudsman-5047bff89bc2
  • 36.
  • 37. Who will pay? • Not all vendors/banks are the same • Risk-based model doesn’t care “where’s the money”, but “how much money” Bugbounty company from Google 1. Found vulnerability 2. Reported with lowest CVSS/out of scope 3. Thanks, $$$ 4. Now vulnerabilities won’t be used in the wild Bank “A” 1. Found vulnerabilitity 2. Reported medium CVSS 3. It’s not been used in the wild 4. Vulnerabilities still can be used in the wild