KeePass can repair corrupted databases in some cases.
As a long time KeePass user, I don't see a reason to switch over, that's mostly because Password Safe does not support plugins. But if you want to ditch cloud based password managers for one that stores your database locally in an encrypted file, Password Safe is a great choice. According to KeePass, the databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish). Sounds good but it doesn't seem so safe anymore. A tool called KeeFarce, is now available, to hack KeePass. KeeFarce allows for the extraction of KeePass 2.x password database information from memory.
KeePass has quite some features to avoid database file corruption (transacted database writing, device buffer flushing, ..). However, data corruption can still be caused by other programs, the system or broken storage devices (note that KeePass by default is verifying the integrity of database files immediately after writing them, i.e. at this point of time, KeePass guarantees file integrity; however, KeePass of course can't do anything when the data becomes corrupted/unreadable at a later point of time).
In these cases, the database repair functionality might help you. Here, KeePass tries to read as much data as possible from the corrupted file.
In repair mode, the integrity of the data is not checked (in order to rescue as much data as possible). When no integrity checks are performed, corrupted/malicious data might be incorporated into the database. Thus the repair functionality should only be used when there really is no other solution. If you use it, afterwards you should thoroughly check your whole database for corrupted/malicious data.
In KeePass 1.x, the repair functionality can be found in 'Tools' → 'Repair KeePass Database File..'.
Cracking Keepass Password Safe Database Tool
In order to use the repair functionality in KeePass 2.x, first create a new database file. Then, go 'File' → 'Import' and import the corrupted database file, using 'KeePass KDBX (2.x) (Repair Mode)' as format.
Anyway, if you've lost the master key for the database, the repair functionality cannot help you. Also, if the header of the database (first few bytes) is corrupted, you're out of luck, too: the repair functionality won't be able to restore any entries (because the header contains information required to decrypt the database).
Move Keepass Database
The repair functionality should be seen as last hope. Regularly making backups of your databases is much better and has to be preferred. Backups have no cryptographic security implications. There are plugins that automate the backup process, see the KeePass plugins page.
File Header/Signature
If your database file has been deleted and you want to try recovering it using a tool that supports a file header/signature detection: below you can find the first bytes (in hex notation) with which all database files begin.
The file header does not contain a field that specifies the length of the file. If the length cannot be determined from the file system, try to recover sufficiently much data (i.e. the database file data and maybe some subsequent, unnecessary data) and use the repair functionality above, which will simply ignore any subsequent data.
Os comentários estão fechados.
|
Details
AutorEscreva algo sobre si mesmo. Não precisa ser extravagante, apenas uma visão geral. HistóricoCategorias |