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

0 Members and 3 Guests are viewing this topic.

Offline zeratul42

  • Newbie
  • Posts: 2
  • Country: fr
Re: Sniffing the Rigol's internal I2C bus
« Reply #4100 on: March 21, 2016, 10:08:55 pm »
Hello,
I've a DSA815TG with boot 1.04, to get all licenses i had to solder write pin on Fram.
Does anybody have a way to get private key and generate License ?
 

Offline Neuro

  • Contributor
  • Posts: 12
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #4101 on: March 26, 2016, 10:47:02 pm »
  • If the source is available that can help with trust issues (but nobody will take the time to compile it, and 80% of those that do will hassle you about where to get missing libraries)
For those, who are afraid of russian hackers, I've updated a zip-archive.  :-DD Now it consist of exe-file and sources. You are free to use or compile it.  ;)
The link is: http://i-hobby.org/file/go/60/
« Last Edit: March 26, 2016, 10:52:06 pm by Neuro »
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Sniffing the Rigol's internal I2C bus
« Reply #4102 on: March 26, 2016, 11:55:52 pm »
For those, who are afraid of russian hackers, I've updated a zip-archive.  :-DD Now it consist of exe-file and sources. You are free to use or compile it.  ;)
The link is: http://i-hobby.org/file/go/60/

Yeah. But No..

??????: 404

(Error: 404 - will the forum finally allow Cyrillic characters?)
 

Offline Mosaic

  • Regular Contributor
  • *
  • Posts: 143
Re: Sniffing the Rigol's internal I2C bus
« Reply #4103 on: April 09, 2016, 08:52:43 am »
Just an FYI of the bandwidth of the 'unlocked DS2072a - DS2302A' .

With well calibrated leveled sine wave gens, SG503 and SG504 (TEK) using my custom made remote head for flatness <0.1dB I re-evaluated the Rigol bandwidth.

Figures of merit:

150Mhz - Rigol is still accurate  matching the Vpp of the signal.

300Mhz - Rigol is down 2dB in amplitude.

400 Mhz - Rigol is down 3dB in amplitude.

I'd go with using it to 175Mhz max as reasonably accurate. Start factoring in losses past that.

This cross refernce check matches quite well with my VNA test results on the scope.
 
The following users thanked this post: materialsguy

Offline zibadun

  • Regular Contributor
  • *
  • Posts: 112
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #4104 on: April 10, 2016, 03:50:33 pm »

What's the problem with a flag and with a language?  :wtf:
Mind your Language a bit will you. Your posts with a funny URL look suspicious.
A lot of hackers come from Russia or from that region, so it is not so strange that people start asking questions. If then your language flag is set to German, your profile becomes even more strange.

This guy does not appear to be a "hacker" in a malicious context..  He is a physician from Ukraine who moved to Germany after "the revolution".  He was employed in Crimea at the time of the putsch,  when the newly formed Ukrainian government banned him from continuing work in the occupied territory.  From what I understand he is now a licensed MD in Germany.  I don't think his profile matches a 'script kiddie' who wants to crack your PC.   Just saying...
« Last Edit: April 10, 2016, 03:52:27 pm by zibadun »
 
The following users thanked this post: Neuro

Offline smgvbest

  • Supporter
  • ****
  • Posts: 630
  • Country: us
    • Kilbourne Astronomics
Re: Sniffing the Rigol's internal I2C bus
« Reply #4105 on: April 12, 2016, 12:13:11 am »
it is in spec for a 300Mhz scope though..  The 3db point is at 400Mhz
just putting it out there that the behavior is not unexpected for this or any scope.

Just an FYI of the bandwidth of the 'unlocked DS2072a - DS2302A' .

With well calibrated leveled sine wave gens, SG503 and SG504 (TEK) using my custom made remote head for flatness <0.1dB I re-evaluated the Rigol bandwidth.

Figures of merit:

150Mhz - Rigol is still accurate  matching the Vpp of the signal.

300Mhz - Rigol is down 2dB in amplitude.

400 Mhz - Rigol is down 3dB in amplitude.

I'd go with using it to 175Mhz max as reasonably accurate. Start factoring in losses past that.

This cross refernce check matches quite well with my VNA test results on the scope.
Sandra
(Yes, I am a Woman :p )
 
