-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to brute force the key stored in .encfs6.xml
#563
Comments
Unfortunately, due to how the encryption key is randomly generated, I think you're stuck 😕 |
@benrubson yes, but my question was more in the direction on how would I verify very quickly if the key is wrong or correct? So I can brute force it in a few years maybe. |
The SSL_Cipher::readKey() function seems to be what decrypts the key using the password. Interesting here is:
However, that checksum is quite weak and only 4 bytes long (MAC32). So this checksum can be used to quickly check if a key could be correct or is definitely incorrect. You will still have lots of possible keys that give the right MAC32, though. For those you need a second validation step, possilby trying to decrypt a file or a filename and looking at the content. |
thanks, that sounds like a useful start. |
Closing this for now, feel free to re-open if needed. |
…597048..49da71da8 49da71da8 Merge pull request #775 from amrayn/develop fa10a7974 Merge branch 'master' into develop 24b0de3d6 Merge pull request #702 from moneromooo-monero/dateIndex 5b55576b7 Merge pull request vgough#647 from agilmor/readme_minor_fix 149000493 Merge pull request #714 from adah1972/typo-change 6cb5e4e52 Merge branch 'master' into typo-change a41864de6 Merge pull request #725 from divinity76/patch-1 a2d78625c Merge pull request #705 from markus-k/qnx-support cc35e9627 Merge pull request #739 from adam1985d/master 75d181c5c Merge pull request #774 from amrayn/develop d3e56c04f Merge pull request #712 from KrusnikViers/remove-unused-variable 83f7b0c03 Merge pull request #735 from ndowens/master 9d35a7e15 Merge pull request #726 from recipe/patch-1 0df4c5ad8 Merge pull request #737 from PhoebeHui/dev/Phoebe/vcpkg_instructions 7f8761b48 Merge pull request #741 from DominionSoftware/add_try_catch e5b4e2d80 Merge pull request #746 from soyoo/patch-1 e6594d8ef Merge pull request #773 from amrayn/develop f68abe86a Merge pull request #757 from jsoref/spelling 769b39d8e Merge pull request #748 from soyoo/patch-2 796565c05 spelling: unknown 84719eef7 spelling: specified 23ff0cbff spelling: situations ee76a6a32 spelling: separator a4d0753f4 spelling: separate 5b522401a spelling: sensitive bea320906 spelling: registries 01a7be37d spelling: program 64856cfd6 spelling: performance 11233adaf spelling: overridden e6f376e10 spelling: original a78650209 spelling: occurred f5bc5df27 spelling: occasional ... ecb10dc07 spelling: javascript fa5148d85 spelling: insensitive 336f3e5e4 spelling: instance e88a535cd spelling: improvement 68bfc9d45 spelling: features 0134dfdf3 spelling: experimental 6df775fbe spelling: ditched 267d90dbc spelling: disabled 66cc3067d spelling: defining 872c0777b spelling: corruption 20a8c30b1 spelling: corresponding f59a4b7f7 spelling: converts 357e5d8dd spelling: configuration 794dd51ef spelling: compliant 66e452eb5 spelling: attempted f316282c0 spelling: assuming 05d596f8e spelling: arithmetic 41b5d377a spelling: april 7bc7d6dea spelling: alpha 210ea0213 Update easylogging++.cc bb0f45c83 Update easyloggingpp.pri 03694bdce Create easyloggingpp.pri 95324817b Merge pull request #743 from benrubson/warn fcf9c6cf2 kSysLogLoggerId defined but not used f18f75cf7 add try catch to handle extremely low memory condition 733d9e749 Merge pull request vgough#1 from amrayn/master 163a8e538 Update README.md 32415d9b3 bug - access attempt to released memory 15e2018ec Add vcpkg installation instructions 60d92a867 Add if defined HAVE_EXECINFO 2a171bc91 Merge pull request #728 from amrayn/develop b7e58d940 Merge branch 'master' into develop 3ec5bb3ae update e00090395 Create FUNDING.yml 2521c4875 typo 8e334dfd5 disable ELPP_STACKTRACE for cygwin a5070d23d Fix two typos that could affect understanding. 438c34cc6 Comment unused variable f5f213459 Disable stacktrace feature on QNX 573a51be4 Add support for QNX a441d4464 Fix using invalid dateIndex (std::string::npos) 20fdea6e1 Merge pull request #689 from zuhd-org/develop ca4f51f39 updated build matrix links bd593b386 Merge pull request #685 from zuhd-org/develop d97dbef47 Update README.md 5181b4039 Merge pull request #684 from muflihun/develop 25ebd5adf Update README.md f3986aaeb Merge pull request #683 from muflihun/develop e4659e547 9.96.7 release ea8e806b9 Merge pull request vgough#642 from SgtCoDFish/develop fd2dda331 Merge branch 'develop' into develop dafba610c Merge pull request #682 from muflihun/develop bbdb96c39 updated release babf11834 updated license ebc066f71 Merge pull request vgough#645 from slaperche-scality/support_pic_code cda4f5346 generate PIC code for the library 72436e541 Fixed unused variable warning while build without performance logging feature 3a832d738 Fix vgough#660 (accessing ELPP before it's initialized) f2f606c41 Merge pull request #677 from moneromooo-monero/foundAt ba629aded Simplify some code based on already checked values a5317986d Merge pull request vgough#668 from muflihun/develop a0e1b5fad release a6477e2bb up 1f78ad898 Merge pull request vgough#667 from muflihun/develop f01c1f8b0 removed message 45b360b20 Ignore sigint 680aeecdd Fixes vgough#666 Set log level from custom message if available d47e10aec Fixing Readme for the right CustomFormatSpecifier signature 7645a4285 Add Emscripten detection, with test modifications 66a3a8741 Merge pull request vgough#630 from muflihun/develop 1ebc9bbc8 update to release 8092189b3 Merge pull request vgough#629 from muflihun/develop 094e4ab92 closes vgough#580 conditional global lock dd8427200 Merge pull request vgough#627 from muflihun/develop 99534e8c3 node binding version 92b81c8df Merge pull request vgough#626 from muflihun/develop f0d0a71b7 Merge pull request vgough#624 from adah1972/file_rolling_at_flush 56876a601 9.96.3 f788ff626 removed attr for gcc b96d4895f closes vgough#620 Unused warnings fixed 2257b7533 null device logging 6af205d56 minor fix demangler 8d30366ec minor fix demangler 8eabcc37f Fix two wrong uses of "it's". 4fd8d92be Update README. 5feb891bf Simplify File::getSizeOfFile. e763286e3 Validate file rolling at flush point. f508c0c21 Merge pull request vgough#619 from muflihun/develop 3e4e2b484 release 430a317c4 Merge pull request vgough#618 from muflihun/develop 9c30e18b9 release 9.96.2 ceae14673 nav to build matrix 2e35613f6 travis fix 044b4f56c updated to use unordered_map closes vgough#611 35eebba97 introduced new constructor for writer and dispatcher update 28612fcda u fd8fc502f updated travis 173358022 travis fix? c03b2c1d8 Merge pull request vgough#616 from muflihun/develop 2ca71dd8e build matrix and sample 162b2ae17 trvis matrix e898d16fe use explicit declr ec43c830d potential wrapper for mutex e9dc1ecdb Merge pull request vgough#615 from muflihun/develop a8b0bb016 update fix a7b9d6533 Merge pull request vgough#614 from muflihun/develop ac1a71c33 9.96.1 release 251daa2e0 Two loggers writing to same file is undefined behaviour vgough#613 89f61e588 Merge pull request vgough#612 from muflihun/develop d40e8a020 Update README.md b443218a7 Update network-logger.cpp f5fe6c5f8 added send to network sample in README 6efc49142 Merge pull request vgough#610 from muflihun/develop ee37c5c64 Update ACKNOWLEDGEMENTS.md 05bdfb0af release 9.96.0 fb67e3a3d Disable log file *initially* when using ELPP_NO_LOG_TO_FILE, to be consistent with documentation c1b128561 Generate and install a pkg-config file 193ea41a0 ack file 0da103b4e ack file 4442da152 respect MaxLogFileSize setting even when ELPP_NO_DEFAULT_LOG_FILE is set see PR vgough#593 96919358c updated changelog 2614f8965 reformatting using astyle 2104884b3 license author joint 7679ace72 Potential deadlocks in extreme edge case - closes vgough#609 5fd54a0dd Merge pull request vgough#607 from muflihun/develop c06db0fa9 release b243df560 v9.95.4 01d12bdf5 made buildTimeInfo for use c6effe23e closes vgough#606 for Writer b218fd3f3 closes vgough#606 reserveCustomFormatSpecifiers e4931683b install cmake on travis ci 717d9607e update readme closes vgough#585 b2ea92809 update changelog eb8ff3047 fix buffer underflow in getBashOutput 32ccda720 Issue vgough#590: clarify usage of configuration macros a58288b4a updated year in license b7b4cbf8d Merge pull request vgough#576 from muflihun/develop e04834d11 update release 049b242d4 Update MESSAGE.md e3f930ce1 Update MESSAGE.md 74ac78557 Update MESSAGE.md 4e5bc7086 Update MESSAGE.md cdf4875c6 Update MESSAGE.md 68b001956 msg 5b98f3ab0 Multithreading issue fixed raised from last release at log builder 11904e5ea Merge pull request vgough#575 from muflihun/develop 5e4566e8b final release for 9.95.2 2990547dc Merge pull request vgough#574 from muflihun/develop f197960e2 refix the failed release ba04082a3 Merge pull request vgough#573 from muflihun/develop 417fa5ed9 9.95.1 release 7dcf83ebc closes vgough#572 fixed printf like logging with thread safety 4286561b9 update e36f8663a fixed msg (see PR vgough#568) 699c12ed9 closes vgough#571 Removed global lock at dispatch 1a3d09bb2 Update README.md 1b515f9e8 up 78d630cbd updated sample 614608af1 Update README.md 3f6dd3e04 old gcc 9a171b4b6 Update README.md 0680b6dbb aix icon 89e37660b another updaet 9d2e024eb Added support for aix (thanks to apollo13) 33bc75ed9 closes vgough#563 kFreeBSD fix c4ec767e6 change cmake to 2.8.7 850ea2a9f Merge pull request vgough#559 from muflihun/develop f33a6239e Update README.md git-subtree-dir: vendor/github.com/muflihun/easyloggingpp git-subtree-split: 49da71da884d1e756a51df617437b87071c2b1a7
This might be a strange issue, but I lost my
.encfs6.xml
file and I tried everything to get it back. (I did not properly backup that file). I created the a new.encfs6.xml
by accident, because syncthing was not started, once syncthing started the.encfs6.xml
was overwritten on all my other servers. So kids always backup the.encfs6.xml
!Now to my question, I have a lot of encrypted data now, which I would love to see decrypted at some point in time (maybe in 20 years). How would you try to recover the key needed to decrypt the data?
I guess it makes no sense to randomly generate the
.encfs6.xml
and try to decrypt the folder, and verify if a file looks like it should look.The text was updated successfully, but these errors were encountered: