CERTIFICATES AND CRYPTOGRAPHY



Similar documents
Basic principles of infrastracture security Impersonation, delegation and code injection

Implementing and Administering Security in a Microsoft Windows Server 2003 Network

Security. TestOut Modules

How To Understand And Understand The Security Of A Key Infrastructure

Security + Certification (ITSY 1076) Syllabus

Web Application Proxy

SECO Whitepaper. SuisseID Smart Card Logon Configuration Guide. Prepared for SECO. Publish Date Version V1.0

Implementing Microsoft Security Networks Course No. MS2823 h 5 Days

Implementing and Administering Security in a Microsoft Windows Server 2003 Network

Lesson Plans Administering Security in a Server 2003 Network

DIRECTACCESS FEATURE IN WINDOWS 7

Microsoft Windows Server 2012 R2 Remote Desktop Services - How to Set Up (Mostly) Seamless Logon for RDP Connections

ADVANCED WINDOWS SECURITY

HOTPin Integration Guide: DirectAccess

Internet Authentication Service (IAS) Operations Guide

AD CS.

Deploying and Managing a Public Key Infrastructure

TS Gateway Step-By-Step Guide

This module explains how to configure and troubleshoot DNS, including DNS replication and caching.

Remote Access Clients for Windows

7.1. Remote Access Connection

Authentication in XenMobile 8.6 with a Focus on Client Certificate Authentication

Chapter 7 Managing Users, Authentication, and Certificates

Public Key Applications & Usage A Brief Insight

Course 2823B: Implementing and Administering Security in a Microsoft Windows Server 2003 Network

Deploying the BIG-IP LTM and APM with Citrix XenApp or XenDesktop

Implementing and Supporting Microsoft Windows XP Professional

External Authentication with Windows 2003 Server with Routing and Remote Access service Authenticating Users Using SecurAccess Server by SecurEnvoy

Exam Questions SY0-401

MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory. Chapter 11: Active Directory Certificate Services

Digital Certificates (Public Key Infrastructure) Reshma Afshar Indiana State University

AV-006: Installing, Administering and Configuring Windows Server 2012

Administering Windows Server 2012

Entrust Managed Services PKI

Troubleshooting and Supporting Windows 7 in the Enterprise

Table Of Contents. - Microsoft Windows - WINDOWS XP - IMPLEMENTING & SUPPORTING MICROSOFT WINDOWS XP PROFESSIONAL...10

Step-by-Step Guide for Setting Up VPN-based Remote Access in a

Administering Windows Server 2012

Deploying EFS: Part 1

Windows Remote Access

LBSEC.

Security. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

Administering Windows Server 2012

Configuring Managing and Maintaining Windows Server 2008 Servers (6419B)

MOC 6436A: Designing Active Directory Infrastructure and Services in Windows Server 2008

Network Security Fundamentals

Windows 7, Enterprise Desktop Support Technician

Administering Windows Server 2012

Hosting topology SMS PASSCODE 2015

Fortigate Features & Demo

APNIC elearning: Network Security Fundamentals. 20 March :30 pm Brisbane Time (GMT+10)

Configuring Eduroam on Microsoft Windows Vista and 7 (all editions, 32 and 64 bits)

Proxy POP3S. then authentication occurs. POP3S is for a receiving . IMAP4S. and then authentication occurs. SMTPS is for sending .

Securing Remote Desktop Services in Windows Server 2008

BlackBerry Enterprise Server for Microsoft Exchange Version: 5.0 Service Pack: 2. Administration Guide

Step-by-Step Guide for Setting Up VPN-based Remote Access in a Test Lab

6419: Configuring, Managing, and Maintaining Server 2008

Administering Windows Server 2012

Securing Administrator Access to Internal Windows Servers

Central Desktop Enterprise Edition (Security Pack)

Microsoft Office365 with Active Directory Federated Services (ADFS) Authenticating Users Using SecurAccess Server by SecurEnvoy

RDP Exploitation using Cain I will demonstrate how to ARP poison a connection between a Windows 7 and Windows 2008 R2 Server using Cain.

ERNW Newsletter 36 / October Certificate Based Device Authentication with ios Devices

70-685: Enterprise Desktop Support Technician

PKI Uncovered. Cisco Press. Andre Karamanian Srinivas Tenneti Francois Dessart. 800 East 96th Street. Indianapolis, IN 46240

Administering Windows Server 2012

Administering Windows Server 2012

Configuring, Managing and Maintaining Windows Server 2008 Servers

Troubleshooting smart card logon authentication on active directory

SERVER PUBLISHING RULES

Digital certificates and SSL

Protecting Networks and Data with Public Key Infrastructure (PKI)

Administering Windows Server 2012

BlackBerry Business Cloud Services. Administration Guide

Expert Reference Series of White Papers. Fundamentals of the PKI Infrastructure

User Guide Supplement. S/MIME Support Package for BlackBerry Smartphones BlackBerry Pearl 8100 Series

MOC 6419: Configuring, Managing, and Maintaining Windows Server 2008

VeriSign PKI Client Government Edition v 1.5. VeriSign PKI Client Government. VeriSign PKI Client VeriSign, Inc. Government.

Course Active Directory Services with Windows Server

McAfee Firewall Enterprise 8.2.1

ClickShare Network Integration

COURSE 20411D: ADMINISTERING WINDOWS SERVER 2012

