Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.security > #5688 > unrolled thread

Re: I forgot my password and Debian need password when booting

Started byPaul Wise <pabs@debian.org>
First post2019-10-27 03:30 +0100
Last post2024-11-28 21:40 +0100
Articles 7 — 5 participants

Back to article view | Back to linux.debian.security

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: I forgot my password and Debian need password when booting Paul Wise <pabs@debian.org> - 2019-10-27 03:30 +0100
    Re: I forgot my password and Debian need password when booting Mostaf Faridi <mostafafaridi@gmail.com> - 2019-10-27 08:00 +0100
      Re: I forgot my password and Debian need password when booting Paul Wise <pabs@debian.org> - 2019-10-27 08:30 +0100
    Re: I forgot my password and Debian need password when booting Craig <chouck@binghamton.edu> - 2019-10-27 22:10 +0100
      Re: I forgot my password and Debian need password when booting Paul Tagliamonte <paultag@debian.org> - 2019-10-27 22:20 +0100
        Re: I forgot my password and Debian need password when booting CMH <chouck@binghamton.edu> - 2019-10-28 12:30 +0100
      Re: I forgot my password and Debian need password when booting CMH <chouck@binghamton.edu> - 2024-11-28 21:40 +0100

#5688 — Re: I forgot my password and Debian need password when booting

FromPaul Wise <pabs@debian.org>
Date2019-10-27 03:30 +0100
SubjectRe: I forgot my password and Debian need password when booting
Message-ID<yVGtz-6sp-1@gated-at.bofh.it>
On Sat, Oct 26, 2019 at 8:51 PM Mostaf Faridi wrote:

> I installed Debian on HDD with encryption two years ago and when Debian want boot need password.
> I forgot that password.
> Do I have chance for recover my Data?

If you remember some part of your password it might be possible to use
the bruteforce-luks package to recover the full password, if that
fails then you will need to reinstall and restore data from any
backups you might have.

https://packages.debian.org/stable/bruteforce-luks
https://github.com/glv2/bruteforce-luks

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [next] | [standalone]


#5689

FromMostaf Faridi <mostafafaridi@gmail.com>
Date2019-10-27 08:00 +0100
Message-ID<yVKGS-BV-9@gated-at.bofh.it>
In reply to#5688

[Multipart message — attachments visible in raw view] — view raw

Thanks.
After type password several times. Busybox boot.
Can busybox solve this problem?

MyWebSite http://mfaridi.com

On Sun, 27 Oct 2019, 07:00 stefano-niko.orzen@datacenter-architect.net, <
stefano-niko.orzen@datacenter-architect.net> wrote:

> That's a killer. I had some similar issue some years ago. Bruteforce luks
> and the entire boot process is slow. So the whole thing cant take weeks or
> even months depending on the size of the password. After 4 weeks with an i7
> and 8g of ram it barely made it pass the 5 or 6 character length tries.
> Make a clone of the luks header and run bruteforce luks as iso image on
> multiple computers. You might speed up the process.
>
> Best Regards,
> Stefano-Niko Orzen
> E-Mail: stefano-niko.orzen@datacenter-architect.net
>
>
> -------- Original Message --------
> Subject: Re: I forgot my password and Debian need password when booting
> From: Paul Wise
> To: Mostaf Faridi
> CC: debian-security@lists.debian.org
>
> On Sat, Oct 26, 2019 at 8:51 PM Mostaf Faridi wrote:
>
> > I installed Debian on HDD with encryption two years ago and when Debian
> want boot need password.
> > I forgot that password.
> > Do I have chance for recover my Data?
>
> If you remember some part of your password it might be possible to use
> the bruteforce-luks package to recover the full password, if that
> fails then you will need to reinstall and restore data from any
> backups you might have.
>
> https://packages.debian.org/stable/bruteforce-luks
> https://github.com/glv2/bruteforce-luks
>
> --
> bye,
> pabs
>
> https://wiki.debian.org/PaulWise
>
>

[toc] | [prev] | [next] | [standalone]


#5690

FromPaul Wise <pabs@debian.org>
Date2019-10-27 08:30 +0100
Message-ID<yVL9T-11n-3@gated-at.bofh.it>
In reply to#5689

[Multipart message — attachments visible in raw view] — view raw

On Sun, 2019-10-27 at 10:24 +0330, Mostaf Faridi wrote:

> After type password several times. Busybox boot.
> Can busybox solve this problem?

That sounds like an initramfs shell, which isn't helpful here.
You will need to boot a Debian live image, install bruteforce-luks and
then try to crack the password.

https://www.debian.org/CD/live/

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[toc] | [prev] | [next] | [standalone]


#5691

FromCraig <chouck@binghamton.edu>
Date2019-10-27 22:10 +0100
Message-ID<yVXXr-DY-1@gated-at.bofh.it>
In reply to#5688

[Multipart message — attachments visible in raw view] — view raw

Can you get grub to appear? If you can an easy way to get in

Go to the end of the line with options and add to the end I think 
shell=/bin/sh

I have it in a notebook  at work and will double check. I have used it 
to get by passwrods many times.

I wil post the answer in the AM

