Merge pull request #13349 from Security-Onion-Solutions/cogburn/bulk-indexer

New Config Values for Detections Bulk Indexer
This commit is contained in:
coreyogburn
2024-07-15 15:34:01 -06:00
committed by GitHub
2 changed files with 11 additions and 5 deletions

View File

@@ -1366,6 +1366,8 @@ soc:
maxLogLength: 1024 maxLogLength: 1024
asyncThreshold: 10 asyncThreshold: 10
lookupTunnelParent: true lookupTunnelParent: true
maxScrollSize: 10000
bulkIndexerWorkerCount: -1
influxdb: influxdb:
hostUrl: hostUrl:
token: token:
@@ -2292,15 +2294,15 @@ soc:
alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"Example Rule Title - 'example' String Detected"; content:"example"; sid:[publicId]; rev:1;) alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"Example Rule Title - 'example' String Detected"; content:"example"; sid:[publicId]; rev:1;)
strelka: | strelka: |
/* /*
This is a YARA rule template. Replace all template values with your own values. This is a YARA rule template. Replace all template values with your own values.
The YARA rule name is the unique identifier for the rule. The YARA rule name is the unique identifier for the rule.
Docs: https://yara.readthedocs.io/en/stable/writingrules.html#writing-yara-rules Docs: https://yara.readthedocs.io/en/stable/writingrules.html#writing-yara-rules
*/ */
rule Example // This identifier _must_ be unique rule Example // This identifier _must_ be unique
{ {
meta: meta:
description = "Generic YARA Rule" description = "Generic YARA Rule"
author = "@SecurityOnion" author = "@SecurityOnion"
date = "YYYY-MM-DD" date = "YYYY-MM-DD"
@@ -2323,7 +2325,7 @@ soc:
id: [publicId] id: [publicId]
status: 'experimental' status: 'experimental'
description: | description: |
This should be a detailed description of what this Detection focuses on: what we are trying to find and why we are trying to find it. This should be a detailed description of what this Detection focuses on: what we are trying to find and why we are trying to find it.
For example, from rule 97a80ec7-0e2f-4d05-9ef4-65760e634f6b: "Detects a whoami.exe executed with the /priv command line flag instructing the tool to show all current user privileges. This is often used after a privilege escalation attempt." For example, from rule 97a80ec7-0e2f-4d05-9ef4-65760e634f6b: "Detects a whoami.exe executed with the /priv command line flag instructing the tool to show all current user privileges. This is often used after a privilege escalation attempt."
references: references:
- 'https://local.invalid' - 'https://local.invalid'
@@ -2332,7 +2334,7 @@ soc:
tags: tags:
- detection.threat_hunting - detection.threat_hunting
- attack.technique_id - attack.technique_id
logsource: logsource:
category: process_creation category: process_creation
product: windows product: windows
detection: detection:

View File

@@ -174,6 +174,10 @@ soc:
lookupTunnelParent: lookupTunnelParent:
description: When true, if a pivoted event appears to be encapsulated, such as in a VXLAN packet, then SOC will pivot to the VXLAN packet stream. When false, SOC will attempt to pivot to the encapsulated packet stream itself, but at the risk that it may be unable to locate it in the stored PCAP data. description: When true, if a pivoted event appears to be encapsulated, such as in a VXLAN packet, then SOC will pivot to the VXLAN packet stream. When false, SOC will attempt to pivot to the encapsulated packet stream itself, but at the risk that it may be unable to locate it in the stored PCAP data.
global: True global: True
maxScrollSize:
description: The maximum number of documents to request in a single Elasticsearch scroll request.
bulkIndexWorkerCount:
description: The number of worker threads to use when bulk indexing data into Elasticsearch. A value below 1 will default to the number of CPUs available.
sostatus: sostatus:
refreshIntervalMs: refreshIntervalMs:
description: Duration (in milliseconds) between refreshes of the grid status. Shortening this duration may not have expected results, as the backend systems feeding this sostatus data will continue their updates as scheduled. description: Duration (in milliseconds) between refreshes of the grid status. Shortening this duration may not have expected results, as the backend systems feeding this sostatus data will continue their updates as scheduled.