Top Banner
AMBIENT INTELLIGENCE tech days 2015 # mstechdays techdays.microsoft.fr
42

Sécurité Active Directory: Etablir un référentiel

Jul 18, 2015

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sécurité Active Directory: Etablir un référentiel

AMBIENT INTELLIGENCE

tech days•

2015

#mstechdays techdays.microsoft.fr

Page 2: Sécurité Active Directory: Etablir un référentiel

Sécurité AD:Pensez référentiel !

Jean-Philippe Klein – Sr Premier Field Engineer (Microsoft)

Didier Pilon – Principal Premier Field Engineer – PMC (Microsoft)

Page 3: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Introduction

Les objets AD à surveiller

Gestion de la délégation AD

Configuration des contrôleurs de domaine

Les serveurs membres

Conclusion

#

Page 4: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Qu’est ce qu’un référentiel Active Directory ?

Pourquoi créer un référentiel Active Directory ?

#

Page 5: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Les groupes

Administrators Backup Operators Performance Monitor Users Cryptographic Operators IIS_IUSRS

Users Network Configuration

Operators

Performance Log Users Incoming Forest Trust Builders Terminal Server License Servers

Guests Remote Desktop Users Distributed COM Users Certificate Service DCOM Access Replicator

Print Operators Windows Authorization Access

Group

Event Log Readers Pre-Windows 2000 Compatible

Access

Domain Computers Cert Publishers* Group Policy Creator Owners Allowed RODC Password Replication Group DnsAdmins

Domain Controllers Domain Admins RAS and IAS Servers Denied RODC Password Replication Group DnsUpdateProxy

Schema Admins Domain Users Server Operators Enterprise Read-only Domain Controllers Read-only Domain Controllers

Enterprise Admins Domain Guests Account Operators

#

Page 6: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Administrator Krbtgt Les comptes appartenant à un

groupe à fort privilege.

Utilisateurs avec des privilèges sur

les systèmes tiersUtilisateurs VIP

Les objets “Read Only Domain

Controller”

Les comptes

Les objets “Domain Controller”

Les objets machines qui exécutent

des services sensibles/critiquesComptes de services, …

Comptes avec délégation sur l’AD

#

Page 7: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

AdminSDHolder Les relations d’approbation Politique de mot de passe du

domaine

Fine Grained Password Policies -

FGPP (msDS-PasswordSettings)Les GPO

Les comptes locaux DSRM

Les autres objets

Les scripts de

logon/logoff/startup/shutdown

#

Page 8: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Access Control List

ACE

ACE

Owner

Page 9: Sécurité Active Directory: Etablir un référentiel

ACL avec PowerShell

Import-Module ActiveDirectory

(Get-ACL 'AD:\CN=Administrator,CN=Users,DC=nwtraders,DC=local') | gm | ?{ $_.MemberType -eq "CodeProperty"}

(Get-ACL 'AD:\CN=Administrator,CN=Users,DC=nwtraders,DC=local').Access

(Get-ACL 'AD:\CN=Administrator,CN=Users,DC=nwtraders,DC=local').SDDL

Page 10: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Get-ACK

Page 11: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

ACL / ACEs

Page 12: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Format SDDL

Header

DACL

SACL

Primary Group

Owner

Page 13: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Création d’un référentiel

Page 14: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Création d’un référentiel

Page 15: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Création d’un référentiel

Page 16: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Modélisation

Page 17: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Vérification

Page 18: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Partition de domaine

Partition de configuration

Partition de schema

Les autres objets

#

Page 19: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Les attributs surveillés sur tous les objets (sauf nTDSconnection)

Partition de configuration

ntSecurityDescriptor rightsGuid ValidAccesses

caCertificate crossCertificatePair

#

Page 20: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Les attributs surveillés sur tous les objets

Partition de schéma

ntSecurityDescriptor defaultSecurityDescriptor attributeSecurityGUID

schemaIdGuid SystemFlags SearchFlags

#

Page 21: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyse des ACL sur l’ensemble des objets ?

Utilisation des métadonnées de réplication

Configuration / Schéma

Page 22: Sécurité Active Directory: Etablir un référentiel

Metadonnées de réplication

repadmin /showobjmeta . "CN=Administrator,CN=Users,DC=nwtraders,DC=local"

Page 23: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Configuration / Schema

Page 24: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Introduction

#

Page 25: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 26: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 27: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 28: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 29: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Compte à privilèges sur les serveurs membres

Services

Taches planifiés

Application Pool

Introduction

#

Page 30: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 31: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyse des déviations

Page 32: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Compromission

Page 33: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Modèle de délégation

Page 34: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Configuration et Schéma

Page 35: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Serveurs membres

Page 36: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyser

l’existant

Définir le

niveau de

sécurité

souhaité

Appliquer les

changements

Créer son

référentiel

#

2 types d’analyses

Page 37: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyser

l’existant

Définir le

niveau de

sécurité

souhaité

Appliquer les

changements

Créer son

référentiel

#

Suivre les bonnes pratiques de l’éditeur dansvotre contexte

Page 38: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyser

l’existant

Définir le

niveau de

sécurité

souhaité

Appliquer les

changements

Créer son

référentiel

#

Respecter les règles ITIL pour la gestion du changement

Vérifier la compatibilité avec les applications

Page 39: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Analyser

l’existant

Définir le

niveau de

sécurité

souhaité

Appliquer les

changements

Créer son

référentiel

#

Et le faire vivre …

Page 40: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

ACL Scannerhttps://adaclscan.codeplex.com/

Get-ServiceAccountUsagehttps://gallery.technet.microsoft.com/Get-ServiceAccountUsage-b2fa966f

Security Compliance Managerhttps://technet.microsoft.com/en-us/library/cc677002.aspx

Outils

Page 41: Sécurité Active Directory: Etablir un référentiel

tech.days 2015#mstechdays

Page 42: Sécurité Active Directory: Etablir un référentiel

© 2015 Microsoft Corporation. All rights reserved.

tech days•

2015

#mstechdays techdays.microsoft.fr