8000 GitHub - kh4sh3i/AD-Attack-Defense: AD Attack Defense
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kh4sh3i/AD-Attack-Defense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation


AD-Attack-Defense

AD Attack Defense

internal Recon

attack

# check user mohsen groups
net user mohsen /domain

# check with user is in DA:
net group "domain admins" /domain

defence

we can disable SAM protocol for prevent call net user function for local user
we make GPO with name sam_disable and assign to domain admin
we sent below policie and only admin can call this function

gpupdate /force

bypass

attacker use ADSI query !

([adsisearcher]"(&(objectCategory=group)(cn=Domain Admins))").FindAll() | ForEach-Object {$_.Properties.member}

About

AD Attack Defense

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0