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

Copyright 2016, The Bro Project. Last updated on December 13, 2017. Created using Sphinx 1.5.2.