unPassword CodeSys library

другие контроллеры
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

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

Post 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)
Last edited by azhw on Fri Aug 19, 2011 4:01 pm, edited 1 time in total.
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

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

Post 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)
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

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

Post 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...
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

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

Post 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)
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

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

Post 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)
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

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

Post 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..
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

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

Post 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!
tox92
Posts: 2
Joined: Tue Sep 18, 2012 2:24 pm

unPassword CodeSys library

Post 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.
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

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

Post 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
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: unPassword CodeSys library

Post by Umencho »

Can you attach ModbusTCP lib again in order to try it?

BR
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

Re: unPassword CodeSys library

Post by Linkinx64 »

Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: unPassword CodeSys library

Post by Umencho »

Password is correct. :lol: 3SMODTCP
tox92
Posts: 2
Joined: Tue Sep 18, 2012 2:24 pm

Re: unPassword CodeSys library

Post by tox92 »

I know it works ! (oo) I just mean how did you do to find it ? (sbutton)
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

Re: unPassword CodeSys library

Post 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!
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: unPassword CodeSys library

Post by Umencho »

Yes, search it in forum. To mention that 'Bechoff way' is possible do not helps in some cases. (boom) :haha:

BR
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

Re: unPassword CodeSys library

Post by Linkinx64 »

I cannot find any "bechoff soft" in forum search.
Could you place here the link to the "bechoff soft" topic?
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: unPassword CodeSys library

Post by Umencho »

It should be Beckhoff KeyGen.

BR
Linkinx64
Posts: 894
Joined: Sun Apr 11, 2010 3:00 am
Location: Russia

Re: unPassword CodeSys library

Post 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
Last edited by Linkinx64 on Tue Sep 25, 2012 7:18 am, edited 1 time in total.
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: unPassword CodeSys library

Post by Umencho »

Exactly.
In 2.3 and decrypt is not working too.
azhw
Posts: 22
Joined: Wed Aug 10, 2011 2:58 pm

Re: unPassword CodeSys library

Post 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
twistermcneal
Posts: 1
Joined: Wed Mar 27, 2013 8:42 pm

Re: unPassword CodeSys library

Post by twistermcneal »

Hello everyone!
can anyone decode this codesys lib?

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


Thanks in advance
Chupakabra
Posts: 34
Joined: Thu Nov 01, 2007 2:29 pm
Location: Russia

Re: unPassword CodeSys library

Post by Chupakabra »

Can you attach ModbusTCP lib again? !!!
asen
Posts: 3
Joined: Wed Apr 24, 2013 11:49 am

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

Post by asen »

Hello Linkinx64,
Could you please help me unpassword in following zip?
http://plcforum.uz.ua//abc.zip
Thank you.

cnCraneBasicLib
cnCraneStandardLib
cnGrabControlLib
cnGsuAutoLib
cnGsuBasicLib
marcino_p
Posts: 2
Joined: Mon Feb 27, 2012 1:51 pm

Re: unPassword CodeSys library

Post 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.
codesysplc81
Posts: 1
Joined: Tue Jun 16, 2015 8:45 am

Re: unPassword CodeSys library

Post 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
yeosh99
Posts: 59
Joined: Thu Jul 14, 2011 4:40 pm

Re: unPassword CodeSys library

Post by yeosh99 »

Anyone can share "Bechoff keygen"? Cos i cant find it.
Sbiughy
Posts: 3
Joined: Mon Nov 16, 2009 8:15 am

Re: unPassword CodeSys library

Post 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.
ehab_abdelaleem
Posts: 1
Joined: Thu Mar 31, 2016 3:00 am

Re: unPassword CodeSys library

Post 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
Guille
Posts: 32
Joined: Fri Oct 03, 2008 2:17 am
Location: America

Re: unPassword CodeSys library

Post by Guille »

You can try with this (maybe it works)

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