Fox in the Crypt

Some time ago I wrote a bit about examining the “branding” system which was used by XENIX and other SCO products and based on the crypt() UNIX library function. At the time I assumed that only SCO had used this scheme for their various UNIX derivatives and UNIX-based software. Imagine my surprise when I came across a copy of Multi-User FoxBASE+ 2.10 for DOS from June 1988 and found BRAND.EXE on the installation floppy. Could it really be the XENIX thing?

Sure enough, it really was. It even retained the same dual functionality in that if BRAND.EXE is renamed (or copied) to DEBRAND.EXE, it changes its behavior and can un-brand and encrypt a previously branded file.

The format of the encrypted un-branded executable is not quite the same as that of branded files on SCO XENIX, but the format of the branded file is. There’s the exact same -c%7# marker, and the serial number with activation key are stored in exactly the same way. The serial number plus activation key also check out as a valid combination for SCO products (but can only be used if said product uses the same three-character code embedded in the activation key). Here’s the proof:

Multi-User FoxBASE+ with a customized serial number

Obviously that can’t be a coincidence. But why would FoxBASE+ be using SCO’s serial number system? That’s actually not so hard to answer. In 1987, SCO was offering “SCO FoxBASE+“, which of course needed the XENIX brand utility to decrypt and insert the serial number. Fox Software had to be familiar with that approach to combating software piracy, and clearly liked it well enough that they used it for their DOS-based product.

This entry was posted in PC history, SCO, Software Hacks, Xenix. Bookmark the permalink.

3 Responses to Fox in the Crypt

  1. neozeed says:

    I have to go digging again but at some point I found that SCO licensed their crypto/key thing from a 3rd party. So I’d imagine it was an ‘off the shelf product’, although I doubt it got all that much traction.

    The real ‘nightmare’ is the later version that requires activation, for “OpenServer” and UnixWare.

  2. Matthew Bergeron says:

    Hey there… I am trying to get SCO FoxBASE+ installed on a Xenix box… I can launch the init.foxbase and every serial number and activation key I could possibly find online doesn’t work… I am assuming the keys are held in the “brand” file… Any way to manipulate or to get this to work and install?? I’m just tinkering and I would consider this abandonware… not being used for actual production just for research use..

    Thanks,
    Matthew

  3. Michal Necasek says:

    No, the keys are not in ‘brand’. The ‘brand’ utility decrypts files based on a serial number plus activation key supplied by the user. If you give me a hint as to what exactly you’re trying to install, I can take a look.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.