Deobfuscate fonts in an XPS document

10 Juni 2007

XPS is the new portable format from Microsoft. The file structure consists of several parts, which includes the text (the so called „fixed documents“) and, of course, all resources. Images and fonts are embedded in a specific folder but as a general rule fonts are obfuscated to „protect“ the copyrights of the author.

To extract the text (which is by the way a subset of XAML) all resources have to be extracted, too. But obfuscated fonts cannot be read, therefore a decryption is required.
The encryption is rather simple: The first 32 bytes are XOR with the GUID of the file (it is also documented in the MSDN). To reverse all font files repeat the exclusive disjunction with the GUID (the file name implies the GUID, thank you) and you will receive the original source (for a better understanding see: http://en.wikipedia.org/wiki/XOR).

I attached a little example. Pass the obfuscated font path and streamOut will return the deobfuscated stream. To save the stream to disc, call streamOut.Position = 0 first.

Edit 2008-10-26:
Here you can find my solution:
http://www.bremora.com/index.php/xps-font-deobfuscator


Kinofilm „Gegen die Wand“ kostenlos im Internet

8 Juni 2007

Der NDR strahl den mehrfach ausgezeichneten Kinofilm „Gegen die Wand“ kostenlos als Flashstream im Internet aus.

Den Link gibt es hier.


DivX Pro kostenlos

8 Juni 2007

Der Video-Codec in der Pro-Version ist für kurze Zeit KOSTENLOS unter DivX erhältlich. Wahrscheinlich im Zuge einer Werbekampagne kann das Programm heruntergeladen werden und man bekommt per E-Mail den Registrierungsschlüssel zugeschickt.

Eine Anleitung und den Download gibt es hier.

EDIT: Die Aktion ist schon abgelaufen, doch wer die Datei schon heruntergeladen hat, kann immer noch den Schlüssel anfordern!