what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Microsoft PlayReady Cryptography Weakness

Microsoft PlayReady Cryptography Weakness
Posted May 1, 2024
Authored by Adam Gowdiak | Site security-explorations.com

There is yet another attack possible against Protected Media Path process beyond the one involving two global XOR keys. The new attack may also result in the extraction of a plaintext content key value.

tags | advisory
SHA-256 | 624d62ae93c4eb9ee488a2e78ae15c8b8b941fc79346a6f1e3994060ab88fc9b

Microsoft PlayReady Cryptography Weakness

Change Mirror Download
Hello All,

There is yet another attack possible against Protected Media Path
process beyond the one involving two global XOR keys [1]. The new
attack may also result in the extraction of a plaintext content key
value.

The attack has its origin in a white-box crypto [2] implementation.
More specifically, one can devise plaintext content key from white-box
crypto data structures of which goal is to make such a reconstruction
difficult / not possible. This alone breaks one of the main security
objective of white-box cryptography which is to protect the secret key
(unbreakability) [3].

Contrary to the initial (XOR key) attack, the white-box crypto attack
is not limited to the given narrow time window (white-box data
structures need to be present for the time of a movie decryption /
playback). Fixing it might require a completely new approach /
implementation (current one is obviously flawed).

In that context, white-box crypto attack seems to be more severe than
the XOR key one.

Additionally, a cryptographic check proving that extracted key values
correspond to real keys has been conducted for Canal+ Online, Netflix,
HBO Max, Amazon Prime Video and Sky Showtime.

The check relies on a digital cryptographic signature verification.
Such a signature is appended at the end of each license issued by
PlayReady license server.

The crypto check works as following:
- plaintext value of a digital signature key encrypted through ECC is
extracted from a Protected Media Path process
- the extracted signature key is used to calculate the AES-CMAC value
of a binary licence XMR blob
- the calculated signature value is checked against the signature
appended at the end of the issued license
- correct AES-CMAC value implicates correct signature key (and correct
content key)

The above mechanism is also used by Microsoft to verify the
correctness of decrypted content keys received from a license server.
It relies on the fact that signature key is part of the same encrypted
license blob as content key. Thus, successful extraction of a
signature key implicates successful extraction of a content key.

In the context of no confirmation / denial [4] from the platforms
indicated above as being affected, the crypto check should constitute
sufficient proof to support that claim alone.

Thank you.

Best Regards,
Adam Gowdiak

----------------------------------
Security Explorations -
AG Security Research Lab
https://security-explorations.com
----------------------------------

References:
[1] Microsoft Warbird and PMP security research
https://security-explorations.com/microsoft-warbird-pmp.html
[2] White-box cryptography, Wikipedia
https://en.wikipedia.org/wiki/White-box_cryptography
[3] White-Box Security Notions for Symmetric Encryption Schemes
https://eprint.iacr.org/2013/523.pdf
[4] Microsoft DRM Hack Could Allow Movie Downloads From Popular
Streaming Services
https://www.securityweek.com/microsoft-drm-hacking-could-allow-movie-downloads-from-popular-streaming-services/

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close