Skip to content

Missing error handling around Access Denied to SCManager #25

Description

@mubix
|====================================================================|
|                                                                    |
|                    Windows Privilege Escalation                    |
|                                                                    |
|                          ! BANG BANG !                             |
|                                                                    |
|====================================================================|


beRoot.exe : [4332] Failed to execute script beRoot
    + CategoryInfo          : NotSpecified: ([4332] Failed to execute script beRoot:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
Traceback (most recent call last):
  File "beRoot.py", line 95, in <module>
  File "beRoot.py", line 60, in run
  File "beroot\run_checks.py", line 298, in check_all
  File "beroot\run_checks.py", line 26, in __init__
  File "beroot\modules\get_info\from_scmanager_services.py", line 10, in get_services
pywintypes.error: (5, 'OpenSCManager', 'Access is denied.')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions