Zum Hauptinhalt springen
LIVE Intel Feed

Splunk Security

SIEM Security 2026

Role-Based Access, Field Masking, Data Retention, SSL/TLS & App Security

RBACSPLSSLApps

Splunk Security Architecture

Splunk ist das zentrale SIEM mit sensitiven Logs. Falsche Konfigurationen können Compliance-Verstöße verursachen. Sichern Sie mit RBAC, Field Masking und strikter Datenaufbewahrung.

Access Control

  • • Role-Based Access
  • • LDAP/SSO Integration
  • • Index Restrictions
  • • Capability Filtering

Data Protection

  • • Field Masking
  • • Sedcmd Filtering
  • • Data Retention
  • • Index Archiving

Platform Security

  • • SSL/TLS Encryption
  • • Certificate Management
  • • App Vetting
  • • Forwarder Security

Role-Based Access Control

# authentication.conf - Role Configuration
# /opt/splunk/etc/system/local/authentication.conf

[roleSecurityAnalyst]
cumulativeRTSrchJobsQuota = 10
cumulativeSrchJobsQuota = 10
federatedProviders = 
importRoles = user
rtSrchJobsQuota = 10
srchDiskQuota = 10000
srchFilter = splunk_server=local
srchIndexesAllowed = security;wineventlog;firewall;ids
srchIndexesDefault = security;wineventlog
srchJobsQuota = 10
srchTimeWin = -1

[roleSOCManager]
cumulativeRTSrchJobsQuota = 20
cumulativeSrchJobsQuota = 20
federatedProviders = 
importRoles = power
rtSrchJobsQuota = 20
srchDiskQuota = 50000
srchFilter = splunk_server=local
srchIndexesAllowed = *;security;wineventlog;firewall;ids;audit
srchIndexesDefault = security;wineventlog;audit
srchJobsQuota = 20
srchTimeWin = -1

[roleAuditor]
cumulativeRTSrchJobsQuota = 5
cumulativeSrchJobsQuota = 5
federatedProviders = 
importRoles = user
rtSrchJobsQuota = 5
srchDiskQuota = 5000
srchFilter = splunk_server=local
srchIndexesAllowed = audit;compliance
srchIndexesDefault = audit
srchJobsQuota = 5
srchTimeWin = -1

# authorize.conf - Capabilities
# /opt/splunk/etc/system/local/authorize.conf

[roleSecurityAnalyst]
edit_user = disabled
schedule_rtsearch = disabled
list_settings = disabled

schedule_search = enabled
run_collect = enabled
run_mcollect = enabled
run_msearch = enabled

[roleSOCManager]
# All search capabilities
schedule_rtsearch = enabled
can_delete = enabled

# User management for SOC
edit_user = enabled
edit_roles = disabled  # Cannot modify roles

[roleAuditor]
# Read-only access
edit_user = disabled
schedule_search = enabled

# Can export for compliance
output_file = enabled
export_results_is_visible = enabled

# authorize.conf - SAML/SSO
[authentication]
authType = SAML
authSettings = saml

[saml]
idpSSOUrl = https://company.okta.com/app/splunk/sso/saml
idpCertPath = /opt/splunk/etc/auth/saml/idp.crt
entityId = splunk.company.com
signAuthnRequest = true
signedAssertion = true
attributeQueryUrl = https://company.okta.com/api/v1/saml/users/${userID}/lifecycle/refreshIdpToken
attributeQueryRequestSigned = true
attributeQueryResponseSigned = true
redirectPort = 443
role = SplunkAdmins
realName = firstName lastName
mail = email

# Group mappings
[groupMapping]
SplunkAdmins = admin
SplunkSecurity = SecurityAnalyst
SplunkSOC = SOCManager
SplunkAuditors = Auditor

Field Masking & Data Protection

# props.conf - Field Masking & Filtering
# /opt/splunk/etc/system/local/props.conf

# Credit Card Masking
[pan_masking]
SEDCMD-pan = s/\d{4}[-\s]?\d{4}[-\s]?\d{4}[-\s]?\d{4}/XXXX-XXXX-XXXX-XXXX/g
EVAL-credit_card = case(match(_raw, "\d{4}[-\s]?\d{4}[-\s]?\d{4}[-\s]?\d{4}"), "<MASKED>", true(), null())

# SSN Masking
[ssn_masking]
SEDCMD-ssn = s/\d{3}-\d{2}-\d{4}/XXX-XX-XXXX/g
EVAL-ssn = case(match(_raw, "\d{3}-\d{2}-\d{4}"), "<MASKED>", true(), null())

# Password Masking
[password_masking]
SEDCMD-password1 = s/(?i)(password|passwd|pwd)\s*[:=]\s*\S+/\1=********/g
SEDCMD-password2 = s/(?i)(pass|pwd)\s*[=:]\s*["']?[^"'\s]+["']?/\1=********/g

# API Key Masking
[api_key_masking]
SEDCMD-apikey = s/(?i)(api[_-]?key|apikey)\s*[:=]\s*\S{16,}/\1=****************/g
SEDCMD-bearer = s/bearer\s+\S+/bearer <TOKEN>/g

# PII Filtering - Generic
[pii_filtering]
# Email addresses
SEDCMD-email = s/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/<EMAIL>/g

# Phone numbers
SEDCMD-phone = s/\b\d{3}[-.]?\d{3}[-.]?\d{4}\b/<PHONE>/g