Millbeck Communications. Secure Remote Access Service. Internet VPN Access to N3. VPN Client Set Up Guide Version 6.0

Build Your Knowledge!

Configuration Guide for RFMS 3.0 Initial Configuration. WiNG 5 How-To Guide. Digital Certificates. July 2011 Revision 1.0

Administering Windows Server 2012

Active Directory Services with Windows Server 10969B; 5 days, Instructor-led

Course Administering Windows Server About this Course. Level: 200 Technology: Windows Server 2012

Introduction to Network Security Key Management and Distribution

Windows Server 2012 R2 Certification

Configuring, Managing and Maintaining Windows Server 2008 Servers

GTS Software Pty Ltd. Remote Desktop Services

Endpoint Security VPN for Mac

Xerox FreeFlow Digital Publisher Information Assurance Disclosure. Onsite, Cloud and epublishing Configurations

User Documentation for SmartPolicy. Version 1.2

Administering Windows Server 2012

411-Administering Windows Server 2012

Windows 2000 Security Architecture. Peter Brundrett Program Manager Windows 2000 Security Microsoft Corporation

Advanced Administration

Public Key Infrastructure for a Higher Education Environment

Transcription:

Ing. Ondřej Ševeček GOPAS a.s. MCM: Directory Services MVP: Enterprise Security Certified Ethical Hacker ondrej@sevecek.com www.sevecek.com CERTIFICATES AND CRYPTOGRAPHY Troubleshooting Remote Access MOTIVATION

Motivation for encryption Ethernet/WiFi prone to ARP poisoning and other attacks Public internet is insecure Motivation for Certificates TLS (SSL) encryption HTTPS, SMTPS, RDP, LDAPS, FTPS, POP3S, IMAP4S, SSTP VPN, IP-HTTPS TLS (SSL) authentication 802.1x for Ethernet, 802.1x for WiFi, EAP-TLS for VPN, SSL Client Authentication for HTTPS IPSec Smart Card Logon Encrypting File System Digital Signing documents, macros, scripts, executables Secure Email (S/MIME) signed and/or encrypted

Motivation for Certificates Better than simple user passwords RSA 2048 + SHA-1 comparable with 12 characters complex password RSA 2048 + SHA256 comparable with 16 characters complex password Can be stored in smart card hardware item cannot be copied multifactor authentication and access with PIN Troubleshooting Remote Access CERTIFICATION AUTHORITY

Certification Authority Certificate Issuer Must be trusted by users and servers May construct hierarchies CA Hierarchy

CA Types Enteprise CA AD integrated automatically trusted by domain members issues certifcates online autoenrollment Standalone workgroup computer receives requests in.req files and issues.cer files manual copy/download Enterprise CA Installation User must be member of Enterprise Admins Choose public key lenght: RSA 2048 signature: SHA-1 or SHA256 (only 2008/Vista+)

Troubleshooting Remote Access CERTIFICATE TEMPLATES Certificate Templates Certification Policies Define certificate parameters Versions Windows 2000 cannot be modified Windows 2003 can be used by XP, 2003 and newer Windows 2008 can be use by Windows 2008/Vista and newer, with exceptions! Windows 2012 can be used by all clients according to its compatibility settings

Certificate Templates Certificate Template Options

Subject Name Manually defined by requester Automatically filled in by CA from Active Directory Subject Name

Enhanced Key Usage Defines uses of the certificate KDC Authentication certificate for Domain Controllers Server Authentication TLS/SSL server Remote Desktop Authentication RDP/TS server Client Authentication TLS/SSL user authentication Encrypting File System file encryption Code Signing code file signing such as.exe,.ps1,.vbs, macros in.xlsm Document Signing document files such as.doc,.txt,.xls Secure Email digitally signed and/or encrypted email Enhanced Key Usage (EKU)

Permissions Read read the definition of the template Write modify template Enroll manually ask for the certificate submit the request to CA Autoenroll client computers can automatically ask for the certificates without user interaction Permissions

Troubleshooting Remote Access AUTOENROLLMENT Autoenrollment Automatic management of certificates Automatic enrollement if Autoenroll permission is granted Renews expiring certificates Archives expired/revoked certificates Occured at logon and every 8 hours CERTUTIL -pulse CERTUTIL -user -pulse

Autoenrollment Group Policy Autoenrollment Group Policy

Troubleshooting Remote Access TLS CERTIFICATE APPLICATIONS Why TLS and Certificates? Key Key Client Server Attacker Passive eavesdropping Key A Key A Key B Key B Client Attacker Server Active MITM

IIS (HTTPS) EKU: Server Authentication SAN: manual or DNS name Enroll: Web Servers IIS (HTTPS)

IIS (HTTPS) Remote Desktop over TLS Available since Windows 2003 SP1 Authenticates server identity RDP Security Layer only establishes encryption keys with D/H prone to MITM attacks

Remote Desktop EKU: Server Authentication or EKU: Remote Desktop Authentication 1.3.6.1.4.1.311.54.1.2 SAN: DNS name Enroll: Domain Computer + Domain Controllers GPO: Server Authentication Certificate Template RDP with Server Authentication

RDP with Remote Desktop Authentication RDP with Remote Desktop Authentication

Remote Desktop Single sign on to RDP Credentials delegation

SSO and TERMSRV SPN for RDP