SlideShare una empresa de Scribd logo
1 de 15
©2019 ADARMA. ALL RIGHTS RESERVED
These are Adarma’s conclusions based upon the most recent official information from
Splunk andwhere noted our own observations.
Disclaimer
Werecommendreading in full theSplunk documentationon the issue:
SplunkDocs: https://docs.splunk.com/Documentation/Splunk/8.0.0/ReleaseNotes/FixDatetimexml2020
If in doubt reachout toAdarma’sor Splunk’sdedicatedProfessionalServicesfor guidance andhelp.
Agenda
3
- Introduction
- Problem Statement
- RootCause
- Impact & Checking Data Sources
- Recommended Solution(LongTerm)
- Tactical Solutions (ShortTerm)
- Q&A
Objective: Summarise the recent discovery of a Splunk configuration issue, outline its
cause, impact and steps to minimise its impact to your environment.
Q&A (Written Questions Only)
4
c
5
Beginningon January1, 2020, un-patched Splunk platform instances will be unable torecognize
timestamps from events where thedate contains a two-digityear.
Beginningon September 13, 2020 at 12:26:39 PM CoordinatedUniversal Time (UTC),un-patched
Splunk platform instances will be unable to recognize timestamps from events with dates that are
based on Unix time, due to incorrect parsing of timestamp data.
Problem Statement
Source: SplunkDocs
c
6
TheSplunk platforminput processoruses a filecalleddatetime.xmlto helpthe processor correctlydetermine
timestamps basedon incoming data.The file uses regularexpressionsto extractmany differenttypes ofdates and
timestamps from incomingdata. Example:
Root Cause
$SPLUNK_HOME/etc/datetime.xml
Before After
<text><![CDATA[(20dd|19dd|[901]
d(?!d))]]></text>
<text><![CDATA[(20dd|19dd|[9012]
d(?!d))]]></text>
<text><![CDATA[(?:^|source::).*?(?<!
d|d.|-
)(?:20)?([901]d)(0d|1[012])([012]
d|3[01])(?!d|-| {2,})]]></text>
<text><![CDATA[(?:^|source::).*?(?<!
d|d.|-
)(?:20)?([9012]d)(0d|1[012])([012]
d|3[01])(?!d|-| {2,})]]></text>
Source: SplunkDocs
c
7
The issueappearswhen youhave configured the inputsource to automaticallydetermine timestamps, andcan result in one or more of the
followingproblems:
• Incorrecttimestampingof incoming data
• Incorrectrolloverof data buckets due to the incorrecttimestamping
• Incorrectretention of data overall
• Incorrectsearchresults due to data ingested with incorrecttimestamps
There is nomethod to correct the timestamps after the Splunkplatform hasingested the data when the problem starts.If you ingest datawith an
un-patched Splunkplatforminstancebeginning onJanuary 1, 2020, you must patchthe instanceandre-ingest that datafor its timestampsto be
correct.
Impact
Source: SplunkDocs
Impacted Splunk Software
8
•SplunkUniversal
Forwarders
•When they have been configured to
process structured data, such as CSV,
XML, and JSON files, using
the INDEXED_EXTRACTIONS setting in
props.conf
•When they have been configured to
process data locally, using
the force_local_processing setting
in props.conf
•When they have been configured with
a monitor input, and that input
subsequently encounters an unknown
file type
•Splunk Cloud
•Splunk Light
•Splunk Enterprise Indexers (Clustered or Not)
•Heavy Forwarders or IDMs
•Search Heads (Clustered or Not)
•Search Head Deployers
•Deployment Servers
•Cluster Masters
•License Masters
Source: SplunkDocs
c
9
index=_internal earliest=-48h@h group=tcpin_connections sourcetype=splunkd
component=Metrics
[search index=_internal earliest=-48h@h sourcetype=splunkd
component=Metrics name=structuredparsing (processor=linebreaker OR
processor=aggregator OR processor=regexreplacement)
| stats count by host
| fields - count
| rename host AS hostname]
| stats avg(tcp_KBps) AS avg_kbps first(version) AS version first(os) AS os
first(fwdType) AS fwd_type first(guid) AS guid by hostname
| eval avg_kbps=round(avg_kbps,2)
| sort - avg_kbps
Should indicate if Universal Forwarders are impacted (requires internal metrics).
Gratitude to:SplunkProfessionalServices
Checking UF Impact (SPL)
c
10
find . -name props.conf | xargs grep
DATETIME_CONFIG | grep -v -e CURRENT -e NONE
Should show impacted sourcetypes using ‘auto timestamp recognition’.
Gratitudeto:SvetlanafromSplunkSupport
Checking Impact (Linux Find)
c
11
•Upgrade Splunk platform instances to a version with an
updated version of datetime.xml
Upgrade Splunk Software
•Always ensure the following are set in props.conf
•TIME_PREFIX, TIME_FORMAT,
MAX_TIMESTAMP_LOOKAHEAD, SHOULD_LINEMERGE,
LINE_BREAKER, TRUNCATE
Always Configure the Magic 6 in props.conf
Recommended Solution(Long Term)
Source: SplunkDocs &AdarmaTechBlog
c
12
• Adding this to EVERY impacted sourcetype configuration will force Splunk to use this
configuration and not automatically try and detect the format via datetime.xml
Add ‘TIME_FORMAT’ config to props.conf
• Download and deploy an app that temporarily replaces the defective datetime.xml file
with the fixed file.
• Download an updated version of datetime.xml and apply it to each of your Splunk
platform instances (with file integrity issues)
Replace datetime.xml or temporarilyreplaceit via anApp
• Make modifications to the existing datetime.xml file on your Splunk platform instances
Modify datetime.xml directly(with file integrityissues)
Tactical Solutions (Short Term)
Source: SplunkDocs &AdarmaTechBlog
c
13
Q&A
Thank You!
Twitter: @cyberharibu
Email: harry.mclaren@adarma.com
Contact Adarma: enquiries@adarma.com
Blog:medium.com/adarma-tech-blog
©2019 ADARMA. ALL RIGHTS RESERVED
YOUR TRUSTED SECURITY PARTNER

