From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:PKLITE" |
|---|
| claim | "A typical PKLITE EXE has IP 0x100, CS 0xFFF0 and at most two relocations; the entry bytes B8 ?? ?? BA ?? ?? 8C DB 03 D8 3B are v1.00-1.05, B8 ?? ?? BA ?? ?? 05 00 00 3B 06 are v1.12-1.15 and 50 B8 ?? ?? BA ?? ?? 05 00 00 3B are v2.01." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PKLITE" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "header fields and entry-point bytes" |
|---|
| indicator | "regIP == 256 && regCS == -16 && relocs <= 2 && entry == start of code, then the byte patterns; Megalite: CS 0, IP 0, one relocation at table offset 28, B8 ?? ?? BA ?? ?? 05 00 00 3B 2D" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "fmtutil_detect_pklite_by_exe_ep and detect_execomp_pklite." |
|---|
| repo | "jsummers/deark" |
|---|
| commit | "8997059c4f32af79978fb6c83be7c1c26c259afa" |
|---|
| path | "src/fmtutil-exe.c" |
|---|
| lines | "53-127" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PKLITE entry point classes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:42:06.494Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:51:04.514Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched deark src/fmtutil-exe.c at the cited commit: detect_execomp_pklite requires regIP==256, regCS==-16, num_relocs<=2 and entry_point==start_of_dos_code; fmtutil_detect_pklite_by_exe_ep matches b8??ba??8cdb03d83b (100, v1.00-1.05), b8??ba??050000 3b06 (112, v1.12-1.15) and 50b8??ba??0500003b (150, v2.01); Megalite has CS 0, IP 0, one relocation at table offset 28 and b8??ba??0500003b2d. All as in the fact." |
|---|
|
|
|---|