Developing and contributing detection logic
While sharing Kibana objects is extremely valuable for peers and partners that have similar analysis approaches and processes for analyzing data, there are also groups that have their own Kibana objects organized in a way that works best for them. We can share information and analysis with them by using logic that's used to detect adversary activity.
The benefit of detection logic over a network Intrusion Detection System (IDS) or Endpoint Detection and Response (EDR) platform is that you can create rules based on event data that, by itself, may be benign, but when combined using ECS, can indicate malicious activity.
In Chapter 8, The Elastic Security App, we created a detection rule in the Detection Engine. Let's export that for sharing.
In Kibana, go to Detection Engine, click on Manage detection rules, and then click on Custom rules:
Figure 12.7 – Viewing custom detection rules
Next, click on the three dots...