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

Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.