Más contenido relacionado

Más de Harry McLaren

Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...Harry McLaren
 
Splunk .conf18 Updates, Config Add-on, SplDevOps
Splunk .conf18 Updates, Config Add-on, SplDevOpsSplunk .conf18 Updates, Config Add-on, SplDevOps
Splunk .conf18 Updates, Config Add-on, SplDevOpsHarry McLaren
 
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...Harry McLaren
 
Lessons on Human Vulnerability within InfoSec/Cyber
Lessons on Human Vulnerability within InfoSec/CyberLessons on Human Vulnerability within InfoSec/Cyber
Lessons on Human Vulnerability within InfoSec/CyberHarry McLaren
 
Big Data For Threat Detection & Response
Big Data For Threat Detection & ResponseBig Data For Threat Detection & Response
Big Data For Threat Detection & ResponseHarry McLaren
 
OWASP - Analyst, Engineer or Consultant?
OWASP - Analyst, Engineer or Consultant?OWASP - Analyst, Engineer or Consultant?
OWASP - Analyst, Engineer or Consultant?Harry McLaren
 
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk DevelopmentTSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk DevelopmentHarry McLaren
 
Cyber Scotland Connect: What is Security Engineering?
Cyber Scotland Connect: What is Security Engineering?Cyber Scotland Connect: What is Security Engineering?
Cyber Scotland Connect: What is Security Engineering?Harry McLaren
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)Harry McLaren
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)Harry McLaren
 
Cyber Scotland Connect: Welcome & Purpose Statement
Cyber Scotland Connect: Welcome & Purpose StatementCyber Scotland Connect: Welcome & Purpose Statement
Cyber Scotland Connect: Welcome & Purpose StatementHarry McLaren
 
Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Harry McLaren
 
Securing the Enterprise/Cloud with Splunk at the Centre
Securing the Enterprise/Cloud with Splunk at the CentreSecuring the Enterprise/Cloud with Splunk at the Centre
Securing the Enterprise/Cloud with Splunk at the CentreHarry McLaren
 
Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Security Meetup Scotland - August 2017 (Deconstructing SIEM)Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Security Meetup Scotland - August 2017 (Deconstructing SIEM)Harry McLaren
 
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...Harry McLaren
 
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics Harry McLaren
 
Splunk Dashboarding & Universal Vs. Heavy Forwarders
Splunk Dashboarding & Universal Vs. Heavy ForwardersSplunk Dashboarding & Universal Vs. Heavy Forwarders
Splunk Dashboarding & Universal Vs. Heavy ForwardersHarry McLaren
 
Splunk User Group Edinburgh - November Event
Splunk User Group Edinburgh - November EventSplunk User Group Edinburgh - November Event
Splunk User Group Edinburgh - November EventHarry McLaren
 
Splunk User Group Edinburgh - September Event
Splunk User Group Edinburgh - September EventSplunk User Group Edinburgh - September Event
Splunk User Group Edinburgh - September EventHarry McLaren
 

Más de Harry McLaren (20)

Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
 
