mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2015-12-15, 09:17   #12
bozocv
 
Dec 2015

32 Posts
Default

Quote:
Originally Posted by LaurV View Post
Interesting... What online game are you trying to break?

Not a game but something gamers hate. Crypto Locker.

But it failed....

I got this in log file:

Mon Dec 14 18:47:34 2015 polynomial 'A' values have 14 factors
Tue Dec 15 10:03:33 2015 137426 relations (32204 full + 105222 combined from 2062236 partial), need 137254
Tue Dec 15 10:03:33 2015 begin with 10678 relations
Tue Dec 15 10:03:33 2015 reduce to 1222 relations in 2 passes
Tue Dec 15 10:03:33 2015 attempting to read 1222 relations
Tue Dec 15 10:03:33 2015 failed to read relation 0
Tue Dec 15 10:03:33 2015 failed to read relation 1
Tue Dec 15 10:03:33 2015 failed to read relation 2
Tue Dec 15 10:03:33 2015 failed to read relation 3
Tue Dec 15 10:03:33 2015 failed to read relation 4
Tue Dec 15 10:03:33 2015 failed to read relation 5
Tue Dec 15 10:03:33 2015 failed to read relation 6
Tue Dec 15 10:03:33 2015 failed to read relation 7
Tue Dec 15 10:03:33 2015 failed to read relation 8
Tue Dec 15 10:03:33 2015 failed to read relation 9
Tue Dec 15 10:03:33 2015 failed to read relation 10
--------
Tue Dec 15 10:03:33 2015 recovered 0 relations
Tue Dec 15 10:03:33 2015 recovered 0 polynomials

What happened?

Using:
Msieve v. 1.52 (SVN 939)

Last fiddled with by bozocv on 2015-12-15 at 09:24
bozocv is offline   Reply With Quote
Old 2015-12-15, 09:33   #13
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Msieve is not the only tool you must use. Read the tutorial linked in post 6, or use Yafu instead (which is also not sufficient on its own).

Edit: And what makes you think CryptoLocker uses severely-outdated RSA-512 keys?

Last fiddled with by Dubslow on 2015-12-15 at 09:36
Dubslow is offline   Reply With Quote
Old 2015-12-15, 09:53   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226138 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
I thought 512-bit keys were left in the PS2/TI89 era. Hrmph.
I, too, wonder what game this is!
Yeah, otoh, the number may be fake, because is even...
Anyhow, CL I know uses 2048 bit encryption... (except of a very old version from ~2008 called Gpcode which used 1024 bit, but which is cracked already, it had some vulnerability).

Last fiddled with by LaurV on 2015-12-15 at 09:58
LaurV is offline   Reply With Quote
Old 2015-12-15, 10:19   #15
bozocv
 
Dec 2015

32 Posts
Default

It is for TeslaCrypt. They say files are ecrypted with RSA but in reality they are encrypted with AES256 CBC.

There is dh parameter transfered to attackers server and is = ECDH_shared_secret(T_publickey,PrivateKey)* PrivateKey

That is why I try factoring.

PrivateKey most probably is not Prime.

Last fiddled with by bozocv on 2015-12-15 at 10:24
bozocv is offline   Reply With Quote
Old 2015-12-15, 10:22   #16
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Wait, were you trying to use the MPQS implementation included in Msieve? That certainly won't work for a 512 bit number. Seriously, read up the links posted here about NFS and how to do it.
Dubslow is offline   Reply With Quote
Old 2015-12-15, 10:52   #17
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by bozocv View Post
It is for TeslaCrypt. They say files are ecrypted with RSA but in reality they are encrypted with AES256 CBC.

There is dh parameter transfered to attackers server and is = ECDH_shared_secret(T_publickey,PrivateKey)* PrivateKey

That is why I try factoring.

PrivateKey most probably is not Prime.
The complete prime factorization is

2

3

31

132533

3226496593

12455594243

15799018209107267302187

717723943183117386533741146133

266576225412799739809351907249876804115685240872207255457726285116805202111


Good luck.

Paul
xilman is offline   Reply With Quote
Old 2015-12-15, 11:50   #18
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by xilman View Post
The complete prime factorization is

2

3

31

132533

3226496593

12455594243

15799018209107267302187

717723943183117386533741146133

266576225412799739809351907249876804115685240872207255457726285116805202111


Good luck.

Paul
At least assuming that the hex posted earlier is in fact the number to be factored, in human-standard byte order. (In reverse byte order it still has many small factors.)
Dubslow is offline   Reply With Quote
Old 2015-12-15, 12:18   #19
bozocv
 
Dec 2015

32 Posts
Default

Was following totaly wrong information from the guy who is nowhere to be seen now, on other forum. I used wrong HEX offset and everything.... and the guy also sugested to use msieve..... Guess I will have to inform myself in more detail first.

Will do this with Yafu now.

0x37D27D3791674222AC456F061F1F740504F1AA94DC6288D0D0CB8AB3A2478086D1C7
083E0BC102006D8B0A55D5363B56016E8621C659712057739CE3FD4A4DDC

if I call factor(x) will it return prime factors only?

Last fiddled with by bozocv on 2015-12-15 at 12:20
bozocv is offline   Reply With Quote
Old 2015-12-15, 12:48   #20
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by bozocv View Post
if I call factor(x) will it return prime factors only?
An algorithm or function that claims to factor things isn't very good at what it does if it returns as output things that may be further factored.
Dubslow is offline   Reply With Quote
Old 2015-12-15, 13:00   #21
bozocv
 
Dec 2015

10012 Posts
Default

Quote:
Originally Posted by Dubslow View Post
An algorithm or function that claims to factor things isn't very good at what it does if it returns as output things that may be further factored.
I understand.... I will try to multiply different primes for potentialy key.

For the new one result can be found on www.factordb.com

Wish me luck.
bozocv is offline   Reply With Quote
Old 2015-12-15, 13:05   #22
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by Dubslow View Post
An algorithm or function that claims to factor things isn't very good at what it does if it returns as output things that may be further factored.
In which case GMP-ECM isn't very good. It returned
Code:
Step 2 took 844ms
********** Factor found in step 2: 40187932388829914099
Found composite factor of 20 digits: 40187932388829914099
Composite cofactor 3022796762436865758652479689958046977795867564387867433730923774249775659151058260449786348808439252499670414861993921076650681 has 127 digits
at one point during my computations, the final results of which are posted above.
xilman is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob Question Pickwun Information & Answers 7 2017-11-07 19:17
Noob Question Unregistered Information & Answers 11 2013-03-23 01:31
Prime 95 Noob Question Unregistered Information & Answers 4 2009-09-12 14:01
Noob C question nuggetprime Programming 6 2008-08-23 11:09
Noob question xago666 Information & Answers 3 2008-03-11 01:35

All times are UTC. The time now is 00:58.


Sat Jul 17 00:58:04 UTC 2021 up 49 days, 22:45, 1 user, load averages: 1.09, 1.22, 1.30

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.