Skip to content

Commit

Permalink
Secondary Malware Signature Fields (#538) (#539)
Browse files Browse the repository at this point in the history
* Add some missing 8.15 custom docs.

* Add missing process.Ext.memory_region.malware_signature.secondary fields
  • Loading branch information
gabriellandau authored Sep 6, 2024
1 parent 56b0dd4 commit 20a13bb
Show file tree
Hide file tree
Showing 7 changed files with 232 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ This alert is generated when a Malware alert occurs.
| file.Ext.malware_signature.primary.signature.hash.sha256 |
| file.Ext.malware_signature.primary.signature.id |
| file.Ext.malware_signature.primary.signature.name |
| file.Ext.malware_signature.secondary.matches |
| file.Ext.malware_signature.secondary.signature.hash.sha256 |
| file.Ext.malware_signature.secondary.signature.id |
| file.Ext.malware_signature.secondary.signature.name |
| file.Ext.malware_signature.version |
| file.Ext.quarantine_message |
| file.Ext.quarantine_path |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ This alert is generated when a macOS Malware alert occurs.
| file.Ext.malware_signature.primary.signature.hash.sha256 |
| file.Ext.malware_signature.primary.signature.id |
| file.Ext.malware_signature.primary.signature.name |
| file.Ext.malware_signature.secondary.matches |
| file.Ext.malware_signature.secondary.signature.hash.sha256 |
| file.Ext.malware_signature.secondary.signature.id |
| file.Ext.malware_signature.secondary.signature.name |
| file.Ext.malware_signature.version |
| file.Ext.quarantine_message |
| file.Ext.quarantine_path |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ fields:
- file.Ext.malware_signature.primary.signature.hash.sha256
- file.Ext.malware_signature.primary.signature.id
- file.Ext.malware_signature.primary.signature.name
- file.Ext.malware_signature.secondary.matches
- file.Ext.malware_signature.secondary.signature.hash.sha256
- file.Ext.malware_signature.secondary.signature.id
- file.Ext.malware_signature.secondary.signature.name
- file.Ext.malware_signature.version
- file.Ext.quarantine_message
- file.Ext.quarantine_path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ fields:
- file.Ext.malware_signature.primary.signature.hash.sha256
- file.Ext.malware_signature.primary.signature.id
- file.Ext.malware_signature.primary.signature.name
- file.Ext.malware_signature.secondary.matches
- file.Ext.malware_signature.secondary.signature.hash.sha256
- file.Ext.malware_signature.secondary.signature.id
- file.Ext.malware_signature.secondary.signature.name
- file.Ext.malware_signature.version
- file.Ext.quarantine_message
- file.Ext.quarantine_path
Expand Down
30 changes: 30 additions & 0 deletions custom_schemas/custom_malware_signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,33 @@
type: nested
enabled: false
description: Additional matching details if available.

- name: secondary.matches
level: custom
type: keyword
enabled: false
description: The second matching details.

- name: secondary.signature.id
level: custom
type: keyword
enabled: false
description: The id of the second yara rule matched.

- name: secondary.signature.name
level: custom
type: keyword
enabled: false
description: The name of the second yara rule matched.

- name: secondary.signature.hash
level: custom
type: nested
enabled: false
description: hash of second file matching signature.

- name: secondary.signature.hash.sha256
level: custom
type: keyword
enabled: false
description: sha256 hash of second file matching signature.
68 changes: 68 additions & 0 deletions package/endpoint/data_stream/api/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,40 @@
description: Additional matching details if available.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.secondary.matches
level: custom
type: keyword
ignore_above: 1024
description: The second matching details.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.secondary.signature.hash
level: custom
type: nested
description: hash of second file matching signature.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.secondary.signature.hash.sha256
level: custom
type: keyword
ignore_above: 1024
description: sha256 hash of second file matching signature.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.secondary.signature.id
level: custom
type: keyword
ignore_above: 1024
description: The id of the second yara rule matched.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.secondary.signature.name
level: custom
type: keyword
ignore_above: 1024
description: The name of the second yara rule matched.
enabled: false
default_field: false
- name: process.Ext.memory_region.malware_signature.version
level: custom
type: keyword
Expand Down Expand Up @@ -1678,6 +1712,40 @@
description: Additional matching details if available.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.secondary.matches
level: custom
type: keyword
ignore_above: 1024
description: The second matching details.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.secondary.signature.hash
level: custom
type: nested
description: hash of second file matching signature.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.secondary.signature.hash.sha256
level: custom
type: keyword
ignore_above: 1024
description: sha256 hash of second file matching signature.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.secondary.signature.id
level: custom
type: keyword
ignore_above: 1024
description: The id of the second yara rule matched.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.secondary.signature.name
level: custom
type: keyword
ignore_above: 1024
description: The name of the second yara rule matched.
enabled: false
default_field: false
- name: Ext.memory_region.malware_signature.version
level: custom
type: keyword
Expand Down
118 changes: 118 additions & 0 deletions schemas/v1/api/api.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20a13bb

Please sign in to comment.