- Notifications
You must be signed in to change notification settings - Fork69
cribdrag - an interactive crib dragging tool for cryptanalysis on ciphertext generated with reused or predictable stream cipher keys
License
SpiderLabs/cribdrag
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cribdragReleased after LOL Bitcoin party at DEF CON 21Daniel Crowleydcrowley@trustwave.comhttp://www.trustwave.com
cribdrag is a script for performing crib dragging attacks againstciphertext encrypted using an XOR operation with a predictable key.
This script can be used to cryptanalyze:
- One-Time Pad with reused key (XOR two ciphertexts together)
- Any stream cipher with reused key (XOR two ciphertexts together)
- Single character XOR
- Multiple character XOR
python 2.x
python xorstrings.py <ascii hex encoded data> <ascii hex encoded data>python cribdrag.py [-c charset] <ascii hex encoded ciphertext>
cribdrag - Interactive crib dragging toolDaniel CrowleyCopyright (C) 2013 Trustwave Holdings, Inc.
This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with this program. If not, seehttp://www.gnu.org/licenses/