SOAR Presentation 2019

Document
Resource Thumbnail

The SOAR Presentation 2019 focuses on the technical concepts of orchestration and automation in incident handling, emphasizing the importance of applying these concepts to specific parts of the incident handling sequence, such as identification, investigation, and response. Orchestration enables automated configuration, coordination, and management of computer systems and software, while automation executes specific steps with minimal human assistance. The presentation also highlights the importance of identifying processes and workflows, building clear sequences of tasks, and understanding when not to automate or orchestrate, citing factors such as novel or complex scenarios, and the need for clearly defined parameters and well-tested recovery techniques.

Full Transcript / Content

--- Page 1 --- 2019-02 SOARing to New Heights - Using Orchestration & Automation Tools in the Way They're Intended Christopher Crowley - CCrowMontance --- Page 2 --- Copyright Christopher Crowley Security Operations 2 Introduction - SANS Senior Instructor – US, Europe, Middle East, Asia, Australia - Consultant: Educational Institutions, Financial Institutions, US Government (military and non-military), EU organizations, etc. - This presentation (and others): https://www.mgt517.com/soc - Objective is to give you some specific work tasks to orchestrate and automate, as well as the boundary and guideline activities that are adjacent to those actions - We’ll get more details from the other speakers Welcome – Christopher Crowley - @CCrowMontance --- Page 3 --- Copyright Christopher Crowley Security Operations 3 Introduction - I’m going to talk about some aspects of the “What” of Orchestration and Automation - I’m going to go into the “How” and “When” a little bit - The other speakers will enhance and provide extended notions of What, When and How, with Why and Who. - Throughout the talk, feel free to tweet any action items you’re taking away. @CCrowMontance #TODO will be useful for me to go back to see what inspiration you took away from today My Talk --- Page 4 --- Copyright Christopher Crowley Security Operations 4 Agenda - Alex Wood – CISO – Pulte Group, Inc. - Cody Cornell – Founder & CEO – Swimlane - Break (10:15-10:30) - Corin Imai –Senior Security Advisor – DomainTools - Tim Sandage – Senior Security Partner Strategies – AWS; Andrew Plato - Antian Today’s Agenda --- Page 5 --- Copyright Christopher Crowley Security Operations 5 Orchestration Defined - Orchestration is the automated configuration, coordination, and management of computer systems and software. Wikipedia: Orchestration_(computing) - In Security Operations we tend to focus on the coordination between various systems, software, and data sets Orchestration for Security Operations --- Page 6 --- Copyright Christopher Crowley Security Operations 6 Automation Defined - Automation is the technology by which a process or procedure is performed with minimum human assistance. Wikipedia: Automation - In Security Operations we tend to focus on the execution of specific steps of actions that are repeated Automation in Security Operations --- Page 7 --- Copyright Christopher Crowley Security Operations 7 Applying to Incident Handling - Orchestration and Automation can be applied to various parts of the Incident Handling sequence - I caution you to consider the differences between: - Identification - Investigation - Analysis - Response Different Things That What We Do --- Page 8 --- Copyright Christopher Crowley Security Operations 8 Enumerating Tasks --- Page 9 --- Copyright Christopher Crowley Security Operations 9 Orchestration Uses - Extraction of related/correlated data from multiple systems - Presenting data to an analyst for assessment (single or multiple systems) - Guiding an analyst through variable options to provide investigation support and response support - Investigation: collect information and analyze information - Response: modify/change, or intervene in operational systems Effective Scenarios for Orchestration --- Page 10 --- Copyright Christopher Crowley Security Operations 10 Orchestration Contraindication - Performance of Analysis (bear with me to the end of the presentation where I recommend analytical practice that is expedited, but neither automated nor specifically orchestrated with a system) - Novel / Complex / Unknown scenarios bearing little resemblance to orchestrated situations (phone menu hell) - Exceeding boundaries (typically legal) that may be technically feasible, but inappropriate or illegal Contraindication: When Not To Do Something --- Page 11 --- Copyright Christopher Crowley Security Operations 11 Automation Uses - Guiding principle: If I’m going to do it more than twice, I should script it once. (SysAdmin’s Mantra) - Containment authorized by human triggers actions: - Collect Memory, Isolate Host (maybe only if certain type of host), Extract data from filesystem around time of possible encounter based on network info, (and vice versa), suspend user account, … Repeatable Operation --- Page 12 --- Copyright Christopher Crowley Security Operations 12 Automation Contraindication - Automation paradox: complex systems tend to be more automated, and require human intervention to avoid damage in unexpected scenarios. But human capability to intervene is largely diminished by the automation present. - Scary example: system failures in airplanes - Qantas Flight 72 – autopilot pitch-down actions Paradox of Automation --- Page 13 --- Copyright Christopher Crowley Security Operations 13 Automation Contraindication - No clearly defined parameters of accuracy, success, or what to avoid - IT operational processes are not well defined - Recovery / Business continuity techniques are not well defined and tested - Technology in use isn’t tested / verified Avoid Automation When --- Page 14 --- Copyright Christopher Crowley Security Operations 14 Inventory of Processes - I suggest you have an inventory of processes that are done by your SOC (or whatever team you’re part of) even if you haven’t fully documented each one - It’s a good place to start - I’ve got a document (SOC-Process-list in mgt517.com/soc) that is a jump start for that effort. Contribute back your updated list to me if you can Your Repertoire --- Page 15 --- Copyright Christopher Crowley Security Operations 15 How Do I Get There --- Page 16 --- Copyright Christopher Crowley Security Operations 16 Building Processes - Identify processes - Identify appropriate levels of specificity: exactly follow steps, overall steps plus a few details, general objectives with latitude - Work out sequence, consider decision points, try to elaborate what might go wrong, define start, stop, success, when to call for help - My favorite example: write directions for me to walk out the front door of this hotel My Short Sequence to Build Process --- Page 17 --- Copyright Christopher Crowley Security Operations 17 Building Workflow - Inputs, People, Technology, Processes, and Outputs - Enumerate these items, link together - The workflow could be a detailed subset or many items - In describing a SOC, I’ve developed a work flow of the processes available for download at the same link I mentioned earlier https://www.mgt517.com/soc Workflow: Multiple Steps --- Page 18 --- Copyright Christopher Crowley Security Operations 18 Building Toward Automation - For the processes established, and the workflow sequence, attempt to do each step within the automation tool - Make each task a reusable atom, and link these together - Most automation tools are capable of doing this, and come pre-populated with a set of common tasks Define Process, Test Steps --- Page 19 --- Copyright Christopher Crowley Security Operations 19 Example: Analysis - This is something that I’m going to advise you to automate or orchestrate some portions (I’ll point out which) and pre-populate some components (we’ll pre- build decision matrices) for expediting, but leave the hard work (the analysis) for humans (for now). - This will move us toward a decision support system (old term for an expert system, which is an old term for AI) Venerable Definition of Analysis: Analysis of Competing Hypotheses --- Page 20 --- Copyright Christopher Crowley Security Operations 20 Models of Analysis Background - Human mental machinery is fraught with substantial weakness in objectively processing information - We overlook or ignore details that don’t suit our mental models - We resist changing our mind once we’ve decided something is right, even in the face of updated evidence - Experimental results suggest that: experts in their field increase self-assessed confidence level with more data, without corresponding increases in accuracy of analysis ACH – Mental Machinery --- Page 21 --- Copyright Christopher Crowley Security Operations 21 Models of Analysis Background - We use Situational Logic, Theory Application, and Comparison - Leads to mistakes in analysis - Make assumptions, but explicitly identify them in the analysis - Common analytical failures: - Satisficing – selecting the first, not the best - Incrementalism – variation on same theme, insufficient breadth of scope - Consensus – most popular, not the most accurate - Reason by analogy – selection based on avoiding a previous mistake in analysis - Principals – applying morality to select between the “good” and “bad” ACH – Mental Machinery --- Page 22 --- Copyright Christopher Crowley Security Operations 22 Analysis of Competing Hypotheses Background - Decomposing a problem breaks it into sub-elements to allow smaller units for analysis - Externalization of a problem removes it from the mental space it puts it in a tangible space to facilitate more complex manipulation. Draw a graph, build a model, use replicas of the affected systems and test the scenarios you propose ACH – Decomposition and Externalization --- Page 23 --- Copyright Christopher Crowley Security Operations 23 Analysis of Competing Hypotheses Background What’s Your Template for Analysis? Incident Type Hypothesis 1 Hypothesis 2 Hypothesis 3 … Data 1 Data 2 Data 3 Data 4 … We’re going to develop these templates. You’re not just to fill out the template, you still need to think! --- Page 24 --- Copyright Christopher Crowley Security Operations 24 Analysis of Competing Hypotheses ACH Applied - Let’s look at the data we have, and list some potential explanations - Don’t criticize, kill, or otherwise refute any hypothesis! (We’ll do that later.) - This is hard for most people to do, since we tend to be incremental - Automation: populate hypotheses with all previously encountered explanations for issues 1. Brainstorm --- Page 25 --- Copyright Christopher Crowley Security Operations 25 Analysis of Competing Hypotheses ACH Applied - Identify the data that we have - Identify data that would be useful, and keep a running list of it to try to acquire it - Orchestrate: Based on the attempt to build out your ACH templates, determine what data would be needed for analysis, and work toward automatically collecting this information through orchestration 2. List Data Attributes --- Page 26 --- Copyright Christopher Crowley Security Operations 26 Analysis of Competing Hypotheses ACH Applied - Make a chart with the hypotheses on the top and the data elements (created in steps 1 and 2) on the side - Don’t fill it in yet - At some future time, this could potentially be automated for an analyst given ranked / weighted hypotheses sets based on data present for investigation, (we’re probably not there yet) 3. Build Matrix --- Page 27 --- Copyright Christopher Crowley Security Operations 27 Analysis of Competing Hypotheses ACH Applied - Look for consolidation opportunities - Are two hypotheses essentially the same? - Can we consolidate data elements? - Do we need to add more data elements? - Don’t Automate or Orchestrate: Get the human being to do expert work here 4. Assess and Refine Chart --- Page 28 --- Copyright Christopher Crowley Security Operations 28 Analysis of Competing Hypotheses ACH Applied - Fill in the numbers - The method we’ll use is: 10 points per row total. Assign the points for that specific data element (not overall) that supports the hypothesis in each column) - Can’t exceed 10 points per row - Sum the points at the bottom 6. Tentative Conclusions --- Page 29 --- Copyright Christopher Crowley Security Operations 29 Analysis of Competing Hypotheses Background ACH – Example – Spam Advertising Malware drive by download attempt Phone actually infected Targeted not from site, but from network user is on Site Accessed when ad showed 5 2 3 Bad Grammar 3 3 3 Compulsion to risky action 3.5 3 3.5 Advertised only on one site 7 1 2 Threatening? 3.5 3 3.5 Reputation weight of domain? 4 3 3 Total: 26 15 18 These values are the analysis, different analysts would have different values --- Page 30 --- Copyright Christopher Crowley Security Operations 30 Analysis of Competing Hypotheses ACH Applied - Look at the matrix. Identify all the rows where the point allocation is close (3,4,4, for example) - Look at the matrix. Identify the rows where there’s a big difference between points (10,0,0 or 7,2,1). These are the data elements that your analysis hinges upon. - Consider this: what if that data was wrong? - This could be automated, but the benefit of this is for the analyst to reflect on the conclusions 6. Sensitivity Analysis --- Page 31 --- Copyright Christopher Crowley Security Operations 31 Analysis of Competing Hypotheses Background ACH – Example – Spam Advertising – Sensitivity Analysis Malware drive by download attempt Phone actually infected Targeted not from site, but from network user is on Site Accessed when ad showed 5 2 3 Bad Grammar 3 3 3 Compulsion to risky action 3.5 3 3.5 Advertised only on one site 7 1 2 Threatening? 3.5 3 3.5 Reputation weight of domain? 4 3 3 Total: 26 15 18 --- Page 32 --- Copyright Christopher Crowley Security Operations 32 Analysis of Competing Hypotheses ACH Applied - Write a brief explanation of your results (potential for automation and orchestration here) - Identify most likely hypothesis - Identify your assumptions - Identify the sensitivity of your analysis (what does it depend upon being true?) - Identify other hypotheses considered but dismissed 7. Report Conclusions --- Page 33 --- Copyright Christopher Crowley Security Operations 33 Analysis of Competing Hypotheses ACH Applied - Identify a few things that are likely to happen in the future, based on what you’ve hypothesized is the most likely explanation - This isn’t easy. For example, if you hypothesized an intruder has compromised a host, there will likely be subsequent reconnaissance and pivoting attempts using exploits and password guessing 8. Milestones --- Page 34 --- Copyright Christopher Crowley Security Operations 34 Analysis of Competing Hypotheses ACH Applied - Give your completed work to your partner analyst - This isn’t escalated to a higher tier, by a peer analyst - The partner should be able to understand what you wrote and your explanation without you explaining it to him/her – repeat: you’re not allowed to explain the report to your peer. Peer reads it and criticizes it - Don’t agree, only point out problems that are present, this is what makes analysis better: criticize to strengthen 9. Peer Review (Crowley added) --- Page 35 --- Copyright Christopher Crowley Security Operations 35 Analysis of Competing Hypotheses Background - 1) Identify hypotheses – brainstorm - 2) List attributes – for and against each hypothesis - 3) Build matrix – with hypotheses at top, evidence on side - 4) Refine matrix – remove or consolidate as appropriate - 5) Tentative conclusions – disprove (don’t validate) item - 6) Sensitivity – change critical elements to assess - 7) Report conclusions – relative likelihood of each - 8) Milestones – future events suggesting error in analysis Review - ACH – 8-Step ACH Process --- Page 36 --- Copyright Christopher Crowley Security Operations 36 Analysis of Competing Hypotheses Background - We can create templates for the common situations we encounter to expedite the analysis portion - There’s a danger to this: you are not supposed to just fill in the template – don’t be limited by it, it’s a start - Work on templates, and revise perpetually - Start now: 3 most frequent situations requiring analysis, and build templates for those over the next three weeks Templates – Benefits and Risk --- Page 37 --- Copyright Christopher Crowley Security Operations 37 Analysis of Competing Hypotheses Background - Honor doubt - Consider alternatives - Encourage the rigorous performance of analysis - Create an environment that fosters and rewards analysis - Lead by example applying analysis to important decisions, share your methodology ACH – Key Takeaways --- Page 38 --- Copyright Christopher Crowley Security Operations 38 Conclusion --- Page 39 --- Copyright Christopher Crowley Security Operations 39 Action Items - Automation & Orchestration defined in context of: - Identification, Investigation, Analysis, Response - Orchestrate for complex sequence across multiple systems with clear objectives and outcomes - Automate testable, multi-step, well defined, actions - Develop an analytical methodology (ACH example) - Assess, Repeat, Improve, … Recap --- Page 40 --- Copyright Christopher Crowley Security Operations 40 Thank You - CCrowMontance (twitter) - https://www.mgt517.com/soc for this slide deck & referenced documents (2019-02-SOAR.zip) - Redistribution authorized, but please provide citation - https://soc.montance.com April 2019: my consolidated location for security operations / SOC resources

Related Q&A

  • Q: What is the main goal of SOAR?
    A: To improve the efficiency and effectiveness of security operations.
  • Q: What are the three components of SOAR?
    A: Orchestration, Automation, and Response.
  • Q: What is 'Orchestration'?
    A: Coordinating tools and processes across different security technologies.