Decrypt FAS Files?

I know this is a controversial topic, so let me clear the air right up front. This article is NOT a 'how-to' for decrypting or decompiling FAS files.

This topic seems to come up every now and then. Sometimes on the Autodesk newsgroups (where it's promptly deleted) or maybe on an unmoderated forum such as alt.cad.autocad. Either someone has "lost the .lsp file", and needs to decrypt the only thing left, the FAS file -or- someone is just openly looking for a way to get into someone else's protected FAS file. More reason to back up your source code, even print it out and store the hardcopy. Retyping is bad, but much better than the alternative.

Anyway, I have run across what I believe to be the only "FAS decrypter" out there. I base that on the fact that I have never seen one. I won't say how I obtained this program, or even the name of it in order to not feed the fire. But I can assure you I did not just "google it", nor did I even go in search of this tool at all. Let's just say I obtained it along with some other files (non .FAS, even non CAD related) from someone who probably didn't even know it was there. How did I know what this EXE was? The filename kind of gave it away.

Based on this thread in the autodesk.autocad.customization newsgroup, this topic has been around for awhile and by early 1999, FAS was already "cracked". I have no idea if that thread was referring to this tool or not.

Anyway, as an experiment, I tried to run this tool on one of my own FAS files, which is about 19k. Well about 30 minutes later, it was apparent that not much was being accomplished, at least based on the progress bar, so I stopped. No partial output file or anything.

I tried again on a much smaller file of mine, this time the file size is 949 bytes. Almost the same story, about 10 minutes later, I have to end task.

By this point, I'm thinking this program is a fake and not really doing anything. I decide to give it one more try. I write this one line of code (alert "hello") and save it as a LSP file. Then compile it into a FAS file which turns out to be a whopping 161 bytes.

7 minutes later, the program finishes. The output DOES contain the strings "Alert" and "Hello", but surrounded by a bunch of binary garbage. No indication of the original position of each string, or any parenthesis or quotation marks.

In summary, it appears that any decent size program would take hours to "decrypt" (if it would ever finish) - and that all you would have after you are done are the strings contained in the original LSP file. Not much else.

So if there is even a CHANCE you could lose your LSP source code, back it up today. Make a hard copy, whatever it takes. FAS file to source code doesn't look good at all.


FasDecrypt.exe was only a very early Version the current one output is published as (in case you want to 'goggle' it) and supports vlx and outputs some usefull codesnipped to a lsp-file - however you need still the bytecode disassembling aside to manually restore it to compilable code.

Even if recreating a usable lisp routine is not possible, or worth the effort, there is a distinct importance in being aware of the ability to extract pieces of data, like passwords.

It is very a pity to me, but programs compilers FAS => LISP are also they work!
I many times, checked protection of the programs but programs of breaking bypass protection...


All content is copyright © CAD PANACEA 2005-2013 unless otherwise noted and may not be reproduced. All comments posted to this blog are the sole responsibility of the person making the comment.

Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.

Powered by Drupal