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

CredEnum Exception #71

Open
leechristensen opened this issue Jan 19, 2021 · 4 comments
Open

CredEnum Exception #71

leechristensen opened this issue Jan 19, 2021 · 4 comments

Comments

@leechristensen
Copy link
Member

leechristensen commented Jan 19, 2021

Describe the bug
When running the CredEnum command, it failed with the following exception:

ERROR:   [!] Terminating exception running command 'CredEnum': System.ComponentModel.Win32Exception (0x80004005): Element not found
   at Windows.CredEnumCommand.<Execute>d__9.MoveNext()
   at Runtime.ExecuteCommand(CommandBase command, String[] commandArgs)

It looks like it may be accessing an array incorrectly?

Another error:

ERROR:   [!] Terminating exception running command 'CredEnum': System.ComponentModel.Win32Exception (0x80004005): A specified logon session does not exist. It may already have been terminated
   at Seatbelt.Commands.Windows.CredEnumCommand.<Execute>d__9.MoveNext()
   at Seatbelt.Runtime.ExecuteCommand(CommandBase command, String[] commandArgs)

To Reproduce
I don't have access to a system where I can reproduce the first error . Occurred when running the CredEnum command.

The 2nd exception be reproduced by running the CredEnum command under a command prompt started with runas /netonly /user:asdf\asdf cmd.exe

Expected behavior
The module to run and dump creds, or not print anything (or a message saying there weren't any)

Observed behavior
An exception was thrown

@leechristensen
Copy link
Member Author

For the "Element not found" exception, I can reproduce it when I'm logged in as a user and then run "runas /user:blah cmd.exe" and then run Seatbelt in the new command prompt.

@UP942901
Copy link

UP942901 commented Jun 5, 2021

Happening to me too.

@GetRektBoy724
Copy link

For the "Element not found" exception,it means that there is no creds stored on your device.

@iNoSec2
Copy link

iNoSec2 commented Feb 18, 2022

Someone has an idea about the CredEnum error?? Face the same issue rn
Thank you for your time

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

4 participants