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