Splunk Enterprise Security

Creating search for malware infection

ewonn
New Member

Hi guys,
The team has created this search To Alerts when a host has an infection that has been re-infected remove multiple times over multiple days.

but we are not sure what we could do to get better results because alerts are coming a lot when we did this :

| tstats summariesonly=true allow_old_summaries=true dc(Malware_Attacks.date) as "day_count",count from datamodel="Malware"."Malware_Attacks" by "Malware_Attacks.dest","Malware_Attacks.signature","Malware_Attacks.action" | rename "Malware_Attacks.dest" as "dest","Malware_Attacks.signature" as "signature","Malware_Attacks.action" as action | where 'day_count'>5 | fields dest signature action day_count count | search signature!=unknown

Also do u guys know if the last pipe will break the search since it is a data model search

0 Karma

ewonn
New Member

Yes, Do u know if the last pipe will break the search since it is a data model search ?

0 Karma

DalJeanis
Legend

Are you looking for the value "unknown"? If so, put quotes around it.

0 Karma

ewonn
New Member

Yes, do u know if the last pipe will break the search since it is a data model search

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...