Notice Correlation and Covert-Timing Channels
Michael Dopheide & Ross Gegan ESnet Lawrence Berkeley National Laboratory
BroCon Austin, TX Sept, 13, 2016
Notice Correlation and Covert-Timing Channels Michael Dopheide - - PowerPoint PPT Presentation
Notice Correlation and Covert-Timing Channels Michael Dopheide & Ross Gegan BroCon ESnet Austin, TX Lawrence Berkeley National Laboratory Sept, 13, 2016 Table of Contents Introduction Something Important Part 1: Multi-Notice
BroCon Austin, TX Sept, 13, 2016
9/23/16 2
– Started in systems engineering and transitioned to operational security
– Interesting for a little while…
9/23/16 3
Illustration by Nick Buraglio
9/23/16 4
9/23/16 5
9/23/16 6
9/23/16 7
9/23/16 8
9/23/16 9
9/23/16 10
9/23/16 11
9/23/16 12
9/23/16 13
9/23/16 14
9/23/16 15
Define new notice types and define which types you want to block or alert on: redef enum Notice::Type += { Multi::Multi_Notice, Multi::Multi_Notice_AutoBlock, Multi::Multi_Notice_AutoBlockAlarm, Multi::Single_Notice_Threshold, Multi::Single_Notice_Threshold_Block }; global multi_notice_types: set[Notice::Type] = { SSH::Password_Guessing, Bash::HTTP_Header_Attack } &redef;
9/23/16 16
hook Notice::policy(n: Notice::Info) { if( n$note in multi_notice_types ){ if(n?$conn){ watch_host(n$conn$id$orig_h,n); }else{ watch_host(n$src,n); } } } event Intel::log_intel(rec: Intel::Info){ # any Intel hit, add to watch list. local wn = Notice::Info($note=Intel::Notice); watch_host(rec$id$orig_h,wn); }
9/23/16 17
1471667754.084883
Host triggered multi-notice correlation Intel::Notice:24__SSH::Password_Guessing:1 11.22.33.44
Notice::ACTION_LOG,BHR::ACTION_BHR,Notice::ACTION_ALARM 3600.000000 F
9/23/16 18
9/23/16 19
9/23/16 20
9/23/16 21
9/23/16 22
9/23/16 23
9/23/16 24
global multi_non_block_thres: count = 3 &redef; global multi_notice_non_block_types: set[Notice::Type] = { SSH::Success } &redef; For example: Will NOT Block: Intel::Notice and SSH::Success But with threshold 3: Will Block: Intel::Notice, SSH::Success, and DNS::Request_Threshold
9/23/16 25
1469048610.980754 CQ4hxs4dNbZQnufXWe 11.22.33.44 56666 55.66.77.88 80
Host triggered multi-notice correlation DDoS::HTTP_DDoS_HEAD_Attempt:1__DDoS::HTTP_DDoS_Attempt:1__HTTP::HTT PSensitivePOST:822__Bash::HTTP_Header_Attack:3770 11.22.33.44 55.66.77.88 80
Notice::ACTION_ALARM,Notice::ACTION_LOG,BHR::ACTION_BHR 3600.000000 F
9/23/16 26
9/23/16 27
– Project: Detecting covert timing channels using Bro.
9/23/16 28
9/23/16 29
9/23/16 30
9/23/16 31
9/23/16 32
9/23/16 33
Image: S. Gianvecchio and H. Wang. [5]
9/23/16 34
9/23/16 35
Image: Network Pump [8]
Ø Focus as much as possible on Bro
9/23/16 36
– Measures the first-order statistics
– Measures second-order and higher statistics
9/23/16 37
9/23/16 38
Source: model-based detection [5]
9/23/16 39
9/23/16 40
Source: model-based detection
9/23/16 41
9/23/16 42
9/23/16 43
9/23/16 44
9/23/16 45
9/23/16 46
9/23/16
Table: SSH channel scores, bold indicates successful detection
47
9/23/16 48
9/23/16 49
– ESnet doesn’t have much to
9/23/16 50
9/23/16 51
9/23/16 52