60
Spark the future.

Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Embed Size (px)

Citation preview

Page 1: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Spark the future.

Page 2: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Jess Dodson

Righting the Right RightsActive Directory & Domain Security, Administration & Maintenance

WIN341B

Page 3: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Security

Page 4: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Accounts

Page 5: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Accounts – you need more than one!

Page 6: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Different Accounts

Standard accountDesktop admin accountServer admin accountDomain admin account

Page 7: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Domain admin accountsnever

logon to desktops

Page 8: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Limit access to your accounts

Page 9: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Keep accounts out of your

admin groups

Page 10: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Who actually needs to be a Domain Admin anyway?

Page 11: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Passwords

Page 12: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Do not use the default

Page 13: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Don’t use the same password…for everything

Page 14: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Make sure passwords EXPIRE

Page 15: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Longer password

= longer time

between changes

XKC

D.c

om

Page 16: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Use fine-grained

password policies(FGPPs)

Page 17: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Passwords do not belong in GPP’s…

EVER

(MS14-025)

Page 18: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Randomise your local admin passwords – LAPS!

Page 19: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Prevent local admin accounts from remotely accessing other

systems

Page 20: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Servers

Page 21: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Patch your servers!

Page 22: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Only DA’s can access the console of DC’s

Page 23: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Trusts – who actually requires access?

Page 24: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Workstations

Page 25: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Admin workstation =/=

user workstation

Page 26: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Administration & Maintenance

Page 27: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

• Replication• FSMO Roles• Time Synchronization• Trusts• DNS & Networking• Event Logs• Account Administration

Page 28: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Replication

Page 29: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

repadmin /replsummary

Page 30: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

repadmin /showrepl * /errorsonly

Page 31: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

repadmin /showutdvec * dc=<domain>,dc=<com>

Page 32: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

repadmin /queue *

Page 33: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

repadmin /failcache

Page 34: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

FSMO Roles

Page 35: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

netdom query fsmo

Page 36: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Time Settings

Page 37: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

w32tm /config /manualpeerlist:<list of time servers> /syncfromflags:manual /reliable:yes

/update

W32tm /config /syncfromflags:domhier /update

Page 38: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

w32tm /query /configuration

Page 39: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Trusts

Page 40: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

nltest /domain_trusts

Page 41: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

DNS & Networking

Page 42: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

type %systemroot%\debug\netlogon.log | findstr NO_CLIENT_SITE

Page 43: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Ports

389 - LDAP636 – LDAP SSL3268 – LDAP GC3269 – LDAP GC SSL135 – EPC, EPM

53 - DNS88 - Kerberos445 – SMB/IP139 – NetBIOS Session Port123 – NTP Time Services

Page 44: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Event Logs

Page 45: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

System events

29: Time synchronization failure55: Possible file system corruption1056: DHCP service is running on a DC without credentials16645: RID Pool depleted16650: Account-identifier failed to initialize

Page 46: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

DNS events

5774: DNS registration failure5775: DNS de-registration failure5781: DNS registration or deregistration failure

Page 47: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Security & Directory Service events

ALL events

Page 48: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Account Monitoring & Administration

Page 49: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Account lockout failures &failed login attempts

Page 50: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Check admin group memberships & monitor addition/removal from security groups

EnterpriseSchemaDomain

Page 51: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Everything!

Page 52: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

dcdiag /c

Page 53: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B
Page 54: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B
Page 55: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B
Page 56: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.

Page 57: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Continue your Ignite learning pathPass-the-Hash Attacks: http://www.microsoft.com/security/sir/strategy/default.aspx#!pass_the_hash_attacks

Securing Active Directory – Best Practices: http://aka.ms/bpsad

Microsoft Security Compliance Manager: http://aka.ms/scm

Regular AD Maintenance & Checks: http://girl-germs.com/?p=564

Page 58: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Contact me!Twitter: @girlgerms (best way!)

Linkedin: https://au.linkedin.com/in/jrdodson

Email: [email protected]

Blog: http://girl-germs.com

Page 59: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

Questions?

Page 60: Jess Dodson Righting the Right Rights Active Directory & Domain Security, Administration & Maintenance WIN341 B

© 2015 Microsoft Corporation. All rights reserved.Microsoft, Windows and other product names are or may be registered

trademarks and/or trademarks in the U.S. and/or other countries.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

AS TO THE INFORMATION IN THIS PRESENTATION.