Security Analytics for Enterprise Threat Detection
Total Page:16
File Type:pdf, Size:1020Kb
MADE: Security Analytics for Enterprise Threat Detection Alina Oprea Zhou Li Northeastern University University of California, Irvine [email protected] [email protected] Robin Norris Kevin Bowers EMC/Dell CIRC RSA [email protected] [email protected] ABSTRACT These concerns affect not only individuals, but enterprises as well. Enterprises are targeted by various malware activities at a staggering The enterprise perimeter is only as strong as its weakest link and rate. To counteract the increased sophistication of cyber attacks, that boundary is becoming increasingly fuzzy with the prevalence most enterprises deploy within their perimeter a number of secu- of remote workers using company-issued computers on networks rity technologies, including firewalls, anti-virus software, and web outside of the enterprise control. Enterprises attempt to combat cyber proxies, as well as specialized teams of security analysts forming attacks by deploying firewalls, anti-virus agents, web proxies and Security Operations Centers (SOCs). other security technologies, but these solutions cannot detect or In this paper we address the problem of detecting malicious ac- respond to all malware. Large organizations employ “hunters” or tivity in enterprise networks and prioritizing the detected activities tier 3 analysts (part of the enterprise Security Operations Center – according to their risk. We design a system called MADE using ma- SOC) [44] to search for malicious behavior that has evaded their chine learning applied to data extracted from security logs. MADE automated tools. Unfortunately, this solution is not scalable, both due leverages an extensive set of features for enterprise malicious com- to the lack of qualified people and the rate at which such malware is munication and uses supervised learning in a novel way for prior- invading the enterprise. itization, rather than detection, of enterprise malicious activities. In this paper we address the problem of detecting new malicious MADE has been deployed in a large enterprise and used by SOC activity in enterprise networks and prioritizing the detected activities analysts. Over one month, MADE successfully prioritizes the most for operational use in the enterprise SOC. We focus on a funda- risky domains contacted by enterprise hosts, achieving a precision of mental component of most cyber attacks – malware command-and- 97% in 100 detected domains, at a very small false positive rate. We control communication (C&C). Command-and-control (also called also demonstrate MADE’s ability to identify new malicious activities beaconing [30]) is the main communication channel between victim (18 out of 100) overlooked by state-of-the-art security technologies. machines and attacker’s control center and is usually initiated by victim machines upon their compromise. We design a system MADE ACM Reference Format: (Malicious Activity Detection in Enterprises) that uses supervised Alina Oprea, Zhou Li, Robin Norris, and Kevin Bowers. 2018. MADE: learning techniques applied to a large set of features extracted from Security Analytics for Enterprise Threat Detection. In 2018 Annual Computer Security Applications Conference (ACSAC ’18), December 3–7, 2018, San web proxy logs to proactively detect network connections resulting Juan, PR, USA. ACM, New York, NY, USA, 13 pages. https://doi.org/10. from malware communication. Enterprise malware is increasingly 1145/3274694.3274710 relying on HTTP to evade detection by firewalls and other security controls, and thus it is natural for MADE to start from the web proxy 1 INTRODUCTION logs collected at the enterprise border. However, extracting intelli- Criminal activity on the Internet is expanding at nearly exponential gence from this data is challenging due to well-recognized issues rates. With new monetization capabilities and increased access to including: large data volumes; inherent lack of ground truth as data sophisticated malware through toolkits, the gap between attackers is unlabeled; strict limits on the amount of alerts generated (e.g., 50 per week) and their accuracy (false positive rates on the order of and defenders continues to widen. As highlighted in a recent Ver- −4 izon Data Breach Investigations Report (DBIR) [3], the detection 10 ) for systems deployed in operational settings. An important deficit (difference between an attacker’s time to compromise anda requirement for tools such as MADE is to provide interpretability of defender’s time to detect) is growing. This is compounded by the their decisions, as their results are validated by SOC through manual ever-growing attack surface as new platforms (mobile, cloud, and analysis. This precludes the use of models known to provide low IoT) are adopted and social engineering gets easier. interpretability of their results, such as deep neural networks. In collaboration with tier 3 security analysts at a large enterprise, Permission to make digital or hard copies of all or part of this work for personal or we designed MADE to overcome these challenges and meet the classroom use is granted without fee provided that copies are not made or distributed SOC requirements. To address the large data issue, we filter network for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM communications that are most likely not malicious, for instance must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, connections to CDNs and advertisement sites, as well as popular to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]. communications to well-established external destinations. To ad- ACSAC ’18, December 3–7, 2018, San Juan, PR, USA dress the ground truth issue, we label the external domains using © 2018 Association for Computing Machinery. several threat intelligence services the enterprise subscribed to. Fi- ACM ISBN 978-1-4503-6569-7/18/12. $15.00 nally, to obtain the accuracy needed in operational settings, MADE https://doi.org/10.1145/3274694.3274710 ACSAC ’18, December 3–7, 2018, San Juan, PR, USA Alina Oprea, Zhou Li, Robin Norris, and Kevin Bowers leverages interpretable classification models in a novel way, by train- malware operators to remotely control the victim machines, but also ing only on malicious and unknown domains, and predicting the to manually connect back into the enterprise network by using, for probability that an unknown domain is malicious. Domains with instance Remote Access Tools [21]. C&C is used extensively in highest predicted probabilities can then be prioritized in the testing fully automated campaigns (e.g., botnets or ransomware such as stage for investigation by the SOC. In designing MADE, we defined Wannacry [34]), as well as in APT campaigns (e.g., [42]). an extensive set of features to capture various behaviors of malicious C&C increasingly relies on HTTP/HTTPs channels to maintain HTTP enterprise communication. In addition to generic, well-known communication stealthiness by hiding among large volumes of legit- malware features, MADE proposes a set of enterprise-specific fea- imate web traffic. Thus, it is natural for our purposes to leverage the tures with the property of adapting to the traffic patterns of each web proxy logs intercepting all HTTP and HTTPs communication individual organization. MADE performs careful feature and model at the border of the enterprise network. This data source is very selection to determine the best-performing model in this context. rich, as each log event includes fields like the connection timestamp, MADE has been used in operational setting in a large enterprise IP addresses of the source and destination, source and destination with successful results. In our evaluation, we demonstrate that over port, full URL visited, HTTP method, bytes sent and received, status one month MADE achieves 97% precision in the set of 100 detected code, user-agent string, web referer, and content type. We design a domains of highest risk, at the false positive rate of 6 · 10−5 (3 in system MADE (Malicious Activity Detection in Enterprises) that 50,000 domains in testing set). MADE detects well-known malicious uses supervised learning techniques applied to a large set of features domains (similar to those used in training), but also has the ability extracted from web proxy logs to proactively detect external network to identify entirely new malicious activities that were unknown to connections resulting from malware communication. state-of-the-art security technologies (18 domains in the top 100 are In terms of adversarial model, we assume that remote attackers new detections by MADE). have obtained at least one footprint (e,g, victim machine) into the enterprise network. Once it is compromised, the victim initiates 2 BACKGROUND AND OVERVIEW HTTP or HTTPS communication from the enterprise network to the 2.1 Enterprise Perimeter Defenses remote attacker. The communication from the victim and response from the attacker is logged by the web proxies and stored in the Enterprises deploy network-level defenses (e.g., firewalls, web prox- SIEM system. We assume that attackers did not get full control of the ies, VPNs) and endpoint technologies to protect their perimeter SIEM system and cannot manipulate the stored security logs. That against a wide range of cyber threats. These security controls gen- will result in a much more