LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2013, 01:35 AM   #1
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Rep: Reputation: Disabled
Crack cryptsetup password


Hi,

I forgot cryptsetup password of /dev/sdd4.

cryptsetup -v luksOpen /dev/sdd4 sdd4

Device /dev/sdd4 is not a valid LUKS device.
Command failed with code 22: Device /dev/sdd4 is not a valid LUKS device.


I want to crack the cryptsetup password, but it is not asking the passphrase itself. I want to know why it is not asking passphrase and how to crack cryptsetup password.

Regards,
Jojan Paul.
 
Old 10-04-2013, 02:01 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,129

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
I'm afraid you need to know the password, cracking is not an option.
cryptsetup isLuks /dev/sdd4
 
Old 10-04-2013, 02:03 AM   #3
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Original Poster
Rep: Reputation: Disabled
using cryptsetup -v luksDump /dev/sdd2 sdd2
I have got,
LUKS header information for /dev/sdd2.

/dev/sdd4 wasn't the exact drive which I was looking for.
 
Old 10-04-2013, 02:09 AM   #4
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I'm afraid you need to know the password, cracking is not an option.
cryptsetup isLuks /dev/sdd4
But I forgot the cryptsetup password, what to do now?. The dive is having backup files which is important.
 
Old 10-04-2013, 02:15 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,011

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
The whole point of encrypting the drive is that if you don't have the password you can't get in. What use would encryption be if it could be cracked by following a few instructions?
If you've forgotten your password you've lost your data. That's how it is supposed to work and if anybody does come up with an answer other than that then I'll be looking at other ways of encrypting my hard drives and, I'm sure, questions will be asked all over the internet as to why LUKS is broken.
 
1 members found this post helpful.
Old 10-04-2013, 03:21 AM   #6
jojanmpaul
Member
 
Registered: Sep 2012
Location: Bangalore
Posts: 80

Original Poster
Rep: Reputation: Disabled
mount /dev/sdd3 /mnt/cent/
mount: unknown filesystem type 'crypto_LUKS'

While mounting am getting the above error.
 
Old 10-04-2013, 03:30 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,129

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
see here: http://code.google.com/p/cryptsetup/...tions#2._Setup about mounting
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyfile & Password using cryptsetup dissident85 Linux - General 1 09-13-2009 02:32 PM
Can you help me crack the Admin password, Win XP ? brjoon1021 Linux - Security 3 05-24-2007 11:32 PM
bios password blues- anyone know a crack? Brain Drop Linux - Hardware 21 03-24-2005 06:54 PM
How to crack the Grub Password? shahid_nawaz Linux - Security 2 04-21-2004 11:29 AM
Help using Crack for testing password strength dai Linux - Security 2 07-02-2003 04:34 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration