Skip to content
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

SAMKey : ERROR kull_m_crypto_genericAES128Decrypt #458

Open
Rezmalac opened this issue Jan 6, 2025 · 5 comments
Open

SAMKey : ERROR kull_m_crypto_genericAES128Decrypt #458

Rezmalac opened this issue Jan 6, 2025 · 5 comments

Comments

@Rezmalac
Copy link

Rezmalac commented Jan 6, 2025

I have the hive backup files from a locked laptop. (exported from the registry)
And lsadump::sam does not work. My guess is something wrong with the SAM file, but no clue:
error

Other stuff on my current PC seems to be working.

@Rezmalac Rezmalac changed the title ERROR kull_m_registry_OpenAndQueryWithAlloc SAMKey : ERROR kull_m_crypto_genericAES128Decrypt Jan 9, 2025
@Rezmalac
Copy link
Author

Rezmalac commented Jan 9, 2025

UPDATE: I finally got the right SAM export file.
The locked laptop has bitlocker turned ON, so maybe this error because of that?

Do I have any chance, or it is undecryptable?

@eabase
Copy link

eabase commented Feb 2, 2025

Nothing you say make sense. Obviously you need to decrypt the BL drive before you can extract anything. So how did you get the SAM out of it?

@Rezmalac
Copy link
Author

Rezmalac commented Feb 3, 2025

Nothing you say make sense. Obviously you need to decrypt the BL drive before you can extract anything. So how did you get the SAM out of it?

What exactly does not make sense?

I can't decrypt the drive, because I don't have the key for it.
And I can't log in, because there is a password on it.
But... what I can, there is this troubleshooting mode (or whatever you call it in english) so you have a command prompt. You can't access to "c:" (where the system is), but it creates a "x:" for you and you can run commands. And I also have my USB drive so with "reg save HKLM\SAM" I could export registry data to files.

@eabase
Copy link

eabase commented Feb 4, 2025

IDK for sure, but it certainly wouldn't make sense that the emergency/recovery shell is using the same SAM as the one in unlocked Windows. Sorry I can't help.

@Rezmalac
Copy link
Author

Rezmalac commented Feb 5, 2025

IDK for sure, but it certainly wouldn't make sense that the emergency/recovery shell is using the same SAM as the one in unlocked Windows. Sorry I can't help.

IDK either, maybe you are right. On the other hand my guess is the whole registry is the same and doesn't matter from where you exporting it.
Also running "sekurlsa::logonpasswords" on that notebook is listing all users either, so I guess all the data are there, just double encrypted and I can't pass the bitlocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants