Page 1 of 1

[solved] Is Possible to unpassword ABB CoDeSys User Library?

Posted: Wed Aug 10, 2011 4:04 pm
by azhw
I have a ABB AC500 PLC and project files writed with CoDeSys V2.3
when I open the project with CoDeSys, a pop-up windows shows for asking input a password. (wow)

this is the codesys library file
http://depositfiles.com/files/8c9pr0r30

Is there some tools can unpassword the file ?
or somebody who could help me to get the password?

Thanks all . (tyou)

Re: [help] Is Possible to unpassword ABB CoDeSys User Libra

Posted: Wed Aug 10, 2011 4:20 pm
by azhw
and this is another user library file:
http://depositfiles.com/files/zhwaarg0f

when I opened the project file which reference this library file,
NO pop-up window show for inputing password,
directly shows a error window, the error information is as follow:
---------------------------------------------------------
The following libraries could not be loaded.
heroctol.lib*2.9.10 14:31:16
. . . . . . . | OK|
-----------------------------------------------------------

who know what's the problem ?
(nuser) Thanks all, again (tyou)

Re: [help] Is Possible to unpassword ABB CoDeSys User Libra

Posted: Thu Aug 11, 2011 4:38 am
by Linkinx64
It is possible to unpassword, but... the popup dialog asking not for a password. It asking for a KEY.
This library was saved as an external encrypted library.

So this is not just "black box". As a result - library can't be added to project without entering that key.
I guess you see the error window because of that.
I need some time to research the encryption/decryption logic OR...

if CoDeSys really prompt for a PASSWORD (not for a KEY) - send me whole project, the library key must be stored somewhere in there...

Re: [help] Is Possible to unpassword ABB CoDeSys User Libra

Posted: Thu Aug 11, 2011 6:28 am
by azhw
This is my whole project files, please read "Readme.txt" file.

http://depositfiles.com/files/k4j0kvuq6

Thanks for help from Linkinx64,
Thanks all !
(tyou)

Re: [?]: Is Possible to unpassword ABB CoDeSys User Library

Posted: Tue Aug 16, 2011 9:49 am
by azhw
I have totally knew the encrypt algorithm which is used to generate the " CoDeSys Internal Library File (*.lib)"
but... (no)
only from encrypted *.lib file, I could find out only a little information and couldn't decrypt it.
still for help!! (tyou)

Re: [?]: Is Possible to unpassword ABB CoDeSys User Library

Posted: Wed Aug 17, 2011 4:34 am
by Linkinx64
At the moment I can only say the follow information about heroctrol.lib:
1. The library has no password protection inside.
2. User key is greater or equal 5 characters.

I feel on pictures below referring to the same data block:

heroctrol.lib:
Image

not encrypted library:
Image

Check the difference in columns: when data block contains same data (00) after encryption it looks like series where low bits keeps same and high bits changing. E.g., for column #2: C9 F9 E9 99 89. For identical data block you may also see next row is very similar to previous. The data almost repeats each 16 bytes... so, cryptographic key length = 16 bytes.
If it is possible to define repeatability per each row and if there are simple byte operation is used (e.g. key-byte XOR file-byte) - the chance to decrypt file is quite big..

Re: [?]: Is Possible to unpassword ABB CoDeSys User Library

Posted: Wed Aug 17, 2011 12:21 pm
by azhw
Thanks, Linkinx64!

You are right. It's a KEY, not password.

I have solved this problem and opened my user library files,

Thanks all, again!

unPassword CodeSys library

Posted: Tue Sep 18, 2012 2:29 pm
by tox92
Hello,
I need help on this CodeSys library. If you explain me how to do, it would be great.
https://rapidshare.com/files/355085887/ModbusTCP.lib
Thanks.

Re: [?+]: unPassword Library in ABB Compact Control Builder

Posted: Thu Sep 20, 2012 9:00 am
by Linkinx64
tox92 wrote:I need help on this CodeSys library. If you explain me how to do, it would be great.
https://rapidshare.com/files/355085887/ModbusTCP.lib
I will explain: type 3SMODTCP when that library request for a password.
amit_sabby wrote:http://dl.dropbox.com/u/36769999/WINDER-1-0-0.rar

i would like to have your service again.
please i need password for few libraries in link given.

thanks for your last posting.

Code: Select all

ACS600 and WINDER: matabunkay
WINDER_2: KREMIKOVTZI

Re: unPassword CodeSys library

Posted: Thu Sep 20, 2012 12:33 pm
by Umencho
Can you attach ModbusTCP lib again in order to try it?

BR

Re: unPassword CodeSys library

Posted: Fri Sep 21, 2012 7:10 am
by Linkinx64

