61
How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Embed Size (px)

Citation preview

Page 1: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Page 2: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PART 1 - COMPLIANCE STANDARDS

Page 3: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PART 2 – SECURITY IMPACT

Page 4: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

THEMES – BUILD A MODEL

Page 5: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

THEMES – MONITOR FOR FAILURE

Page 6: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

THEMES – DEMONSTRATE COMPLIANCE

Page 7: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

WE ARE IN A GREAT CAREER FIELD

Page 8: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

90’s 2000 2010

Am

ou

nt o

f grey h

air

Page 9: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 10: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Enterprise Vulnerability, Patch and Config Auditing

Continuous PCI and FDCC System and event monitoring

Agent and Agentless Log Aggregation and Search

Network monitoring of Servers, Clients and Databases

Continuous Web Application Security Assessments and Monitoring

•Database Activity Monitoring •USB Device usage •Botnet and Virus detection •Software Enumeration •Insider Threat detection •Antivirus auditing •3D network and event graphs •File integrity monitoring •24x7 discovery of systems … and much more !

Page 11: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PART 1 - COMPLIANCE STANDARDS

Page 12: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Demonstrating compliance is

just as difficult as understanding

why

Figuring out ways to enforce

desired state isn’t that easy

either!

Page 13: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

When we do get it right, we don’t

want to stray from the desired

behavior

Page 14: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

The USA Federal government has

outpaced commercial and

international standards

Page 15: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA CNA STIG XCCDF SCAP XCCDF FISMA

Page 16: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Current Configuration Standards

Page 17: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PCI is still criticized for not being tough enough

or too difficult

Page 18: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

What is PCI?

Pass Quarterly Vuln Scans Demonstrate that your patching, AV, firewall, IDS, web apps, wireless, WAF, user access, configs and databases are secure.

Page 19: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PCI IS GOOD – BUT IT POINTS FINGERS

Page 20: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Government Commercial

Single standard with enforcement

Many standards and no enforcement

Trying to make agency communication work

Trying to make department communication work

Moving towards continuous monitoring

Figuring our that anti virus isn’t working

Page 21: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Current Configuration Standards

Page 22: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 23: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Predictions for the future of compliance

Page 24: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Their numbers add up, but they

aren’t XCCDF compliant!

Page 25: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 26: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Did you do the penetration test

this week?

I sorted it out with a ruby script

Page 27: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 28: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

PART 2 – SECURITY IMPACT

Page 29: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 30: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 31: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 32: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 33: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

• Administrative tools -> Local Security Policy – Go to Software Restriction Policies – Action -> New – Additional Rules – New Path Rule – Create rules to ALLOW execution from :

• %sytemroot% • %programfilesdir%

– DENY execution from : • %systemroot%\temp

– Go to Security Level • Enable Default DENY

• This rule basically prevents programs other than those in

C:\Windows and C:\Program Files from being executed at all. This is a bit intrusive but prevents viruses, since Outlook attachments and other viruses get installed under C:\ or in the user's Outlook ”temp” directory.

Page 34: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 35: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 36: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

The White House audits 100 more items

beyond NIST.

WHITE HOUSE CONFERENCE ON FDCC CYBER COMPLIANCE

Page 37: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 38: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Which target would you rather hit?

Of course if you have a lot of the same targets …

Page 39: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

You have a monoculture!

Page 40: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 41: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 42: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

SIMPLE EXAMPLE – HTTP SERVER

Port 80 in. Nothing

allowed out

Port 22 in. Nothing

allowed out

No DNS. Web server

jailed.

Use IPS/Proxy to stop 0-days Monitor with NIDS/NBAD Look for outbound denied

firewalls

Watch for denies SSH client

attacks

System errors Illegal Commands

Unauthorized changes

File integrity

Page 43: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Boundary Desired Model Real World Monitoring Trigger

Internet No vulnerabilities Daily scanning Any “high” vuln

DMZ No system vulnerabilities Weekly patch audits Any security patches older than 15 days

DMZ Correct configuration Weekly config audit Any configuration issues older than 15 days

Internet No successful internet attacks

Use NIDS, web logs and NBAD to monitor sessions

Trend events. Alert on anomalies. Alert on “long” web sessions.

Internet No Outbound network connections

Log all firewall logs Alert on any denied outbound firewall event

DMZ No unauthorized system changes

Log all admin and user actions

Alert on any new changes including file integrity

DMZ System is error free Log all system and application errors

Trend and alert on anomalies in error records.

Corp LAN No Internal connections Log all firewall logs Alert on any denied internal firewall event

Corp LAN All clients secure Weekly patch audits Any security patches older than 7 days

SIMPLE EXAMPLE – HTTP SERVER

Page 44: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Your network is a Rube Goldberg machine

Page 45: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

You must understand technology limitations

Page 46: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

YOU CAN AUDIT IN MANY WAYS

Scanner Jockey

I scan my DMZ to list open ports

Packet Monkey

To slow. I sniff in real

time.

Change Control Freak

Screw you guys. I track

config changes.

Page 47: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

HOW WOULD YOU DETECT CHANGE?

Page 48: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 49: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security
Page 50: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

UNAUTHORIZED

Page 51: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

snort[1578]: [1:2002910:4] ET SCAN Potential VNC Scan 5800-5820 [Classification: Attempted Information Leak] [Priority: 2]: {TCP} 192.168.20.24:36493 -> 192.168.20.16:5800 snort[1578]: [1:2001743:8] ET TROJAN HackerDefender Root Kit Remote Connection Attempt Detected [Classification: A Network Trojan was detected] [Priority: 1]: {TCP} 192.168.20.24:45379 -> 192.168.20.16:1025 snort[1578]: [1:1551:6] WEB-MISC /CVS/Entries access [Classification: access to a potentially vulnerable web application] [Priority: 2]: {TCP} 192.168.20.24:45896 -> 192.168.20.21:80 snort[1578]: [1:469:4] AUTHORIZED PENETRATION TEST [Classification: OK To Ignore, But Tell Your Boss] [Priority: 2]: {TCP} 192.168.20.24 -> 192.168.20.92

Page 52: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

EXPECT TO BE COMPROMISED Make them work harder to leverage any compromised target

Exploits work, but we’re leveraging that the attacker does not know our defenses

Need to have a process to investigate false positives

Page 53: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

MAKE THEM JUMP THROUGH HOOPS Make them work harder to leverage any compromised target

Most IT organizations are OK with proxies and packet shapers Are they hooked up to your SIM or NBAD and part of your

monitoring?

Page 54: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

MAKE ATTACKERS REQUIRE DIFFERENT EXPLOITS

Force them to think – and less likely be a botnet

Are you looking for these exploits to begin with? Does your SIM chain together these types of attacks?

Web Apache attack

SQL attack to Unix DB

Client side SSH exploit

IMAP Exchange Exploit

Page 55: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Impact on Security Posture

• Should simplify NIDS, firewall, SIM and other types of monitoring.

Even

ts

Before control After control

Page 56: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Impact on Security Posture

• Should make detecting anomalies much easier

Even

ts

Before control After control

Page 57: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Let’s talk about RISK METRICS in closing

Page 58: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Does RISK X ASSET VALUE

really help?

Page 59: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

How do you handle

inheritance?

Page 60: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

Does risk scoring help out in triage?

Page 61: How I Learned to Stop Worrying and Love Compliance Ron Gula, … · How I Learned to Stop Worrying and Love Compliance Ron Gula, CEO Tenable Network Security

[email protected] YouTube Videos

Discussions Forum Security Webinars

Thanks for your

attention!