The password that I remember can't open the .DMG Encrypted Disk Image

Discussion in 'macOS' started by mayankpin, Feb 15, 2010.

  1. mayankpin macrumors newbie

    Joined:
    Feb 15, 2010
    #1
    I made a new disk image with the following properties -
    Volume Format - Mac OS Extended (Journaled), Encryption - 256 bit AES Encryption, Single Partition - Apple Partition Map, Image Format - read/write disk image.

    I set the password as
    F^@m1t10s^kh

    Thereafter, I saved two important files in it. After which I deleted the files from the original source folders & emptied the trash. When I tried to open the .dmg image, I can't as the password does not match. Since this happened immediately I can be sure that the password that I remember is 95% correct. There could be a 5% error.

    How do I crack the password ?
    The convention used to create the password was - ^ instead of u, @ instead of a, 1 instead of i, & again ^ instead of u. I have a feeling that I might have made a similar replacement for the s, k, or h. I tried all permutations assuming the rest of the digits to be correct, but to no avail.

    Please help.
     
  2. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #2
    You will have to "remember" or guess the correct password based on your memory
    Because you will never "crack" or break it

    Woof, Woof - Dawg [​IMG]
     
  3. pit29 macrumors 6502a

    pit29

    Joined:
    May 23, 2006
    Location:
    The Golden State
    #3
    Try the easy things. Upper/lowercase. Type the password in TextEdit and then paste it to the dialog (or have the dialog show it to you). On my keyboard, typing ^ and then a yields â, for example. That could be what you need for your password, or that could be what you don't want to have.

    Otherwise, I'm with MacDawg - if you don't manage to remember it, your two important files will be lost. Or do you have a backup - external HD, TimeMachine - from before you moved them to the disc image?

    Good luck!
     
  4. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #4
    I tried upper / lower case, with all alphabets. I have been using the "Show password" feature all through, while trying to get the right one. On my keyboard ^ & a does not convert to something else. So that could not be the problem. Also I copied these files from my office Windows network & pasted into Mac desktop, then copied into the Disk image. After that I deleted the files from the desktop & emptied the trash. Also I deleted the files from the office server with shift delete. I did try the undelete software in Windows which got a poor version of the file. Undelete from Mac is more cumbersome & still working on that.

    Don't you think that I have a better chance with some brute force cracker as I have the password 95% correct. Some algorithm can manage the balance with some more permutations & combinations quickly.

    Thanks in advance.
     
  5. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #5
    Brute force with 256 bit AES? Not likely
    And you say you have 95% correct, but you really can't even be sure what parts you have right

    I don't know that much about brute force cracks available for the Mac, but I am not even sure you can input that 95%

    You would probably have more success recovering the deleted file

    Woof, Woof - Dawg [​IMG]
     
  6. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #6
    I am sure about the F^@m1t10 after that not sure what variant I used for 'sukh'.

    I am using Data Rescue3 for the file recovery in the Macbook. The problem is I get thousands of reconstructed files. There is no way to search for the content of the files. It allows you to search within the reconstructed file names. But the names are not the name of the original file, as that is lost once deleted from trash. I have previewed all the reconstructed xls files, but these are not the files I am looking for. So that leaves from to try to crack this disk image.
     
  7. emt1 macrumors 65816

    Joined:
    Jan 30, 2008
    Location:
    Wisconsin
    #7
    I think the program MacKrack can handle dmg files. Please let us know if anything works
     
  8. J the Ninja macrumors 68000

    Joined:
    Jul 14, 2008
    #8
    It's AES-256. You aren't getting in without that password. Period.
     
  9. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #9
    I downloaded MacKrack, & tried to work on it. But I guess I would need help on that, with my kind of situation.

    What do I select in dictionary, password file, keyspace, Codes, Files, & Passwd. There is no help in the accompanying Read Me.
     
  10. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #10
    How about some help with Data Rescue, then ?
     
  11. emt1 macrumors 65816

    Joined:
    Jan 30, 2008
    Location:
    Wisconsin
    #11
    Encryption scheme doesn't matter when you brute force
     
  12. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #12
    link

    Woof, Woof - Dawg [​IMG]
     
  13. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #13
    Does nearly knowing the password not help reducing the Estimated Time to within reasonability ?
     
  14. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #14
    If it was easy to break encryption, then encryption would be worthless

    Woof, Woof - Dawg [​IMG]
     
  15. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #15
    I want to give MacKrack a shot. Any help on how to use it, would be gr8.
     
  16. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #16
    In theory. The problem is being able to describe to a brute application this "nearly known" password in a way that it reduces the number of iterations to try out. I don't know of any app that will let you do this.
     
  17. Fishrrman macrumors G5

    Fishrrman

    Joined:
    Feb 20, 2009
    #17
    This entire thread is a textbook example of:
    "Are you SURE that you want to encrypt that data?"

    The moral of the story is:
    DON'T use encryption on files that you absoultely, positively MUST "get back" someday.

    If it's that's sensitive (illegal, pron, etc.) buy a SAFE and keep the drive in it.

    Otherwise, see the thread above.
     
  18. kmaute macrumors 6502

    kmaute

    Joined:
    Oct 5, 2008
    Location:
    USA
    #18
    The thing you need to remember is that your password is used in concert with a hash to create the encryption key which will decrypt your data. So knowing 1/2 of the password does you little good when one character being off generates a completely different key.

    Your only chance is guessing the password. You say you have part of the password for sure. Narrow down the list of all possible characters you could have used for those unknown entries (say 40 characters, a-z, 0-9, some punctuation). Then, your Sample size becomes 40^n where n is the number of characters missing. Let's be optimistic and say n is 3. Then you only have 64,000 possible entries. Tough? Yeah, but doable over the course of a couple of years. Generate a text file with all possible operations and copy/paste until you find one that works. Write a script to do it and it will happen a lot faster. If you do not know the n, things become much more difficult.

    There is a reason encryption works...
     
  19. mayankpin thread starter macrumors newbie

    Joined:
    Feb 15, 2010
    #19
    What if I put this 'nearly known' part of the password in the dictionary file & it can do the 64000 or more iterations automatically. Then it should work with MacKrack. But like I said before I need some help with MacKrack.
     
  20. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #20
    That simply won't work. It's not how MacKrack functions.
     
  21. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #21
    Either try more combinations of characters with your password or give up. You don't need any help with MacKrack because MacKrack isn't going to help you in the slightest.
     
  22. maflynn Moderator

    maflynn

    Staff Member

    Joined:
    May 3, 2009
    Location:
    Boston
    #22
    Just take a logical systematic approach.
    Create a spreadsheet, enter the known password and what you think the latter portion should be.

    Then enter every variation that you think you used, don't for get to maybe add a trailing space because you might have mistakenly hit the space key before hitting enter.

    Perhaps I'm the only one, but I found your password to be ungainly long and easily forgettable. While everyone should employ strong password skills I think you went overboard and given the problems you're having That does seem the case. Why not make the password/passphrase something a little more meaningful. If you don't you'll end up writing it down somewhere and there goes your strong password.
     

Share This Page