Write is the word processing program that came with Microsoft Windows 3.x (and earlier versions of Windows, but it’s 3.x that I’m concerned with here). Many thousands of free and shareware programs were written for Windows 3.x, and a lot of them include some documentation in Write’s WRI file format. Objectively, most of them should…… Continue reading Analyzing some Windows Write files
ISO 9660 is the filesystem format used on most CD-ROMs. It isn’t restricted to CD-ROMs, though. It can also be found in the form of an “.iso” image file, which might have been “ripped” from a CD-ROM (or other media format), or created with the intention of “burning” it to a CD-ROM. I researched the…… Continue reading Ideas for ISO 9660 CD-ROM format shenanigans
Classic Mac OS (the main Macintosh operating system from 1984-2001) had an interesting way of storing files. Each file potentially consists of two separate byte streams, known as the data fork and resource fork. Additionally, some important information was stored in the file’s directory entry, using features of the Mac’s native MFS and HFS filesystems.…… Continue reading Detecting MacBinary format
SHA-1 is a cryptographic hash function. You give it a computer file, and it produces a 160-bit hash that is completely determined by the input file, but not in any obvious way. In early 2017, a group of researchers, using advanced mathematics and 6500 CPU-years of computer searching, found the first ever SHA-1 collision: two…… Continue reading Examining the SHA-1 collision files
The other day, a Twitter user (David Buchanan, @David3141593) posted a message that gained some attention. It has an attached JPEG file, with an image of William Shakespeare. If you save a copy of the JPEG file, and unzip it as if it were a ZIP file, it unzips into the complete works of Shakespeare.…… Continue reading About that JPEG/ZIP/Shakespeare hybrid file
In order to decode and display a JPEG image, you have to know what “color type” (or “color model”) it uses. There are several possibilities that your software probably ought to handle: Grayscale YCbCr (transformed from RGB) RGB YCCK (transformed from CMYK) CMYK Unfortunately, if you look at all the bits and bytes that make…… Continue reading How is a JPEG image’s color type determined?
CorelDRAW is a popular vector graphics program. Its native .CDR file format has gone through many different versions. I want to focus on the files written by CorelDRAW version 2. These are the .CDR files that begin with “WLl” or “WLm”. Even though it dates from 1989 or so, and has been obsolete for most…… Continue reading Preview images in old CorelDRAW files