Log in

View Full Version : I have found a mistake in CALCSEED for FLEXLM.


redsk_y
May 12th, 2002, 21:49
Hi All,

I have found a mistake in the table that calcseed.exe uses to
generate the encryption seeds 1 and 2.
The decode table, taken from Nolan Blender essay
"Information Hiding Methods used by FLEXlm Targets
An Explanation of the FLEXlm Seed Hiding System."
is:
decode_table_t decode_table[] = {

{3, 5, 4, 11}, /* index 0 */

{9, 8, 3, 1}, /* index 1 */

{8, 1, 2, 5}, /* index 2 */

{2, 1, 10, 5}, /* index 3 */

{3, 0, 1, 7}, /* index 4 */

{1, 10, 3, 7}, /* index 5 */

{7, 3, 5, 11}, /* index 6 */

{0, 1, 9, 4}, /* index 7 */

{0, 4, 1, 10}, /* index 8 */

{11, 8, 1, 3}, /* index 9 */

{8, 4, 2, 5}, /* index 10 */

{6, 1, 0, 9}, /* index 11 */

{4, 3, 8, 9}, /* index 12 */

{0, 4, 2, 10}, /* index 13 */

{3, 10, 8, 7}, /* index 14 */

{1, 11, 0, 3}, /* index 15 */

{6, 5, 1, 0}, /* index 16 */

{0, 2, 4, 8}, /* index 17 */

{5, 0, 1, 4}, /* index 18 */

{10, 3, 5, 1} /* index 19 */

};

The line {2, 1, 10, 5}, /* index 3 */ has one error,
the right line is {2, 11, 10, 5}.

This error affects vendor name that start with g.

So, because I don't have the source code to solve the problem
you need to change 01 to 0B at offset 4055.

I hope this helps.

Bye

nblender
May 13th, 2002, 05:55
Thanks for finding this. It will be fixed in a later version of calcseed.

Regards,

--nb

nblender
May 13th, 2002, 07:25
I check the structures again, and there's another problem.
{3, 0, 0, 7}, /* index 4 */

should be correct.

--nb

FoxB
May 16th, 2002, 13:09
Mr. Nolan Blender

You It will be fixed in a later version of calcseed?
What get new calcseed?

Regards
FoxB

nblender
May 16th, 2002, 14:50
Or use this - I think this addresses the issues with bad values
in the decode code.

allex02
June 2nd, 2002, 14:38
Hi nblender:
I have a question and I need your help.
Is it a good place to retrieve seeds where flexlm compare with demo seed(12345678 and 87654321)?
I read some pages but I seldom read about that.

Thanks.
allex