Module elf

Module elf 

Source
Expand description

These fields contain Linux Executable Linkable Format (ELF) metadata.

Constants§

ELF_ARCHITECTURE
Machine architecture of the ELF file.
ELF_BYTE_ORDER
Byte sequence of ELF file.
ELF_CPU_TYPE
CPU type of the ELF 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.
ELF_EXPORTS
List of exported element names and types.
ELF_GO_IMPORTS
List of imported Go language element names and types.
ELF_GO_IMPORTS_NAMES_ENTROPY
Shannon entropy calculation from the list of Go imports.
ELF_GO_IMPORTS_NAMES_VAR_ENTROPY
Variance for Shannon entropy calculation from the list of Go imports.
ELF_GO_IMPORT_HASH
A hash of the Go language imports in an ELF file excluding standard library imports. An import hash can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. The algorithm used to calculate the Go symbol hash and a reference implementation are available here.
ELF_GO_STRIPPED
Set to true if the file is a Go executable that has had its symbols stripped or obfuscated and false if an unobfuscated Go executable.
ELF_HEADER_ABI_VERSION
Version of the ELF Application Binary Interface (ABI).
ELF_HEADER_CLASS
Header class of the ELF file.
ELF_HEADER_DATA
Data table of the ELF header.
ELF_HEADER_ENTRYPOINT
Header entrypoint of the ELF file.
ELF_HEADER_OBJECT_VERSION
“0x1” for original ELF files.
ELF_HEADER_OS_ABI
Application Binary Interface (ABI) of the Linux OS.
ELF_HEADER_TYPE
Header type of the ELF file.
ELF_HEADER_VERSION
Version of the ELF header.
ELF_IMPORTS
List of imported element names and types.
ELF_IMPORTS_NAMES_ENTROPY
Shannon entropy calculation from the list of imported element names and types.
ELF_IMPORTS_NAMES_VAR_ENTROPY
Variance for Shannon entropy calculation from the list of imported element names and types.
ELF_IMPORT_HASH
A hash of the imports in an ELF file. An import hash can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. This is an ELF implementation of the Windows PE imphash.
ELF_SECTIONS
An array containing an object for each section of the ELF file. The keys that should be present in these objects are defined by sub-fields underneath elf.sections.*.
ELF_SECTIONS_CHI2
Chi-square probability distribution of the section.
ELF_SECTIONS_ENTROPY
Shannon entropy calculation from the section.
ELF_SECTIONS_FLAGS
ELF Section List flags.
ELF_SECTIONS_NAME
ELF Section List name.
ELF_SECTIONS_PHYSICAL_OFFSET
ELF Section List offset.
ELF_SECTIONS_PHYSICAL_SIZE
ELF Section List physical size.
ELF_SECTIONS_TYPE
ELF Section List type.
ELF_SECTIONS_VAR_ENTROPY
Variance for Shannon entropy calculation from the section.
ELF_SECTIONS_VIRTUAL_ADDRESS
ELF Section List virtual address.
ELF_SECTIONS_VIRTUAL_SIZE
ELF Section List virtual size.
ELF_SEGMENTS
An array containing an object for each segment of the ELF file. The keys that should be present in these objects are defined by sub-fields underneath elf.segments.*.
ELF_SEGMENTS_SECTIONS
ELF object segment sections.
ELF_SEGMENTS_TYPE
ELF object segment type.
ELF_SHARED_LIBRARIES
List of shared libraries used by this ELF object.
ELF_TELFHASH
telfhash symbol hash for ELF file.