sunnyden / MBRLock

An access verification program of MBR
2 stars 1 forks source link

Problem with mbr_decrypt.asm #2

Open mbrmaker opened 1 year ago

mbrmaker commented 1 year ago

hi sunnyden!

I'm trying to create an mbr lock, your repository helped me a lot

But there's a problem

After entering the correct password, it won't let me boot windows, it won't let me press a key to continue

It means that the decryption part of the mbr works badly and it is supposed that after entering the correct password, Windows should boot normally.

video: https://1drv.ms/v/s!AvsZ1ZgLI0ThahN4isesBHEy5d4?e=tzo475

Thank you!

sunnyden commented 1 year ago

Hi,

If I remember correctly this repo will move part of MBR data out to other places and replace it with the program in this repo. It will load the original data back to memory if the password is correct.

I don't quite remember the behavior of this program since it was written many years ago and it was just a toy project. But I think you can try debugging it and see what is causing the reboot.

I think one possible cause would be -- when writing this program to the disk and moving the original MBR record out to other places, the old data was written to somewhere with meaningful data resulting in corrupting the original MBR loader.

mbrmaker commented 1 year ago

hello, when i asked you i had no idea how restore mbr works, it turns out that now i am improving a lot and gained more knowledge, i am one step away from finishing it, but i am only replying to you to say thank you.

Greetings! :)


De: Sunny Deng @.> Enviado: domingo, 27 de agosto de 2023 10:47 Para: sunnyden/MBRLock @.> Cc: mbrmaker @.>; Author @.> Asunto: Re: [sunnyden/MBRLock] Problem with mbr_decrypt.asm (Issue #2)

Hi,

If I remember correctly this repo will move part of MBR data out to other places and replace it with the program in this repo. It will load the original data back to memory if the password is correct.

I don't quite remember the behavior of this program since it was written many years ago and it was just a toy project. But I think you can try debugging it and see what is causing the reboot.

I think one possible cause would be -- when writing this program to the disk and moving the original MBR record out to other places, the old data was written to somewhere with meaningful data resulting in corrupting the original MBR loader.

— Reply to this email directly, view it on GitHubhttps://github.com/sunnyden/MBRLock/issues/2#issuecomment-1694673384, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRGIT4VJOEPCHK6FEXA5ELXXNFWXANCNFSM6AAAAAA2ZJYLHE. You are receiving this because you authored the thread.Message ID: @.***>