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

WMI Error in the InterestingProcesses Command #74

Closed
leechristensen opened this issue Jan 20, 2021 · 1 comment
Closed

WMI Error in the InterestingProcesses Command #74

leechristensen opened this issue Jan 20, 2021 · 1 comment

Comments

@leechristensen
Copy link
Member

Describe the bug
An exception is being thrown during the InterestingProcesses command:

ERROR:   [!] Terminating exception running command 'InterestingProcesses': System.Management.ManagementException: Not found 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
   at System.Management.ManagementObject.InvokeMethod(String methodName, Object[] args)
   at Seatbelt.Commands.Windows.InterestingProcessesCommand.<Execute>d__10.MoveNext()
   at Seatbelt.Runtime.ExecuteCommand(CommandBase command, String[] commandArgs)

I don't have access to a host where it occurs.
Looks like it may manifest itself on 2012 R2 machines. Might also occur after performing lateral movement to a host using WMI or WinRM.

Looks like it might be caused when obtaining the process owner (that's the only place a WMI method is invoked)

To Reproduce
Run Seatbelt's InterestingProcesses command.

Expected behavior
The command to run, displaying interesting process, or a notification saying that there aren't any or it's not possible to run this command.

Observed behavior
Some processes are output, but then the process listing is cut short due to an exception

@leechristensen
Copy link
Member Author

Should be addressed in #78

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

1 participant