September 6, 2018
-
Damian Skeeles
,

Go with the Flow of Intelligence-Driven Security Operations

<p>One of the recent trends I’ve encountered for security operations teams is to design a more intelligence-driven SOC, where existing threat intelligence investments are leveraged to assume a more proactive security posture. More and more frequently, this trend is now a requirement.</p><p>This requirement may be expressed in any one of a number of use cases, but boils down to the same fundamental capability - that of being able to trigger a process as a result of the receipt of new intelligence, and take it through a number of stages so as to action it on the relevant security controls.</p><p>Some examples of these use cases might be:</p><ul><li>Automatically analysing malware attached to a spear-phishing email, and sending the malware IPs, domains and URLs to firewalls, web proxies and mail security gateways in order to mitigate the risk of other recipients becoming compromised</li><li>Receiving intelligence on targeted web application attacks from your MSSP, requesting approval from your networks team to block them, and then implementing the block.</li><li>Receiving a bulletin on a new malware variant from your ISAC, triggering a scan of known file hashes on your own workstations, while raising a ticket for further investigation</li></ul><h2>Rules and Tags</h2><p>As diverse as these use cases are, they can all be addressed by the combination of two relatively recent additions to Anomali ThreatStream’s functionality - the rules engine, and private tags.</p><p>The rules engine allows an analyst to specify a number of conditions, such as watching for a malware family’s name in incoming intelligence streams, new IOCs from phishing attachment detonations, a marker tag added by an analyst, or observables of a specific iType. For any observables that match the conditions, actions can be automatically triggered to open an investigation, create a bulletin, or add private tags to the observables.</p><p>Private tags are available in exactly the same way as public tags, but as the name suggests, only your organisation can see them. However, you can apply them to any observable or entity, private or public, shared or not. As such, an analyst can take observables from any source - OSINT, ISAC-shared, published by a commercial vendor - and apply private tags to them. Combined with rules, this opens up a useful capability.</p><h2>Building a Finite State Machine in ThreatStream</h2><p><a href="https://en.wikipedia.org/wiki/Finite-state_machine" target="_blank">A Finite State Machine</a> (FSM) is one of the classes of automata in computational theory. In it, a machine sits stable in one of a number of possible states, until an input pushes it to transition into another state. From there, another input will cause it to transition again into another state, and so on, and so on. A generic example of an FSM is below.</p><p><img alt="" src="https://cdn.filestackcontent.com/NqthFNR7TUeR7nssX5wQ"/></p><p><br/> If this looks familiar, it’s probably because you’ve seen graphical illustrations of SecOps ticketing system workflows or orchestration playbooks that use similar concepts for ticket stage and playbook stage respectively. In the context of a ThreatStream, a FSM would allow us to push new intelligence through a multi-stage process, with different triggers for the transition at each stage.</p><p>Private tags and rules allow us to create such FSMs in ThreatStream:</p><ul><li><strong>Private tags</strong> allow us to track the state in the machine of an observable. For example, if we add the tag <strong>for_NOC_blocklist_review</strong> on a malware IP address, this might put the IOC into a state where it is pending review by the NOC.</li><li><strong>Rules</strong> facilitate transitions between states. For example, if the NOC has reviewed the IP address above, and have set a tag <strong>NOC_blocklist_approved</strong> on the malware IP address, then a rule can watch for new IP addresses being assigned this tag, and transition these to the next state, by adding another private tag automatically - <strong>block_at_firewall</strong>.</li></ul><p>Private tags can be used to interact with external systems as well. In our example, all new IP addresses with the tag <strong>block_at_firewall</strong> set can be synchronised via Anomali Integrator to the perimeter firewall, in order to block any further communication with those IPs. Private tags can also be used in search filters within ThreatStream, in passing IOCs to SIEMs and EDRs, in providing responses to API queries, and in creating investigations.</p><h2>Applying the Finite State Machine: a Spear-phishing playbook example</h2><p>In this example, we use our new FSM-building skills to manage the handoff between automated and manual stages of a process for addressing spear-phishing emails.</p><p>When a phishing email is received in the ThreatStream phishing inbox, ThreatStream handles the IOC scraping and sandbox detonation without any interaction from the analyst. It also handles the enrichment and scoring automatically. However, it also adds the private tag <strong>received_phish</strong>, meaning that we can define a specific process for indicators coming from this source.</p><p><img alt="" src="https://cdn.filestackcontent.com/Ycul5F2QMKefwWWSIt5E"/></p><p>After the IOC is imported, the <strong>for_NOC_blocklist_review</strong> tag is added, as we intend to block all IOCs that are identified from spear-phishing, but in this organisation, such blocks require NOC approval. A saved search using this filter tag quickly shows the new IOCs awaiting approval. and the NOC grants it by adding the <strong>NOC_blocklist_approved</strong> private tag.</p><p>From this point, a number of rules watching for this tag are triggered. Depending on each IOC’s iType, the rule will add a further tag of <strong>block_at_firewall</strong>, <strong>block_at_edr</strong>, or <strong>block_at_proxy</strong>. For each one of these tags, an integration will action the relevant IOCs by pushing them down to that security control to be blocked.</p><h2>Conclusion</h2><p>In this post, we have demonstrated how private tags and rules functionality within ThreatStream can be applied to implement a multi-stage process that is threat intelligence-driven, including interaction with other stakeholders and with various security controls. While a few simple use cases have been quoted to illustrate the concept behind this, more complex workflows are possible where required by using this approach.</p>

Get the Latest Anomali Updates and Cybersecurity News – Straight To Your Inbox

Become a subscriber to the Anomali Newsletter
Receive a monthly summary of our latest threat intelligence content, research, news, events, and more.
__wf_reserved_heredar