plcforum.uz.ua

International PLC Forum
It is currently Sun Sep 24, 2017 3:08 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 47 posts ] 
Author Message
PostPosted: Thu Jun 13, 2013 9:27 am 
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!


Top
  
 
PostPosted: Thu Jun 13, 2013 12:51 pm 
Site Admin

Joined: Thu Feb 16, 2006 6:25 pm
Posts: 3005
Location: Russia
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


Top
 Profile  
 
PostPosted: Fri Jun 14, 2013 4:58 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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/DecryptSourceProtection/blob/gh-pages/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)


Top
 Profile  
 
PostPosted: Mon Jun 24, 2013 9:10 am 

Joined: Wed Aug 18, 2010 1:01 pm
Posts: 1
Hi i ran the script but i am getting error
Quote:
"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.


Top
 Profile  
 
PostPosted: Sat Jun 29, 2013 8:43 am 

Joined: Sat Jun 29, 2013 8:40 am
Posts: 1
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:

Quote:
Exception caught: TypeError: Object doesn't support property or method 'evaluate'


Please help. Thanks!


Top
 Profile  
 
PostPosted: Thu Aug 08, 2013 1:49 pm 

Joined: Mon May 17, 2010 11:56 am
Posts: 22
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


Top
 Profile  
 
PostPosted: Fri Aug 09, 2013 1:25 pm 

Joined: Fri Aug 09, 2013 9:57 am
Posts: 3
If you share your *.ACD file,I can tell you sk.dat password


Top
 Profile  
 
PostPosted: Sat Aug 10, 2013 12:58 am 

Joined: Fri May 07, 2010 11:44 am
Posts: 40
Location: UK
How about you actually share the information on how you extract the password instead?


Top
 Profile  
 
PostPosted: Wed Aug 14, 2013 5:31 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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!


Top
 Profile  
 
PostPosted: Wed Aug 14, 2013 6:09 am 

Joined: Fri Aug 09, 2013 9:57 am
Posts: 3
I tested with V19 and V20,but just get the message:
Code:
<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>

Quote:
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

:(


Top
 Profile  
 
PostPosted: Fri Aug 16, 2013 8:24 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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.


Top
 Profile  
 
PostPosted: Fri Aug 16, 2013 9:29 am 

Joined: Fri Aug 09, 2013 9:57 am
Posts: 3
Warning: An unsupported EncryptionConfig value was found. Decryption may not work
Exception caught: ReferenceError: CryptoJS is not defined


Top
 Profile  
 
PostPosted: Sun Aug 18, 2013 2:58 pm 

Joined: Fri May 07, 2010 11:44 am
Posts: 40
Location: UK
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)


Top
 Profile  
 
PostPosted: Mon Aug 19, 2013 10:57 am 

Joined: Sat Jul 27, 2013 11:20 am
Posts: 2
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.


Top
 Profile  
 
PostPosted: Fri Aug 23, 2013 8:14 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
yasirkhi wrote:
Please explain how you did it. It is giving me error at the bottom all the time.

What is the error?


Top
 Profile  
 
PostPosted: Thu Nov 07, 2013 2:19 pm 

Joined: Fri Jun 01, 2012 3:41 pm
Posts: 1
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.


Top
 Profile  
 
PostPosted: Tue Jan 28, 2014 4:13 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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!


Top
 Profile  
 
PostPosted: Wed Mar 26, 2014 2:09 am 

Joined: Wed Mar 26, 2014 1:30 am
Posts: 2
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


Top
 Profile  
 
PostPosted: Mon Apr 07, 2014 5:26 pm 

Joined: Thu Aug 16, 2012 5:43 pm
Posts: 6
Vulnerability fixed? http://rockwellautomation.custhelp.com/ ... _id/582544


Top
 Profile  
 
PostPosted: Sat Apr 19, 2014 11:21 pm 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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.


Top
 Profile  
 
PostPosted: Sun Apr 20, 2014 10:44 am 

Joined: Fri May 07, 2010 11:44 am
Posts: 40
Location: UK
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.


Top
 Profile  
 
PostPosted: Tue Apr 22, 2014 10:21 pm 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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.


Top
 Profile  
 
PostPosted: Mon Jun 16, 2014 8:12 am 

Joined: Mon Sep 06, 2010 6:21 am
Posts: 1
Perfect tools. I like it. Thanks (gpost)


Top
 Profile  
 
PostPosted: Tue Jun 24, 2014 5:28 pm 

Joined: Sat Aug 15, 2009 5:35 am
Posts: 4
Location: America
Hi, i have this file:

