Ultimate Hacking and Forensics Experience with CQURE for IT Pros

Total Page:16

File Type:pdf, Size:1020Kb

Ultimate Hacking and Forensics Experience with CQURE for IT Pros Ultimate Hacking and Forensics Experience with CQURE for IT Pros Mike Jankowski - Lorek CQURE: Cloud Solutions & Security Expert CQURE Academy: Trainer [email protected] www.cqureacademy.com @paulacqure @CQUREAcademy CONSULTING What does CQURE Team do? Consulting services Trainings High quality penetration tests with useful reports Security Awareness trainings for executives Applications Websites CQURE Academy: over 40 advanced security External services (edge) trainings for IT Teams Internal services + configuration reviews Certificates and exams Incident response emergency services Delivered all around the world only by a CQURE – immediate reaction! Team: training authors Security architecture and design advisory Forensics investigation Security awareness [email protected] For management and employees Cybersecurity Reference Architecture Software as a Service Office 365 80% + of employees admit using Security Operations ASM Vulnerability Incident Investigation Internet of Things non-approved SaaS apps for Management Center (SOC) Response and Recovery work (Stratecast, December 2013) Lockbox Logs & Analytics Active Threat Detection Unmanaged & Mobile Clients Identity & Information Protection UEBA ATA Enterprise Access Managed Hunting Security Analytics Threat Cloud App Security Provider OMS Teams SIEM Detection Conditional Access Analytics & Reporting Intune MDM/MAM On Premises Datacenter(s) SIEM DLP Security Integration AAD PIM NGFW IaaS/Hoster Azure SSL Proxy Appliances Microsoft Azure Information Office 365 ATP Multi-Factor IPS Protection (AIP) • Email Gateway Azure Security Center Authentication • Classification • • Anti-malware Security Hygiene • Labelling VPN • Threat Detection Extranet Hello for • Encryption • Rights Azure Key Vault Business Management Enterprise Servers Windows Server 2016 Security Azure App Gateway MIM PAM • Document Shielded VMs Secure Boot, Nano Server, Just Enough Admin, Device Guard, Credential Tracking Guard, Remote Credential Guard, Hyper-V Containers, … Azure Antimalware ATA • Reporting VMs VMs Network Security Groups Endpoint DLP Domain Controllers Admin Forest VPN Privileged Access Workstations SQL Encryption & Firewall Windows Managed Clients Certification $ Windows 10 Information Legacy Windows 10 Security Disk & Storage Encryption Authority (PKI) Sensitive Windows • Secure Boot Protection Workloads IoT WEF Mac EDR - Windows Defender ATP • Device Guard OS • Credential Guard EPP - Windows Defender • Remote Credential Guard Nearly all customer breaches Microsoft’s Incident Response team investigates involve credential theft System Management + Patching - SCCM + Intune • Windows Hello Intranet 63% of confirmed data breaches involve weak, default, or stolen passwords (Verizon 2016 DBR) Security Scopes SECURED SECURED DEFENDING DEVICES IDENTITIES AGAINST MODERN SECURITY THREATS THREAT INFORMATION RESISTANCE PROTECTION The 11 key cyber security questions 1. Do we treat cyber security as a business or IT responsibility? 2. Do our security goals align with business priorities? 3. Have we identified and protected our most valuable processes and information? 4. Does our business culture support a secure cyber environment? 5. Do we have the basics right? (For example, access rights, software patching, vulnerability management and data leakage prevention.) 6. Do we focus on security compliance or security capability? 7. Are we certain our third-party partners are securing our most valuable information? 8. Do we regularly evaluate the effectiveness of our security? 9. Are we vigilant and do we monitor our systems and can we prevent breaches? 10.Do we have an organized plan for responding to a security breach? 11.Are we adequately resourced and insured? Identity Pillar Identity Major Identity Challenges Embraces identity as primary security perimeter and protects • Identity system security is critical to all identity systems, admins, and credentials as top priorities security assurances • Attackers are actively targeting privileged access and identity systems • Identity attacks like credential theft are difficult to detect and investigate • Identity systems are complex and challenging to protect Securing Securing • Individual accounts have large attack Privileged Identities surface across devices and systems Access Identity Embraces identity as primary security perimeter and protects identity systems, admins, and credentials as top priorities SECURE MODERN ENTERPRISE Apps and Data Aligns security investments with business priorities including identifying and securing communications, data, and applications Infrastructure Operates on modern platform and uses cloud intelligence to Identity Apps Infrastructure Devices detect and remediate both vulnerabilities and attacks and Data Devices Accesses assets from trusted devices with hardware security Secure Platform (secure by design) assurances, great user experience, and advanced threat detection Windows Authentication Issues & Solutions On premise Cloud only Hybrid Windows Authentication Issues & Solutions: On premise Windows Hello – secure? Pass the hash SMB Relay Kerberos 2-stage authentication The Modern Enterprise Azure Active Directory Rights Management Services Key Management PaaS IaaS Services 3rd Party IaaS Office 365 Microsoft Azure Admin Environment 3rd Party SaaS High Value Assets On-Premises Customer and Datacenters Branch Office Intranet and Remote PCs Mobile Devices Partner Access Identity is the new security “perimeter” Active Directory and Administrators control all the assets Identity is the new security “perimeter” under attack Active Directory and Administrators control all the assets Attackers Can • Steal any data • Encrypt any data • Modify documents One small mistake can • Impersonate lead to attacker control users • Disrupt business operations Phase 1 Critical Mitigations: Typical Attack Chain Compromises privileged access 24-48 Hours Tier 0 Domain & 1. Beachhead (Phishing Attack, etc.) Enterprise 2. Lateral Movement Admins a. Steal Credentials b. Compromise more hosts & credentials 3. Privilege Escalation Tier 1 a. Get Domain Admin credentials Server 4. Execute Attacker Mission Admins a. Steal data, destroy systems, etc. b. Persist Presence Tier 2 Workstation & Device Admins Phase 1 Critical Mitigations: Credential Theft Demonstration Domain.Local DC Attack Operator DomainAdmin Client http://aka.ms/credtheftdemo Making and Measuring Progress against Risk Attack Defense Prevent Escalation Securing Privileged Access Three Stage Roadmap Credential Prevent Lateral Theft & Abuse Traversal Increase Privilege Usage Visibility 2-4 weeks 1-3 months 6+ months Harden Domain Configuration Controller (DC) Host Attacks Reduce Agent Attack Surface http://aka.ms/privsec Assign Least AD Attacks Privilege Attacker Stealth Detect Attacks Protecting Active Directory and Admin privileges 2-4 weeks 1-3 months 6+ months First response to the most frequently used attack techniques 3. Unique Local Admin Passwords 4. Unique Local Admin for Workstations Passwords for Servers http://Aka.ms/LAPS http://Aka.ms/LAPS 1. Separate Admin 2. Privileged Access Workstations (PAWs) account for admin tasks Phase 1 - Active Directory admins http://Aka.ms/CyberPAW First response to the most frequently used attack techniques Attack Defense 2-4 weeks 1-3 months 6+ months Prevent Escalation Top Priority Mitigations Credential Prevent Lateral Theft & Abuse Traversal Increase Privilege Usage Visibility Harden DC DC Host configuration Attacks Reduce DC Agent attack surface Assign Least AD Attacks Privilege Attacker Stealth Detect Attacks Protecting Active Directory and Admin privileges 2-4 weeks 1-3 months 6+ months Build visibility and control of administrator activity, increase protection against typical follow-up attacks 6. Attack Detection http://aka.ms/ata 2. Time-bound privileges (no permanent admins) http://aka.ms/PAM http://aka.ms/AzurePIM 3. Multi-factor for elevation 987252 1 1. Privileged Access Workstations (PAWs) 4. Just Enough Admin 5. Lower attack surface Phases 2 and 3 –All Admins and additional hardening (JEA) for DC Maintenance of Domain and DCs (Credential Guard, RDP Restricted Admin, etc.) http://aka.ms/JEA http://aka.ms/HardenAD http://aka.ms/CyberPAW Build visibility and control of admin activity Attack Defense 2-4 weeks 1-3 months 6+ months Prevent Escalation Protecting Active Directory and Admin privileges 2-4 weeks 1-3 months 6+ months 5. Shielded VMs for Move to proactive security posture virtual DCs (Server 2016 Hyper-V Fabric) http://aka.ms/shieldedvms 1. Modernize Roles and Delegation Model 2. Smartcard or Passport 3. Admin Forest for Active 4. Code Integrity Authentication for all Directory administrators Policy for DCs admins http://aka.ms/ESAE (Server 2016) http://aka.ms/Passport Move to proactive security posture Attack Defense 2-4 weeks 1-3 months 6+ months Prevent Escalation Prevent Lateral Traversal Windows Hello: Attack vectors Credentials not sent to cloud only stored locally Every machine must be registered Active Directory password is not shared What is the most successful path for the attack right now? THE ANATOMY OF AN ATTACK :) Healthy User Receives User Lured to Device Computer Email Malicious Site Infected with Malware :) Healthy User Receives HelpDeskUser Lured Logs to IdentityDevice Stolen, Computer Email Maliciousinto Device Site AttackerInfected Haswith IncreasedMalware Privs User Receives User Lured to Device HelpDesk Logs Identity Stolen, Email Malicious Site Infected with into Device Attacker Has Malware Increased Privs
Recommended publications
  • Guide to Hardening Windows 10 Technical Guide
    NOVEMBER 2020 Guide to Hardening Windows 10 For Administrators, Developers and Office Workers TABLE OF CONTENTS Introduction .......................................................................................................................... 4 Prerequisites ............................................................................................................................ 4 User roles ................................................................................................................................. 4 EFI (BIOS) Configuration ...................................................................................................... 5 To be enabled: ......................................................................................................................... 5 To be disabled: ......................................................................................................................... 5 Windows Defender Firewall .................................................................................................. 6 Enable logging of dropped packets ............................................................................................. 6 Disable enforcement of local rules and disable notifications .......................................................... 7 Block outbound connections by default ....................................................................................... 8 Secure potentially vulnerable protocols ......................................................................................
    [Show full text]
  • Implementing Remote Credential Guard and Remote Admin Mode on Domain-Joined Windows 10 Clients
    INF258x: Implementing Remote Credential Guard and Remote Admin mode on Domain-joined Windows 10 Clients Estimated Time: 30 minutes You have a domain-joined Windows 10 client computer. You plan to take advantage of the Remote Desktop Credential Guard and Restrict Admin mode to protect credentials during Remote Desktop sessions between Windows 10 client and Windows Server 2016 computers. Objectives After completing this lab, students will be able to: • Implement Remote Credential Guard. • Implement the Restricted Admin mode. • Verify functionality of Remote Credential Guard and the Restricted Admin mode. Lab environment The lab consists of the following computers: • LON-DC1 – a Windows Server 2016 domain controller in the adatum.com single-domain forest. • LON-SVR1 – a Windows Server 2016 domain member server • LON-CL1 – a Windows 10 Pro or Enterprise version 1607 (or newer) domain member computer with Remote Server Administration Tools for Windows 10 All computers have Windows PowerShell Remoting enabled and have Internet connectivity Remote Desktop connections protected with Credential Guard have the following characteristics: • Require Windows 10 version 1607 (or newer) or Windows Server 2016 • Enforce of Kerberos authentication (NTLM is not allowed). • Require that both computers (a Remote Desktop client and a Remote Desktop host) are members of the same Active Directory domain or trusted Active Directory domains (Kerberos is enforced) • Support connecting with non-Administrative credentials (as a member of the Remote Desktop Users group)
    [Show full text]
  • Windows 10 Enterprise E3 in CSP - Windows Deployment | Microsoft Docs
    07/01/2020 Windows 10 Enterprise E3 in CSP - Windows Deployment | Microsoft Docs Windows 10 Enterprise E3 in CSP 08/23/2017 • 16 minutes to read • +5 In this article Compare Windows 10 Pro and Enterprise editions Deployment of Windows 10 Enterprise E3 licenses Deploy Windows 10 Enterprise features Related topics Windows 10 Enterprise E3 launched in the Cloud Solution Provider (CSP) channel on September 1, 2016. Windows 10 Enterprise E3 in CSP is a new offering that delivers, by subscription, exclusive features reserved for Windows 10 Enterprise edition. This offering is available through the Cloud Solution Provider (CSP) channel via the Partner Center as an online service. Windows 10 Enterprise E3 in CSP provides a flexible, per- user subscription for small- and medium-sized organizations (from one to hundreds of users). To take advantage of this offering, you must have the following: Windows 10 Pro, version 1607 (Windows 10 Anniversary Update) or later, installed and activated, on the devices to be upgraded Azure Active Directory (Azure AD) available for identity management Starting with Windows 10, version 1607 (Windows 10 Anniversary Update), you can move from Windows 10 Pro to Windows 10 Enterprise more easily than ever before— no keys and no reboots. After one of your users enters the Azure AD credentials associated with a Windows 10 Enterprise E3 license, the operating system turns from Windows 10 Pro to Windows 10 Enterprise and all the appropriate Windows 10 Enterprise features are unlocked. When a subscription license expires or is transferred to another user, the Windows 10 Enterprise device seamlessly steps back down to Windows 10 Pro.
    [Show full text]
  • Feature Description
    NTLM Feature Description UPDATED: 19 March 2021 NTLM Copyright Notices Copyright © 2002-2021 Kemp Technologies, Inc. All rights reserved. Kemp Technologies and the Kemp Technologies logo are registered trademarks of Kemp Technologies, Inc. Kemp Technologies, Inc. reserves all ownership rights for the LoadMaster and Kemp 360 product line including software and documentation. Used, under license, U.S. Patent Nos. 6,473,802, 6,374,300, 8,392,563, 8,103,770, 7,831,712, 7,606,912, 7,346,695, 7,287,084 and 6,970,933 kemp.ax 2 Copyright 2002-2021, Kemp Technologies, All Rights Reserved NTLM Table of Contents 1 Introduction 4 1.1 Document Purpose 6 1.2 Intended Audience 6 1.3 Related Firmware Version 6 2 Configure NTLM Authentication 7 2.1 Configure Internet Options on the Client Machine 7 2.2 Configure the LoadMaster 11 2.2.1 Enable NTLM Proxy Mode 13 2.2.2 Configure the Server Side SSO Domain 13 2.2.3 Configure the Client Side SSO Domain 15 2.2.4 Configure the Virtual Service 15 2.3 Configure Firefox to Allow NTLM (if needed) 17 2.4 Troubleshooting 18 References 19 Last Updated Date 20 kemp.ax 3 Copyright 2002-2021, Kemp Technologies, All Rights Reserved NTLM 1 Introduction 1 Introduction NT LAN Manager (NTLM) is a Windows Challenge/Response authentication protocol that is often used on networks that include systems running the Windows operating system and Active Directory. Kerberos authentication adds greater security than NTLM systems on a network and provides Windows-based systems with an integrated single sign-on (SSO) mechanism.
    [Show full text]
  • Implementing Microsoft Credential Guard for Iso 27001, Pci, and Fedramp
    IMPLEMENTING MICROSOFT CREDENTIAL GUARD FOR ISO 27001, PCI, AND FEDRAMP North America | Latin America | Europe 877.224.8077 | [email protected] | coalfire.com Coalfiresm and CoalfireOnesm are registered service marks of Coalfire Systems, Inc. All rights reserved. INTRODUCTION The threat of a cyber-attack is a constant factor all organizations must consider when developing their information security posture. A particular area of concern is the exploitation of information system derived domain credentials and credential artifacts, which present attackers the opportunity to pass-the-hash or pass-the-ticket with derived domain credentials such as NTLM password hashes or Kerberos tickets. Credential Guard is a set of new security features for Windows Server 2016 and the Windows 10 operating system which helps organizations prevent derived credentials from being compromised by advanced attacks or from being exposed during certain authentication workflows. In order to help customers implement this new capability for compliance with ISO, PCI, or FedRAMP, Microsoft worked closely with Coalfire, a recognized third-party IT compliance firm, to define each security and compliance objective in relation to the capabilities of Credential Guard. In addition, Appendix A contains mappings between Credential Guard and the security control requirements present in ISO 27001, PCI DSS, and FedRAMP. OVERVIEW OF CREDENTIAL GUARD Credential Guard provides robust protections against local pass-the-hash or pass-the-ticket attacks on derived credentials by providing advanced virtualization-based isolation for certain authentication workflows within normal Windows system operation. Previously, during authentication workflows that required NTLM or Kerberos authentication, Windows stored derived credentials in process memory associated with the Local Security Authority (LSA).
    [Show full text]
  • Better Protection Begins at the OS
    Windows Server 2016 Security Better protection begins at the OS 1 Contents Getting out in front of cyber attacks 3 How attacks work 3 Windows Server 2016: Active defense and compliance 4 Protect credentials and limit administrator privileges 5 Credential Guard 5 Remote Credential Guard 5 Just Enough and Just-in-Time Administration 5 Secure OS to run your applications and infrastructure 7 Device Guard 7 Control Flow Guard 7 Windows Defender 8 Enhanced security auditing 8 Secure virtualization 8 Shielded Virtual Machines 8 Host Guardian Service 10 Distributed network firewall using software-defined networking 10 Security for developers 11 Hyper-V containers 11 Nano Server 12 Conclusion 12 Windows Server begins at the OS 2016 Security: Better protection Getting out in front of cyber attacks n today’s business environment, cyber attacks file servers or locks employees out of their systems. Ihave become a normal occurrence for companies The attackers don’t even need to worry about of all sizes, across all industries. The attacker profile staying hidden on the network. has grown beyond independent actors, and now includes organized crime, nation states, and terror groups. These groups not only go after the biggest How attacks work companies to steal information for the biggest Most attackers use malware toolkits – available payoff, they are also focused on interrupting to anyone on the internet – to gain access to your businesses for profit or other malicious intent. network. Once inside, they immediately attempt Ransomware is another emerging threat used to to compromise administrator credentials, which disrupt business for financial gain. Attackers rely typically takes them 24 to 48 hours.
    [Show full text]
  • Securing the Path to Windows 10 How to Achieve the Benefits of Virtualization-Based Security Without a Hardware Refresh White Paper
    White Paper Securing the Path to Windows 10 How to Achieve the Benefits of Virtualization-based Security Without a Hardware Refresh White Paper Introduction “Bromium, a Microsoft partner, For enterprises the #1 reason to upgrade to Windows 10 is delivers hardware-enforced improved security, but the critical enhancements that rely on security to today’s deployed Windows endpoints. More hardware protection will be difficult to adopt until you buy importantly, Bromium enables new PCs. Bromium, a Microsoft partner, delivers hardware- IT organizations to easily upgrade existing PCs to Windows 10 with enforced security to today’s deployed Windows endpoints. More hardware-enforced security importantly, Bromium enables IT organizations to easily upgrade that extends the in-box security existing PCs to Windows 10 with hardware-enforced security that of Windows 10, without a hardware refresh, accelerating extends the in-box security of Windows 10, without a hardware Windows 10 rollouts.” refresh, accelerating Windows 10 rollouts. Windows 10 Security Windows 10 Enterprise promises many security enhancements over Windows 7 and 8, and introduces a family of hardware-assisted security technologies in Device Guard (DG). DG helps to ensure a secure boot, whitelists kernel code and offers credential protection and biometric authentication. The most important Figure 1: Windows 10 Device Guard SECURING THE PATH TO WINDOWS 10 2 White Paper “VBS uses endpoint CPU feature is virtualization-based security (VBS) which uses Hyper-V, enhanced with virtualization to isolate and elements of micro-virtualization, to help protect the operating system using protect two critical Windows hardware virtualization. The Bromium / Microsoft partnership aims to accelerate services: Windows Code Integrity service which protects the kernel the roadmap for VBS.
    [Show full text]
  • Intelligent Security
    Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 commercial edition comparison Pro for Pro Business E3 E5 Workstation Per device Per device Per user Per user Per user Intelligent Security Threat protection Attack Surface Reduction ◑ ◑ ◕ ◕ ● Integrity enforcement of operating system boot up process Integrity enforcement of sensitive operating system components Advanced vulnerability and zero-day exploit mitigations Reputation based network protection for browsers Host-based firewall Ransomware mitigations Hardware based isolation for Microsoft Edge Application Control Device Control (e.g.: USB) Network protection for web-based threats Host intrusion prevention rules Enterprise management of hardware-based isolation for Microsoft Edge1 Customizable allow/deny lists (e.g.: IP/URL, Files, Certificates) Device-based conditional access Centrally manageable tamper protection of operating system Next Generation Protection ◑ ◑ ◑ ◑ ● Pre-execution emulation executables and scripts Runtime behavior monitoring In memory anomaly and behavior monitoring Machine learning and AI based protection from viruses and malware Published April 2020 v1909 1 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 Windows 10 commercial edition comparison Pro for Pro Business E3 E5 Workstation Per device Per device Per user Per user Per user Cloud protection for fastest responses to new/unknown web-based threats Protection from fileless based attacks Advanced machine learning and AI based protection for apex level viruses and malware threats Advanced
    [Show full text]
  • Enabling Windows Server 2019 Device Guard and Credential Guard on Lenovo Thinksystem Servers
    Front cover Enabling Windows Server 2019 Device Guard and Credential Guard on Lenovo ThinkSystem Servers Introduces the Device Guard and Provides steps to enable Device Credential Guard features Guard and Credential Guard Describes how to check the status Explains what Lenovo servers of the features support the features Guiqing Li Abstract Device Guard and Credential Guard are two important security features of the Microsoft Windows Server operating system that leverage virtualization capabilities from the hardware and the hypervisor to provide additional protection for critical subsystems and data. Customers can implement these features to secure their devices and data, such as user or system secrets, and hashed credentials. To benefit from these two features, the servers you are protecting must meet certain baseline hardware, firmware and software requirements. Lenovo® ThinkSystem™ servers support these two security features in conjunction with Windows Server 2019. This document introduces Device Guard and Credential Guard, and shows users how to enable them on supported Lenovo ThinkSystem servers. This paper is intended for IT specialists, technical architects and sales engineers who want to learn more about Device Guard and Credential Guard and how to enable them. It is expected that readers have some experience with Windows Server administration. At Lenovo Press, we bring together experts to produce technical publications around topics of importance to you, providing information and best practices for using Lenovo products and solutions to solve IT challenges. See a list of our most recent publications at the Lenovo Press web site: http://lenovopress.com Do you have the latest version? We update our papers from time to time, so check whether you have the latest version of this document by clicking the Check for Updates button on the front page of the PDF.
    [Show full text]
  • CIS Microsoft Windows Server 2019 RTM (Release 1809) Benchmark
    CIS Microsoft Windows Server 2019 RTM (Release 1809) Benchmark v1.0.0 - 08-30-2019 Terms of Use Please see the below link for our current terms of use: https://www.cisecurity.org/cis-securesuite/cis-securesuite-membership-terms-of-use/ 1 | P a g e Table of Contents Terms of Use ........................................................................................................................................................... 1 Overview ............................................................................................................................................................... 35 Intended Audience ........................................................................................................................................ 35 Consensus Guidance ..................................................................................................................................... 35 Typographical Conventions ...................................................................................................................... 36 Scoring Information ..................................................................................................................................... 36 Profile Definitions ......................................................................................................................................... 37 Acknowledgements ...................................................................................................................................... 39 Recommendations
    [Show full text]
  • What's New in Windows 10
    Contents What's new in Windows 10 What's new in Windows 10, version 1903 What's new in Windows 10, version 1809 What's new in Windows 10, version 1803 What's new in Windows 10, version 1709 What's new in Windows 10, version 1703 What's new in Windows 10, version 1607 What's new in Windows 10, versions 1507 and 1511 What's new in Windows 10 5/21/2019 • 2 minutes to read • Edit Online Windows 10 provides IT professionals with advanced protection against modern security threats and comprehensive management and control over devices and apps, as well as flexible deployment, update, and support options. Learn about new features in Windows 10 for IT professionals, such as Windows Information Protection, Windows Hello, Device Guard, and more. In this section What's new in Windows 10, version 1903 What's new in Windows 10, version 1809 What's new in Windows 10, version 1803 What's new in Windows 10, version 1709 What's new in Windows 10, version 1703 What's new in Windows 10, version 1607 What's new in Windows 10, versions 1507 and 1511 Learn more Windows 10 release information Windows 10 update history Windows 10 content from Microsoft Ignite Compare Windows 10 Editions See also Windows 10 Enterprise LTSC Edit an existing topic using the Edit link What's new in Windows 10, version 1903 IT Pro content 6/18/2019 • 10 minutes to read • Edit Online Applies to Windows 10, version 1903 This article lists new and updated features and content that are of interest to IT Pros for Windows 10 version 1903, also known as the Windows 10 May 2019 Update.
    [Show full text]
  • 577741-Remote Credencial Guard.Pdf
    Agenda • A brief Introduction • Prerequisites • A very, very short Kerberos Introduction • What are Credentials? • Credential Guard • Restricted Admin • Remote Credential Guard • MS-CSSP • MS-RDPEAR What I Expect You to Already Know •Kerberos •Restricted Admin Mode •Credential Security Support Provider (CredSSP) Protocol •RPC Marshalling & ASN1 Serialization A Brief Introduction • Remote Credential Guard is the RDP version of Credential Guard • In Credential Guard, Virtualized Environment stores the Credentials • In Remote Credential Guard, instead of Virtualized Environment, RDP Client stores the Clear Credentials • In Credential Guard, LSASS exchange messages with Virtualized Environment when it needs a new ticket or authenticate message to login to a service • RDP server exchanges similar kind of messages with LSASS on the client when it needs a new ticket to authenticate to a service Demo of Remote Credential Guard What Problem We’re trying to Solve? • RDP requires User Credentials to create a User Session on Remote Target • CredSSP (NLA) is employed to ferry the Clear Text Credentials to Remote Target • While the Credentials in transit are doubly encrypted, they are decrypted on the Remote Target to pass to LsaLongonUser API • If the Remote Target is compromised, an attacker can steal the Credentials • Remote Credentials Guard fixes these issues by sending encrypted session key1 and TGT instead of clear text username and password 1. RCG also send encrypted NTOWF which is used to login to services that don’t support Kerberos A very, very short refresher to Kerberos • Require 3 entities to work: client, service, KDC1 (also hosts TGS2) • Client and Service both share long term secrets with KDC (password derived hashes a.k.a long term keys) • Client requests a ticket to authenticate to a service • At the time of logging on, client acquires a ticket for a TGS • The ticket for TGS is called TGT (Ticket Granting Ticket) • Once a TGT is issued, the long-term key is destroyed on client • TGT and associated session key are now the credentials.
    [Show full text]