Author Topic: Sniffing the Rigol's internal I2C bus  (Read 1851394 times)

0 Members and 3 Guests are viewing this topic.

Offline true

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: us
  • INTERNET
Re: Sniffing the Rigol's internal I2C bus
« Reply #950 on: August 15, 2013, 11:13:17 pm »
Those are no menus These are Subs in the Firmware the Names are added from cybernet  read that post to 100% thén you will know
Is there an IDA database for grabbing somewhere?
no, but there is cybernet's sig and the ida bfin stuff posted in this thread.

After looking at it loading from the GEL is shit (am I right?), having a dump would be nice.
 

Offline DL5TOR

  • Contributor
  • Posts: 35
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #951 on: August 16, 2013, 04:39:17 am »
Those are no menus These are Subs in the Firmware the Names are added from cybernet  read that post to 100% thén you will know
Is there an IDA database for grabbing somewhere?
no, but there is cybernet's sig and the ida bfin stuff posted in this thread.

After looking at it loading from the GEL is shit (am I right?), having a dump would be nice.

btw did you get my pm
 

Offline true

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: us
  • INTERNET
Re: Sniffing the Rigol's internal I2C bus
« Reply #952 on: August 16, 2013, 04:41:26 am »
no. don't see it.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Sniffing the Rigol's internal I2C bus
« Reply #953 on: August 18, 2013, 12:21:42 am »
Could someone upload JTAG Dump of a DS2072?
Thanks.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline engr_rf

  • Newbie
  • Posts: 4
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #954 on: August 18, 2013, 08:16:54 pm »
[quote author=synapsis link=topic=17002.msg276813#msg276813 date=1376517256]
I was in another city trying to find a job (no luck) and my PMs blow up about cybernet's latest offering.

I don't have a DSA815, so the only way I could test this code is to compare the output to cybernet's Linux code using Dave's demo unit serial number from his video. So, this code is considered beta.

Edit: Oh yeah, this is the Windows version of the keygen with DS2000 and DSA800 generators.
[/quote]


Thank you Synapsis, Cybernet, and other contributors for your excellent work in decoding the license key algorithms and developing the keygen programs!

(Synapsis, if you haven't found work yet, have you considered applying to the appropriate government agencies for a position in cryptology? You have certainly demonstrated your abilities and the drive necessary to complete a task.)

Would it be possible (and practical) to develop license codes for Rigol's 'UltraSpectrum' program for the DSA815 that go beyond the 15 day free trial?

Thanks again. 

 

Offline true

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: us
  • INTERNET
Re: Sniffing the Rigol's internal I2C bus
« Reply #955 on: August 18, 2013, 11:34:44 pm »
(Synapsis, if you haven't found work yet, have you considered applying to the appropriate government agencies for a position in cryptology? You have certainly demonstrated your abilities and the drive necessary to complete a task.)
He used the MIRACL library and basically copied the code from rigen.c, which was also mostly copied stuff by cybernet. Both readily admit ECC is hard shit and they don't understand it much, same goes for me ;)
 

Offline synapsis

  • Regular Contributor
  • *
  • Posts: 140
  • Country: us
    • Blackcow
Re: Sniffing the Rigol's internal I2C bus
« Reply #956 on: August 19, 2013, 12:07:02 am »
(Synapsis, if you haven't found work yet, have you considered applying to the appropriate government agencies for a position in cryptology? You have certainly demonstrated your abilities and the drive necessary to complete a task.)
He used the MIRACL library and basically copied the code from rigen.c, which was also mostly copied stuff by cybernet. Both readily admit ECC is hard shit and they don't understand it much, same goes for me ;)

My crypto-fu is minimal at best, RiGen is basically a Windows wrapper around cybernet's code. It's been years since I've taken my Applied Cryptography book off the shelf. My problem is that I'm a PLC developer in a city without industry.
 

Offline Boatanchor

  • Newbie
  • Posts: 7
Re: Sniffing the Rigol's internal I2C bus
« Reply #957 on: August 19, 2013, 11:15:14 am »
So, maybe I missed it buried deep within the last 60 odd pages, but was there actually a windows keygen to activate the options in the DSA-815TG?
 

Offline engr_rf

  • Newbie
  • Posts: 4
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #958 on: August 19, 2013, 01:41:04 pm »
Boatanchor, see Reply #955 on page 64 for RiGen-2b1.
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #959 on: August 19, 2013, 02:41:51 pm »
Tried RiGen-2b1 on the new MSO4000, works except that one of the option is not activated: "FlexRay Decode".
And I can't go back to the trial versions, even having selected the trial button in RiGen.
« Last Edit: August 19, 2013, 02:54:11 pm by claude3386 »
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #960 on: August 19, 2013, 03:49:39 pm »
can u post a screenshot (installed licenses) and let us know your used option code ? guess the number of options is then higher than our current maximum but a new option could should do the trick fine.
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #961 on: August 20, 2013, 02:14:49 am »
It seems that the DSO4000 and MSO4000 series share the same license system.
Here is how I have setup Rigen:
http://atobit.com/wp-content/uploads/2013/08/Rigenv2b1.jpg
As the DSO/MSO4000 series are already fully loaded of options except the decode ones, it could be nice to have a interface just for those models.
Here is what I got on the MSO4014:
http://atobit.com/wp-content/uploads/2013/08/MSO4014_Options.jpg
The FlexRay decode is not activated AND the return to the trial versions doesn't work as well.
As you have mentioned, there are maybe some parameters that need to be adjusted.
I'd like to go back to the trial mode, so I could input the code for the options I purchased with the MSO.
« Last Edit: August 20, 2013, 02:35:54 am by claude3386 »
 

Offline Uup

  • Regular Contributor
  • *
  • Posts: 84
  • Country: au
Re: Sniffing the Rigol's internal I2C bus
« Reply #962 on: August 20, 2013, 02:55:51 am »
You used the wrong code. The Windows keygen isn't setup for the 4000 series. You will need to work out the code. I posted the info that I worked out on my DS4024 back in post 713 on page 48. Check that table and work out what you want, or just try code BAA9 to turn on all the decode options.

Eg. Enter BAA9 in the code box in the Windows keygen, instead of the value already there, then generate the licence key.
« Last Edit: August 20, 2013, 03:01:00 am by Uup »
 

Offline leafi

  • Regular Contributor
  • *
  • Posts: 67
Re: Sniffing the Rigol's internal I2C bus
« Reply #963 on: August 20, 2013, 02:59:39 am »
Where did you get the MSO4014 from? I do not even see that on their website. Is that new?
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #964 on: August 20, 2013, 04:09:34 am »
Thanks Uup! I'll try the proposed option code and I'll looked what you have published.

leafi, I'm living in China, the MSO4000 series is available here, you can get a unit within 4~5 weeks.

 

Offline zombie28

  • Regular Contributor
  • *
  • Posts: 69
Re: Sniffing the Rigol's internal I2C bus
« Reply #965 on: August 20, 2013, 11:24:37 am »
Would it be possible (and practical) to develop license codes for Rigol's 'UltraSpectrum' program for the DSA815 that go beyond the 15 day free trial?

I think it's possible. UltraSpectrum binaries contain RigolRunTime.dll that exports two functions: CryptRigolVerifySetPublicKey and CryptRigolVerifyOptionsVerify. There is MIRACL library inside this DLL and - guess what - the same flawed ECC parameters as in DS/DSA firmware. There is reference to this DLL and its functions in RIGOL_DSA_Tools_UltraSpectrum_en.exe, but I don't have DSA815 to check what public key is being used by UltraSpectrum (I didn't find it as plaintext in executables). Alternatively it could be possible to modify CryptRigolVerifyOptionsVerify function so that it always returns TRUE.
 

Offline cybernet

  • Regular Contributor
  • *
  • Posts: 247
  • Country: 00
  • pm deactivated, use the search function ...
Re: Sniffing the Rigol's internal I2C bus
« Reply #966 on: August 20, 2013, 12:00:59 pm »
Would it be possible (and practical) to develop license codes for Rigol's 'UltraSpectrum' program for the DSA815 that go beyond the 15 day free trial?

I think it's possible. UltraSpectrum binaries contain RigolRunTime.dll that exports two functions: CryptRigolVerifySetPublicKey and CryptRigolVerifyOptionsVerify. There is MIRACL library inside this DLL and - guess what - the same flawed ECC parameters as in DS/DSA firmware. There is reference to this DLL and its functions in RIGOL_DSA_Tools_UltraSpectrum_en.exe, but I don't have DSA815 to check what public key is being used by UltraSpectrum (I didn't find it as plaintext in executables). Alternatively it could be possible to modify CryptRigolVerifyOptionsVerify function so that it always returns TRUE.

surprise surprise ;-)
___________________
"all rights reversed :-)"
R0=-0x18;
UNLINK;
RTS;
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #967 on: August 20, 2013, 12:42:34 pm »
I comeback with the options setup on the MSO4014.
I use first BSAT options code: all options installed, including Flexray

I then tried to uninstall all options:
VSAT: said "Fail to install"
AAA9: said "Options installed" but didn't change previous official install
BAA9: same results as AAA9

Can't figure what options code to use to uninstall all options.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2186
Re: Sniffing the Rigol's internal I2C bus
« Reply #968 on: August 20, 2013, 01:32:04 pm »
I comeback with the options setup on the MSO4014.
I use first BSAT options code: all options installed, including Flexray

Did you try DSA9 ?
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Sniffing the Rigol's internal I2C bus
« Reply #969 on: August 20, 2013, 02:02:53 pm »
Just tried with DSA9, the device said the option is installed but no change, all options still activated.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2186
Re: Sniffing the Rigol's internal I2C bus
« Reply #970 on: August 20, 2013, 02:17:30 pm »
Just tried with DSA9, the device said the option is installed but no change, all options still activated.

Are you trying to uninstall the license?  If so, you must use scpi to do this...
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #971 on: August 20, 2013, 02:30:30 pm »
Oh yes, I try to uninstall the license.
The procedure using scpi has been described in the thread?
Maybe this option: ":SYSTem:OPTion:UNINSTall"
« Last Edit: August 20, 2013, 02:32:40 pm by claude3386 »
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: Sniffing the Rigol's internal I2C bus
« Reply #972 on: August 20, 2013, 03:47:54 pm »
One thousand replies in this thread! :)
I haven't been following too well... Are you guys planning on cracking the DG4000 series function generators as well?
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline claude3386

  • Contributor
  • Posts: 14
  • Country: cn
Re: Sniffing the Rigol's internal I2C bus
« Reply #973 on: August 21, 2013, 11:42:00 am »
I'm back again with the options install/uninstall on a MSO4014.

As suggested, the scpi command ":SYSTem:OPTion:UNINSTall" uninstall all options, as well as the command ":SYSTem:OPTion:INSTall <license>" install the options.

All options can be installed with the BSAT and BAA9 options code. Did not yet tested others.

Thanks to all contributors for the help!
« Last Edit: August 21, 2013, 11:51:06 am by claude3386 »
 

Offline Clint

  • Regular Contributor
  • *
  • Posts: 119
  • Country: gb
Re: Sniffing the Rigol's internal I2C bus
« Reply #974 on: August 22, 2013, 03:31:47 pm »
Another Big THANKYOU for all involved  :clap:

« Last Edit: August 22, 2013, 04:47:35 pm by Clint »
=-=-=-=-=-=-=-=-=
g33K5 L1k3 80085
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf