Eyeglass Solutions Publication
CrowdStrike Next-Gen SIEM Zero Trust Log Ingestion and Alerting
Home
What is CrowdStrike Next-Gen SIEM?
- Overview
- Limitations
- Solution Overview
- Video Demo
- Advanced Zero Trust Capabilities
- Quick Start from Marketplace
- What is CrowdStrike Next-Gen SIEM?
- Integration Architecture
- Solution Configuration in CrowdStrike Next-Gen SIEM and Defender Zero Trust
- Prerequisites
- Configuration in CrowdStrike Next-Gen SIEM from the Marketplace
- Configuration Steps on Eyeglass Virtual Machine
- High Level steps
- Configuration Step by Step
- Configure the Service start and python integration files
- Configure the python packages and customize the CrowdStrike integration python code
- Configure Defender Zero Trust Webhooks
- How the Integration works CrowdStrike Next-Gen SIEM
- How to test the Integration with CrowdStrike Next-Gen SIEM
Overview
Customers using CrowdStrike Next-Gen SIEM can now leverage a native integration that ingests root cause Cyber Storage events to show as Security events . See Crowdstrike integration landing page
-
NOTE: This documentation is provided "as is" without support for 3rd party software. The level of support for this integration guide is best effort without any SLA on response time. No 3rd party product support can be provided by Superna directly. 3rd party components require support contracts
Limitations
- None
Solution Overview
Superna Defender Zero Trust API receives webhook alerts from Security Edition and maps all relevant data fields into the CrowdStrike Parsing Standard (CPS).
Video Demo
Advanced Zero Trust Capabilities
- Webhook to native CrowdStrike SIEM ingestion API and log parsing
- Superna Security Edition host Containment api integration with CrowdStrike Next-Gen SIEM
Quick Start from Marketplace
- Follow this link to the martetplace listing and click Configure to get started. https://falcon.us-2.crowdstrike.com/store-v2/ddb610cacfc349e4a75bac253d7df550
- Create the connecto and parsing instance and generate an API key can skip to section on configuring Eyeglass VM below.
What is CrowdStrike Next-Gen SIEM?
CrowdStrike Falcon® Next-Gen SIEM revolutionizes threat detection, investigation and response by bringing together unmatched security depth and breadth in one unified platform to stop breaches. The Superna data source is available directly within NExt-GenSIEM Data Onboarding tab.
Integration Architecture
Solution Configuration in CrowdStrike Next-Gen SIEM and Defender Zero Trust
Prerequisites
- Installed Security Edition
- Eyeglass OS appliance version 15.5
- cat /etc/os-release
- License key for the Zero Trust API
- CrowdStrike Next-Gen SIEM application entitlement
Configuration in CrowdStrike Next-Gen SIEM from the Marketplace
Follow these steps in the Next-Gen SIEM Data Onboarding to install the connector and collect api keys and url to be used with Superna Data Security Edition.
Log in to the CrowdStrike Falcon Console Select Data Onboarding
Type Superna in the Data Source Search box
- Click the connector and fill in the fields
- Click Save
- Click Generate API key when the window appears
- Save the key for use in later steps
- Click on Data Sources and click on the new data source and record the API URL
- Save this url for later steps
done.
Configuration Steps on Eyeglass Virtual Machine
High Level steps
- Create python location to run the application on the Eyeglass vm
- Create python main application script
- Create linux systemd service and set to auto start
- Create Zero Trust configuration in Defender
- Update the main script to customize with CrowdStrike Next-Gen SIEM python code
- Test the script is running as a service
- Create a test event in Defender to validate the alerts appear as indexed parsed events in CrowdStrike Next-Gen SIEM
Configuration Step by Step
Configure the Service start and python integration files
-
Login to eyeglass vm using ssh as the admin user to create zero trust application
- sudo -s
- mkdir -p /opt/superna/cgi-bin
- touch /opt/superna/cgi-bin/crowdstrikesiem.py
- touch /opt/superna/cgi-bin/crowdstrikesiem.sh
- chown sca:users /opt/superna/cgi-bin/crowdstrikesiem.*
- chmod +x /opt/superna/cgi-bin/crowdstrikesiem.py
- chmod +x /opt/superna/cgi-bin/crowdstrikesiem.sh
-
Create systemd configuration
- nano /etc/systemd/system/CrowdStrikeSIEM.service
- Copy the values below and Paste these contents into the file opened in nano editor in the step above
- Save the file
- press control+x
- Answer yes to save and exit
- Restart systemd
- systemctl daemon-reload
- Set to enabled
- systemctl enable CrowdStrike
- Create CrowdStrike.sh service script
- Copy the values below
- nano /opt/superna/cgi-bin/crowdstrikesiem.sh
- paste the script values below into the nano editor
- Save the file
- press control+x
- Answer yes to save and exit the editor
- Once the script is created below, do not start the service at this step.
- Done
### Service definition text to copy into /etc/systemd/system/CrowdStrikeSIEM.service. ###
[Unit]
Description=Webhook listener for Zero Trust api translations and integrations
After=network.target
[Service]
User=sca
Group=users
WorkingDirectory=/opt/superna/cgi-bin
Environment="PATH=/opt/.pyenv/shims:/usr/bin:/usr/local/bin"
ExecStart=/bin/bash /opt/superna/cgi-bin/crowdstrikesiem.sh
[Install]
WantedBy=multi-user.target
copy for bash script
### service launch script /opt/superna/cgi-bin/crowdstrikesiem.sh ###
#!/bin/bash
export PATH="/opt/.pyenv/bin:$PATH"
/opt/.pyenv/shims/python3 crowdstrikesiem.py
Configure the python packages and customize the CrowdStrike integration python code
-
Now install required python packages for the SCA users that will run the service. NOTE this is the same user that runs the main eyeglass application code.
- su - sca
- pip3 install flask boto3 requests logging
- exit
- NOTE: you must type exit to ensure you are the root user for the remaining steps. Type whoami to make sure you are the root user.
- Customize the application code by downloading the python code from this link to download
- Open the python template file in a text editor. NOTE: make sure to only replace the values and do not delete any of the commas
- Locate this section in the file # Define the endpoint and API token as variables to add your CrowdStrike api token and endpoint for API calls .
- Add the API URL and API token into this section.
- nano /opt/superna/cgi-bin/crowdstrikesiem.py
- Open the file locally in Windows OS notepad and use control-A or select all the text in the python template
- Paste the clipboard into the ssh terminal session with the open nano editor file
- save the file
- press control+x
- Answer yes to save and exit the nano editor
- Start the service and verify it is running
- systemctl start CrowdStrike
- systemctl status -l CrowdStrike
- Verify the service is started successfully and returns "active and running".
- If the service does not start do not proceed and double check the steps above are completed.
Configure Defender Zero Trust Webhooks
- The next step creates an Zero Trust Webhook URL.
- Configure Zero Trust endpoint in Ransomware Defender Zero Trust tab.
- Recommended Configuration: Only Critical and Major events and only the webhooks that set lockout or delayed lockout. Customers can customize based on specific requirements. The goal is to send findings versus a list of alarms that do not pinpoint a security incident.
- The endpoint url above will use localhost and will send Webhooks to the application service listening on port 5000. URL to use in the configuration
- http://localhost:5000/webhook
- Add the Content-Type header with value of application/json as shown above to complete the webhook configuration.
- Click save to commit the configuration.
- Click save on the main Webhook configuration page
- Configure Zero Trust endpoint in Ransomware Defender Zero Trust tab.
- Test the configuration is working following the next section
How the Integration works CrowdStrike Next-Gen SIEM
- These screenshots show how log messages appear when searching for raw logs and how Detections appear in the Console.
- Log message in CPS format
- Detections Example
How to test the Integration with CrowdStrike Next-Gen SIEM
- To test the integration follow these steps
- Prerequisites In CrowdStrike Next-Gen SIEM and Eyeglass:
- Download this curl command template and open with a text editor.
- ssh to the eyeglass vm as the admin user
- Copy and Paste the entire cli command text to the ssh prompt to send sample data to the running Zero Trust application. This will send test data directly to the application to be processed and sent to CrowdStrike Next-Gen SIEM Integration service that is running on the Eyeglass VM.
- The output of a successfully processed webhook test will return this text in the ssh terminal
- done sending event to CrowdStrike and check for http 200 and success count in response
- How to review the process logs from the web application
- sudo -s
- journalctl -f -u CrowdStrike
- This allows you to view the logs generated by the application.
- To log to a file and review with nano showing only the most recent 250 lines.
- journalctl -f -n 250 -u CrowdStrike > /tmp/ztwebhook.log
- nano /tmp/CrowdStrike.log
- In the log below the response code from the CrowdStrike Next-Gen SIEM api call should show http 200 status code and successCount 1 to indicate the Finding was successfully created.
- You can also view CrowdStriked.log for specific error messages.
- Login to the CrowdStrike Next-Gen SIEM and verify new incident is raised.
- Done