Skip to content

Commit

Permalink
Added new hash fields (elastic#1678)
Browse files Browse the repository at this point in the history
* Added new hash fields

* Generated new artifacts

* Added changelog entry

* Moved pehash to pe schema

* Generated new artifact after pehash

* Updated changelog
  • Loading branch information
dstepanic authored Dec 1, 2021
1 parent c84e5a7 commit 889cbd4
Show file tree
Hide file tree
Showing 23 changed files with 1,772 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Thanks, you're awesome :-) -->
#### Added

* Added `faas.*` field set as beta. #1628
* Added two new fields (sha384,tlsh) to hash schema and one field to pe schema (pehash). #1678

#### Improvements

Expand Down
50 changes: 50 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4057,6 +4057,22 @@ type: keyword



| extended

// ===============================================================

|
[[field-hash-sha384]]
<<field-hash-sha384, hash.sha384>>

| SHA384 hash.

type: keyword





| extended

// ===============================================================
Expand Down Expand Up @@ -4089,6 +4105,22 @@ type: keyword



| extended

// ===============================================================

|
[[field-hash-tlsh]]
<<field-hash-tlsh, hash.tlsh>>

| TLSH hash.

type: keyword





| extended

// ===============================================================
Expand Down Expand Up @@ -6287,6 +6319,24 @@ example: `MSPAINT.EXE`

// ===============================================================

|
[[field-pe-pehash]]
<<field-pe-pehash, pe.pehash>>

| A hash of the PE header and data from one or more PE sections. An pehash can be used to cluster files by transforming structural information about a file into a hash value.

Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.

type: keyword



example: `73ff189b63cd6be375a7ff25179a38d347651975`

| extended

// ===============================================================

|
[[field-pe-product]]
<<field-pe-product, pe.product>>
Expand Down
161 changes: 161 additions & 0 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,12 @@
ignore_above: 1024
description: SHA256 hash.
default_field: false
- name: hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: hash.sha512
level: extended
type: keyword
Expand All @@ -1399,6 +1405,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: name
level: core
type: keyword
Expand Down Expand Up @@ -1461,6 +1473,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: pe.product
level: extended
type: keyword
Expand Down Expand Up @@ -2798,6 +2821,12 @@
type: keyword
ignore_above: 1024
description: SHA256 hash.
- name: hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: hash.sha512
level: extended
type: keyword
Expand All @@ -2809,6 +2838,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: inode
level: extended
type: keyword
Expand Down Expand Up @@ -2903,6 +2938,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: pe.product
level: extended
type: keyword
Expand Down Expand Up @@ -3254,6 +3300,12 @@
type: keyword
ignore_above: 1024
description: SHA256 hash.
- name: sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: sha512
level: extended
type: keyword
Expand All @@ -3265,6 +3317,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: host
title: Host
group: 2
Expand Down Expand Up @@ -4580,6 +4638,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: product
level: extended
type: keyword
Expand Down Expand Up @@ -4941,6 +5010,12 @@
type: keyword
ignore_above: 1024
description: SHA256 hash.
- name: hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: hash.sha512
level: extended
type: keyword
Expand All @@ -4952,6 +5027,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: name
level: extended
type: keyword
Expand Down Expand Up @@ -5311,6 +5392,12 @@
ignore_above: 1024
description: SHA256 hash.
default_field: false
- name: parent.hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: parent.hash.sha512
level: extended
type: keyword
Expand All @@ -5323,6 +5410,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: parent.hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: parent.name
level: extended
type: keyword
Expand Down Expand Up @@ -5381,6 +5474,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: parent.pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: parent.pe.product
level: extended
type: keyword
Expand Down Expand Up @@ -5495,6 +5599,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: pe.product
level: extended
type: keyword
Expand Down Expand Up @@ -7104,6 +7219,12 @@
ignore_above: 1024
description: SHA256 hash.
default_field: false
- name: enrichments.indicator.file.hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: enrichments.indicator.file.hash.sha512
level: extended
type: keyword
Expand All @@ -7116,6 +7237,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: enrichments.indicator.file.hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: enrichments.indicator.file.inode
level: extended
type: keyword
Expand Down Expand Up @@ -7215,6 +7342,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: enrichments.indicator.file.pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: enrichments.indicator.file.pe.product
level: extended
type: keyword
Expand Down Expand Up @@ -8477,6 +8615,12 @@
ignore_above: 1024
description: SHA256 hash.
default_field: false
- name: indicator.file.hash.sha384
level: extended
type: keyword
ignore_above: 1024
description: SHA384 hash.
default_field: false
- name: indicator.file.hash.sha512
level: extended
type: keyword
Expand All @@ -8489,6 +8633,12 @@
ignore_above: 1024
description: SSDEEP hash.
default_field: false
- name: indicator.file.hash.tlsh
level: extended
type: keyword
ignore_above: 1024
description: TLSH hash.
default_field: false
- name: indicator.file.inode
level: extended
type: keyword
Expand Down Expand Up @@ -8588,6 +8738,17 @@
description: Internal name of the file, provided at compile-time.
example: MSPAINT.EXE
default_field: false
- name: indicator.file.pe.pehash
level: extended
type: keyword
ignore_above: 1024
description: 'A hash of the PE header and data from one or more PE sections.
An pehash can be used to cluster files by transforming structural information
about a file into a hash value.
Learn more at https://www.usenix.org/legacy/events/leet09/tech/full_papers/wicherski/wicherski_html/index.html.'
example: 73ff189b63cd6be375a7ff25179a38d347651975
default_field: false
- name: indicator.file.pe.product
level: extended
type: keyword
Expand Down
Loading

0 comments on commit 889cbd4

Please sign in to comment.