what botnet characteristics can be used for distributed ... · towards botnet detection: ......

17
Towards botnet detection: What botnet characteristics can be detected in real-life network environments by using flow data? Christian Dietz christian.dietz[at]unibw.de NMRG Workshop (Prag): 24.05.2015

Upload: vutruc

Post on 04-Apr-2018

239 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Towards botnet detection: What botnet characteristics can be

detected in real-life network environments by using flow data?

Christian Dietzchristian.dietz[at]unibw.de

NMRG Workshop (Prag): 24.05.2015

Page 2: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Introduction

“Cyber crime costs global economy $445 billion a year!… About 40 million people in the United States, roughly 15 percent of the population, has had personal information stolen by hackers, it said, while high-profile breaches affected 54 million people in Turkey, 16 million in Germany and more than 20 million in China.” …

------Source: Reuters, London, Mon Jun 9, 2014

• Structure• Approach• Early results• Outlook

Page 3: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Introduction

Botnets:• Provide infrastructure for various cyber criminal activities e.g. SPAM, DDoS,

financial fraud, data theft, extortion• A botnet is network of malware infected hosts under the command of a

botmaster.• Command and control infrastructure (C&C): IRC, HTTP, P2P

Page 4: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Botnet life-cycle

1. Connect todropper Website

2. Drop maliciouscontent

3. Unpack malware &infect host

6. Request task(s) / updates

7. Receive task(s) / updates

C&C

8. Attack

Page 5: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Challenges:

Malware updates

P2P

Fast-Flux

Encryption

Big Data

Anonymization (TOR, …)

Icon source: https://www.iconfinder.com/

Page 6: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Requirements

• Adaptability• Accuracy• Efficiency• Scalability• Privacy-preserving• Universal applicability• Traceability• …

Page 7: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

State of the art

Knowledge based:• Rules• Signatures • Filters• Experts

Drawbacks:• Only detect known threats• Amount rules necessary

Anomaly based:• Machine learning• Training/Validation data• Automatically adapted to

changed conditions

Drawbacks:• False positives• Availability of data• Traceability of the detection process

Page 8: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Approach• What is limiting the success of existing detection approaches?

• Privacy concerns?• Amount of data?• Availability of data?

• Heterogenous behavior and environments!

-> Standardized formats do not guarantee standardized behavior/noise description!

-> Exchange needs standardized formats and protocols plus normalized/standardized behavior descriptors!

Page 9: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Approach

Challenges:

Requirements:-Efficiency-User data privacy-Transparency-Scalability-Heterogenous

environments-Changing behavior-Noise

Hybrid multi-level detection approach:

- Filters- Machine learning- Behavior + Signatures- Pseudonyms

Page 10: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Approach

• Research questions:

How does botnet query behavior of look like in real life network environments?

How can the observations enhance/complent current detection approaches?

Page 11: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

State of the art

• Definition flow as used in this research:Set of records observed over a certain period of time sharing connection information plus a set of common properties derived from the data contained in the records captured at a network observation point.

• Examples: • Sinkhole trace:[1] "[2012-09-09 07:01:28.64365] bootstrap request from 81.214.XXX.XXX:1064" [2] "[2012-09-09 07:01:29.17498] bootstrap request from 81.214.XXX.XXX:1067" [3] "[2012-09-09 07:01:29.37554] job request from 89.29.XXX.XXX:3265 - 0c274f674d8347509234a088d359df49, v126 \"relqq26\", os info: 5.1.2600, platform 2)"

• Netflow:[1] 2012-09-09 07:01:28.64365, 2012-09-09 07:01:48.44789, 1.1.1.1, 8.8.8.8, 1234, 80, 10, 984, 0, 0, .A…., UDP, ….

Page 12: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Early results

• What we measured:

Page 13: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Idea: From traffic to behavior descriptor

• Exchange of normalized (temporal) behavior descriptor• Allows:

• Efficient search for similar behavior in big data sets • If binarized, efficient algorithms could be used

(K-nearest neighbor, Bloomfilter…)

Noisy binarized (temporal) behavior signature

Normalized binarized (temporal) behavior signature

Page 14: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Outlook - Concept

Behavior Filter:signature database

Matching (e.g. distance-based):

XORHammingdistance = 10

Page 15: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Use case: (1) Cooperative network operator

• Exchange of normalized behavior descriptor• Benefit:

• Efficient search for similar behavior in big data sets of heterogenous network environments

• If binarized, efficient algorithms could be used(K-nearest neighbor, Bloomfilter…)

Exchange of normalizedbehavior descriptor

Network A Network B

Local IDS/IPS withcooperation extension

Page 16: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

Use case: (2) Single (SDN) network operator

Data

Networksecurity

controller

Behavior descriptor Behavior monitoring

XOR

Behavior database

Smart Analytics

Page 17: What botnet characteristics can be used for distributed ... · Towards botnet detection: ... •Netflow: [1] ... What botnet characteristics can be used for distributed and collaborative

Christian Dietz Towards botnet detection

• Data?• Use cases?• Ideas?• …?