The following users thanked this post: AndersAnd, materialsguy

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #4106 on: April 12, 2016, 12:45:01 am »
This guy does not appear to be a "hacker" in a malicious context..  He is a physician from Ukraine who moved to Germany after "the revolution".  He was employed in Crimea at the time of the putsch,  when the newly formed Ukrainian government banned him from continuing work in the occupied territory.  From what I understand he is now a licensed MD in Germany.  I don't think his profile matches a 'script kiddie' who wants to crack your PC.   Just saying...

Thats exactly what I'd expect a Ukrainian hacker's German accomplice to say.

Sorry, couldn't resist.
 

Offline zibadun

  • Regular Contributor
  • *
  • Posts: 112
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #4107 on: April 12, 2016, 12:53:41 am »
Thats exactly what I'd expect a Ukrainian hacker's German accomplice to say.

Sorry, couldn't resist.

Bad joke pal.  I spent some time on Neuro's web site, looked at the content, watched some of his youtube videos, translated his story for you so that *you* can sleep well and not be afraid.  and you thanked by calling me a hacker's accomplice?  GFY
« Last Edit: April 12, 2016, 12:56:04 am by zibadun »
 
The following users thanked this post: Co6aka, What_NZ, Neuro

Offline Neuro

  • Contributor
  • Posts: 12
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #4108 on: April 12, 2016, 03:11:56 pm »
For those, who are afraid of russian hackers, I've updated a zip-archive.  :-DD Now it consist of exe-file and sources. You are free to use or compile it.  ;)
The link is: http://i-hobby.org/file/go/60/

Yeah. But No..

??????: 404

I've fixed that problem. Now the sources are available.
 
The following users thanked this post: What_NZ

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: Sniffing the Rigol's internal I2C bus
« Reply #4109 on: April 12, 2016, 10:56:14 pm »
Thats exactly what I'd expect a Ukrainian hacker's German accomplice to say.

Sorry, couldn't resist.

Bad joke pal.  I spent some time on Neuro's web site, looked at the content, watched some of his youtube videos, translated his story for you so that *you* can sleep well and not be afraid.  and you thanked by calling me a hacker's accomplice?  GFY
Hey, please check your notes about acid humor! There's a risk of Asperger issues here, I think.

I just see it as joking about stereotypes. It's true some homebrew attitudes make is suspicious too, but sometimes people lived to joke about it.

What can be more funnier than being someone like...

Linus Torovoldos: A technology genius since very early age (he learnt C++ and assembly at 5yo) and physician from ex-USSR that lived in Crimea (even the name is cool, it sounds s crime in English).

