base/files/pe/consts.bro

PE
Namespace:PE
Source File:/scripts/base/files/pe/consts.bro

Detailed Interface

Constants

PE::directories
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [5] = "Base Relocation Table",
   [9] = "TLS Table",
   [10] = "Load Config Table",
   [15] = "Reserved",
   [2] = "Resource Table",
   [6] = "Debug",
   [1] = "Import Table",
   [14] = "CLR Runtime Header",
   [13] = "Delay Import Descriptor",
   [3] = "Exception Table",
   [4] = "Certificate Table",
   [0] = "Export Table",
   [8] = "Global Ptr",
   [11] = "Bound Import",
   [7] = "Architecture",
   [12] = "IAT"
}
PE::dll_characteristics
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [1024] = "NO_SEH",
   [512] = "NO_ISOLATION",
   [32768] = "TERMINAL_SERVER_AWARE",
   [64] = "DYNAMIC_BASE",
   [128] = "FORCE_INTEGRITY",
   [2048] = "NO_BIND",
   [256] = "NX_COMPAT",
   [8192] = "WDM_DRIVER"
}
PE::file_characteristics
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [16384] = "UP_SYSTEM_ONLY",
   [32] = "LARGE_ADDRESS_AWARE",
   [1024] = "REMOVABLE_RUN_FROM_SWAP",
   [4096] = "SYSTEM",
   [2] = "EXECUTABLE_IMAGE",
   [16] = "AGGRESSIVE_WS_TRIM",
   [512] = "DEBUG_STRIPPED",
   [32768] = "BYTES_REVERSED_HI",
   [1] = "RELOCS_STRIPPED",
   [128] = "BYTES_REVERSED_LO",
   [2048] = "NET_RUN_FROM_SWAP",
   [4] = "LINE_NUMS_STRIPPED",
   [256] = "32BIT_MACHINE",
   [8192] = "DLL",
   [8] = "LOCAL_SYMS_STRIPPED"
}
PE::machine_types
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [448] = "ARM",
   [467] = "AM33",
   [497] = "POWERPCFP",
   [36929] = "M32R",
   [614] = "MIPS16",
   [43620] = "ARM64",
   [422] = "SH4",
   [34404] = "AMD64",
   [424] = "SH5",
   [496] = "POWERPC",
   [512] = "IA64",
   [1126] = "MIPSFPU16",
   [361] = "WCEMIPSV2",
   [358] = "R4000",
   [418] = "SH3",
   [452] = "ARMNT",
   [870] = "MIPSFPU",
   [332] = "I386",
   [419] = "SH3DSP",
   [0] = "UNKNOWN",
   [3772] = "EBC",
   [450] = "THUMB"
}
PE::os_versions
Type:table [count, count] of string
Attributes:&default = function &optional
Default:
{
   [5, 2] = "Windows XP x64 or Server 2003",
   [3, 51] = "Windows NT 3.51",
   [1, 4] = "Windows 1.04",
   [1, 0] = "Windows 1.0",
   [6, 2] = "Windows 8 or Server 2012",
   [1, 1] = "Windows 1.01",
   [4, 0] = "Windows 95 or NT 4.0",
   [3, 11] = "Windows for Workgroups 3.11",
   [2, 0] = "Windows 2.0",
   [6, 3] = "Windows 8.1 or Server 2012 R2",
   [5, 0] = "Windows 2000",
   [3, 0] = "Windows 3.0",
   [2, 11] = "Windows 2.11",
   [3, 2] = "Windows 3.2",
   [4, 90] = "Windows Me",
   [1, 3] = "Windows 1.03",
   [6, 0] = "Windows Vista or Server 2008",
   [3, 10] = "Windows 3.1 or NT 3.1",
   [6, 4] = "Windows 10 Technical Preview",
   [6, 1] = "Windows 7 or Server 2008 R2",
   [4, 10] = "Windows 98",
   [3, 50] = "Windows NT 3.5",
   [10, 0] = "Windows 10",
   [5, 1] = "Windows XP",
   [2, 10] = "Windows 2.10"
}
PE::section_characteristics
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [3145728] = "ALIGN_4BYTES",
   [8388608] = "ALIGN_128BYTES",
   [1073741824] = "MEM_READ",
   [5242880] = "ALIGN_16BYTES",
   [6291456] = "ALIGN_32BYTES",
   [11534336] = "ALIGN_1024BYTES",
   [32] = "CNT_CODE",
   [7340032] = "ALIGN_64BYTES",
   [4096] = "LNK_COMDAT",
   [9437184] = "ALIGN_256BYTES",
   [13631488] = "ALIGN_4096BYTES",
   [2147483648] = "MEM_WRITE",
   [131072] = "MEM_16BIT",
   [524288] = "MEM_PRELOAD",
   [512] = "LNK_INFO",
   [32768] = "GPREL",
   [1048576] = "ALIGN_1BYTES",
   [4194304] = "ALIGN_8BYTES",
   [536870912] = "MEM_EXECUTE",
   [64] = "CNT_INITIALIZED_DATA",
   [128] = "CNT_UNINITIALIZED_DATA",
   [2048] = "LNK_REMOVE",
   [134217728] = "MEM_NOT_PAGED",
   [262144] = "MEM_LOCKED",
   [33554432] = "MEM_DISCARDABLE",
   [67108864] = "MEM_NOT_CACHED",
   [2097152] = "ALIGN_2BYTES",
   [256] = "LNK_OTHER",
   [12582912] = "ALIGN_2048BYTES",
   [268435456] = "MEM_SHARED",
   [8] = "TYPE_NO_PAD",
   [14680064] = "ALIGN_8192BYTES",
   [10485760] = "ALIGN_512BYTES",
   [16777216] = "LNK_NRELOC_OVFL"
}
PE::section_descs
Type:table [string] of string
Attributes:&default = function &optional
Default:
{
   [".debug$T"] = "Debug types",
   [".edata"] = "Export tables",
   [".tls$"] = "Thread-local storage",
   [".data"] = "Initialized data",
   [".idata"] = "Import tables",
   [".rsrc"] = "Resource directory",
   [".debug$F"] = "Generated FPO debug information",
   [".rdata"] = "Read-only initialized data",
   [".sbss"] = "GP-relative uninitialized data",
   [".drective"] = "Linker options",
   [".sxdata"] = "Registered exception handler data",
   [".vsdata"] = "GP-relative initialized data",
   [".idlsym"] = "Includes registered SEH to support IDL attributes",
   [".bss"] = "Uninitialized data",
   [".text"] = "Executable code",
   [".xdata"] = "Exception information",
   [".sdata"] = "GP-relative initialized data",
   [".debug$S"] = "Debug symbols",
   [".pdata"] = "Exception information",
   [".reloc"] = "Image relocations",
   [".debug$P"] = "Precompiled debug types",
   [".tls"] = "Thread-local storage",
   [".srdata"] = "GP-relative read-only data",
   [".cormeta"] = "CLR metadata that indicates that the object file contains managed code"
}
PE::windows_subsystems
Type:table [count] of string
Attributes:&default = function &optional
Default:
{
   [9] = "WINDOWS_CE_GUI",
   [10] = "EFI_APPLICATION",
   [2] = "WINDOWS_GUI",
   [1] = "NATIVE",
   [14] = "XBOX",
   [13] = "EFI_ROM",
   [3] = "WINDOWS_CUI",
   [0] = "UNKNOWN",
   [11] = "EFI_BOOT_SERVICE_DRIVER",
   [7] = "POSIX_CUI",
   [12] = "EFI_RUNTIME_\xe2\x80\xa8DRIVER"
}

Copyright 2016, The Bro Project. Last updated on December 07, 2018. Created using Sphinx 1.8.2.