Splunk .conf18 Updates, Config Add-on, SplDevOps
Splunk .conf18 Updates, Config Add-on, SplDevOpsSplunk .conf18 Updates, Config Add-on, SplDevOps
Splunk .conf18 Updates, Config Add-on, SplDevOps
 
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
SplDevOps: Making Splunk Development a Breeze With a Deep Dive on DevOps' Con...
 
Lessons on Human Vulnerability within InfoSec/Cyber
Lessons on Human Vulnerability within InfoSec/CyberLessons on Human Vulnerability within InfoSec/Cyber
Lessons on Human Vulnerability within InfoSec/Cyber
 
Big Data For Threat Detection & Response
Big Data For Threat Detection & ResponseBig Data For Threat Detection & Response
Big Data For Threat Detection & Response
 
OWASP - Analyst, Engineer or Consultant?
OWASP - Analyst, Engineer or Consultant?OWASP - Analyst, Engineer or Consultant?
OWASP - Analyst, Engineer or Consultant?
 
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk DevelopmentTSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
TSTAS, the Life of a Splunk Trainer and using DevOps in Splunk Development
 
Cyber Scotland Connect: What is Security Engineering?
Cyber Scotland Connect: What is Security Engineering?Cyber Scotland Connect: What is Security Engineering?
Cyber Scotland Connect: What is Security Engineering?
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 2)
 
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
Cyber Scotland Connect: Getting into Cybersecurity (Deck 1)
 
Cyber Scotland Connect: Welcome & Purpose Statement
Cyber Scotland Connect: Welcome & Purpose StatementCyber Scotland Connect: Welcome & Purpose Statement
Cyber Scotland Connect: Welcome & Purpose Statement
 
Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements Latest Updates to Splunk from .conf 2017 Announcements
Latest Updates to Splunk from .conf 2017 Announcements
 
Securing the Enterprise/Cloud with Splunk at the Centre
Securing the Enterprise/Cloud with Splunk at the CentreSecuring the Enterprise/Cloud with Splunk at the Centre
Securing the Enterprise/Cloud with Splunk at the Centre
 
Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Security Meetup Scotland - August 2017 (Deconstructing SIEM)Security Meetup Scotland - August 2017 (Deconstructing SIEM)
Security Meetup Scotland - August 2017 (Deconstructing SIEM)
 
Deconstructing SIEM
Deconstructing SIEMDeconstructing SIEM
Deconstructing SIEM
 
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...
Supporting Splunk at Scale, Splunking at Home & Introduction to Enterprise Se...
 
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics
Building Splunk Apps, Development Paths with Splunk & User Behaviour Analytics
 
Splunk Dashboarding & Universal Vs. Heavy Forwarders
Splunk Dashboarding & Universal Vs. Heavy ForwardersSplunk Dashboarding & Universal Vs. Heavy Forwarders
Splunk Dashboarding & Universal Vs. Heavy Forwarders
 
Splunk User Group Edinburgh - November Event
Splunk User Group Edinburgh - November EventSplunk User Group Edinburgh - November Event
Splunk User Group Edinburgh - November Event
 
Splunk User Group Edinburgh - September Event
Splunk User Group Edinburgh - September EventSplunk User Group Edinburgh - September Event
Splunk User Group Edinburgh - September Event
 

Último

Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Pooja Nehwal
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...gajnagarg
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraGovindSinghDasila
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 

