Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2017, 22:41
java3ever java3ever is offline
Friend
 
Join Date: Jun 2017
Posts: 7
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 5
Thanks Rcvd at 0 Times in 0 Posts
java3ever Reputation: 0
Handling of FlexNet/FlexLM

Hello,

There is an application (written in C++/.NET/Java) that uses FlexLM.
I have a license file for the last-but-one version but I would like to adapt it to the current version.
I haven't been able to identify the parts where the license is handled, because the application is split up in many parts and I couldn't even find the part where the license file is read (ProcMon just shows the main application which launches some subprocesses).

Is there a way to generate the SIGN Parts of the license file?
Bruteforcing seems to be impossible, because I don't have the part checking the sign and the number of possibilites is just too big (36^12).

Thanks!
Reply With Quote
  #2  
Old 10-28-2017, 04:58
sendersu sendersu is offline
VIP
 
Join Date: Oct 2010
Posts: 1,067
Rept. Given: 332
Rept. Rcvd 223 Times in 115 Posts
Thanks Given: 235
Thanks Rcvd at 512 Times in 288 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
It was possible to generate only so-called short SIGN
if it occupies a couple of lines - forget about it...

would be nice to show your lic as well
Reply With Quote
  #3  
Old 10-28-2017, 05:46
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 154
Rept. Given: 0
Rept. Rcvd 17 Times in 9 Posts
Thanks Given: 8
Thanks Rcvd at 138 Times in 72 Posts
ketan Reputation: 17
Why 36^12? If you mean short signature (12 hex digits) actually then there's no need to BF at all.
Reply With Quote
The Following User Says Thank You to ketan For This Useful Post:
java3ever (10-28-2017)
  #4  
Old 10-28-2017, 19:16
java3ever java3ever is offline
Friend
 
Join Date: Jun 2017
Posts: 7
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 5
Thanks Rcvd at 0 Times in 0 Posts
java3ever Reputation: 0
Oh yeah, you are right, of course...
I forgot that this is hex and not A-Z + 0-9...

License is this:
Code:
#
# COMSOL CLIENT (LMCOMSOL) License File
#        TeAM SolidSQUAD-SSQ
#             26.04.2017
#
FEATURE SERIAL LMCOMSOL 5.3 permanent uncounted \
	VENDOR_STRING=L,FFFF7FFFFFFD3 HOSTID=ANY SN=6464555 TS_OK \
	SIGN=0F393BB299BA
#
# Generic Features
#
PACKAGE SSQ_0000 LMCOMSOL 5.3 COMPONENTS=" ACDC ACO ACOUSTICS \
	BATTERIESANDFUELCELLS CADIMPORT CADREADER CATIA5 CFD CHEM \
	CHEMFLOWSHEET CLIENTSERVER CLUSTERNODE COMSOL COMSOLGUI \
	COMSOLSERVER COMSOLUSER CORROSION DESIGN ECADIMPORT \
	ELECTRICALCIRCUITS ELECTROCHEMISTRY ELECTRODEPOSITION EM ES \
	FATIGUE GEOMECHANICS HEATTRANSFER HT LAYEREDSHELL LLAUTOCAD \
	LLCREOPARAMETRIC LLEXCEL LLINVENTOR LLMATLAB LLPROENGINEER \
	LLREVIT LLSOLIDEDGE LLSOLIDWORKS LLSPACECLAIM MATLIB MEM MEMS \
	MICROFLUIDICS MIXER MOLECULARFLOW MULTIBODYDYNAMICS \
	NONLINEARSTRUCTMATERIALS OPTICS OPTIMIZATION OPTLAB \
	PARTICLETRACING PIPEFLOW PLASMA RAYOPTICS REACTION RF \
	ROTORDYNAMICS SEMICONDUCTOR SME STRUCTURALMECHANICS \
	SUBSURFACEFLOW WAVEOPTICS" SIGN=606F9FF88036
INCREMENT SSQ_0000 LMCOMSOL 5.3 permanent uncounted HOSTID=ANY \
	ISSUER="Team SolidSQUAD" NOTICE="TeAM SolidSQUAD-SSQ" \
	START=01-jan-2016 TS_OK SIGN=61B8D94EC1D0

I'm not just interested in generating the license, but also understanding how the licensing system works.

Thank you!
Reply With Quote
  #5  
Old 10-31-2017, 04:30
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 154
Rept. Given: 0
Rept. Rcvd 17 Times in 9 Posts
Thanks Given: 8
Thanks Rcvd at 138 Times in 72 Posts
ketan Reputation: 17
Since the induction of ECC keys (>15 years ago!) almost nothing has changed in FlexLM core. So, you can use any tutorial of woodman/ravia/crackz/... archives eg.

BTW in this specific case (COMSOL) you have to reverse custom SN algo AFAIR.
Reply With Quote
  #6  
Old 11-10-2017, 05:45
nikkapedd nikkapedd is offline
VIP
 
Join Date: Mar 2011
Location: ::Bratva::
Posts: 275
Rept. Given: 275
Rept. Rcvd 151 Times in 65 Posts
Thanks Given: 203
Thanks Rcvd at 276 Times in 112 Posts
nikkapedd Reputation: 100-199 nikkapedd Reputation: 100-199
the COMSOL suite use standard flexnet licensing with short sign.
I dont know if the last version changed to ECC protection and long sign..
Debug the target with ida and yo'll find the flexnet routine.. If is an exe file you can easly fish the seeds and make a working license.
If the program has changed to ECC, the old trick to patch the 2 flags is not working anymore because flexnet developers covered this hole.. Patch directly the pubkey_verify and make a short standard license...
Or upload the target or the vendor to see if the protection is changed..

vendor: LMCOMSOL

seed1: Exxxxxx3
seed2: 7xxxxxx4
Reply With Quote
The Following User Says Thank You to nikkapedd For This Useful Post:
tonyweb (11-11-2017)
  #7  
Old 01-01-2018, 00:31
nathan nathan is offline
Friend
 
Join Date: Jul 2009
Posts: 37
Rept. Given: 4
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 17
Thanks Rcvd at 26 Times in 17 Posts
nathan Reputation: 5
You may also want to check if some generic options are still accepted (i.e. ANY). Some may be disabled and even if you got the right patch the license may not work.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flexlm & Flexnet Arm version ? Sir.V65j General Discussion 3 09-09-2021 02:13
FlexNet / FlexLM with Java java3ever General Discussion 8 08-07-2018 05:10


All times are GMT +8. The time now is 22:35.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )