SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

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”...aditi agarwal
 
3-D Secure 2.0
3-D Secure 2.03-D Secure 2.0
3-D Secure 2.0Netcetera
 
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 DetectionIOSR Journals
 
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 MeasuresNisum
 
Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2Pay Easy Solutions Internationalv2
Pay Easy Solutions Internationalv2davidlambert1978
 
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 SurveyIJMER
 
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 #GIH16Gran Via Online
 
Pay Easy Solutions International
Pay Easy Solutions InternationalPay Easy Solutions International
Pay Easy Solutions Internationaljeanieaguilar
 
eCommerce Payment Gateways: An Introduction
eCommerce Payment Gateways: An IntroductioneCommerce Payment Gateways: An Introduction
eCommerce Payment Gateways: An IntroductionAidanChard
 
Innovative Payment Solutions
Innovative Payment SolutionsInnovative Payment Solutions
Innovative Payment SolutionsNetcetera
 
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 Techniquesijsrd.com
 
Identity Proofing with OpenID Connect
Identity Proofing with OpenID ConnectIdentity Proofing with OpenID Connect
Identity Proofing with OpenID ConnectTorsten Lodderstedt
 

La actualidad más candente (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
 

Similar a Hack in Cash out OWASP London

The Target Breach – Follow The Money
The Target Breach – Follow The MoneyThe Target Breach – Follow The Money
The Target Breach – Follow The MoneyResilient Systems
 
Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY Chapter 15: GETTING THE MONEY
Chapter 15: GETTING THE MONEY Syeda Tabia
 
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-...Hakan ERDOGAN
 
Indjic fintech week 5
Indjic fintech week 5Indjic fintech week 5
Indjic fintech week 5Drago Indjic
 
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 IndustryGoutama Bachtiar
 
The electronic payment systems
The electronic payment systemsThe electronic payment systems
The electronic payment systemsVishal Singh
 
Payment systems for electronic commerce
Payment systems for electronic commercePayment systems for electronic commerce
Payment systems for electronic commerceNishant Pahad
 
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 infoShihab Uddin Khan
 
18 computers and the law
18   computers and the law18   computers and the law
18 computers and the lawKhan Yousafzai
 
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 learningwgyn
 
ELECTRONIC PAYMENT SYSTEM
ELECTRONIC PAYMENT SYSTEMELECTRONIC PAYMENT SYSTEM
ELECTRONIC PAYMENT SYSTEM60ml
 
Electronic payment system
Electronic payment systemElectronic payment system
Electronic payment system60ml
 

Similar a 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
 

Más de Payment Village

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.Payment Village
 
Offensive Payment Security
Offensive Payment SecurityOffensive Payment Security
Offensive Payment SecurityPayment Village
 
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 themPayment Village
 
Breaking banks or saving them
Breaking banks or saving themBreaking banks or saving them
Breaking banks or saving themPayment Village
 
Ради денег. Безопасность платежных терминалов
Ради денег. Безопасность платежных терминаловРади денег. Безопасность платежных терминалов
Ради денег. Безопасность платежных терминаловPayment Village
 
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.Payment Village
 
How to build Big Brother
How to build Big BrotherHow to build Big Brother
How to build Big BrotherPayment Village
 
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемыСМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемыPayment Village
 

Más de 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
 
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемыСМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
СМС – «золотой» стандарт двухфакторной аутентификации. Актуальные проблемы
 

Último

Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfCatalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfOrient Homes
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docxRodelinaLaud
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewasmakika9823
 

Último (20)

Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfCatalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
DEPED Work From Home WORKWEEK-PLAN.docx
DEPED Work From Home  WORKWEEK-PLAN.docxDEPED Work From Home  WORKWEEK-PLAN.docx
DEPED Work From Home WORKWEEK-PLAN.docx
 
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service DewasVip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
Vip Dewas Call Girls #9907093804 Contact Number Escorts Service Dewas
 

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