On 10/26/19 11:30 PM, stefano-niko.orzen@datacenter-architect.net wrote:
> That's a killer. I had some similar issue some years ago. Bruteforce 
> luks and the entire boot process is slow. So the whole thing cant take 
> weeks or even months depending on the size of the password. After 4 
> weeks with an i7 and 8g of ram it barely made it pass the 5 or 6 
> character length tries. Make a clone of the luks header and run 
> bruteforce luks as iso image on multiple computers. You might speed up 
> the process.
>
> Best Regards,
> Stefano-Niko Orzen
> E-Mail: stefano-niko.orzen@datacenter-architect.net
>
>
> -------- Original Message --------
> Subject: Re: I forgot my password and Debian need password when booting
> From: Paul Wise
> To: Mostaf Faridi
> CC: debian-security@lists.debian.org
>
>         On Sat, Oct 26, 2019 at 8:51 PM Mostaf Faridi wrote:
>
>         > I installed Debian on HDD with encryption two years ago and
>         when Debian want boot need password.
>         > I forgot that password.
>         > Do I have chance for recover my Data?
>
>         If you remember some part of your password it might be
>         possible to use
>         the bruteforce-luks package to recover the full password, if that
>         fails then you will need to reinstall and restore data from any
>         backups you might have.
>
>         https://packages.debian.org/stable/bruteforce-luks
>         https://github.com/glv2/bruteforce-luks
>
>         -- 
>         bye,
>         pabs
>
>         https://wiki.debian.org/PaulWise
>
-- 
*Working - OutOfOffice**
/Binghamton University/- Systems
607 777 6827
*Craig M. Houck ><>
Only as Good as the Last Problem Solved**

[toc] | [prev] | [next] | [standalone]


#5692

FromPaul Tagliamonte <paultag@debian.org>
Date2019-10-27 22:20 +0100
Message-ID<yVY77-Hs-3@gated-at.bofh.it>
In reply to#5691

[Multipart message — attachments visible in raw view] — view raw

On Sun, Oct 27, 2019 at 05:05:44PM -0400, Craig wrote:
>    Can you get grub to appear? If you can an easy way to get in
> 
>    Go to the end of the line with options and add to the end I think
>    shell=/bin/sh

`init=/bin/sh` is what you're thinking of, but it won't work here,
since the drive is encrypted.

Cheers,
  paultag

[toc] | [prev] | [next] | [standalone]


#5693

FromCMH <chouck@binghamton.edu>
Date2019-10-28 12:30 +0100
Message-ID<yWbnI-zQ-7@gated-at.bofh.it>
In reply to#5692
Paul;

I will add that to my notes.

I will not encrypt drives on a personal desktop for many reasons, I have 
one more now.
I often discuss frequently over looked need for PHYSICAL security and 
HUMAN ENGINEERING education.
I believe more hacks that way then any other.


> On Sun, Oct 27, 2019 at 05:05:44PM -0400, Craig wrote:
>>     Can you get grub to appear? If you can an easy way to get in
>>
>>     Go to the end of the line with options and add to the end I think
>>     shell=/bin/sh
> `init=/bin/sh` is what you're thinking of, but it won't work here,
> since the drive is encrypted.
>
> Cheers,
>    paultag

-- 
Systems Since 1948
Craig M. Houck ><>
Tech Hub/Computer Center
    3rd Floor 332
      607 777 6827
We are only as good as the problems we solve!

[toc] | [prev] | [next] | [standalone]


#6383

FromCMH <chouck@binghamton.edu>
Date2024-11-28 21:40 +0100
Message-ID<JNTsR-cicF-1@gated-at.bofh.it>
In reply to#5691

[Multipart message — attachments visible in raw view] — view raw

Pull the drive out and mount it using a power USB rig.Remove he password from shadow.I forget where the grub pw is . Google for the file that is in.Edit or remove.C.M.HouckLinux SysAdminBinghamton University                    Via Samsung 5G
-------- Original message --------From: Craig <chouck@binghamton.edu> Date: 11/27/24  17:17  (GMT-05:00) To: debian-security@lists.debian.org, chouck@binghamton.edu Subject: Re: I forgot my password and Debian need password when booting 
    Can you get grub to appear? If you can an easy way to get in
    Go to the end of the line with options and add to the end I think
      shell=/bin/sh
    I have it in a notebook  at work and will double check. I have
      used it to get by passwrods many times.
    I wil post the answer in the AM
    
    On 10/26/19 11:30 PM,
      stefano-niko.orzen@datacenter-architect.net wrote:
    
    
      
      That's a killer. I had some similar issue some
        years ago. Bruteforce luks and the entire boot process is slow.
        So the whole thing cant take weeks or even months depending on
        the size of the password. After 4 weeks with an i7 and 8g of ram
        it barely made it pass the 5 or 6 character length tries. Make a
        clone of the luks header and run bruteforce luks as iso image on
        multiple computers. You might speed up the process. 
        
        Best Regards,
        Stefano-Niko Orzen
        E-Mail: stefano-niko.orzen@datacenter-architect.net
      
      
        
        -------- Original Message --------
        Subject: Re: I forgot my password and Debian need password when
        booting
        From: Paul Wise 
          To: Mostaf Faridi 
            CC: debian-security@lists.debian.org
            
            
              On
                Sat, Oct 26, 2019 at 8:51 PM Mostaf Faridi wrote:
                
                > I installed Debian on HDD with encryption two years
                ago and when Debian want boot need password.
                > I forgot that password.
                > Do I have chance for recover my Data?
                
                If you remember some part of your password it might be
                possible to use
                the bruteforce-luks package to recover the full
                password, if that
                fails then you will need to reinstall and restore data
                from any
                backups you might have.
                
                https://packages.debian.org/stable/bruteforce-luks
                https://github.com/glv2/bruteforce-luks
                
                -- 
                bye,
                pabs
                
                https://wiki.debian.org/PaulWise
              
            
          
    
    -- 
      Working - OutOfOffice
        Binghamton University - Systems
          607 777 6827
           Craig M. Houck ><>
            Only as Good as the Last Problem Solved
  

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.security


csiph-web