Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File.elf create #1077

Merged
merged 40 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7080358
Merge pull request #1 from elastic/master
peasead Oct 20, 2020
314f9ab
Merge pull request #2 from elastic/master
peasead Nov 3, 2020
1448cd6
Merge pull request #3 from elastic/master
peasead Nov 4, 2020
861769b
initial commit
peasead Nov 4, 2020
9b3ccc6
change log
peasead Nov 4, 2020
3aae133
add PRs
peasead Nov 4, 2020
6ab3898
updated fieldset description
peasead Nov 4, 2020
af0a6b8
updated description
peasead Nov 4, 2020
f601c65
Update 0000-create-file-elf.md
peasead Nov 5, 2020
734c132
reorganized
peasead Nov 5, 2020
4b53baf
updatd SMEs
peasead Nov 5, 2020
de07776
added reference to telfhash
peasead Nov 19, 2020
7724689
removed number of section headers
peasead Nov 19, 2020
4a04359
renamed segments
peasead Nov 19, 2020
c48ebf2
added arch, cpu, and byte order
peasead Nov 19, 2020
0ae0a2b
removed file. from the fieldset names
peasead Dec 23, 2020
f43d620
added nested objects
peasead Dec 23, 2020
05e8be7
Update CHANGELOG.next.md
peasead Dec 23, 2020
d253d6d
Merge branch 'file.elf-create' of github.com:peasead/ecs into file.el…
peasead Dec 23, 2020
7988596
Update rfcs/text/0000-create-file-elf.md
peasead Dec 23, 2020
0d6f15f
Merge branch 'file.elf-create' of github.com:peasead/ecs into file.el…
peasead Dec 23, 2020
91a1a31
Update rfcs/text/0000-create-file-elf.md
peasead Dec 23, 2020
7e86774
Update rfcs/text/0000-create-file-elf.md
peasead Dec 23, 2020
21c359b
Update rfcs/text/0000-create-file-elf.md
peasead Dec 23, 2020
dcd9e07
removed program headers
peasead Dec 23, 2020
43e598d
removed vt data
peasead Dec 23, 2020
fba75c1
added usage doc link and usage start
peasead Dec 23, 2020
3f860e6
re-ran make
peasead Jan 13, 2021
90900af
nested segment-sections
peasead Jan 21, 2021
0f49778
added to sections
peasead Jan 21, 2021
63934d6
updated imports and exports to flattened
peasead Jan 21, 2021
645fe2a
update header info
peasead Jan 21, 2021
e14fbc9
Update rfcs/text/0000-create-file-elf.md
peasead Feb 8, 2021
cc21074
Update rfcs/text/0000-create-file-elf.md
peasead Feb 8, 2021
16b5b2f
Update 0000-create-file-elf.md
peasead Feb 8, 2021
a279069
Update 0000-create-file-elf.md
peasead Feb 8, 2021
018e7b2
Update 0000-create-file-elf.md
peasead Feb 8, 2021
68eb471
ecs housekeeping edits
ebeahan Feb 9, 2021
5b24ada
set advancement date and assign rfc number
ebeahan Feb 10, 2021
d7f4fad
update naming
ebeahan Feb 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Thanks, you're awesome :-) -->

* Added `event.category` "registry". #1040
* Added `event.category` "session". #1049
* Added `file.elf`. #1077
peasead marked this conversation as resolved.
Show resolved Hide resolved

#### Improvements

Expand Down
58 changes: 58 additions & 0 deletions code/go/ecs/file.elf.go

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

168 changes: 168 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2331,6 +2331,12 @@ example: `1001`
// ===============================================================


| <<ecs-file.elf,file.file.elf.*>>
| ELF events from VirusTotal Intelligence Live Hunt results.

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


| <<ecs-hash,file.hash.*>>
| Hashes, usually file hashes.

Expand All @@ -2351,6 +2357,162 @@ example: `1001`

|=====

[[ecs-file.elf]]
=== ELF Header Fields

ELF events from VirusTotal Intelligence Live Hunt results.

[discrete]
==== ELF Header Field Details

[options="header"]
|=====
| Field | Description | Level

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

| file.elf.creation_date
| Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.

type: date





| extended

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

| file.elf.exports
| List of exported element names and types

type: object





| extended

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

| file.elf.header
| Header information of the ELF file.

type: object





| extended

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

| file.elf.imports
| List of imported element names and types

type: object





| extended

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

| file.elf.number_program_headers
| Number of ELF Program Headers.

type: long





| extended

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

| file.elf.number_section_headers
| Number of ELF Section Headers.

type: long





| extended

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

| file.elf.sections
| Section information of the ELF file.

type: object





| extended

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

| file.elf.segment_list
| ELF object segment list.

type: keyword





| extended

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

| file.elf.shared_libraries
| List of shared libraries used by this ELF object

type: keyword





| extended

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

| file.elf.telfhash
| telfhash hash for ELF files.

type: keyword





| extended

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

|=====

[discrete]
==== Field Reuse

The `file.elf` fields are expected to be nested at: `file.file.elf`, `process.file.elf`.

Note also that the `file.elf` fields are not expected to be used directly at the root of the events.




[[ecs-geo]]
=== Geo Fields

Expand Down Expand Up @@ -4567,6 +4729,12 @@ Note also that the `process` fields may be used directly at the root of the even
// ===============================================================


| <<ecs-file.elf,process.file.elf.*>>
| ELF events from VirusTotal Intelligence Live Hunt results.

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


| <<ecs-hash,process.hash.*>>
| Hashes, usually file hashes.

Expand Down
2 changes: 2 additions & 0 deletions docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ all fields are defined.

| <<ecs-file,File>> | Fields describing files.

| <<ecs-file.elf,ELF Header>> | ELF events from VirusTotal Intelligence Live Hunt results.

| <<ecs-geo,Geo>> | Fields describing a location.

| <<ecs-group,Group>> | User's group relevant to the event.
Expand Down
Loading