PKLITE
(→Software) |
(Reworked Identification section) |
||
Line 10: | Line 10: | ||
Many files compressed by PKLITE can be decompressed by PKLITE, using the <code>-x</code> option. The main exception is files compressed with <code>-e</code>, an option only available in the Professional version. | Many files compressed by PKLITE can be decompressed by PKLITE, using the <code>-x</code> option. The main exception is files compressed with <code>-e</code>, an option only available in the Professional version. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Technical notes == | == Technical notes == | ||
Line 26: | Line 19: | ||
There is also a fake version that claims to be v1.20, but is actually a hacked copy of v1.12 Professional. The files it creates are (correctly) labeled as v1.12. | There is also a fake version that claims to be v1.20, but is actually a hacked copy of v1.12 Professional. The files it creates are (correctly) labeled as v1.12. | ||
+ | |||
+ | == Identification == | ||
+ | Robust identification of PKLITE-compressed files is challenging, due to the many versions and options, and the fact that PKLITE files were often modified to make them more difficult to identify and/or decompress. | ||
+ | |||
+ | Note that PKLITE includes ''CHK4LITE'', a utility that tries to identify PKLITE-compressed files, and the version of PKLITE they were created with. Different versions of CHK4LITE work differently, but it is fairly rudimentary, and never stood much chance in the arms race over disguising PKLITE files. | ||
+ | |||
+ | === Identification of DOS COM === | ||
+ | Based on the start of the copyright message near the beginning of the file... | ||
+ | |||
+ | * v1.00β has "{{magic|PK Copyr}}" at offset 38. | ||
+ | * v1.00 has "{{magic|PKlite}}" at offset 44. | ||
+ | * v1.03-1.14 has "{{magic|PKLITE}}" at offset 44. | ||
+ | * v1.15-2.01 has "{{magic|PKLITE}}" at offset 46. | ||
+ | |||
+ | === Identification of DOS EXE === | ||
+ | There is a copyright message at offset 30 that starts with "{{magic|PKlite}}" (v2.01) or "{{magic|PKLITE}}" (all other versions). | ||
+ | |||
+ | It's likely that all files (except those from v1.00β) have bytes {{magic|00 00}} or {{magic|01 00}} at offset 6, and {{magic|00 01 f0 ff}} at offset 20 (refer to [[MS-DOS EXE#Header structure]]). This is fairly distinctive, though false positives are possible. | ||
+ | |||
+ | === Identification of Windows EXE === | ||
+ | There is a copyright message at offset 66 that starts with "{{magic|PKlite}}". | ||
== Specifications == | == Specifications == |
Revision as of 17:48, 23 July 2022
PKLITE is an executable compression utility, from the makers of PKZIP (see ZIP). There was a free-for-noncommercial-use version, and a "Professional" version. There was a separate PKLITE32 product for 32-bit Windows.
It supports mainly DOS .EXE and .COM formats. Version 2.01 added the ability to compress Windows 3.x executables.
Many files compressed by PKLITE can be decompressed by PKLITE, using the -x
option. The main exception is files compressed with -e
, an option only available in the Professional version.
Contents |
Technical notes
Version number
For pristine PKLITE-compressed EXE files, the 16-bit little-endian integer at offset 28 characterizes, in broad terms, the version of PKLITE that was used, and the type of compression. The low 12 bits are the version number; for example, 0x10f means version 1.15. The 0x1000 bit is set if "extra" compression was used. The 0x2000 bit is another compression setting.
Version 1.20
There was no free v1.20 release, but legitimate files do exist with that version number. Most of them are self-extracting ZIP files made by PKZIP v2.04's ZIP2EXE utility.
There is also a fake version that claims to be v1.20, but is actually a hacked copy of v1.12 Professional. The files it creates are (correctly) labeled as v1.12.
Identification
Robust identification of PKLITE-compressed files is challenging, due to the many versions and options, and the fact that PKLITE files were often modified to make them more difficult to identify and/or decompress.
Note that PKLITE includes CHK4LITE, a utility that tries to identify PKLITE-compressed files, and the version of PKLITE they were created with. Different versions of CHK4LITE work differently, but it is fairly rudimentary, and never stood much chance in the arms race over disguising PKLITE files.
Identification of DOS COM
Based on the start of the copyright message near the beginning of the file...
- v1.00β has "
PK Copyr
" at offset 38. - v1.00 has "
PKlite
" at offset 44. - v1.03-1.14 has "
PKLITE
" at offset 44. - v1.15-2.01 has "
PKLITE
" at offset 46.
Identification of DOS EXE
There is a copyright message at offset 30 that starts with "PKlite
" (v2.01) or "PKLITE
" (all other versions).
It's likely that all files (except those from v1.00β) have bytes 00 00
or 01 00
at offset 6, and 00 01 f0 ff
at offset 20 (refer to MS-DOS EXE#Header structure). This is fairly distinctive, though false positives are possible.
Identification of Windows EXE
There is a copyright message at offset 66 that starts with "PKlite
".
Specifications
Software
- PKLITE freeware/shareware, for DOS
- PKLITE - other/various
- PKLite at old-dos.ru - various versions
- v1.00β (1990-05-29) (not an authorized release[1])
- fake v1.20 (1992-08-20): [2], [3], [4]
- XADIP201.ZIP (at vetusware.com) - Hacked "XADi" version of PKLITE 2.01-shareware. Claims to support the
-e
option, but it only does a little of what the real software does.
Decompression, general:
- depklite (Not a complete decompression utility, but maybe useful.)
- mz-explode
- Deark (with
-m pklite
option)
Decompression, for DOS:
- PKLITE (with
-x
option) - DISLITE by JohnPC & CV-Tassle: v1.17a · another copy · source code
- See Executable compression#Decompression software for some multi-format utilities that support PKLITE, e.g. UNP.
- UnPKLite (archived) by Tenth Planet Software / Clive Turvey
- PKUNLITE v1.00 by Montgomery Engineering
- PKUNLITE v3.00 by The Software Surgeon & Electronic Rats
- Universal PKLITE Unpacker (UNPKLITE.EXE) by PReDaTor 666: ANORMAL's DOSEXE collections → Executable Tools Pack → unpackers/universal pklite unpacker.*
- AVPACK
- ExLite by Inbar Raz (COM files only, includes source code)
Protectors (utilities that modify a PKLITE-compressed file to make it more difficult to identify and/or decompress):
- PKFOOL v1.0 (requires BRUN45.EXE, not included)
- PKLTEFIX
- UN²PACK v2.0
Other:
- LOWFIX - Patches v1.00-1.05 to fix bugs, and changes the version number to 1.06.
- See also MEGALITE
- See also PKTINY