http://rapidshare.com/share/E8DB5407B16 ... 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?


Top
 Profile  
 
PostPosted: Tue Jun 24, 2014 7:39 pm 

Joined: Fri Jun 13, 2014 10:45 am
Posts: 13
Add the following keys to your sk.dat file:

Code:
demistify_rollover
npwu1688mikimouse
lion


Top
 Profile  
 
PostPosted: Wed Jun 25, 2014 8:21 pm 

Joined: Sat Aug 15, 2009 5:35 am
Posts: 4
Location: America
thank you very much
it works!!


Top
 Profile  
 
PostPosted: Thu Jul 10, 2014 3:54 pm 

Joined: Wed Mar 26, 2014 1:30 am
Posts: 2
Who can i send the file to to decode this protection?


Top
 Profile  
 
PostPosted: Sat Jul 12, 2014 1:37 am 

Joined: Wed Apr 30, 2014 9:16 pm
Posts: 81
The information you are looking for is in the previous posts. Please read from the first post.


Top
 Profile  
 
PostPosted: Sun Jul 13, 2014 11:08 am 

Joined: Thu Jul 14, 2011 7:40 pm
Posts: 56
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?


Top
 Profile  
 
PostPosted: Sun Jul 13, 2014 3:24 pm 

Joined: Sat Aug 11, 2012 6:42 pm
Posts: 2
thank yeosh99
thankyou somuch....


Top
 Profile  
 
PostPosted: Wed Jul 16, 2014 2:50 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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.


Top
 Profile  
 
PostPosted: Tue Aug 12, 2014 9:25 pm 

Joined: Tue Aug 12, 2014 10:45 am
Posts: 1
I am having .acd file , can anyone help me on this forum .

please help (h) (h)


Top
 Profile  
 
PostPosted: Tue Nov 18, 2014 3:42 pm 

Joined: Fri Jul 27, 2012 11:07 am
Posts: 3
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


Top
 Profile  
 
PostPosted: Tue Nov 18, 2014 3:53 pm 

Joined: Fri Jul 27, 2012 11:07 am
Posts: 3
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.


Top
 Profile  
 
PostPosted: Tue Nov 18, 2014 4:00 pm 

Joined: Fri Jul 27, 2012 11:07 am
Posts: 3
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


Top
 Profile  
 
PostPosted: Mon Dec 01, 2014 6:54 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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?


Top
 Profile  
 
PostPosted: Sun Dec 28, 2014 3:32 pm 

Joined: Tue Dec 23, 2014 10:31 am
Posts: 1
Thanks a lot for this great tool. Highly appreciated


Top
 Profile  
 
PostPosted: Tue Feb 03, 2015 5:44 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
I have a quick update to the tool, EncryptionConfig="7" is now supported. This is used in the latest version.


Top
 Profile  
 
PostPosted: Fri Feb 20, 2015 10:47 pm 

Joined: Thu May 09, 2013 2:23 am
Posts: 11
Excellent it work just fine! congratulations (gpost) (tyou)


Top
 Profile  
 
PostPosted: Sat Feb 21, 2015 2:12 am 

Joined: Thu May 09, 2013 2:23 am
Posts: 11
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)


Top
 Profile  
 
PostPosted: Thu Mar 05, 2015 6:30 pm 

Joined: Sun Nov 13, 2011 4:55 am
Posts: 1
Why not to convert project to ver. 16 or 20 and use export function?


Top
 Profile  
 
PostPosted: Wed Jun 17, 2015 6:16 am 

Joined: Wed Feb 19, 2014 8:40 pm
Posts: 3
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.


Top
 Profile  
 
PostPosted: Sun Jun 28, 2015 10:03 pm 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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


Top
 Profile  
 
PostPosted: Fri Jul 03, 2015 5:58 am 

Joined: Wed Feb 19, 2014 8:40 pm
Posts: 3
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.


Top
 Profile  
 
PostPosted: Tue Dec 15, 2015 6:58 am 

Joined: Tue Dec 15, 2015 6:52 am
Posts: 3
it sometimes works and sometimes not .
i got error message " An XML parser error occurred, decryption may have been unsuccessful"
please help


Top
 Profile  
 
PostPosted: Fri Jan 08, 2016 3:40 am 

Joined: Fri Jun 14, 2013 4:36 am
Posts: 12
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?


Top
 Profile  
 
PostPosted: Wed Aug 09, 2017 7:38 pm 

Joined: Fri Mar 25, 2016 7:05 pm
Posts: 7
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by International PLCforum® Forum Software © PLCforum
Mobile version