Documente Academic
Documente Profesional
Documente Cultură
Dhiru Kholia
June 9, 2016
v1.00
KTH Royal Institute of Technology
About Dhiru
@DhiruKholia on Twitter
https://github.com/kholia
1/44
Anti-Piracy Notice
You may use this work to backup only your own Audible audiobooks.
Respect the authors, they need to eat too.
2/44
Responsible Disclosure
3/44
Full Disclosure
This work was completed around July, 2015 when I was employed at
Spotify AB. Needless to say, this caused some friction at work.
4/44
Agenda
About Audible
DRM problems
Existing Work
Reversing Audible
Breaking DRM
DEMO :-)
5/44
About Audible
6/44
DRM (Digital Rights Management) problems
7/44
DRM graveyard?
M$ Zune, M$ Reader
Fictionwise
8/44
DRM in a coffee machine?
9/44
DRM in near future?
10/44
DMCA
11/44
Sanity prevails in Europe?
Support EFF!
12/44
Our Position
13/44
14/44
Audible - How it works?
15/44
Ofcial Audible Software
16/44
AA, AAX and AAX+ le formats
AAX (and AAX+) are the top-tier Audible audio quality formats
17/44
Existing Work
18/44
Limitations of existing work
This said, this existing work is good enough, and sufcient for all
practical purposes
19/44
Our Results
All the Audible le formats (AA, AAX, AAX+) are fully supported!
20/44
Borrowing audio books
21/44
Audible DRM
22/44
DRM stripping + reversing strategies
23/44
Wine with patched audio API
24/44
DynamoRIO
25/44
Reversing Audible
26/44
Audible Manager (target)
27/44
Authentication Security
for c in password:
t = ord(c) - shift
output = output + "{:02x}".format(t)
return output
28/44
AAX / AAX+ Key Derivation
Windows Registry
29/44
Snooping on the Audible Manager activation process
Link registry keys with activation data and the key derivation
function
30/44
Inputs for Key Derivation
31/44
Weaknesses in the KDF
A user needs to use the Rainbow Tables only once (for all his
purchases, including the ones to come)
32/44
AAX KDF in a nutshell
33/44
Game Over?
34/44
AA le format and Key Derivation
35/44
Mitigations and xes
36/44
Responsible Disclosure
37/44
DEMO!
38/44
Results
39/44
Credits
Jakob Heinemann
ExifTool
40/44
Credits
41/44
Source Code
https://github.com/kholia/inAudible
42/44
Thanks
Alex Rad
43/44
Questions?
43/44
Thank You!
44/44