Re: unPassword CodeSys library

Posted: Fri Sep 21, 2012 8:54 am
by Umencho
Password is correct. :lol: 3SMODTCP

Re: unPassword CodeSys library

Posted: Fri Sep 21, 2012 7:27 pm
by tox92
I know it works ! (oo) I just mean how did you do to find it ? (sbutton)

Re: unPassword CodeSys library

Posted: Sat Sep 22, 2012 12:41 pm
by azhw
tox92 wrote:I know it works ! (oo) I just mean how did you do to find it ? (sbutton)
your lib file is very simple,
only read password, no write password, no usergroup passwords (level 0-7)
especially no key!

search this forum with keywords "Bechoff keygen"
you can also get the correct password in 1 second!

Re: unPassword CodeSys library

Posted: Mon Sep 24, 2012 6:48 am
by Umencho
Yes, search it in forum. To mention that 'Bechoff way' is possible do not helps in some cases. (boom) :haha:

BR

Re: unPassword CodeSys library

Posted: Mon Sep 24, 2012 7:20 am
by Linkinx64
I cannot find any "bechoff soft" in forum search.
Could you place here the link to the "bechoff soft" topic?

Re: unPassword CodeSys library

Posted: Mon Sep 24, 2012 12:52 pm
by Umencho
It should be Beckhoff KeyGen.

BR

Re: unPassword CodeSys library

Posted: Tue Sep 25, 2012 5:18 am
by Linkinx64
Thanks!

A good tool but not working in some cases when number of passwords in library > 1.
In v2.4 when fail to decrypt "need to pay for help" :haha:

Image

Re: unPassword CodeSys library

Posted: Tue Sep 25, 2012 6:19 am
by Umencho
Exactly.
In 2.3 and decrypt is not working too.

Re: unPassword CodeSys library

Posted: Tue Oct 30, 2012 9:34 am
by azhw
it always could crack the read/write password,
but for some lib file with two kinds of passwords at same time,
it will fail to crack group passwords.

if you have the problem, please upload the files and I can help

Re: unPassword CodeSys library

Posted: Wed Mar 27, 2013 8:46 pm
by twistermcneal
Hello everyone!
can anyone decode this codesys lib?

http://www.file-upload.net/download-738 ... i.Lib.html


Thanks in advance

Re: unPassword CodeSys library

Posted: Fri Mar 29, 2013 10:07 am
by Chupakabra
Can you attach ModbusTCP lib again? !!!

Re: [solved] Is Possible to unpassword ABB CoDeSys User Libr

Posted: Wed Apr 24, 2013 1:17 pm
by asen
Hello Linkinx64,
Could you please help me unpassword in following zip?
Link_is_Dead :(/abc.zip
Thank you.

cnCraneBasicLib
cnCraneStandardLib
cnGrabControlLib
cnGsuAutoLib
cnGsuBasicLib

Re: unPassword CodeSys library

Posted: Wed Dec 03, 2014 2:49 pm
by marcino_p
Hello
I have library coded with CodeSys.
File: http://s000.tinyupload.com/?file_id=516 ... 6776742830

Unfortunatelly there are two passwords set at the same time.

Can You guys help me?

Martin.

PS. If this will encourage You I will pay for help.

Re: unPassword CodeSys library

Posted: Wed Jun 17, 2015 1:55 pm
by codesysplc81
Hy all.

I have library coded with CodeSys 2.2 with password, and I have a Beckhoff KEY V2.1, which can not be opened.
If you have a version V2.4 or greater, would you send me a link where I can download , please?

Lib: http://www.filedropper.com/showdownload.php/atmobaseqr


Regards .

PS: I have a version 2.4 but does not resolve. If anyone has any idea how to open the library , please write to me

Re: unPassword CodeSys library

Posted: Sat Apr 29, 2017 1:14 pm
by yeosh99
Anyone can share "Bechoff keygen"? Cos i cant find it.

Re: unPassword CodeSys library

Posted: Thu Aug 03, 2017 3:03 pm
by Sbiughy
yeosh99 wrote:Anyone can share "Bechoff keygen"? Cos i cant find it.
up this post because me too I can't find the tool.

Re: unPassword CodeSys library

Posted: Sat Aug 24, 2019 12:21 am
by ehab_abdelaleem
Plz I have a project at plc abb ac500 with codesys when I try to open it it ask for password and there are levels for it from 0 to 7 can I know password

Re: unPassword CodeSys library

Posted: Sun Aug 25, 2019 1:54 am
by Guille
You can try with this (maybe it works)

http://www.plcforum.uz.ua/viewtopic.php?t=21290