{"id":753,"date":"2014-08-20T11:13:39","date_gmt":"2014-08-20T17:13:39","guid":{"rendered":"http:\/\/www.malos-ojos.com\/?p=753"},"modified":"2014-08-20T11:13:39","modified_gmt":"2014-08-20T17:13:39","slug":"operationalizing-threat-data-intelligence-putting-the-pieces-of-the-puzzle-together","status":"publish","type":"post","link":"http:\/\/www.malos-ojos.com\/?p=753","title":{"rendered":"Operationalizing Threat Data &#038; Intelligence \u2013 Putting the Pieces of the Puzzle Together"},"content":{"rendered":"<p>While this isn\u2019t a post on what threat intelligence is or is not I\u2019d be negligent if I didn\u2019t at least begin to put some scope and context around this term as the focus of this post is on making threat data and intelligence actionable.\u00a0 Not to mention, every vendor and their grandmother is trying to use this phase to sell products and services without fully understanding or defining its meaning.<\/p>\n<p>First, it is important to understand that there is a difference between data and threat intelligence.\u00a0 There are providers of data, which is generally some type of atomic indicator (i.e. IOC) that comes in the form of an IP address, URL, domain, meta data, email addresses or hash.\u00a0 This data, in its least useful form, is a simple listing of indicators without including attribution of the threat actor(s) or campaigns with which they are associated.\u00a0 Some providers include the malware\/malware family\/RAT that was last associated with the indicator (i.e. Zeus, cryptolocker, PlugX, njRAT, etc.) and the date associated with the last activity.\u00a0 Some other providers focus on telemetry data about the indicator (i.e. who registered the domain, geolocated IP, AS numbers, and so on).\u00a0 Moving up the maturity scale and closer to real intel are providers that track a series of indicators such as IP, domains\/subdomains, email addresses and meta data to a campaign and threat actor or group.\u00a0 If we add the atomic indicators plus the tactics (i.e. phishing campaigns that include a weaponized PDF that installs a backdoor that connects to C2 infrastructure associated with a threat actor or group) used by the threat actors we start to build a more holistic view of the threat.\u00a0 Now that we understand tactics, techniques and procedures (TTPs) and capability or our adversaries, we focus on the intent of the actors\/groups or personas and how their operations are, or are not, potentially being directed at our organization.\u00a0 The final piece of the equation, which is partially the focus of this post, is understanding how we take these data feeds, enrich them, and then use them in the context of our own organization and move towards providing actual threat intelligence \u2013 but that is a post on its own.<\/p>\n<p>Many organizations think that building a threat intelligence capability is a large undertaking.\u00a0 To some extent they are correct in the long term\/strategic view for a mature threat intel program that may be years down the road.\u00a0 However, the purpose of this post is to argue that even with just a few data and intel sources we can enable or enhance our current capabilities such as security monitoring\/analysis\/response and vulnerability management services.\u00a0 I honestly chose these services as they fit nicely in my reference model for a threat monitoring and response program as well as threat intel which is at the center of this reference model.\u00a0 So let\u2019s walk through a few examples\u2026<\/p>\n<p><strong>Enrichment of Vulnerability Data<\/strong><\/p>\n<p>Vulnerability assessment programs have been around for what seems like forever, but mature vulnerability management programs are few and far between.\u00a0 Why is this?\u00a0 It seems we, as security professionals, are good at buying an assessment technology and running it and that\u2019s about it.\u00a0 What we aren\u2019t very good at is setting up a full cycle vulnerability management program to assign and track vulnerability status throughout the lifecycle.\u00a0 Some of the reasons are due to historical challenges (outlined in more detail in a research paper I posted here: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/goo.gl\/yzXB4r');\" title=\"Here\"  href=\"http:\/\/goo.gl\/yzXB4r\" target=\"_blank\">http:\/\/goo.gl\/yzXB4r<\/a>) such as poor asset management\/ownership information, history of breaking the infrastructure with your scans (real or imagined by IT), or way too many vulnerabilities identified to remediate.\u00a0 Let\u2019s examine that last challenge of having too many vulnerabilities and see if our data and intel feeds can help.<\/p>\n<p>Historically what have security groups done when they were faced with a large number of vulnerabilities?\u00a0 The worst action I\u2019ve seen is to take the raw number of vulnerabilities and present them as a rolling line graph\/bar chart over time.\u00a0 This type of reporting does nothing to expose the true risk, which should be one of the main outputs of the vulnerability management program, and infuriates IT by making them look bad.\u00a0 Not to mention these \u201craw\u201d numbers generally tend to include the low severity vulnerabilities.\u00a0 Do I really care that someone can tell what timezone my laptop is set to?\u00a0 I don\u2019t know about you but I doubt that is going to lead to the next Target breach.\u00a0 Outside of raw numbers, the next type of action usually taken is to assign some remediation order or preference to the assessment results.\u00a0 While a good start, most security teams go into \u201clet\u2019s just look at sev 4 and sev 5 vulnerabilities\u201d mode which may result in what amounts to a still very large list.\u00a0 Enter our threat data\u2026<\/p>\n<p>What if we were able to subscribe to a data feed where the provider tracked current and historical usage of exploits, matched the exploit with the associated vulnerabilities, and hence the required remediation action (i.e. apply patch, change configuration, etc.)?\u00a0 This data, when put into the context of our current set of vulnerabilities, becomes intelligence and allows us prioritize remediation of the vulnerabilities that impose the greatest risk due to their active use in attack kits as well as non 0-day exploits being used by nation state actors.\u00a0 As a side note, among a few vendors there is a myth being spread that most all nation-state attacks utilize 0-days, which I find to be an odd statement given that we are so bad at securing our infrastructure through patch and configuration management that it is likely that an Adobe exploit from 2012 is going to be effective in most environments.\u00a0 But I digress.<\/p>\n<p>So how much does using threat data to prioritize remediation really help the program in reducing risk?\u00a0 In my research paper (here: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/goo.gl\/yzXB4r');\"  href=\"http:\/\/goo.gl\/yzXB4r\" target=\"_blank\">http:\/\/goo.gl\/yzXB4r<\/a>) I noted that limiting to sev 4 and sev 5 as well as using threat data it is possible to reduce the number of systems that require remediation by ~60% and the discrete number of patches that needed to be applied was reduced by ~80%.\u00a0 While one may argue that this may still result in a high number of patches and\/or systems requiring treatment I would counter-argue that I\u2019d rather address 39,000 systems versus 100,000 and apply 180 discrete patches over 1000 any day.\u00a0 At least I\u2019m making more manageable chunks of work and the work that I am assigning results in a more meaningful reduction of risk.<\/p>\n<p><strong>Integrating Your Very First Threat Feed \u2013 How Special<\/strong><\/p>\n<p>In addition to creating a reference model for a security monitoring, analysis and response programs (which includes threat intel) I also built out a model for implementing the threat intel service which includes a 4 step flow of: 1. Threat Risk Analysis, 2. Acquisition, 3. Centralization, and 4. Utilization.\u00a0 I\u2019ll detail this model in a future post and the fact that in a mature service there would be a level of automation, but for now I\u2019d like to point out that it is perfectly acceptable to build a threat intel program as a series of iterative steps.\u00a0 By simply performing a threat risk assessment and understanding or defining the data and intel needs an organization should then be able to choose a data or intel provider that is suitable to their goals.\u00a0 Ironically I\u2019ve witnessed a few organizations that went out and procured a feed, or multiple feeds, without understanding how it was going to benefit them or how it would be operationalized\u2026I\u2019ll save those stories for another day.\u00a0 And while I\u2019m not going to cover the differences between finished intel versus indicators\/data in this post, it is possible for an organization to procure feeds (open source and commercial feeds) and instrument their network to prevent activity, or at a minimum, detect the presence of the activity.<\/p>\n<p>As an example, let\u2019s say that we have a set of preventive controls in our environment \u2013 firewalls, web\/email proxies, network-based intrusion prevention systems, and end point controls such as AV, app whitelisting, and host-based firewalls.\u00a0 Let\u2019s also say we have a set of detective controls that includes a log management system and\/or security information and event management (SIEM) which is being fed by various network infrastructure components, systems and applications, and our preventive controls mentioned above.\u00a0 For the sake of continuing the example let\u2019s also say that I\u2019m in an industry vertical that performs R&amp;D and would likely be targeted by nation state actors (i.e. this Panda that Kitten) in addition to the standard Crimeware groups and hacktivists.\u00a0 With this understanding I should be able to evaluate and select a threat intel\/data provider that could then be used to instrument my network (preventive and detective controls) to highlight activity by these groups.\u00a0 At this point you would start asking yourself if you need a provider that covers all of the type of threat actors\/groups, if you need vertical-specific feeds, and if you need to ensure that you have a process to take the feeds and instrument your environment?\u00a0 The answer to all three is likely to be yes.<\/p>\n<p>Continuing with the example, let\u2019s say I selected a provider that provides both analyst-derived\/proprietary intel in addition to cultivating widely available open source information.\u00a0 This information should be centralized so that an operator can assess the validity and applicability of the information being shared and determine the course of action on how to integrate this into the preventative and\/or detective controls.\u00a0 A simple example of this may be validating the list of known-bad IPs and updating the firewall (network and possibly host-based) with blocks\/denies for these destinations.\u00a0 Or, updating the web proxy to block traffic to known bad URLs or domains\/sub-domains.\u00a0 One thing that shouldn\u2019t be overlooked here would be that we trigger an alert on this activity for later reporting on the efficacy of our controls and\/or the type of activity we are seeing on our network.\u00a0 This type of data is often lacking in many organization and they struggle to create a management-level intel reports that are specific to the organization that highlight the current and historical activity being observed.\u00a0 In addition, we could also take the indicators and implement detection rules in our log management\/SIEM to detect and alert on this activity.\u00a0 Again, keep in mind that for an organization just standing up a threat intel service these may be manual processes that have the possibility of being partially automated in a later or more mature version of the service.<\/p>\n<p>As a side note, one thing I\u2019ve noticed from many of the SIEM vendors is how they try to sell everyone on the \u201cintel feeds\u201d that their product has and how they are \u201calready integrated\u201d.\u00a0 The problem I have with this \u201cintegration\u201d is that you are receiving the vendor\u2019s feed and not one of your choosing.\u00a0 If SIEM vendors were smart they would not only offer their own feeds but also open up integrations with customer-created feeds that are being generated from their intel program.\u00a0 As it stands today this integration is not as straight-forward as it should be, then again, we also aren\u2019t doing a very good job of standardizing the format of our intel despite STIX\/CyBOX\/TAXII, OpenIOC, IODEF, etc. and the transfer mechanism (API, JSON, XML, etc.) being around for a while now.<\/p>\n<p>To round out this example, it is also important to note that as we instrument our environment that we track the alerts generated based on our indicators back to the category or type (i.e. nation-state, crimeware, hacktivist, etc.) and if possible track back to the specific origin of the threat (i.e. Ukrainian crimeware groups, Deep Panda, Anonymous, etc.).\u00a0 This is going to be key in monitoring for and reporting on threat activity so we can track historical changes and better predict future activity.\u00a0 We can also use this information to re-evaluate our control set as we map the attacks by kind\/type\/vector and effectiveness (i.e. was the attack blocked at delivery) or the in-effectiveness (i.e. was a system compromised and only detected through monitoring) and map these against the kill chain.\u00a0 This type of information translates into both overall security architecture and funding requests very well.<\/p>\n<p><strong>In Summary<\/strong><\/p>\n<p>While this is a new and seemingly complex area for information security professionals it really isn\u2019t that difficult to get started.\u00a0 This post highlighted only a few simple examples and there are many more that could be part of your phase 1 deployment of a threat intel service.\u00a0 My only parting advice would be to make sure you have a strategy and mission statement for the service, determine your threat landscape, define what you need out of your feeds and acquire them, centralize the information and utilize it by instrumenting and monitoring your environment.\u00a0 While some of the vendors in this space have great sales pitches and even really cool logos, you had better understand your requirements (and limitations) prior to scheduling a bunch of vendor demos.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While this isn\u2019t a post on what threat intelligence is or is not I\u2019d be negligent if I didn\u2019t at least begin to put some scope and context around this term as the focus of this post is on making threat data and intelligence actionable.\u00a0 Not to mention, every vendor and their grandmother is trying [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1,6],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-standard","hentry","category-general","category-ir"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pme9o-c9","jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=753"}],"version-history":[{"count":6,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":759,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions\/759"}],"wp:attachment":[{"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.malos-ojos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}