top 10 things that make a hacker’s life easy...©2014 cliftonlarsonallen llp 10 things that make...

24
©2014 CliftonLarsonAllen LLP CLAconnect.com Top 10 Things That Make a Hacker’s Life Easy

Upload: others

Post on 06-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

©20

14 C

lifto

nLar

sonA

llen

LLP

CLAconnect.com

Top 10 Things That Make a Hacker’s Life Easy

Page 2: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Intro/Summary

1. I am going to share with you: 1. Day to day experiences doing vulnerability assessments 2. “Top 10 things” that make it easy (easier?) for hackers 3. New/emerging vulnerabilities exploited by hackers 4. Key defensive strategies to mitigate risks

Page 3: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

10 things that make it easy for hackers

1. Giving users local admin privileges 2. Domain Admins don’t have separate user account 3. Domain Admins log into workstation 4. Weak passwords 5. Shared passwords

Page 4: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

10 things that make it easy for hackers

6. Poor patching 7. Unnecessary ports and services 8. Weak/no encryption 9. Vendor Systems 10. Lack of security awareness

Page 5: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Latest Trends/The New Hotness

• New methods on bypassing anti-virus • Relaying network credentials (SMB or HTTP) • Utilizing PowerShell to hack systems • Using Mimikatz to steal clear text credentials • Kerberos “Golden Ticket”

Page 6: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Bypassing AV Easy as 1-2-3….

Page 7: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

New Ways to Bypass AV

• Multiple tools available • Free, open source • Easy to use • Can generate a new, totally unique payload that

bypasses a majority of AV’s in seconds • We’ve been using it on EPTs over the last year with

great success

Page 8: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

New Ways to Bypass AV

• Veil-Evasion – https://www.veil-framework.com/

• Crypter.py – Google search, proceed with caution

Page 9: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

How to protect yourself

• Strict egress filtering – Utilize whitelisting instead of blacklisting

• Whitelist applications • Utilize proxy

– SSL stripping

Page 10: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Relaying creds Yes, I am the host you’re looking for…

Page 11: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Relaying network creds

• Attacks Windows Single Sign-On • Starts by spoofing NetBIOS traffic • Tricks computer into attempting to authenticate to

the attacker • The computer automatically sends encrypted

credentials to attacker • Attacker relays the credentials to other target

Page 12: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Relaying network creds

• SMB or HTTP • Can be used to authenticate to alternate system or

run malicious code on alternate system

Page 13: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

How to protect yourself

• Enforce SMB Signing – http://support.microsoft.com/kb/887429 – http://technet.microsoft.com/en-

us/library/cc731957.aspx

Page 14: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

PowerShell That’s one powerful shell…

Page 15: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

PowerShell

• Windows scripting environment built on .NET • Comes pre-installed

– Attackers don’t have to worry about AV

• Able to perform many different tasks that command prompt couldn’t

Page 16: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

PowerShell

• Search for systems where you have local administrator access

• Search for where domain administrators are logged in

• Can download items from a URL • Can inject malicious code straight into memory

Page 17: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

How to protect yourself

• Disable PowerShell if not used in your environment • Microsoft EMET

– http://support.microsoft.com/kb/2458544

Page 18: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Mimikatz I can see your password :)

Page 19: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Mimikatz

• Windows stores your clear text password in memory when you log in

• Mimikatz can extract those clear text passwords from memory

• Need admin privileges on the host

Page 20: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

How to protect yourself

• Protect systems from malware • Restrict admin access to systems

Page 21: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Golden Ticket Full access….forever

Page 22: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

Kerberos Golden Ticket

• Kerberos is an authentication protocol for Windows Active Directory environments – If you successfully authenticate, you are granted a “ticket”

• If your domain gets compromised, an attacker can steal the information needed to create “tickets”

• An attacker can create fake “golden tickets” that allow access to everything, even if everyone changes their password

Page 23: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

How to protect yourself

• Protect systems from malware • Restrict admin access to systems • Defense in depth/security layers

• If fully compromised, the krbtgt account password

needs to be updated – Consult an expert

Page 24: Top 10 Things That Make a Hacker’s Life Easy...©2014 CliftonLarsonAllen LLP 10 things that make it easy for hackers 1. Giving users local admin privileges 2. Domain Admins don’t

©20

14 C

lifto

nLar

sonA

llen

LLP

DEMO