Slashdot Mirror


Amazon Kindle Proprietary Format Broken

An anonymous reader writes "The Register reports that the proprietary document format used by the Amazon online store and Amazon's Kindle has been successfully reverse engineered, allowing these DRM-protected documents to be converted into the open MOBI format. Users of alternative e-book readers rejoice." Here are the hacker's notes on the program he is calling "Unswindle," and here is the (translated) forum where the Kindle challenge was posed and answered.

31 of 203 comments (clear)

  1. Old old story. by CountBrass · · Score: 5, Informative

    There have been a set of python scripts around for more than a year and a half that allow you decrypt Kindle files to mobi. The challenge has always been in dealing with Topaz files and, unless I am missing something, they still haven't been cracked.

    --
    Bad analogies are like waxing a monkey with a rainbow.
    1. Re:Old old story. by Anonymous Coward · · Score: 5, Informative

      This removes the drm from the books downloaded using the Kindle for PC app.

      As you mentioned, the scripts you linked to have been around for a while but only remove the drm from the actual kindle and kindle for iphone books.
      So, if you have an iphone or a kindle this doesn't really change much as you could already do it. This would be useful for anyone that is only able to get their books through the Kindle for PC app.

    2. Re:Old old story. by think_nix · · Score: 4, Insightful

      Not only that but also Jessie Vincent showed at oscon (his 5 minute speech starts at 2:13 on the video) How he already reversed engineered and installed ubuntu 9.04 on the Kindle. After watching his presentation and hearing about all the crap amazon actually does with these things, I am surprised anyone would still even consider buying one.

    3. Re:Old old story. by AndGodSed · · Score: 5, Insightful

      the THEY you are referring to are the uninformed masses. THEY have the buying power and THEY generally trust the large corporations more than they trust the informed among us, because there is a mentality of "If I saw it on TV (or amazon.com for that matter) it MUST be more trustworthy than the neighbourhood geek"

      Sigh... we geeks really have to work on our marketing... we need an image consultant!

    4. Re:Old old story. by Opportunist · · Score: 3, Insightful

      The faith in "professionalism" is stunning. But even more so in titles and price.

      When I was fixing computers for 10 bucks an hour and calling myself "computer repair guy", I was pestered and belittled and if only the tinyest bit didn't work out (usually because of user stupidity) I was blamed and indirectly accused that I don't know what I'm doing.

      Since I started charging 100 bucks an hour and calling myself a "senior IT consultant", not only do I no longer have to do any work (instead, I just tell people what to do) but I also am seen as the demigod who can miraculously cure any sickness that may have befouled the computer, no matter how long it takes or how little I actually accomplish.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    5. Re:Old old story. by surferx0 · · Score: 4, Insightful

      the THEY you are referring to are the uninformed masses. THEY have the buying power and THEY generally trust the large corporations more than they trust the informed among us, because there is a mentality of "If I saw it on TV (or amazon.com for that matter) it MUST be more trustworthy than the neighbourhood geek"

      That is because the large corporation is in fact almost always is more trustworthy than the neighborhood geek. There is absolutely no way for an average joe to distinguish a geek who really knows their stuff from a geek who knows just enough to be dangerous, the latter being the category most of your neighborhood geeks will fall into.

      As someone who has worked in end-user computer services for a number of years, it's pretty much a daily occurrence seeing whacked out stuff that the neighborhood geeks try to do, which either makes the problem worse or works around the problem but confuses the customer enough that they still can't use their computer for what they wanted anyway.

      Most neighborhood geeks just don't understand that the average person does not use computers like we do and have no desire to learn how to. At least the large corporations making end-user products make a serious attempt at creating something usable for the masses. Some are obviously more successful than others, but in any case the neighborhood geek will typically only be interested in making something usable for themselves.

    6. Re:Old old story. by Keeper+Of+Keys · · Score: 3, Funny

      This is indeed annoying. I find my computer whisperer abilities are significantly enhanced by proximity.

  2. Convert everything you have quick by Mr.+Freeman · · Score: 5, Insightful

    I'd suggest converting every book you own really fucking quick. No telling how long it will take Amazon to make a similar format that will take another year or so to break. You can bet that once they do, they'll remotely switch everyone's ebooks over to that new format and then push a firmware upgrade to ensure compliance.

    --
    -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
    1. Re:Convert everything you have quick by Duradin · · Score: 3, Interesting

      Sumerian clay tablets with cuneiform script have been readable for thousands of years, what's the chance that your book will still be readable in 5000 years?

      I don't think anyone is buying a kindle and expecting it to outlast the ages. Kindles are a lot more convenient than lugging around clay tablets.

  3. Too early by OpenSourced · · Score: 3, Interesting

    Better to have waited a couple of years more, till much more books had been published in the DRM'd format. Publishers were starting to warm to the Kindle, and now they will retrench like timid snails.

    --
    Rome taught me patience and assiduous application to detail. Virtues which temper the boldness of great, general views.
    1. Re:Too early by wvmarle · · Score: 5, Interesting

      If publishers were really thinking that, they were not really smart.

      DRM has two sides. The content producer, and the consumer. Both lose control to the DRM provider. Look at iTunes and the ITMS. Apple got a virtual monopoly on digital music players, so any music publisher wanting DRM and sell music online and wanting to have an audience larger than 10 would have to go to Apple. Apple knew that. It gave them a lot of pricing power and control.

      Now the music publishers realised that, and have started to sell non-DRM music, so they can at least dictate the terms again. There is competition between the stores: they all want to sell music.

      At the moment ebooks go the same way. Amazon is a giant, their Kindle is very popular. If a publisher wants to sell DRMed books, they have to go the Amazon/Kindle route. Great for Amazon: they have a double monopoly (readers and content). Not good for authors and publishers. Amazon can demand a greater profit on sales than in an open market, and if Amazon doesn't like your title too bad. You can not go for another DRM as the most common reader can not read it.

      I have argued the same before, and will continue to do: DRM goes away because it gives all control to the DRM provider. And the content provider (music labels, publishers, authors, movie studios, TV channels, etc) have to sing to their tune. On top of that it fragments the market: imagine, you are an author, you want to publish your book, and not knowing much about digital technology and distribution you want to "protect it against copying because otherwise everyone will steal my work" so you want to add that cool DRM technology. Then you have a choice of distributors: you could go with DRM1 and you get 40% market share, as their DRM1Reader has a 40% share of e-book readers. Or you could go with DRM2 and you get 30%. DRM3 and DRM4 each have 15% market share. And neither allows you to license to anyone else, so you can not reach more than 40% of the market.

      Of course everyone will go to the DRM1 company to grab the largest distribution potential for their work, which then grows and grows and grows to say 80% of the market. And has full control over everything: distribution, pricing, commission for themselves, whether or not to promote/feature your work, etc.

      That is what happened to Apple's iTunes. And that is the real reason why everyone is now selling DRM free music. Not because consumers do not like it because in this game no-one cares about the consumer as long as they consume. But the content owners lose control over their content, and lose sales.

    2. Re:Too early by b1t+r0t · · Score: 4, Interesting

      You make it sound like the DRM in iTMS was all Apple's idea. Guess what? The labels required it. All Apple did was say "this DRM format is ours and ours only". They never prevented you from playing un-DRMed music. Nor did they default to ripping CDs in DRM format like (IIRC) Windows Media Player did. Apple took longer to remove DRM music than other music stores simply because they had to wait for existing contracts to expire.

      Are you so sure that Apple's plan was to make themselves a (pseudo-) monopoly through their DRM? Or maybe the plan all along was to make the DRM distasteful enough for the labels that eventually they would give it up?

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
  4. Priceless quotes... by tyroneking · · Score: 4, Funny

    .. from the forum that was linked into from Slashdot (well done for that btw kd)...

    "Wow, you're a little scary! Well done." - I will use this the very next time one of my developer colleagues finally does a decent job.
    "If Guy says you gun, you cannon. No arguments about!" - I will use this the next time one of my project manager "colleagues" puts his/her foot down about something technical that they don't know anything about.
    "Already finished rope hook" - I will use this the next time I am telling a colleague that their code or document was so bad that instead of a review I had to re-write the whole thing.

    The best quote of course is the new term "Open DRM" that one of the posters has coined. Genius! We should use that as a tag for all similar posts.

  5. Don't be nearsighted by Mathinker · · Score: 4, Insightful

    Just like with music, the publishers have to be convinced that DRM is worthless (as it actually is for the vast majority of text) so that we will eventually be able to buy non-DRMed ebooks.

    This is just one tiny step on that path. The publishers haven't even gotten to the "if we sue them piracy will be controlled" stage yet. One wonders if they will understand its futility and skip it.

  6. Yeah. Right. by RobotRunAmok · · Score: 4, Insightful

    More like; "Amazon-dot-com and shareholders rejoice, as more people can now read your files, therefore you make more money from increased e-book sales."

    You really think so? You figure the hackers were disgruntled Amazon shareholders working to increase their quarterly dividends? My perception is that this will result in increased piracy, i.e., distribution through non-authorized channels from whom the authors of the books are not compensated.

  7. Re:Yeah. Right. by Winckle · · Score: 4, Informative

    If you want a pirated book it's easy enough to get a hold of, there are ebooks all over torrent sites and usenet. Even private ebook only trackers. And they are more likely to be in plain-text formats or epub making them better than the amazon equivalents.

  8. Re:Users of alternative e-book readers rejoice. by dangitman · · Score: 3, Insightful

    For the most part, they loose money on each ebook sale.

    Huh? Amazon often sells e-books for as much (or even more) than the price of a printed book. Seeing as there are no costs for storage and shipping, the profits should be larger than on printed books. From where do you get this idea that Amazon loses money on e-book sales?

    --
    ... and then they built the supercollider.
  9. ... produced by automatic translation by winterice · · Score: 3, Informative

    You are, of course, aware that with the exception of the first quote, the quotes are simply mangled automatic-translations (from Hebrew) by Google-Translate? For example, you may be disappointed to find out that the (excellent) new term "Open DRM" was not even used in the original text. In fact, it was something along the lines of: " I come back and see that you already managed to crack open the DRM".

    1. Re:... produced by automatic translation by tyroneking · · Score: 3, Funny

      Yeah - I got that already :)

      You've got to love the new language that Google Translate seems to generate, esp from Hebrew - it's like a whole new generation of 'all your bases...'

    2. Re:... produced by automatic translation by larry+bagina · · Score: 4, Funny
      hbrw hs n vwls, s y cn s hw tmtc trnsltn mght gt t wrng.

      (ahem, Hebrew has no vowels...)

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

  10. Re:Nothing new? by Anonymous Coward · · Score: 5, Informative

    Wait, I've been using MobiDeDRM for a while with my Kindle's Mobi serial number to strip the DRM and leave me with Mobi files. How is this different, exactly?

    This gets the Mobi serial number from the Kindle For PC application. Now you don't need to own a Kindle or iPhone to buy Kindle books.

  11. Re:Users of alternative e-book readers rejoice. by CrackedButter · · Score: 3, Informative

    You and the parent don't understand the difference between 'lose' and 'loose'.

  12. the real story here... by hAckz0r · · Score: 4, Insightful

    If DRM is not locked inside of a closed black metal box, with anti-tamper seals, then it can always be reverse engineered. Once Kindle readers became available on the PC I knew it would be a matter of time before the DRM format was broken and utilities made available. What did surprise me here was that much headway had already been made by the ones hacking the Kindle hardware/OS already. The DRM had long been defeated. The sad part is that the people that pay for all that DRM 'technology' (the people who buy the DRM'ed books) are never going to be able to easily use the great software such as Calibre, which could make managing all these devices so much easier, sans the DRM. The legal aspects with circumventing DRM will always prevent the ability to have a ubiquitous software platform capable of reading any format that happens to be available from any publisher. I for one would buy much more from any publisher who would publish 'real books' (i.e. not best sellers list only) in a format I can really use. One day they will realize that all the money was wasted on DRM technology, and was merely passing for modern day 'snake oil'. DRM is a loosing battle that need not be fought because it only takes one disgruntled geek to undo all the millions spent on that failed technology. DRM will never increase sales, as the market forces are still just a matter of supply and demand. There is no upside to DRM except for those selling the technology itself. Everyone else, including the content providers themselves, loose in the long run.

    1. Re:the real story here... by base3 · · Score: 4, Insightful

      DRM doesn't make any sense on books. No one even has to "crack" it -- it only takes one person with access to type the book into an open format and distribute it. The publishers can either suck it up and realize this, or lose out to the pirates who provide a better, more convenient product for zero cost.

      --
      One CPU cycle wasted on digital restrictions management is ONE TOO MANY.
  13. Re:Not so much by jimicus · · Score: 3, Interesting

    I've been walking around with DRM-free files for over a year. Anyway, after stripping of them of DRM, I changed the filenames, and added prefixes to the titles (my real goal) to "categorize" them, which is why I wanted to unDRM them in the first place--adding text prefixes to the titles to indicate category makes it easier to use a Kindle without folder capability.

    If Amazon really wanted to, they could easily identify their own books on the Kindle regardless of what messing around you've done.

    The obvious way would be to put in the occasional misprint - an extra space or punctuation mark would be the easiest, though the odd mis-spelled word would also work - and check for it in a firmware update later. IIRC there are cases of publishers doing exactly this to determine if works they publish were being infringed upon. Put in enough little things like this (and in a book you've got space for hundreds without anyone really noticing) and the only way to avoid it is to retype the whole thing.

    Though I'm sure some enterprising fellow somewhere will reply to this with a five-line Perl script which takes a block of text, removes extraneous spaces, adds a few of its own, corrects existing mis-spellings and adds a few new ones and also messes with the punctuation, all of which without impacting the readability of the text.

  14. Re:Users of alternative e-book readers rejoice. by wvmarle · · Score: 3, Informative

    Nonono.

    Read that quote from GP again:

    For the most part, they loose money on each ebook sale.

    OK the grammar is a bit whacky but what he meant is of course that the profit margin is so huge that they end up with some money lying around loose because nobody knows what to do with all that spare change.

  15. Re:Users of alternative e-book readers rejoice. by Hurricane78 · · Score: 4, Funny

    Somehow we have to invent a one-sentence explanation, that explains “loose” by linking to a Goatse pic, and “lose” as what happens to you, if you actually click that link. ^^

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  16. Re:Nothing new? by pla · · Score: 4, Informative

    The question is, why would anyone want to do that?

    Because Amazon has a good storefront for buying eBooks of a known quality in a consistent format. You don't need to deal with 6 different formats, 27 different storefronts, and quality going as low as scans of the actual pages.


    I don't like reading books in the PC

    Some people don't mind it. More importantly, plenty of devices other than the Kindle or iPhone exist on which you might read eBooks... Netbooks, for instance (basically just PCs, but they finally hit a sweet spot between utility, weight, and battery life), or non-Amazon/Apple-approved smartphones.


    I would rather buy a physical copy (to pay the author) and then download a digital copy from torrents or whatever than support DRM infested products.

    I suspect most of us agree with you on that - However, the legality between the two differs radically. Stripping DRM for purposes of interoperability might count as a protected use (IANAL); downloading a torrent definitely does not. Also, keep in mind that publishers have increasingly tried to play the "X different products" game, claiming that the dead-tree edition requires a separate purchase from the eBook which requires a separate purchase from the audiobook (even if digitally produced) - Geeks tend to scoff at that sort of thinking, but the courts sadly haven't caught on to it as nothing more than a shell-game yet.

  17. Re:Finally we can lend our books to friends! by OldeTimeGeek · · Score: 3, Insightful
    Not even remotely the same thing. When I lend out a book, I no longer have access to it. If the lendee forgets where it came from and lends it to someone else or sells it (yes, it happened to me), the only way I'm ever going to read it again is to buy another copy or try to find it in a library.

    With e-books you aren't "lending", you're merely making a copy...

  18. Re:DRM or not, I just don't get it... by Abcd1234 · · Score: 3, Informative

    There are a number of advantages:

    1) Lots of content available in a small package. You can carry a library with you wherever you go, which is fantastic for travel (who wants to haul around multiple books in a carry-on?).

    2) Easy to purchase new content quickly. Out of books? Buy another one and it's there and available in seconds.

    3) No bookmarks. An e-reader remembers exactly where I was at any given time.

    4) No need to hold a damn book open. Combined with 3, it's suddenly practical to read while standing on the bus, waiting in line at the grocery store with a basket in one hand, etc, not to mention enabling more comfortable reading positions at home (lying on one's side in bed, lying the book on your lap or propped up on your knees, etc). And it's a lot less fatiguing on the hands.

    5) You can easily change font sizes (this is a killer feature for a kindle owner I know). Do you have poor vision? Are your eyes just tired? Crank up the point size and you're good to go.

    Of course, there are plenty of disadvantages, not the least of which is the lack of that wonderful smell of paper, and the tactile sensations as you turn the page and handle the book, hence why I would never completely replace my paper library with a digital one. But the advantages mean that I typically split my time, switching between reading electronic and paper books.

  19. Re:Users of alternative e-book readers rejoice. by bcrowell · · Score: 3, Informative

    Ummm, the techdirt article is based on an unsourced report - and if you look at the article that techdirt links to, it's a totally unsubstantiated piece of garbage, Are you really going to believe Amazon is losing money on every e-book transaction because of this nonsense article? No "facts" are provided, just unfounded conjecture.

    This NY Times article says the same thing: "American publishers chafe over Amazon's pricing policy for the Kindle, under which it generally sells digital versions of best sellers at $9.99 - less than the wholesale price that Amazon pays for many of these books."

    So does this article on Slate: "For a typical hardback that retails for $26--say, E.L. Doctorow's Homer & Langley--Amazon pays $13 and then sells it for $9.99 on the Kindle, taking a $3 loss on each sale." The same article also ran in Newsweek.

    Here is an article at Publisher's Weekly: "That Amazon is currently treating the bulk of Kindle editions as loss leaders--items it either breaks even on or loses on to build market share in e-book sales and to fuel the growth of the Kindle--is one of the worrisome aspects of the current system."

    Seems like a remarkable journalistic conspiracy by The New York Times, Slate, Newsweek, and Publisher's Weekly to cover up the truth. Or do you imagine that all these publications ran stories by all these reporters without making sure that the statements in them had sources?

    When someone has pointed out that you've made a factual error, usually the best response isn't to get angry.