the front doors are - infoblox€¦ · the front doors are locked, but dns is wide open -...

41

Upload: others

Post on 06-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 2: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS

Jozef Krakora, Senior Product Manager, Security

Bin Yu, Ph.D., Analytics Architect

T. J. Short, CISO and VP of Infrastructure, Everi

Page 3: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Topics of Discussion

• What kind of data is stolen and why

• Prevalence of data exfiltration and DNS tunneling

• How data is stolen via DNS tunneling

• Detection strategies• Behavior analysis (Patent pending)• Machine learning• Artificial intelligence• Architecture

• Detection results (Conference paper)

• Real-time detection and mitigation solution architecture

• Customer case study (T. J. Short, CISO, Everi)

Page 4: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Stealing Data – Why and What Kind?

PII (Personally Identifiable Information)

Information like social security numbers of employees or customers that cybercriminals can use to steal identity, or sell in the underground market for profit

Regulated Data Data related to PCI DSS and HIPAA compliance that can be misused

Intellectual Property Data that can give an organization a competitive advantage

Other Sensitive Information Credit card numbers, company financials, payroll and emails

Hacktivism Espionage Financial Profit

Page 5: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

DNS tunneling attacks let infected endpoints or malicious insiders exfiltrate data.

Attackers have recently used DNS tunneling in cases involving the theft of millions of accounts.5

of large businesses have experienced DNS exfiltration.6

46%

Goal of Malicious Actors

• Hacktivism

• Espionage

• Financial

Data Targets

• Regulated Data

• PII (personally identifiable information)

• Intellectual property

• Company financials, payroll data

Average consolidated cost of a data breach7

$3.8 M

Page 6: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

A large automaker’s main concern is loss of intellectual property that could erode their competitive advantage, and the company is very keen on preventing it from happening via DNS

A large developer of video games had malware inside the network that tried to exfiltrate data via DNS queries using spoofed addresses

Customer Examples

A large bank failed an audit because of lack of protection for data over DNS

A large insurance company is concerned about liability because they are aware that DNS is not protected

Page 7: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

DNS Tunneling

Page 8: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Response

Request

Recursive DNS

Client

gmail.com

www.google.com

www.apple.com

216.58.192.5

74.125.25.104

23.210.209.236

Page 9: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Response

Request

Recursive DNS

Compromised Client

7r3ncahnt3s.dnst.com

qth9zu6574uk3j.dnst.com

dulhvl8sfdq6rj.dnst.com

siv9dmlmunfb.dnst.com

acvacv19w1gt79t49w1ctd

NXDomain

3kbel9tsznfjbhiwi3kvauh

ServFail

Page 10: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Response

Request

Recursive DNS

Compromised Client

7r3ncahnt3s.dnst.com

qth9zu6574uk3j.dnst.com

dulhvl8sfdq6rj.dnst.com

siv9dmlmunfb.dnst.com

acvacv19w1gt79t49w1ctd

NXDomain

3kbel9tsznfjbhiwi3kvauh

ServFail

Page 11: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Recursive DNS Servers

Tunnel DNS Server

Tunnel Client or

Compromised System

Page 12: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

• Not firewalled

• Data exfiltration

• Command and control (C&C)

• Free hotspot

• DNS tunneling is a technique

• Legitimate vs malicious uses

• No consistent signatures

Page 13: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Behavior Analysis*

* Patent pending

Page 14: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 15: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 16: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Machine Learning

Page 17: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Data Collection

Truth Marking

Training

Feature Analysis

Model

Online Deployment

OfflineValidation

Page 18: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

f1 f2 f3 f4 f5

f1

f2

f3

f4

f5

Page 19: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 20: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Neural Network

Page 21: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 22: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 23: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 24: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Artificial Intelligence

Page 25: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 26: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Data Modeling

ClassificationArtificial

Intelligence

Page 27: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Time Series Model

Lexical

Entropy

Ngram

TTL

Page 28: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 29: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Heuristics

Decision Tree

ANN

Page 30: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Class

Behavior

Type

Time Series Model TSM

T1

B11

C111 C112

B12

C121

B13

C131

T2

B21

C211 C212

B22

C221

T3

B31

C311

Page 31: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Big Data Architecture

Page 32: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

DNS Server

Observation Cache

DNS Response

Policy Zone

Analytics Engine

Page 33: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 34: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Detection Results

Page 35: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin
Page 36: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

• Farsight (ISC)

• 2012.12 – 2013.08

• 1.8 billion per day

• 150 TB

0.00%

10.00%

20.00%

30.00%

40.00%

50.00%

60.00%

70.00%

Page 37: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Malicious Legitimate AllTwo-way 356 869 1,225Outbound 35,478 65,820 101,298Inbound 2,845 20,504 23,349Total 38,678 87,193 125,871

0 K

20 K

40 K

60 K

80 K

Two-way Outbound Inbound

Malicious Legitimate

Page 38: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

0 M

20 M

40 M

60 M

80 M

100 M

120 M

140 M

160 M

180 M

200 M

A AAAA ANY CNAME MX PTR SOA SRV TXT

Malicious Legitimate

Page 39: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

DNS Threat Analytics in Recursion Layer

Client

DNS edge

Internet

DMZExternal

Authoritative

Recursion layer

may collapse

with DMZ

Recursion

2200 running

DNS FW and

DNS Threat

Analytics

DNS-FW

• Central detection

of tunnels and

data exfiltration

• Scaling of

enforcement to

all edge Grid

members once

destinations are

on RPZ list

• Pinpoint infected

systems at edge

• Lower platforms

can be deployed

at edge

DNS-FW DNS-FWDNS-FW

Page 40: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Customer Case Study:

T. J. Short, CISO and VP of Infrastructure,

Everi Holdings, Inc.

“The attackers are getting smarter every day. They’re getting new tools, new ideas, new concepts. So we have to have defenses that are leading edge, that can change, adapt, and update very quickly. Infoblox Internal DNS Security does that.”

Page 41: The Front Doors Are - Infoblox€¦ · The Front Doors Are Locked, But DNS is Wide Open - Preventing Data Exfiltration via DNS Jozef Krakora, Senior Product Manager, Security Bin

Questions?