Último (20)

Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
Just Call Vip call girls Erode Escorts ☎️9352988975 Two shot with one girl (E...
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 

Adarma Advisory: Splunk Timestamp Issue

  • 1. ©2019 ADARMA. ALL RIGHTS RESERVED
  • 2. These are Adarma’s conclusions based upon the most recent official information from Splunk andwhere noted our own observations. Disclaimer Werecommendreading in full theSplunk documentationon the issue: SplunkDocs: https://docs.splunk.com/Documentation/Splunk/8.0.0/ReleaseNotes/FixDatetimexml2020 If in doubt reachout toAdarma’sor Splunk’sdedicatedProfessionalServicesfor guidance andhelp.
  • 3. Agenda 3 - Introduction - Problem Statement - RootCause - Impact & Checking Data Sources - Recommended Solution(LongTerm) - Tactical Solutions (ShortTerm) - Q&A Objective: Summarise the recent discovery of a Splunk configuration issue, outline its cause, impact and steps to minimise its impact to your environment.
  • 5. c 5 Beginningon January1, 2020, un-patched Splunk platform instances will be unable torecognize timestamps from events where thedate contains a two-digityear. Beginningon September 13, 2020 at 12:26:39 PM CoordinatedUniversal Time (UTC),un-patched Splunk platform instances will be unable to recognize timestamps from events with dates that are based on Unix time, due to incorrect parsing of timestamp data. Problem Statement Source: SplunkDocs
  • 6. c 6 TheSplunk platforminput processoruses a filecalleddatetime.xmlto helpthe processor correctlydetermine timestamps basedon incoming data.The file uses regularexpressionsto extractmany differenttypes ofdates and timestamps from incomingdata. Example: Root Cause $SPLUNK_HOME/etc/datetime.xml Before After <text><![CDATA[(20dd|19dd|[901] d(?!d))]]></text> <text><![CDATA[(20dd|19dd|[9012] d(?!d))]]></text> <text><![CDATA[(?:^|source::).*?(?<! d|d.|- )(?:20)?([901]d)(0d|1[012])([012] d|3[01])(?!d|-| {2,})]]></text> <text><![CDATA[(?:^|source::).*?(?<! d|d.|- )(?:20)?([9012]d)(0d|1[012])([012] d|3[01])(?!d|-| {2,})]]></text> Source: SplunkDocs
  • 7. c 7 The issueappearswhen youhave configured the inputsource to automaticallydetermine timestamps, andcan result in one or more of the followingproblems: • Incorrecttimestampingof incoming data • Incorrectrolloverof data buckets due to the incorrecttimestamping • Incorrectretention of data overall • Incorrectsearchresults due to data ingested with incorrecttimestamps There is nomethod to correct the timestamps after the Splunkplatform hasingested the data when the problem starts.If you ingest datawith an un-patched Splunkplatforminstancebeginning onJanuary 1, 2020, you must patchthe instanceandre-ingest that datafor its timestampsto be correct. Impact Source: SplunkDocs
  • 8. Impacted Splunk Software 8 •SplunkUniversal Forwarders •When they have been configured to process structured data, such as CSV, XML, and JSON files, using the INDEXED_EXTRACTIONS setting in props.conf •When they have been configured to process data locally, using the force_local_processing setting in props.conf •When they have been configured with a monitor input, and that input subsequently encounters an unknown file type •Splunk Cloud •Splunk Light •Splunk Enterprise Indexers (Clustered or Not) •Heavy Forwarders or IDMs •Search Heads (Clustered or Not) •Search Head Deployers •Deployment Servers •Cluster Masters •License Masters Source: SplunkDocs
  • 9. c 9 index=_internal earliest=-48h@h group=tcpin_connections sourcetype=splunkd component=Metrics [search index=_internal earliest=-48h@h sourcetype=splunkd component=Metrics name=structuredparsing (processor=linebreaker OR processor=aggregator OR processor=regexreplacement) | stats count by host | fields - count | rename host AS hostname] | stats avg(tcp_KBps) AS avg_kbps first(version) AS version first(os) AS os first(fwdType) AS fwd_type first(guid) AS guid by hostname | eval avg_kbps=round(avg_kbps,2) | sort - avg_kbps Should indicate if Universal Forwarders are impacted (requires internal metrics). Gratitude to:SplunkProfessionalServices Checking UF Impact (SPL)
  • 10. c 10 find . -name props.conf | xargs grep DATETIME_CONFIG | grep -v -e CURRENT -e NONE Should show impacted sourcetypes using ‘auto timestamp recognition’. Gratitudeto:SvetlanafromSplunkSupport Checking Impact (Linux Find)
  • 11. c 11 •Upgrade Splunk platform instances to a version with an updated version of datetime.xml Upgrade Splunk Software •Always ensure the following are set in props.conf •TIME_PREFIX, TIME_FORMAT, MAX_TIMESTAMP_LOOKAHEAD, SHOULD_LINEMERGE, LINE_BREAKER, TRUNCATE Always Configure the Magic 6 in props.conf Recommended Solution(Long Term) Source: SplunkDocs &AdarmaTechBlog
  • 12. c 12 • Adding this to EVERY impacted sourcetype configuration will force Splunk to use this configuration and not automatically try and detect the format via datetime.xml Add ‘TIME_FORMAT’ config to props.conf • Download and deploy an app that temporarily replaces the defective datetime.xml file with the fixed file. • Download an updated version of datetime.xml and apply it to each of your Splunk platform instances (with file integrity issues) Replace datetime.xml or temporarilyreplaceit via anApp • Make modifications to the existing datetime.xml file on your Splunk platform instances Modify datetime.xml directly(with file integrityissues) Tactical Solutions (Short Term) Source: SplunkDocs &AdarmaTechBlog
  • 14. Thank You! Twitter: @cyberharibu Email: harry.mclaren@adarma.com Contact Adarma: enquiries@adarma.com Blog:medium.com/adarma-tech-blog
  • 15. ©2019 ADARMA. ALL RIGHTS RESERVED YOUR TRUSTED SECURITY PARTNER