- He got involved in a very highly experimental cyberpunk project, it seems he applied it to his own brain in order to augment his cognitive skills (he's fluent in six human languages at least).

- He escaped to Germany and is hidden as a MD.


This could be the next James Bond movie! Please make it happen! :D
 

Offline DaBone_206

  • Newbie
  • Posts: 4
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #4110 on: April 29, 2016, 12:49:56 pm »
Hello everybody,
i have a Problem with my Rigol MSO1074zs. I want to unlock all functions but it doesn't works.
I run the Load Dump with an SEGGER ARM Flascher and I use this Rigup Software http://gotroot.ca/rigol/rigup-0.4.1-mso1000z.zip to unlock. But my generated Keys goes wrong.  :-\

What can i do?
 

Offline hammy

  • Supporter
  • ****
  • Posts: 465
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #4111 on: April 29, 2016, 03:35:46 pm »
I run the Load Dump with an SEGGER ARM Flascher and I use this Rigup Software ...

How big is the dump file and how long you dumped it? My dumpfile had a size of roundabout 65MB.

The first command was:
"./rigup scan mso1074z-s_RAM.bin > mso1074s.txt"

After that I generated the keys with these commands:
"./rigup license mso1074s.txt 0x1C001"
"./rigup license mso1074s.txt 0x1C002"
"./rigup license mso1074s.txt 0x1C004"
"./rigup license mso1074s.txt 0x1C008"
"./rigup license mso1074s.txt 0x1C080"

After that I entered the licenses.

HTH!

Cheers
hammy


List of hex values:
(CSAR = 0x1C001) Triggers
(CSAB = 0x1C002) Decoders
(CSA3 = 0x1C004) Mem-depth
(CSAJ = 0x1C008) Recorder
(CSAS = 0x1C010) DG
(CSRA = 0x1C020) 500uV
(CSBA = 0x1C040) Power Ana.
(CS3A = 0x1C080) Bandwidth (100MHz)
(CSHY = 0x1C0FF) All

« Last Edit: April 29, 2016, 03:37:36 pm by hammy »
 

Offline DaBone_206

  • Newbie
  • Posts: 4
  • Country: de
Re: Sniffing the Rigol's internal I2C bus
« Reply #4112 on: April 29, 2016, 09:04:53 pm »

How big is the dump file and how long you dumped it? My dumpfile had a size of roundabout 65MB.


The dump file had a size of 65.536KB and i loaded it from 0x40000000 to 0x3FFFFFF with 4800 kHz.
I have already tried the hex values 0x1C001, 0x1C002 0x1C0FF but unfortunately without success.

Perhaps it may be a problem with the current firmware?
 

Offline Prax

  • Newbie
  • Posts: 8
  • Country: se
Re: Sniffing the Rigol's internal I2C bus
« Reply #4113 on: May 02, 2016, 09:49:27 am »

How big is the dump file and how long you dumped it? My dumpfile had a size of roundabout 65MB.


The dump file had a size of 65.536KB and i loaded it from 0x40000000 to 0x3FFFFFF with 4800 kHz.
I have already tried the hex values 0x1C001, 0x1C002 0x1C0FF but unfortunately without success.

Perhaps it may be a problem with the current firmware?

I am having similar issues as well. Firmware 04.03 SP2 (and on SP1) Rigup 0.41 (MSO1000Z Edition) no longer seems to generate valid option keys. I continue to get "Invalid License" on the unit.

On a slightly different note: In this firmware revision, it seems they moved the offset for the keys back to  "02 00 84 00 10 00"  Rigup 0.41 is currently looking for keys at  "01 00 84 00 10 00" which is no longer the case for the MSO1074Z-S. Anyone attempting to use previously compiled rigup for windows or compile without modifying "utils.c" will likely get  "Scanning 'mso1074z.bin' failed: No keys"

Attemping to use rigup info mso1074z.txt [LICENSE KEY] generates a "--- FAILED ---" on verify. It does seem to know which option it is from the license key.

Example (Rigup 0.41 MSO1000Z Edition): ./rigup info mso1074z.txt XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX
XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX    (CSA3 = 0x1C004)
Signature 1:    000000008599XXXX
Signature 2:    00000000877dXXXX
Padding 1:      0000000000000000
Padding 2:      0000000000000000
Verify:         --- FAILED ---
« Last Edit: May 02, 2016, 09:57:36 am by Prax »
 

Offline Prax

  • Newbie
  • Posts: 8
  • Country: se
Re: Sniffing the Rigol's internal I2C bus
« Reply #4114 on: May 02, 2016, 10:12:16 am »
I run the Load Dump with an SEGGER ARM Flascher and I use this Rigup Software ...

How big is the dump file and how long you dumped it? My dumpfile had a size of roundabout 65MB.

The first command was:
"./rigup scan mso1074z-s_RAM.bin > mso1074s.txt"

After that I generated the keys with these commands:
"./rigup license mso1074s.txt 0x1C001"
"./rigup license mso1074s.txt 0x1C002"
"./rigup license mso1074s.txt 0x1C004"
"./rigup license mso1074s.txt 0x1C008"
"./rigup license mso1074s.txt 0x1C080"

After that I entered the licenses.

HTH!

Cheers
hammy


List of hex values:
(CSAR = 0x1C001) Triggers
(CSAB = 0x1C002) Decoders
(CSA3 = 0x1C004) Mem-depth
(CSAJ = 0x1C008) Recorder
(CSAS = 0x1C010) DG
(CSRA = 0x1C020) 500uV
(CSBA = 0x1C040) Power Ana.
(CS3A = 0x1C080) Bandwidth (100MHz)
(CSHY = 0x1C0FF) All

What is your firmware version? A few of us are not getting any success on the new firmware. Unfortunately, my unit was new and had 04.03 from factory. If you didn't modify utils.c on rigup 0.41 to change offset, I surmise that it is below that.
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: gb
Re: Sniffing the Rigol's internal I2C bus
« Reply #4115 on: May 02, 2016, 10:19:57 am »
Can you not flash an old firmware then activate the keys on that before upgrading back to the latest?
 

Offline Prax

  • Newbie
  • Posts: 8
  • Country: se
Re: Sniffing the Rigol's internal I2C bus
« Reply #4116 on: May 02, 2016, 10:38:34 am »
Can you not flash an old firmware then activate the keys on that before upgrading back to the latest?
I didn't think downgrading was possible.
 

Offline smgvbest

  • Supporter
  • ****
  • Posts: 630
  • Country: us
    • Kilbourne Astronomics
Re: Sniffing the Rigol's internal I2C bus
« Reply #4117 on: May 02, 2016, 11:31:35 am »
Can you not flash an old firmware then activate the keys on that before upgrading back to the latest?
I didn't think downgrading was possible.

If your dump is 16Kb it's too small.
a 0x3FFFFFF is 67108863 bytes
The openocd command is
dump_image mso1074zs.bin 0x40000000 0x3FFFFFF
Thats start at address 0x40000000 and dump 0x3FFFFFF bytes  so if you have a 16Kb dump it's not going to work
If that is a typo and even if you meant Mb it's still too small to be sure you got everything.

If you do have a 64MB dump please ignore this, otherwise if you truly have a 16Kb dump, please try it again and be sure you get the full 64Mb+ dump

What boot loader do you have?  has it been upgraded to a newer boot?
if not, try downgrading as MacBeth stated.

Downgrading isnt' possible with the DSA815 I've not heard anyone say the MS01074 wasn't down gradeable.
Sandra
(Yes, I am a Woman :p )
 

Offline Prax

  • Newbie
  • Posts: 8
  • Country: se
Re: Sniffing the Rigol's internal I2C bus
« Reply #4118 on: May 02, 2016, 12:15:22 pm »
Can you not flash an old firmware then activate the keys on that before upgrading back to the latest?
I didn't think downgrading was possible.

If your dump is 16Kb it's too small.
a 0x3FFFFFF is 67108863 bytes
The openocd command is
dump_image mso1074zs.bin 0x40000000 0x3FFFFFF
Thats start at address 0x40000000 and dump 0x3FFFFFF bytes  so if you have a 16Kb dump it's not going to work
If that is a typo and even if you meant Mb it's still too small to be sure you got everything.

If you do have a 64MB dump please ignore this, otherwise if you truly have a 16Kb dump, please try it again and be sure you get the full 64Mb+ dump

What boot loader do you have?  has it been upgraded to a newer boot?
if not, try downgrading as MacBeth stated.

Downgrading isnt' possible with the DSA815 I've not heard anyone say the MS01074 wasn't down gradeable.
The memdump was 64MB. I never said anything about a 16Kb dump, plus I have isolated where the keys are in the memdump, it is in a different location than what rigup 0.41 is scanning for with the new firmware. (See the top of this page)

According to this thread https://www.eevblog.com/forum/testgear/rigol-ds1000z-series-firmware-downgrade-*is*-possible-and-here-is-how/ downgrading only works on a very old bootloader version. My Boot version is 0.0.1.3. Only versions 0.0.0.11 and 0.0.0.13 allowed downgrading it would seem.

*EDIT* Okay. I tried the downgrade process doing the press help 3 times method and it just beeped and blinked at me until I turned the unit off. Trying to downgrade the traditional way also ended in failure.
« Last Edit: May 02, 2016, 12:47:59 pm by Prax »
 

Offline hammy

  • Supporter
  • ****
  • Posts: 465
  • Country: 00
Re: Sniffing the Rigol's internal I2C bus
« Reply #4119 on: May 02, 2016, 07:15:44 pm »
What is your firmware version?

It was a previous firmware version, more than a year ago.

Cheers
hammy
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #4120 on: May 05, 2016, 07:06:03 pm »
Are current version DP832's hackable?  If so, where is the keygen for them?  How long do they take to power on in seconds?
 

Offline Prax

  • Newbie
  • Posts: 8
  • Country: se
Re: Sniffing the Rigol's internal I2C bus
« Reply #4121 on: May 05, 2016, 07:44:11 pm »
Are current version DP832's hackable?  If so, where is the keygen for them?  How long do they take to power on in seconds?
Yes the DP832 is hackable (up to the latest firmware). Do a search on google for "Riglol". Power up time is about 4-5 seconds.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #4122 on: May 05, 2016, 08:15:30 pm »
Thank you Prax - I appreciate it.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: Sniffing the Rigol's internal I2C bus
« Reply #4123 on: May 05, 2016, 09:51:32 pm »
Riglol shows individual options, but no letter code for all options.  Do you have to load the options one a a time or something?
 

Offline CustomEngineerer

  • Frequent Contributor
  • **
  • Posts: 464
  • Country: us
Re: Sniffing the Rigol's internal I2C bus
« Reply #4124 on: May 06, 2016, 12:22:03 am »
Yes, you have to enter each option's code individually. As far as I know there is no combination codes like you find for the Rigol scopes.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf