Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA...

42
Advanced Technology Days December 5-6, 2017., Plaza Event Centar, Zagreb

Transcript of Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA...

Page 1: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Advanced

Technology DaysDecember 5-6, 2017., Plaza Event Centar, Zagreb

Page 2: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Vladimir Stefanović

Advanced Technology Days, Zagreb, 06.12.2017.

Page 3: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to
Page 4: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Vladimir Stefanović

• System Engineer @Superadmins

• Techical Trainer @ATC

• MCSA, MCSE, MCT, IAMCT Regional Lead, Speaker

[email protected]

• www.tech-trainer.info/atd13

Who am I

Page 5: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Security approach and statistics

Page 6: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Security approach

Page 7: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Security approach

Page 8: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Traditional

• I’m not interesting target

• Attack can come just externally

Traditional vs. Modern defense approach

Modern

• Protect

• Detect

• Respond

Page 9: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Threats

• Compromise privileged accounts

• Exploit unpatched vulnerabilities

• Phishing attacks

• Malware infections (ransomware, trojans, logic bombs...)

Attack Vectors

Motives for attack

• Profit

• By selling data

• By ransoming data

• Destroying infrastructure

Page 10: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Statistics 2017 - Attack motives

77%

13%

5%5%

Cyber Crime Cyber Espionage Cyber Warfare Hacktivism

Page 11: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Statistics 2017 - After attack plans

Page 12: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Statistics 2017 - After attack budget

Page 13: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Can we harden Windows infrastructure, and how?

Page 14: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Local administrator passwords are unique on each computer

• LAPS randomizes and changes local administrator passwords

• LAPS stores local administrator passwords and secrets securely inside active directory

• Access to passwords is configurable

LAPS - Overview

Page 15: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Any domain member computer (server or client)

• Domain Functional level 2003 or higher

• AD Schema must be extended to use LAPS

• LAPS client on managed computers

• .NET Framework 4.0

• Windows PowerShell 2.0 or later

LAPS - Requirements

Page 16: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Install LAPS on management server

• Extend schema by PowerShell command• msMcsAdmPwd and msMcsAdmPwdExpirationTime

• Configure permissions for LAPS client computers

• Install LAPS client on desired computers (manually or GPO)

• Configure LAPS with GPO• Enabling LAPS

• Password complexity, length, expiration

LAPS - Configuring and managing

Page 17: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 18: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 19: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 20: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 21: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 22: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

LAPS - Configuring and managing

Page 23: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Enhanced Security Admin Environment

Admin forest

Admin

accounts

Production forest

ESAE Forest

Page 24: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• The ESAE forest should be a single-domain AD forest

• ESAE forest should contain only admin accounts for the production forest

• Applications or additional resources should’t be deployed in the ESAE forest

• One way forest trust must exists - Production forest trusts the ESAE forest

Enhanced Security Admin Environment

Page 25: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• JEA provides RBAC on Windows PowerShell remoting

• The endpoint limits the user to use predefined PowerShell cmdlets, parameters, and parameter values

• Actions are performed by using a special machine local virtual account

• Native support in Windows Server 2016 and Windows 10

• Supported on other operating systems with installed WMF 5.0

JEA - Just Enough Administration

Page 26: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Not suitable for troubleshooting tasks

• Setup requires understanding precisely which cmdlets, parameters, aliases, and values are needed to perform specific tasks

• JEA works only with Windows PowerShell sessions

• User must be familiar with PowerShell

JEA - Disadvantages

Page 27: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Create role-capability file(s)

• Configure visible cmdlets

• Configure visible functions

• Configure visible external commands

• Create session-configuration file(s)

• Configure role defitinions

• Creating JEA endpoint / Register session-configuration file(s)

• Connect to JEA endpoint

• Enter-PSSession -ComputerName $ -ConfigurationName $

JEA - Configuring

Page 28: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

JEA - Configuring

Page 29: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Edit role-capability file

• Edit session-configuration file

JEA - Configuring examples

Page 30: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

JEA - Connect as Administrator

Page 31: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

JEA - Connect as Help Desk

Page 32: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• ATA is an Network Intrusion Detection System

• Prevents all known signature-based attacks

• Perform behavior-based detection and learn user behavior

• Provides recommendations for investigation for each identified suspicious activity or known attack

ATA - Advanced Threat Analitycs

Page 33: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Analyze

• Simple, nonintrusive port mirroring

• Remains invisible to attackers

• Learns and profiles entity behavior

• Detect

• Examines abnormal behavior

• Alert

• Reports suspicious activities on the attack timeline

• Identifies who, when, what, and how and provides recommendations

How ATA works

Page 34: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• ATA Center

• The ATA Center receives data from any ATA Gateways and/or ATA Lightweight Gateways you deploy.

• ATA Gateway

• The ATA Gateway is installed on a dedicated server that monitors the traffic from your domain controllers using either port mirroring or a network TAP.

• ATA Lightweight Gateway

• The ATA Lightweight Gateway is installed directly on your domain controllers and monitors their traffic directly

ATA components

Page 35: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

ATA infrastructure

Page 36: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

We must not forget

Page 37: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

Patch

• Manually

• WSUS

• SCCM

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

• Patching system

Page 38: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Onsite

• Offsite

• Online

• Testing

Backup

Page 39: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

• Least privilege

• Separated administrator account

• Password policy

• Kerberos policy

• Disable SMBv1 (be careful, sensitive task)

• Disable NTLM (be careful)

Best practise

Page 40: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

Q & A

Page 41: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to

- The end -Thank you for attention!

Page 42: Advanced Technology Daystech-trainer.info/wp-content/uploads/2017/12/Keep-calm-ATD13.pdf · •JEA provides RBAC on Windows PowerShell remoting • The endpoint limits the user to