# IP addresses (internal)
SEDCMD-internal-ip = s/10\.\d{1,3}\.\d{1,3}\.\d{1,3}/<INTERNAL_IP>/g
SEDCMD-internal-ip2 = s/172\.(1[6-9]|2[0-9]|3[01])\.\d{1,3}\.\d{1,3}/<INTERNAL_IP>/g
SEDCMD-internal-ip3 = s/192\.168\.\d{1,3}\.\d{1,3}/<INTERNAL_IP>/g

# JWT Token Masking
[jwt_masking]
SEDCMD-jwt = s/eyJ[a-zA-Z0-9_-]*\.eyJ[a-zA-Z0-9_-]*\.[a-zA-Z0-9_-]*/<JWT_TOKEN>/g

# transforms.conf - Index Time Masking
# /opt/splunk/etc/system/local/transforms.conf

[mask_pan]
REGEX = \d{4}[-\s]?\d{4}[-\s]?\d{4}[-\s]?\d{4}
FORMAT = XXXX-XXXX-XXXX-XXXX
DEST_KEY = _raw

[mask_ssn]
REGEX = \d{3}-\d{2}-\d{4}
FORMAT = XXX-XX-XXXX
DEST_KEY = _raw

# props.conf - Apply transforms
[source::.../*.log]
TRANSFORMS-mask-pan = mask_pan
TRANSFORMS-mask-ssn = mask_ssn

# Field-level filtering (search time)
# Use eval and if/case statements in SPL

# transforms.conf - Routing to nullQueue (drop data)
[null_queue]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[drop_healthchecks]
REGEX = health|/health|/ready|/alive
DEST_KEY = queue
FORMAT = nullQueue

# Route health checks to null
[source::.../access.log]
TRANSFORMS-drop-health = drop_healthchecks

SSL/TLS & Forwarder Security

# server.conf - SSL Configuration
# /opt/splunk/etc/system/local/server.conf

[sslConfig]
# Enable SSL
enableSplunkdSSL = true
sslVersions = tls1.3
sslVersionsForClient = tls1.3
cipherSuite = TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
ecdhCurves = prime256v1,secp384r1,secp521r1

# Certificate paths
serverCert = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = <encrypted_password>
sslRootCAPath = $SPLUNK_HOME/etc/auth/ca.pem

crlDistributionPoint = http://company.com/crl.pem

caCertFile = $SPLUNK_HOME/etc/auth/ca.pem
caPath = $SPLUNK_HOME/etc/auth

certCreateScript = $SPLUNK_HOME/bin/gencert.sh

[http]
# REST API SSL
enableSSL = true
sslVersions = tls1.3
sslVersionsForClient = tls1.3

# web.conf - Web Interface SSL
# /opt/splunk/etc/system/local/web.conf

[settings]
enableSplunkWebSSL = true
privKeyPath = $SPLUNK_HOME/etc/auth/splunkweb/privkey.pem
caCertPath = $SPLUNK_HOME/etc/auth/splunkweb/cert.pem
serverCert = $SPLUNK_HOME/etc/auth/splunkweb/server.pem

# Cipher suite
cipherSuite = TLS_AES_256_GCM_SHA384

# HSTS
httpStrictTransportSecurity = max-age=31536000; includeSubDomains

# Content Security Policy
contentSecurityPolicy = default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'

# outputs.conf - Forwarder SSL
# /opt/splunk/etc/system/local/outputs.conf

[tcpout]
defaultGroup = indexers

[tcpout:indexers]
server = indexer1.company.com:9997,indexer2.company.com:9997

# SSL for forwarder
sslPassword = <encrypted_password>
sslCertPath = $SPLUNK_HOME/etc/auth/forwarder.pem
sslRootCAPath = $SPLUNK_HOME/etc/auth/ca.pem
sslVerifyServerCert = true

# Client certificate
clientCert = $SPLUNK_HOME/etc/auth/client.pem
sslVersions = tls1.3

# inputs.conf - SSL Receiver
# /opt/splunk/etc/system/local/inputs.conf

[splunktcp-ssl:9997]
disabled = false

[SSL]
serverCert = $SPLUNK_HOME/etc/auth/server.pem
sslPassword = <encrypted_password>
sslRootCAPath = $SPLUNK_HOME/etc/auth/ca.pem
requireClientCert = true
sslVersions = tls1.3

# Universal Forwarder - Secure Deployment
# deploymentclient.conf
[deployment-client]
disabled = false
target-broker = deploymentserver.company.com:8089

[target-broker:deploymentServer]
targetUri = deploymentserver.company.com:8089

deploymentServer.conf - Server Side
[deploymentServer]
whitelist.0 = *  # Or specific allowlist

# App signing - Verify apps before install
# Install only signed apps from Splunkbase or internal repo

Splunk Security Checklist

Access & Authentication

☐SAML/SSO configured
☐Custom roles with least privilege
☐Index restrictions enforced
☐Audit logging enabled

Data Protection

☐SEDCMD masking configured
☐Credit card regex active
☐SSN masking enabled
☐PII routing to nullQueue

Splunk Security Assessment

Assessment Starten
🔒 Quantum-Resistant Mycelium Architecture
🛡️ Kuratierte Runbooks – EU-gehostet in Frankfurt
🌐 Zero Known Breaches – Powered by Living Intelligence
🏛️ DSGVO Art. 25 & 32 • SOC 2 & ISO 27001 in Vorbereitung
⚡ Real-Time Global Mycelium Network – 347 Bedrohungen in 60 Minuten
🧬 Trusted by SecOps Leaders worldwide