Skip to content

Instantly share code, notes, and snippets.

View brokensound77's full-sized avatar

Justin Ibarra brokensound77

View GitHub Profile
@brokensound77
brokensound77 / endpoint-flat-schema.json
Created March 10, 2023 23:26
Elastic Endpoint Defend (EDR) schemas as of 8.7
{
"@timestamp": "date",
"Effective_process.entity_id": "keyword",
"Effective_process.executable": "keyword",
"Effective_process.name": "keyword",
"Effective_process.pid": "long",
"Endpoint.capabilities": "keyword",
"Endpoint.configuration": "object",
"Endpoint.configuration.isolation": "boolean",
"Endpoint.metrics": "object",
@brokensound77
brokensound77 / README.md
Created March 11, 2023 05:56
Event category and field distribution over ATT&CK techniques

Event category and field distribution over ATT&CK techniques

Analysis of Elastic detection-rules, showing event types and field distribution per technique. The full results are represented in the file below (fields_by_technique.json)

The structure is:

"library": {                                       # event.category (generic if event.category not defined)
      "fields": {                                  # field distribution for that event.category within that technique
@brokensound77
brokensound77 / RMM-detection.md
Last active September 19, 2024 16:00
Detection Engineering: RMM analysis

Detecting RMM

ℹ️ This was duplicated to this blog for readability and reference


The most difficult challenge with RMM detection is contextual awareness around usage to determine if it is valid or malicious.

@brokensound77
brokensound77 / _readme.md
Last active April 19, 2023 23:29
Elastic Schemas for detection rules

Elastic schemas

The full schemas for elastic endpoint on Windows, MacOS, and Linux.

Also includes schemas for all integrations used by Elastic detection rules, all of which are streamed via the elastic agent.

These are all already open sourced within the detection rules repo, where they are used for unit test validation (endpoint schemas will be there soon). We even have schemas for the beats modules (similar to integrations, but on beats).