- File:
overlapping_sections.full.exe - Layer: 3 —
Adversarial
A synthetically constructed PE file designed to validate IOCX’s handling of overlapping sections, invalid virtual/raw size relationships, and inconsistent optional‑header sizing. This fixture deliberately creates contradictory section layouts that violate PE/COFF structural rules, ensuring IOCX’s structural‑anomaly heuristics behave predictably and safely.
This sample is the overlap‑focused counterpart to broken_rva_addresses.full.exe, which exercises invalid RVAs and zero‑length regions.
This fixture intentionally includes:
- Overlapping virtual address ranges
.textcovers0x1000->0x3000.datacovers0x1800->0x3800- Ensures
_analyse_section_overlapfires
- Overlapping raw file ranges
.textraw:0x200->0x2200.dataraw:0x1000->0x4000- Confirms IOCX detects raw‑range overlap as well
- Invalid virtual‑size vs raw‑size relationship
.datahasSizeOfRawData>VirtualSize- Ensures IOCX does not misinterpret the section as valid
- Optional header inconsistency
SizeOfImage=0x3000but.dataends at0x3800- Ensures
_analyse_optional_header_consistencyfires
- Empty import directory
- Ensures
_analyse_import_directory_validity-->import_rva_invalidfires
- Ensures
Under analysis_level = full, IOCX must:
- Detect:
section_overlapoptional_header_inconsistent_sizeimport_rva_invalid
- Not detect:
data_directory_out_of_rangesection_raw_misalignedentrypoint_out_of_bounds- any packer, TLS, or signature anomalies
This ensures IOCX correctly identifies overlapping and size‑related structural anomalies without misclassifying unrelated fields.