Page 1 of 2

[Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Thu Jun 13, 2013 6:27 am
by skdatmonster2
Hello everyone,
I have made a tool which can remove the source protection from RSLogix 5000 files.
It works on routines, programs, add-on-instructions, and rungs that have been exported as .L5X files.
You can run it in your browser, because it is written in JavaScript.
The directions and program are here ******
You just have to export to XML, put the XML into the webpage, and get the keys or decrypted XML out of the webpage.

Hope you like this!

Re: [???]: RSLogix 5000 - Removing source protection

Posted: Thu Jun 13, 2013 9:51 am
by CoMod
Be careful, the user skdatmonster* IP is in the BlackVirusedList (att)
Image http://www.stopforumspam.com/search/31.172.30.3
Russian wrote:будьте осторожны - пользователь находится в чёрном списке вирусных IP
и ХЗ что он может подсунуть
Use free virtual PC https://www.virtualbox.org/
or
http://www.vmware.com/go/downloadplayer/
for testing tools

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Jun 14, 2013 1:58 am
by skdatmonster3
Well I am using Tor for browsing to keep anonymity. Sorry but I do not want employers to know of this. So because I am using Tor proxies, the IP addresses come up on the lists, since many people use these proxies. Anyway, I guess all I can say is to read the source code of the page, it is open source on github. (https://github.com/skdatmonster/Decrypt ... index.html) It is straightforward, just parse XML, do base64 decode, do AES decrypt, and put XML back together. No fishing or virus, you can read for yourself. Anyway if you have any questions I can answer them.
http://vms.drweb.com/online result http://online3.drweb.com/cache/?i=68afc ... e7e388e49b
(nuser)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Mon Jun 24, 2013 6:10 am
by prateeklath
Hi i ran the script but i am getting error
"Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Unpacked encoded data".
can you please help me out.
Program is on revision 18.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sat Jun 29, 2013 5:43 am
by Dropkick
I attempted this at first by pasting the entire XML file contents and again with just the encrypted routine content and both resulted in the following error:
Exception caught: TypeError: Object doesn't support property or method 'evaluate'
Please help. Thanks!

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Thu Aug 08, 2013 10:49 am
by tepisjrf
Hello.

I have tested with a file saved in rslogix 20, but I got a message.

An unsupported EncryptionConfig value was found. Decryption may not work


Do you know, how can I try to solve it.

greetings

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Aug 09, 2013 10:25 am
by zjkaikai
If you share your *.ACD file,I can tell you sk.dat password

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Aug 09, 2013 9:58 pm
by prushmere
How about you actually share the information on how you extract the password instead?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Aug 14, 2013 2:31 am
by skdatmonster3
I have put up a new version of the tool, it is at the same urls. This can handle EncryptionConfig of 2 in addition to 3. See https://www.github.com/skdatmonster/Dec ... /README.md and http://skdatmonster.github.io/DecryptSo ... index.html

Prateeklath and Tepisjrf, this should be compatible with your files.
Dropkick, your browser is too old for this, it doesn't support XPath. Try with Chrome or Firefox.

Look forward to your feedback!

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Aug 14, 2013 3:09 am
by zjkaikai
I tested with V19 and V20,but just get the message:

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml">
<body><parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
<h3>This page contains the following errors:</h3>
<div style="font-family:monospace;font-size:12px">error on line 2 at column 6: XML declaration allowed only at the start of the document
</div>
<h3>Below is a rendering of the page up to the first error.</h3></parsererror></body></html>
Drag a .L5X file onto this page, or open it in Notepad and paste its contents into the text box
Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Unpacked encoded data
Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Unpacked encoded data
Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Unpacked encoded data
:(

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Aug 16, 2013 5:24 am
by skdatmonster3
Zjkaikai, try reloading the page, i think you have the old version. In the updated version the error message is a little different and it tells you wat the EncryptionConfig is.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Aug 16, 2013 6:29 am
by zjkaikai
Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Exception caught: ReferenceError: CryptoJS is not defined

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Aug 18, 2013 11:58 am
by prushmere
skdatmonster3 wrote:I have put up a new version of the tool, it is at the same urls. This can handle EncryptionConfig of 2 in addition to 3. See https://www.github.com/skdatmonster/Dec ... /README.md and http://skdatmonster.github.io/DecryptSo ... index.html

Prateeklath and Tepisjrf, this should be compatible with your files.
Dropkick, your browser is too old for this, it doesn't support XPath. Try with Chrome or Firefox.

Look forward to your feedback!
It looks like your page is still running the old code, so I copied the new html to my own server - works fine for me for both v19 and v20, thanks for your good work sk!

(pgood)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Mon Aug 19, 2013 7:57 am
by yasirkhi
Please help me how to do it. It doesn't decrypt and show anything in other part of the windows. I have saved the file as a XML .L5X as mentioned.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Aug 23, 2013 5:14 am
by skdatmonster3
yasirkhi wrote:Please explain how you did it. It is giving me error at the bottom all the time.
What is the error?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Thu Nov 07, 2013 11:19 am
by Ratheeshvb
I also have error message as "Warning: An unsupported EncryptionConfig value was found. Decryption may not work".
My project is in V13.04 and i converted it to V19.0 to get export routine option. Please help me.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Jan 28, 2014 1:13 am
by skdatmonster3
I have updated the program to support the latest EncryptionConfig. It now supports two three and five. It is once again at http://skdatmonster.github.io/DecryptSourceProtection/ Enjoy!

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Mar 25, 2014 11:09 pm
by PhredPhlintston
has anyone been successful with unlocking a plc? I have a piece of equipment that is now down and it is locked. No vendor no support.
Please either repost or contact me if you can help

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Mon Apr 07, 2014 2:26 pm
by shrddr

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sat Apr 19, 2014 8:21 pm
by skdatmonster3
PhredPhlintston wrote:has anyone been successful with unlocking a plc? I have a piece of equipment that is now down and it is locked. No vendor no support.
Please either repost or contact me if you can help
Is it possible to upload the program on your computer? If so, then you could export to an .L5X file and use the tool from above in this thread. I havent tried with a real live PLC that is locked, so it depends on how it was locked.
shrddr wrote:Vulnerability fixed? http://rockwellautomation.custhelp.com/ ... _id/582544
No, not well. What happened was they made a new EncryptionConfig 5, which used the same algorithms as the old one, but there was a new key and a two byte header. Plus they changed which libraries they were using. My decrypting tool can do the latest version now, so nice try A-B.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Apr 20, 2014 7:44 am
by prushmere
skdatmonster3 wrote: Is it possible to upload the program on your computer? If so, then you could export to an .L5X file and use the tool from above in this thread. I havent tried with a real live PLC that is locked, so it depends on how it was locked.
The PLC lock is something completely different, it is not possible to extract the password from the .ACD file as it only exists in the processor.
skdatmonster3 wrote: No, not well. What happened was they made a new EncryptionConfig 5, which used the same algorithms as the old one, but there was a new key and a two byte header. Plus they changed which libraries they were using. My decrypting tool can do the latest version now, so nice try A-B.
Your existing decrypt algorithms will only work for versions lower than V20.03 and V21.03, AB have completely changed the security in the newer versions.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Apr 22, 2014 7:21 pm
by skdatmonster3
Prushmere, thanks for info on controller lock. Yes, that is something the tool cannot do.

Actually, v20.03 and v21.03 were released late last year, and they use the EncryptionConfig="5" I wrote about. It was different, but not that different. The tool can decode these versions.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Mon Jun 16, 2014 5:12 am
by nquocviet2004
Perfect tools. I like it. Thanks (gpost)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Jun 24, 2014 2:28 pm
by hebel
Hi, i have this file:

Link_is_Dead :( ... FBAD191327


i tried to decrypt but i just get this error message:

Error: An unsupported EncryptionConfig value was found. (null) Decryption of this file is not yet supported.

can anybody help to decrypt the file?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Jun 24, 2014 4:39 pm
by Blue Dog
Add the following keys to your sk.dat file:

Code: Select all

demistify_rollover
npwu1688mikimouse
lion

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Jun 25, 2014 5:21 pm
by hebel
thank you very much
it works!!

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Thu Jul 10, 2014 12:54 pm
by PhredPhlintston
Who can i send the file to to decode this protection?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Jul 11, 2014 10:37 pm
by NowanH
The information you are looking for is in the previous posts. Please read from the first post.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Jul 13, 2014 8:08 am
by yeosh99
Source key: zengyang
lipvn15 wrote:help me....
Hi, i have this file:

http://up.4share.vn/f/291a1d10101b1a1b/GPJ.ACD


i tried to decrypt but i just get this error message:

Error: An unsupported EncryptionConfig value was found. (null) Decryption of this file is not yet supported.

can anybody help to decrypt the file?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Jul 13, 2014 12:24 pm
by lipvn15
thank yeosh99
thankyou somuch....

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Jul 15, 2014 11:50 pm
by skdatmonster3
Thanks to yeosh99 and Blue Dog for helping out! It is good to see the community helping each other out.

I had to change email addresses a while ago, but I cant change my form email address because it keeps saying "spam from this ip." So I have not been getting emails, but i will try to check in here sometimes. Thanks once again to all you.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Aug 12, 2014 6:25 pm
by gunjs
I am having .acd file , can anyone help me on this forum .

please help (h) (h)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Nov 18, 2014 12:42 pm
by technitin29
I am getting this error : Your browser does not support XPath, please try again with a modern browser
And even if try to decrypt, the error is : Exception caught: ReferenceError: 'XPathResult' is undefined

Please help to resolve this.

Thanks
Nitin

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Nov 18, 2014 12:53 pm
by technitin29
nquocviet2004 wrote:Perfect tools. I like it. Thanks (gpost)
I am getting this error "Your browser does not support XPath, please try again with a modern browser". I am using IE 11.0.9600. I can-not install other browser on my working notebook.
Please help me to fix it.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Nov 18, 2014 1:00 pm
by technitin29
skdatmonster3 wrote:I have updated the program to support the latest EncryptionConfig. It now supports two three and five. It is once again at http://skdatmonster.github.io/DecryptSourceProtection/ Enjoy!
I am getting two error:
1: Before dropping .L5X file >> Your browser does not support XPath, please try again with a modern browser.
2: After dropping .L5X file >> Exception caught: ReferenceError: 'XPathResult' is undefined.

Please help to fix these error.

Thanks
Nitin

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Mon Dec 01, 2014 3:54 am
by skdatmonster3
I have put up a new version of the tool again. It is at the same urls, see https://www.github.com/skdatmonster/Dec ... /README.md and http://skdatmonster.github.io/DecryptSo ... index.html

This version can now also handle EncryptionConfig="6" which is for newer versions of RSLogix 5000. However, in the new version, they have changed how source keys are stored, so it can't recover source keys when EncryptionConfig="6". I haven't finished looking at that, maybe I can fix it, maybe it would need rainbow tables. Even though, if a file is EncryptionConfig="6", you can still copy the decrypted XML out of the right box, save that in a new .L5X file, and import that into a project to get your logic back.

For those having trouble with XPath in browsers, you need to try with a different browser. I have tested the program in Firefox and Chrome and it is working. If your browser doesn't have XPath or XPathResult, then it won't work and you have to try with a different browser. If you cannot install another browser, maybe copy the file to a different computer and install it there?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Dec 28, 2014 12:32 pm
by engr27
Thanks a lot for this great tool. Highly appreciated

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Feb 03, 2015 2:44 am
by skdatmonster3
I have a quick update to the tool, EncryptionConfig="7" is now supported. This is used in the latest version.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Feb 20, 2015 7:47 pm
by el_pollo
Excellent it work just fine! congratulations (gpost) (tyou)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Feb 20, 2015 11:12 pm
by el_pollo
hi everybody i try to use this method with a 15 version program but i can´t do it because this version do not have the import/export option, does any body know how to do it in 15 version program?
thanks in advance (boom)

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Thu Mar 05, 2015 3:30 pm
by BLD1205
Why not to convert project to ver. 16 or 20 and use export function?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Jun 17, 2015 3:16 am
by igordn1
Is there a way to Unlock safety controller? If you open the controller properties there is Safety folder and in there:
- Safety Application: Locked and across there is a button Safety Lock/Unlock and if you push the button is ask for the password
All the subroutines in the safety program are open but they are not editable and there is no way to change the controller.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Sun Jun 28, 2015 7:03 pm
by skdatmonster3
It is probably possible, since there is also a key for safety encryption, but I am hesitant to do, because that is there for life safety and not just DRM.

However, if you want to reuse part of the program, and you do not have the safety lock key, it is already possible to export the whole thing without special tool. If you export/save as the entire project as L5K or L5X, and then import it into new project, I think that will be safety unlocked. You can't go online with controller unless you do a stop and download, and create new safety relationships, but it should work. See this form thread. http://plctalk.com/qanda/showthread.php?t=76593

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Jul 03, 2015 2:58 am
by igordn1
It is just a curiosity. Right now it doesn't really matter. But it would be a good tool to unlock the program just to be able to replace faulty processor or add some i/o cards. Sincerely.

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Dec 15, 2015 3:58 am
by mam_engineer
it sometimes works and sometimes not .
i got error message " An XML parser error occurred, decryption may have been unsuccessful"
please help

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Jan 08, 2016 12:40 am
by skdatmonster3
What is the software version of RSLogix 5000 you are using, and what is the browser? Can you give a sample file that does not decrypt?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Aug 09, 2017 4:38 pm
by panda
skdatmonster3 wrote:What is the software version of RSLogix 5000 you are using, and what is the browser? Can you give a sample file that does not decrypt?
How about rslogix 5000 v30 program?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Wed Jan 24, 2018 5:02 pm
by jamrobe
Thanks skdatmonster3,
used your tool and worked perfect.
You are a real genius to get to the bottom of this :))

Now for all other user who are saying cannot use/export .l5x files.

If there is not an option to export the routine into a .l5x file this worked for me.
Saved the project as .l5K file.
Opened the .l5K file and choose to import to a different version.
On this new version also cannot see the routines but have the export option when click right.
After that used the decrypt tool, bingo !!!

all the best to everyone
jam

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Fri Apr 06, 2018 2:30 pm
by shrddr
There is now also EncryptionConfig="8" in Studio V28 and "9" in V30... Think you can figure it out?

Re: [Fishing ?]: RSLogix 5000 - Removing source protection

Posted: Tue Sep 25, 2018 1:30 am
by hebel
is there any progress what about EncryptionConfig="9" ?