EMV 3DS Issue: Decrypting ARes.acsSignedContent

EMV 3DS Issue: Decrypting ARes.acsSignedContent

Microsoft recently diagnosed and resolved a tricky issue in our 3DS SDK. I'm sharing the details here in case it helps other merchants and ACS providers.

Symptom

In an app-based EMVCo 3DS authentication flow, there is session key generation using ephemeral keys based on elliptic curve cryptography. Contents of the authentication message are then encrypted, including the ARes.acsSignedContent field. Microsoft encountered an issue with the public keys returned in the ARes.acsSignedContent field from some ACS providers, resulting in our 3DS SDK throwing an error. The Microsoft SDK then sends a 001 (ACS Signed content verification failure) or 100 (Unknown Failure) error code in the error message to the ACS.

Impact

Currently (January 2021) 40% of Microsoft EMV 3DS challenge attempts fail with an error. Approximately 1/5 of these errors are caused by this issue.

Root Cause

Microsoft’s 3DS SDK expects the signed bits from the ACS to return with a length of 32 bytes for each of the X and Y coordinates. We noticed that some ACS providers who use Java BigInteger.toByteArray() to format the X and Y coordinate are returning 33 bytes for the coordinates. The details of why 33 bytes are returned are explained in this Stack Overflow forum thread:

The EMVCo 3DS specification does not specify or set a standard for how the X,Y coordinate array should be represented. It is therefore possible that a 3DS SDK and an ACS can process these coordinates differently, resulting in an error.

Fix

Microsoft has updated our 3DS SDK to handle EC public key coordinate sizes of both 32 and 33 bytes. Onward!

Fábio Cegali

Fraud, Compliance and Cyber Security Expert

2 年

Marcelo Liberato, sobre o que tinha te comentado quando falamos do issue dos 2 pontos…

Jan-Bas Pietersen

Product Manager - Authentication & Consent

4 年

Many thanks for sharing! René Post and Glenn Mac Donald and Axel Beune and Hannie Wielens

Peter O'Halloran

Vice President, Head of Enterprise & Digital Commerce, EMEA at Fiserv.

4 年

Thanks Dean

回复
Florian Jensen

Fintech & Risk (ex-Uber, Glovo, Scalapay)

4 年

Thanks for sharing! Makes me wonder now if this is the source of some of the technical errors we see too.

Nicolas Adolph

EPSM, European Payment Association, Chairman

4 年

I think this analysis can be very helpful for many market participants! Thank you for the hard work and this sharing! (I have shared it also to EPSM members internally.)

回复

要查看或添加评论,请登录

Dean Jordaan的更多文章

  • SCA Performance - November 2021

    SCA Performance - November 2021

    Summary The overall picture for Europe (excl UK) improved marginally for Microsoft in November. Authentication success…

  • SCA Performance - October 2021

    SCA Performance - October 2021

    Summary The overall picture for Europe (excl UK) worsened for Microsoft in October because we increased the share of…

    5 条评论
  • SCA Performance - September 2021

    SCA Performance - September 2021

    Summary The overall picture for Europe (excl UK) worsened for Microsoft in September because we increased the share of…

    3 条评论
  • SCA Performance - August 2021

    SCA Performance - August 2021

    Summary The overall picture for Europe (excl UK) is the same - authentication success rates are too low (76%)…

    4 条评论
  • SCA Performance - July 2021

    SCA Performance - July 2021

    Key Performance Indicators - Visa/Mastercard Visa/Mastercard performance for July, EU excl UK: The Microsoft SCA…

  • SCA Performance - June 2021

    SCA Performance - June 2021

    Key Performance Indicators - Visa/Mastercard Visa/Mastercard performance for June, EU excl UK: The Microsoft SCA…

    2 条评论
  • How About Trusted Listing

    How About Trusted Listing

    The Payment Services Directive 2 (PSD2) Regulatory Technical Standard (RTS) defines a set of exemption scenarios under…

    2 条评论
  • SCA Performance - May 2021

    SCA Performance - May 2021

    Key Performance Indicators - Visa/Mastercard Visa/Mastercard performance for May, EU excl UK: App-based (mobile +…

    11 条评论
  • SCA Performance - April 2021

    SCA Performance - April 2021

    Key Performance Indicators - Visa/Mastercard Visa/Mastercard performance for April showed some improvement. But this is…

    6 条评论
  • SCA Performance - March 2021

    SCA Performance - March 2021

    Key Performance Indicators - Visa/Mastercard Visa/Mastercard performance in March was similar to January/February. EU…

    6 条评论

社区洞察

其他会员也浏览了