Tag: Soar

  • I Want A Splunk SOAR Playbook! Now What? 

    I Want A Splunk SOAR Playbook! Now What? 

    By Marvin Martinez, Team Lead, Automation Engineering

    Security Orchestration, Automation, and Response, or SOAR for short, has added an entirely new world of capabilities to any company’s tool belt. The possibilities are seemingly endless. While that may sound like an all-out win/win situation, it doesn’t come without its considerations and potential pitfalls. Splunk SOAR is not immune to this. What do you develop first? More importantly, how do you design and develop your playbook(s)?

    Developing a playbook may seem like it is mostly a technical endeavor but there very much is a significant element of “art” behind it as well! Everything from what the catalyst for your playbook will be, what fields need to be passed into it, all the way to “will there be any outputs from it?” or “does my process even need a SOAR playbook?” has to be conceptualized before you even click the “+ Playbook” button, let alone drag your first playbook block into your Visual Playbook Editor (VPE).

    The first, and most important, question is “Do I need a playbook in the first place?”. Many times, you may not need a Splunk SOAR playbook to accomplish what you’re looking to do and may be able to fulfill your requirements with just a Splunk alert or something else entirely that can keep your process streamlined and not too complex. One key question that is usually useful and helping determing if a Splunk SOAR playbook is necessary is: “Are there various activities I need to achieve in sequence as part of this process and, if not, is the single action I need available within my current toolset?”. There is no need to externalize and expand your process if your current tool (i.e. Splunk, etc.) can already do it. For example, if all you need is an email when a specific incident type is generated, you could easily do that within Splunk with an alert and some clever SPL.

    Ok, so you’ve decided that automation playbooks are the only way to achieve what you want. How do we design it?

    Once you’ve decided that you do need to develop a playbook to meet your requirements, you now need to design the end-to-end solution for your playbook. The very nature of Splunk SOAR being versatile and powerful means that, almost by definition, your playbook solution development is a blank canvas but don’t feel daunted! Some key basic items to consider when designing your playbook are:

    • Trigger: What is the catalyst/trigger for my playbook?
    • Fields: Does my playbook need specific fields? If so, how will the playbook reference them?
    • Playbook actions and general workflow design: What is my playbook doing?

    There are much more than just these considerations when it comes to playbook design, but these are the 3 basic ones we try to work from to extrapolate into a robust Splunk SOAR playbook solution. Let’s explore them.

    Trigger

    Playbooks can be triggered in a myriad of ways. For example, you could have an automation playbook that is triggered automatically when a container/event is created in SOAR with a specific label (i.e. “Defender”). This is the most common method when developing playbooks. You could also develop an input playbook that is called as part of an entire playbook solution. Note that automation playbooks can be manually executed and can also programmatically call other playbooks (automation or input) but input playbooks can do neither.

    With this in mind, deciding what type of playbook you need to create will largely depend on your use case as well. Generally speaking, if your playbook will be triggered from a Splunk search or other container-creating method (Splunk App For SOAR Export, etc), you’ll need an automation playbook that will execute based on the label that comes in. Configure this in your Splunk search/SOAR app configuration and the triggering of your playbook is that simple! On the other hand, input playbooks are more useful as part of larger playbook solutions or for more “ad-hoc” type executions that you want to call repeatedly from different playbooks. Think more of an “Send Email” playbook that would take in various inputs (Subject, recipient, etc.) and send an email but also generate notes or comments and perform some common status updates or things like that along the way that you don’t want to keep developing over and over in different playbooks.

    Fields

    So, you know what type of playbook you’ll need and how you’ll kick it off, but what does it need to do its job? Generally, if you’re kicking off a playbook from a Splunk search, some things to consider passing along are things like Incident IDs or any other identifying information that your SOAR playbook might need to execute its actions. Things like email addresses, usernames, timestamps, and error codes or error messages are common things that get passed along because they will likely make it easy for the SOAR playbook to send emails or reach out to its app integrations to get additional details using those identifiers. These fields will be populated in the artifact that gets created in the SOAR event/container and the playbook can easily read the data from there. You want to be careful to pass in your fields in meaningful and considerate ways: keep the field names free of special characters other than underscores as Splunk SOAR has issues with special characters, notably periods (.)!

    Playbook Actions/Workflow Design

    So, your SOAR container is showing up with the appropriate label and the fields are in the artifact. What’s my playbook supposed to do and how should it do it? This is where “art” and “science” intersect! It’s usually best to go back to fundamentals and simply create a workflow of what your business process looks like and begin to “SOAR-ify” it from there. Keep in mind a couple of the key SOAR development principles:

    • Modularize as much as possible. Develop smaller playbooks that work together instead of big, bulky playbooks where many more things can go wrong and it’s harder to troubleshoot or re-execute without doing too many things over.
    • Try to keep custom code within playbooks to a minimum. Create custom functions that can be reused as much as possible. This helps you eliminate having random code snippets all over the place and begins to help you build a library of “helpers” that you can use efficiently and repeatedly in future developments.

    Let’s consider a small example use case. A customer has Microsoft Defender data coming into their Splunk environment and they want to create a container in SOAR for every unique incident ID that comes in. Once this event is generated in SOAR, their playbook solution needs to take the incident ID and gather additional details for the Incident ID using their defender integration (status, description, comments, etc) and then send an email with that information to a specific group of people based on a lookup in Splunk. Here’s what a sample workflow would look like:

    Linear Splunk SOAR playbook flowchart showing automation steps from container creation to sending an alert email.

    In this case, you could design and develop a single playbook that would use the Incident ID present in the artifact and execute an action with the Microsoft Defender app integration to gather the incident details. This information comes back in JSON format and can contain extraneous information that isn’t relevant so the customer could develop a custom function that would take that JSON payload and extract the pertinent information and format it in an HTML-friendly string to send the email. After this, the customer could execute a Splunk app action with an SPL query to retrieve the user email list. Now, having all the information necessary, the Send Email step in the workflow could easily be converted into an input playbook of its own that would have some inputs (Recipients, Subject, Body) and would be able to take those inputs, send the email using the SMTP app, update the status to “Closed”, and add a comment to the container with confirmation of the email being sent. Once the small input playbook is developed, simply take the output from the custom function to populate the Body input to Send Email and the output of the SPL query from the Splunk app integration to populate the Recipients input to the Send Email playbook. The Subject can be hardcoded or a formatted input as well.

    As you can see, even a somewhat straightforward use case still required some design thought, two separate playbooks, three separate apps (Defender, SMTP, Splunk) and a custom function (mostly as a best practice). But, it resulted in a seamless playbook that does exactly what the customer needs and can be easily customized in the future should something change (i.e. additional users to email or updates to “pertinent” information from the Defender incident) and an input playbook that can now be used in the future to send an email and close out a container.

    Splunk SOAR is immensely useful and powerful. Taking adequate time to conceptualize and think through how you want to leverage that power and capability can provide immense dividends downstream as you grow your playbook library along with other objects like custom functions, custom lists, etc. So, don’t feel overwhelmed, take your time and let SOAR automations simplify your business processes!

  • Can You See Me Now? Ensure SOAR Playbook Visibility Into Artifact Data Regardless of Scope 

    Can You See Me Now? Ensure SOAR Playbook Visibility Into Artifact Data Regardless of Scope 

    By Marvin Martinez, Team Lead of Security Automation Operations

    Splunk SOAR, formerly known as Phantom, is essentially a canvas on which to build out your automation solutions. One particular aspect of how Splunk SOAR works behind the scenes can sometimes be beneficial, or somewhat of a hindrance, depending your use case. As you know, Splunk SOAR has this notion of “scope” when determining whether an artifact is “visible” to a playbook while it is running. This is not normally an issue if you’re manually executing a playbook and are able to select the scope before executing the playbook, as displayed below.

    SOAR platform UI showing artifact scope dropdown with options for new and all artifacts before running a playbook.

    There are use cases, however, where you may want to be able to repeatedly execute playbooks and ensure that some, or all, artifacts are always visible to the playbook. For example, you may have a workbook attached to the container with playbook references and analysts/users may need to run the same playbook more than once. In cases like this, the only usual option is to ensure you manually set the scope on each playbook block in your playbook to “All Artifacts” as you develop it. Depending on the length of your playbook, this may be unnecessarily tedious, particularly if you’re doing it repeatedly for multiple playbooks!

    A SOAR Hack

    In use cases like this, there is a clever SOAR hack you could employ that will ensure your playbook always has the artifact information available. You can leverage the REST API to retrieve the artifact data using a custom function and then it will be available as output variables in a utility block within your playbook.

    Creating a custom function ensures that you can re-use this piece of code any time you need it and for any artifact that’s in your container. A basic introduction to this custom function is below. In your SOAR environment, go to “Custom Functions” and click to create a new one.

    Inputs

    • artifact_name (item) – This will be the name of artifact in your container that you want to retrieve the values for.
    • container_id (item) – The container id of the container where the desired artifact is. This can easily be referenced by selecting “event” -> “id” in the parameter select screen when populating the inputs for the custom function call.

    Outputs

    • artifact_cef_values (item) – This will be a dictionary field that will contain all of the cef values in the artifact.

    As for the code, insert the following code snippet after the “Write your custom code here…” line in your custom function.

        #Create dictionary for results 
    
        artifact_cef_values_dict = {} 
    
        found_values = False 
        #Generate REST API call with filters to get artifact data 
    
        artifact_url = phantom.build_phantom_rest_url('artifact') 
    
        artifact_url = f'{artifact_url}/?_filter_container_id=
    
    {container_id}&_filter_name='{artifact_name}'' 
    
        response = phantom.requests.get(artifact_url, verify=False) 
    
        content = json.loads(response.text) 
        #Iterate through results and convert fields/values to dictionary keys 
    
        if content['count'] > 0: 
    
            found_values = True 
    
            artifact_cef_values = content['data'][0]['cef'] 
    
            keys = list(artifact_cef_values.keys()) 
    
            values = list(artifact_cef_values.values()) 
    
            counter = 0 
    
            for key in keys: 
    
                value = values[counter] 
    
                artifact_cef_values_dict[key] = value 
    
                counter = counter + 1 
        if not found_values: 
    
            comment = "NOTE: no field values found!" 
    
            phantom.comment(comment=comment) 
    
        else: 
    
            pass 
        #Assign output variable with internal results dictionary 
    
        outputs['artifact_cef_values'] = artifact_cef_values_dict 

    Results

    Once implemented, this custom function can now be called from your playbook (preferably at the top of it as one of your first blocks) and you can then reference the outputs of that block for any fields from your desired artifact, no matter what scope it’s running in. Below is a sample playbook that shows how this custom function could be utilized:

    SOAR playbook diagram highlighting steps to retrieve artifact CEF values, format output, and add a comment.

    The container this playbook will run on has one artifact named “test_artifact” with a few fields, one of which is a “destinationAddress”.

    Artifact metadata panel displaying test artifact details including protocol, destination address, and request URL.

    In the playbook above, the custom function is called as the first block and retrieves all the values for “test_artifact” in the current container. The configuration for the custom function is as shown below:

    Configuration screen for get_artifact_cef_values utility with defined artifact name and container ID variables.

    In the format output block immediately after, select the “artifact_cef_values” output from the custom function block and then just add the desired field at the end in object notation (i.e. add “destinationAddress” like get_artifact_cef_values_26:custom_function_result.data.artifact_cef_values.destinationAddress). In this case, we are just preparing a quick comment to show how the field retrieval works.

    Playbook format block dynamically referencing destination address from artifact CEF values for visibility.

    Now, just use the output of the format block in the comment block after that to output a comment to the container showing the data. The output of the comment block will display as shown below.

    Playbook result displaying extracted destination address from artifact data with command prompt for user input.

    As you can see, once implemented, it’s that easy to reference any values from your artifact at any point in your playbook with no need to worry about scopes or references at any point. If you have multiple artifacts, you could easily string together various of these blocks and just name them accordingly for use within your playbook.

  • Splunk SOAR: Introduction to the HUD Space

    Splunk SOAR: Introduction to the HUD Space

    By David Burns, Soar Engineer

    Security Analysts Score with SOAR

    Are you familiar with the HUD (Heads Up Display) within Splunk SOAR? It’s part of the out of the box capabilities Splunk provides which are great for highlighting information that the Security Analysts (SAs) feel is important. If not, this overview article is for you.

    Build your Heads Up Display

    You can find the HUD on any container view in the upper left-hand corner.

    Splunk SOAR case management screen with “pin_demo” labeled and circled, introducing the HUD space in a live case.

    When expanded, it might look like this:

    SOAR HUD view showing three HUD cards with pinned values and a table listing each message, data, and the user who pinned it.

    You can see above the default options for the HUD as either cards (the top three items) or data values (bottom three values). Cards can be a choice of three colours: grey, blue, or red.

    To change the information being presented, click on the write icon on a card or the ellipse for the lines of data.

    Zoomed-in view of a grey card element in the HUD dashboard, indicating a placeholder for a pinned metric.
    Three-dot menu used in Splunk SOAR to access additional options for individual HUD entries or table rows.

    Pins can be added, or characteristics modified, by clicking on the gear in the upper right-hand corner. Clicking the gear will bring up a window like this:

    Configure HUD screen in SOAR showing editable HUD card titles and color options for each card.

    This interface allows SAs to add cards, change colors, and even change the order in which they are displayed. You can toggle displaying the data table here as well.

    To create a simple pin, click + Hud Card.

    Interface for manually adding a HUD card in Splunk SOAR, with options for message, values, card type and color.

    Message is the string that will be displayed above the value. Clicking save creates the card, but you will have to update the values as mentioned above.

    The great thing about pinning things to the HUD is that you can do it programmatically as well from within a playbook. This way you can bring something to your SA’s attention immediately as needed during playbook execution. The ability to add a pin is is found under the utility option, and below is a simple playbook that was used to create the pins in Figure 2 above.

    Workflow editor in Splunk SOAR with a configured “pin” utility used in a playbook flow, highlighting pin message and color settings.

    The underlying code for this call is the phantom.pin function. While not documented on the Container API page, here is some potential documentation as of SOAR 6.0.0:

    Success, message, pin_id = phantom.pin(container=container, data="600", message="Card Hud 3", name="example", pin_style="red", pin_type="data")
    Table in dark mode showing Splunk SOAR HUD configuration data. Includes columns for HUD card titles, pin types (e.g., card), colors (e.g., blue, red), data values, and timestamps for each entry.

    The pin_id is then can be referenced for the update_pin or delete_pin function.

    There are a couple of caveats to be aware when using the playbook utility function:

    1. When selecting the data pin type, pin colour is ignored.
    2. Card pins will be added at the end
    3. Users will need the Edit Events permission to add/modify any pins on the container.

    The phantom.pin function is obviously a wrapper for the container_pin REST call, but it doesn’t allow for access to all the different capabilities that a POST command can do. Look for XXX about how to create more complicated HUD pins to boost your SOAR’s capabilities.

    We hope this has helped you create an awesome heads up display, and that it makes your Splunk SOAR capabilities shine. Contact us if you have any additional questions:

  • Splunk SOAR: Make the Most of Your HUD Space with Pin Lists

    Splunk SOAR: Make the Most of Your HUD Space with Pin Lists

    By Marvin Martinez, Team Lead, Automation Engineering

    Splunk SOAR, sometimes affectionately referred to by its prior name, Phantom, comes bundled with a plethora of custom functions and API calls to make playbook development easier.  These include the ability to add comments or notes to a container, set a label or set a status. One useful and, frankly, cool feature is the ability to add a pin to the HUD of the container.  You can add little “post-it” style notes to the HUD to show some messages or pertinent field values. 

    Screenshot of the Splunk SOAR HUD interface displaying two labeled fields, event metadata such as playbooks run and artifact count, and container details including creation time and source ID.

    This is achieved by using the “pin” utility function, shown below. It allows a Splunk SOAR developer to pin a piece of information and designate a color for the pin as well as a name for later reference in case the data needs to be updated.

    Screenshot of the “Configure Utility” panel in Splunk SOAR with the “APIs” tab selected and the term “pin” entered into the search bar, highlighting the ability to locate and configure pin-related utilities.
    Detailed configuration panel for the Splunk SOAR “pin” utility, showing fields to input a message, value, pin type, pin color, and optional name, emphasizing customization options for pin visuals.

    While these pin cards can be very handy, the limited amount of real estate in the HUD can quickly constrain how many pins you can realistically display in the HUD before having to click arrows to scroll and see pins that are off-screen. However, did you know that these pin cards in Splunk SOAR can also contain lists of data?

    HUD interface showing a dropdown labeled “Multivalue Pin” with three selectable field options (Field 1, Field 2, Field 3), demonstrating how users can manage and select multiple pin values efficiently.

    As implied in the image above, let’s explore a situation where you want to display a list of field values that may be relevant to the container. There could be one or many fields to display. Instead of pinning up one card for each field/value combination, you could pin up one single card with a list of all of the field/value pairs that you want and only take up one card space in the HUD. So, how to achieve this? It can be done by leveraging a documented, but somewhat hidden, feature of the container_pin REST call in Splunk SOAR. The key input to notice is the input_type and input_choices parameter fields in the container¬_pin call. You can designate the input_type to be “text” or “select”. The “pin” function included with Splunk SOAR does not have an option to define what input_type is and only allows for “text” when generating a pin card using it.

    There’s 2 ways to put this REST into effect:

    • Using the post_data¬ function of the HTTP SOAR app.
    • Using custom code to programmatically generate the REST API calls

    For the purposes of this article, we will leverage the Splunk SOAR/Phantom HTTP app to make this call. If you don’t already have an asset configured for this app, it is a straightforward configuration. Simply configure a new asset of this app and you’ll need to configure the following:

    Screenshot of the “Asset Settings” tab within Splunk SOAR, showing setup fields for endpoint URL, authentication methods, and HTTP settings — used to establish connectivity for pin-based visual feedback.
    • Base URL
      • Your base SOAR URL with “/rest” at the end
    • Authentication Token
      • ph-auth-token
    • Value of authentication token
      • Token value of the automation user to be used for this asset

    Once your asset is ready for use, create a new action block in your playbook and select the HTTP post_data action.  Select the asset for your SOAR instance and populate the inputs.

    For the location input, type in “container_pin” (no double-quotes). For the body, you’ll need to populate the JSON payload of the request.  The following fields need to be passed in (or are at least recommended):

    • container_id
      • ID of the container for pin card
    • order
      • Number where pin card will slot in. Set to “1” if you just want it at the beginning
    • message
      • A bit misleading, but it is the title of the pin card (i.e. the label that shows up as the header of the pin card)
    • data
      • Leave as an empty string (i.e. “”)
    • pin_type
      • manual_card
    • pin_style
      • This is the color you want for the pin card. Valid options are blue, red, gray (default)
    • name
      • This is the identifier of the pin card. If you want to update the pin card later, you can use the reference name (i.e. “field_values”) to overwrite the existing card instead of inserting a new one in the HUD and cluttering it up.
    • input_choices
      • This is a JSON list of strings containing list items.

    For example, for the pin card displayed above, the JSON payload to the container_pin REST call would look as follows:

    {
         "container_id":"<container_id>",
         "order":1,
         "message":"Multivalue Pin",
         "data":"",
         "pin_type":"manual card",
         "pin_style":"blue",
         "name":"FIELD_VALUES ",
         "input_type":"select",
         "input_choices":["Field 1: Value 1","Field 2: Value 2","Field 3: Value 3"]
    }

    One word of caution: please note that this request is very sensitive! If the input_choices parameter is not passed in as a valid JSON list of strings, it could cause your container view window to not load correctly. Should that happen, you’ll need to basically make a rest call again to post it correctly before the container will display as expected.  For this reason, it is heavily advised to code this up inside a custom function that can be leveraged consistently and be augmented with proper error handling in case the input_choice string is not well-formed.

    There you have it!  An innovative way to pin lists to the HUD that should make your SOAR/Phantom playbook development that much more exciting!

  • Splunk x ChatGPT for Security Teams

    Splunk x ChatGPT for Security Teams

    by Zubair Rauf, Team Lead Professional Services and Bruce Johnson, Sr. Director Enterprise Security

    Splunk is the premier SIEM/Big Data platform in the cybersecurity industry. There are several extensions to the Splunk platform to incorporate machine learning, natural language processing, threat graphing, statistical computing, and Security Orchestration, Automation, and Response (SOAR). They take advantage of the fact that Splunk, as a big data platform, allows for the crunching and correlation of large quantities of data over extended search timeframes in near real-time. The latest obvious trend is to marry this capability with recent advances in AI utilities. Splunk has multiple premium product offerings, two of which are security focused.

    • Splunk Enterprise Security offers additional features over the standard Splunk platform. These include real-time threat identification, advanced analytics, and automated response (with Splunk SOAR).
    • Splunk SOAR is a tool that can be used to automate threat response workflows. These can help with incident response, remediation, and reporting.

    ChatGPT is a generative AI model trained by OpenAI that can generate human-like responses to a wide range of queries by the users. It can also analyze and generate code, allowing users to:

    • Create code faster by generating code snippets based on natural language input.
    • Analyze code snippets for security vulnerabilities by identifying potential security issues in code.
    • Interpret code for better understanding by providing explanations of code logic and behavior.

    In the context of security ChatGPT has been used to attack GitHub repositories, generate malicious code stubs, insertion of proprietary information into the ChatGPT data model, and AI-Generated phishing campaigns (side note: grammar is no longer a prevalent phishing threat indicator as verbiage can be generated). It is only a matter of time until ChatGPT tasking is married together with malicious script libraries and attack techniques to devise batteries of generated, dynamic, morphing threat chains.

    As always with cybersecurity threats, creative uses for utilities and techniques start with hackers and quickly demands a response from blue teamers. As cybersecurity professionals we are on our back feet coming up with ways to leverage AI to defend against AI-generated attacks.

    Entering the fray are Splunk extensions to SIEM and SOAR platforms to enable extension of search and automation to incorporate AI algorithms. It is a rudimentary but important beginning.

    ChatGPT Access

    Analysts can access ChatGPT or the underlying language models using the ChatGPT web interface or by using OpenAI’s API.

    There are also Splunk Technical Add-ons (TAs) that have been developed for ChatGPT/Splunk integration. These TAs let you interact with ChatGPT directly from your Splunk search through custom search commands and other actions. One notable Technical Add-on (TA) was built by Michael Camp Bentley from Splunkable LLC, a TekStream partner, and is available on Github.

    Microsoft Azure OpenAI Service also provides organizations to run OpenAI models in a secure environment. Organizations can use datasets to fine-tune models for more accurate results and tap into more use cases with their data. However before using this service to train and fine-tune models, please read the Data, privacy and security documentation for the service.

    Splunk x ChatGPT Applications

    Creating Splunk searches with ChatGPT

    One of the most used use-cases that I have tested out and have seen other people leverage ChatGPT is to create simple and complex Splunk queries for customized security detections. ChatGPT does a decent job when given the right prompts and can build the underlying logic for an acceptable query. I have seen that you will have to modify the search to filter correctly for your data.

    I have tested ChatGPT to create queries for common detections and while it is not 100% accurate in generating the query that you want (it is an AI after all, and the clarity of your prompt matters!), it provides you with some innovative ideas and a great starting point to play around with your search.

    ChatGPT also interprets the Splunk query to provide users a foundational understanding of how to build out a dynamic query for a detection/correlation search.

    Integrating Splunk Search and ChatGPT

    There are many TAs that the Splunk community has made that integrates ChatGPT with Splunk search. A notable one I already mentioned above, built by Splunkable (available here) enables users to directly send prompts and get responses from ChatGPT through a Splunk search command.

    This opens numerous possibilities for dynamic prompt generation through eval statements based on your use case. Some use cases I can think of are:

    • Based on a detected threat, you can pass MITRE metadata, with the threat to ChatGPT prompt and it can suggest the next potential threat that may come your way
    • ChatGPT can automate responses to users about identified phishing threats to users, encourage them to study security topics based on prompts generated from search results. These responses can be sent to users using Splunk email alerts.

    Creating Splunk SOAR automation scripts with ChatGPT

    ChatGPT can also help Splunk SOAR users create SOAR automation scripts that can be modified to work with the environment and deployed to Splunk SOAR. Splunk SOAR is built on Python, so ChatGPT can be used to generate Python code to perform actions using Splunk SOAR. The generated scripts will provide users with a good starting point and can make modifications before deploying scripts in their environment.

    Analyze Scripts and Code

    Analysts can use ChatGPT to quickly analyze and interpret a script. This can help analysts quickly triage a malicious script and contain the threat. This can be programmatically done using an integration with ChatGPT. You can pass the script to ChatGPT by using the API integration with Splunk (see Splunkable, LLC Splunk TA for OpenAI) and depending on the response you can determine how critical the alert should be so that it can be prioritized accordingly for analysts. ChatGPT can also provide a detailed analysis of what a script/code-snippet is going to do and provide recommendations for remediation.

    Preemptively, ChatGPT can also help security teams running OpenAI in a secure environment determine security vulnerabilities in code before it is deployed to production. This will help ensure that no malicious code is introduced during the development process and identify any security vulnerabilities that need to be addressed.

    Building governance and detections using the MITRE ATT&CK framework

    If you are starting out on your Splunk security journey and want to dive deeper into building detections using the MITRE ATT&CK® framework, you can leverage ChatGPT to understand different MITRE Tactics. ChatGPT is well trained on the MITRE framework and can help you understand the different MITRE tactics and techniques associated with a variety of common and uncommon attacks.

    These techniques/tactics would help a user determine what data would be required for creating detections around the use case and accompanying remediation steps. You can also use this with fine-tuned models through the Azure OpenAI Service to have results tailored to your environment.

    Enhance Purple Team Findings

    ChatGPT can also help compliance teams efficiently understand purple team findings, map them to MITRE framework, and get insights on remediation tactics. ChatGPT can also recommend what indicators of compromise (IOCs) to focus on, data required to monitor these and common Splunk detections that can help address the vulnerabilities.

    Summary

    This is obviously just the tip of the iceberg. TekStream is constantly working on improving the safety and security of our MDR customers and the focus for everyone in the cybersecurity industry is squarely on leveraging AI to enhance cybersecurity posture (or attack it). It’s not quite Terminator vs. Skynet yet, but AI is certainly a powerful and evolving approach to generate and defend against threats. We’d be interested in how you are using AI in the context of cybersecurity. For more information, and to keep the conversation going, contact us below:

    Special thank you to Michael Camp Bentley and Splunkable LLC for their contributions to this article.

    *Just for fun, we created the image on this blog post using ChatGPT’s sister image site Dall-E!