From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:PE (Portable Executable)" |
|---|
| claim | "GuardFlags of the load config directory: 0x100 CF_INSTRUMENTED, 0x200 CFW_INSTRUMENTED, 0x400 CF_FUNCTION_TABLE_PRESENT, 0x800 SECURITY_COOKIE_UNUSED, 0x1000 PROTECT_DELAYLOAD_IAT, 0x2000 DELAYLOAD_IAT_IN_ITS_OWN_SECTION, 0x4000 CF_EXPORT_SUPPRESSION_INFO_PRESENT, 0x8000 CF_ENABLE_EXPORT_SUPPRESSION, 0x10000 CF_LONGJUMP_TABLE_PRESENT, 0x20000 RF_INSTRUMENTED, 0x40000 RF_ENABLE, 0x80000 RF_STRICT, 0x100000 RETPOLINE_PRESENT, 0x400000 EH_CONTINUATION_TABLE_PRESENT, 0x800000 XFG_ENABLED, 0x1000000 CASTGUARD_PRESENT, 0x2000000 MEMCPY_PRESENT; bits 28-31 give the extra bytes per CFG table entry." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PE (Portable Executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "IMAGE_GUARD" |
|---|
| underlying_type | "uint32 flags" |
|---|
| values | | CF_INSTRUMENTED | "0x100" |
|---|
| CFW_INSTRUMENTED | "0x200" |
|---|
| CF_FUNCTION_TABLE_PRESENT | "0x400" |
|---|
| SECURITY_COOKIE_UNUSED | "0x800" |
|---|
| PROTECT_DELAYLOAD_IAT | "0x1000" |
|---|
| DELAYLOAD_IAT_IN_ITS_OWN_SECTION | "0x2000" |
|---|
| CF_EXPORT_SUPPRESSION_INFO_PRESENT | "0x4000" |
|---|
| CF_ENABLE_EXPORT_SUPPRESSION | "0x8000" |
|---|
| CF_LONGJUMP_TABLE_PRESENT | "0x10000" |
|---|
| RF_INSTRUMENTED | "0x20000" |
|---|
| RF_ENABLE | "0x40000" |
|---|
| RF_STRICT | "0x80000" |
|---|
| RETPOLINE_PRESENT | "0x100000" |
|---|
| EH_CONTINUATION_TABLE_PRESENT | "0x400000" |
|---|
| XFG_ENABLED | "0x800000" |
|---|
| CASTGUARD_PRESENT | "0x1000000" |
|---|
| MEMCPY_PRESENT | "0x2000000" |
|---|
| CF_FUNCTION_TABLE_SIZE_MASK | "0xF0000000" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum IMAGE_GUARD values; the stride is read as GuardFlags >> 28" |
|---|
| repo | "https://github.com/lief-project/LIEF" |
|---|
| commit | "15777f106f6220046cf26ee99940d1f56751325e" |
|---|
| path | "include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp" |
|---|
| lines | "51-106" |
|---|
|
| type | "source" |
|---|
| detail | "stride = guard_flags >> 28; entry size = 4 + stride" |
|---|
| repo | "https://github.com/lief-project/LIEF" |
|---|
| commit | "15777f106f6220046cf26ee99940d1f56751325e" |
|---|
| path | "src/PE/LoadConfigurations/LoadConfiguration.cpp" |
|---|
| lines | "558-600" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "IMAGE_GUARD flags" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T08:09:42.816Z" |
|---|
| verifications | |
|---|