Detection Logic
// MZ signature at offset 0 and ...
uint16(0) == 0x5A4D and
// ... PE signature at offset stored in MZ header at 0x3C
uint32(uint32(0x3C)) == 0x00004550 and
for any i in (0..pe.number_of_sections-1):
(
(pe.sections[i].virtual_address+pe.sections[i].virtual_size) > (uint32(uint32(0x3C)+0x50)) or
(pe.sections[i].raw_data_offset+pe.sections[i].raw_data_size) > filesize
) Field Validations
Loading…
Comments (0)
Loading comments...