Author Topic: Trying to hack the DSOX1204(A/G) firmware  (Read 8662 times)

0 Members and 1 Guest are viewing this topic.

Offline thomasb9511

  • Contributor
  • Posts: 34
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #25 on: April 17, 2020, 03:19:29 am »
Or alter the routine that calls swupdate and change the -k parameter to point to a different cert.
Either requires altering something inside the scope.
 
The following users thanked this post: stafil

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #26 on: April 17, 2020, 05:04:32 pm »
0x00807b58      .dword 0x00808020 ; str.500MHz_Bandwidth
0x00807b5c      .dword 0x00808034 ; str.BW50


Capable of 500Mhz maybe?!?

That's this table.
 
The following users thanked this post: stafil

Offline thomasb9511

  • Contributor
  • Posts: 34
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #27 on: April 17, 2020, 05:09:39 pm »

That's this table.

A feature flag table?
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #28 on: April 17, 2020, 07:20:31 pm »
Another possible way is to go in through SCPI.

Either using the "syst:prod:sscr", which I believe sets bootup parameters, and change it to boot into "single user" mode

Nice! Worth investigating.

Edit: Included a list of all SCPI commands here.
« Last Edit: April 21, 2020, 04:01:05 pm by tv84 »
 
The following users thanked this post: stafil

Offline thomasb9511

  • Contributor
  • Posts: 34
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #29 on: April 17, 2020, 08:42:35 pm »
Wonder if the version of nginx and/or php the web server is running has any exploits.
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #30 on: April 17, 2020, 09:56:21 pm »
Wonder if the version of nginx and/or php the web server is running has any exploits.

I highly doubt it for ndginx, but php is possible.

I also see the cups port and the rpc ports open, so that would be another attach surface if you are interested investigating.
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #31 on: April 17, 2020, 09:58:48 pm »
Another possible way is to go in through SCPI.

Either using the "syst:prod:sscr", which I believe sets bootup parameters, and change it to boot into "single user" mode

Nice! Worth investigating.

And "syst:sscr?" should get the bootup parameters... (? ? ?)

Correct. But didn't have any luck with syst:prod:sscr, or syst:prod:rpr.

One returns `-440 Query UNTERMINATED after indefinite response` and the other `System error`
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #32 on: April 17, 2020, 10:04:34 pm »
Another possible way is to go in through SCPI.

Either using the "syst:prod:sscr", which I believe sets bootup parameters, and change it to boot into "single user" mode

Nice! Worth investigating.

And "syst:sscr?" should get the bootup parameters... (? ? ?)

BTW, which decompiler is this one that you are using? looks cool
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #33 on: April 17, 2020, 10:16:04 pm »
One returns `-440 Query UNTERMINATED after indefinite response` and the other `System error`

What about?

syst:sscr?

or

SYST:SSCR?

`syst:prod:sscr?` would just return empty string
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #34 on: April 17, 2020, 10:16:48 pm »
BTW, which decompiler is this one that you are using? looks cool

IDA

Really nice, but also really expensive :D
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #35 on: April 17, 2020, 10:27:53 pm »
I think it needs a param and we get a ON or a OFF...  (or 0 / 1)

I think you are onto something but `syst:prot:sscr ON` returns "Character data not allowed"


1 or 0, returns "Numeric data not allowed"
 

 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #36 on: April 21, 2020, 04:11:10 pm »
I think it needs a param and we get a ON or a OFF...  (or 0 / 1)

I think you are onto something but `syst:prot:sscr ON` returns "Character data not allowed"

1 or 0, returns "Numeric data not allowed"

There is a system flag SEALED_STATE_KEY that stores the "sealed" state of the scope. When the scope is in the "sealed" state, some of the interesting SYSTem SCPI commands are discarded.

To check if a scope is (un)sealed, one can use:

SYSTem:PRODuction:SEAL?

If it returns 1 (ON), means it is "SEALED"    :(
 
The following users thanked this post: stafil

Offline thomasb9511

  • Contributor
  • Posts: 34
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #37 on: April 21, 2020, 04:46:16 pm »
There is a system flag SEALED_STATE_KEY that stores the "sealed" state of the scope. When the scope is in the "sealed" state, some of the interesting SYSTem SCPI commands are discarded.

To check if a scope is (un)sealed, one can use:

SYSTem:PRODuction:SEAL?

If it returns 1 (ON), means it is "SEALED"    :(

Not optimal, but I wonder if there is a console port on the pcb? If,so I wonder if it has a shell, and what user it has
 

Offline stafilTopic starter

  • Regular Contributor
  • *
  • Posts: 205
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #38 on: April 21, 2020, 06:27:36 pm »
Not optimal, but I wonder if there is a console port on the pcb? If,so I wonder if it has a shell, and what user it has

That's a good idea, but I don't think I have ever opened something up to try to hack it and didn't end up destroying it.. :(
 

Offline thomasb9511

  • Contributor
  • Posts: 34
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #39 on: April 21, 2020, 07:20:42 pm »
That's a good idea, but I don't think I have ever opened something up to try to hack it and didn't end up destroying it.. :(

Wonder if someone has a guide or video if there are any traps to taking it apart.
« Last Edit: April 21, 2020, 08:44:23 pm by thomasb9511 »
 
The following users thanked this post: wp_wp

Offline pizzigri

  • Regular Contributor
  • *
  • Posts: 205
  • Country: it
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #40 on: October 28, 2020, 02:51:01 pm »
Sorry to resurrect an old thread like this, but I was looking at this Keysight scope, and wondering whether anyone managed to actually succeed in the hack.
Franco
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1722
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #41 on: October 28, 2020, 03:23:42 pm »
Sorry to resurrect an old thread like this, but I was looking at this Keysight scope, and wondering whether anyone managed to actually succeed in the hack.
Franco
All the features are now included in the base price, so no need for a SW hack.  The only hacks are BW with requires hardware mods ranging from a quick resistor swap and more advanced if you are starting from the EDU models.  If you start from the DSOX, then just a resistor swap can give you full BW
 
The following users thanked this post: pizzigri

Offline pizzigri

  • Regular Contributor
  • *
  • Posts: 205
  • Country: it
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #42 on: October 28, 2020, 04:27:07 pm »
Hey TK, that was exactly what I was after, a BW increase... it's over 350 Euro and is actually presented as a SW package, hence the idea that it was some unlock sw key. But, if it's only a resistor swap - well, wow! do you happen to have the details? I have not found it in the forum, however I'm looking for the DSOX1202/4G, so maybe it's under some other name.
Thank you! It's really appreciated.
 

Offline TK

  • Super Contributor
  • ***
  • Posts: 1722
  • Country: us
  • I am a Systems Analyst who plays with Electronics
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #43 on: October 28, 2020, 07:11:59 pm »
Hey TK, that was exactly what I was after, a BW increase... it's over 350 Euro and is actually presented as a SW package, hence the idea that it was some unlock sw key. But, if it's only a resistor swap - well, wow! do you happen to have the details? I have not found it in the forum, however I'm looking for the DSOX1202/4G, so maybe it's under some other name.
Thank you! It's really appreciated.
Sorry!!! You don't get full BW with the resistor swap!!!  Not enough caffeine in the morning...
 

Offline uski

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: us
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #44 on: October 29, 2020, 01:11:34 am »
I believe that instead of focusing on the efforts on how to "hack" the scope without opening it, we should focus on how we can actually install the options (generate keys, yada yada)

Because :
1) Our friendly Keysight folks will probably be less concerned if the hack requires opening the scope. And to be honest (I know you are reading Keysight) they will also have less incentive to make the process more difficult, if the barrier to entry is higher. Whereas if it's too easy, we might end up with a super protected scope and we don't want that. I can even imagine that they will leave it open on purpose... for hobbyist use. No company will do that. But hobbyists will. Keysight will sell more scopes and people will want to buy, at work, the scope they are using at home. WIN WIN !
2) We have limited time/resources to find a hack so we should focus on what brings the most value

Just my opinion :)

As a matter of fact I am currently looking for a scope for home use and I am considering only hackable scopes (which is why I started reading this thread).
 

Offline wxqhigh

  • Contributor
  • Posts: 29
  • Country: cn
 

Offline thaamike

  • Newbie
  • Posts: 4
  • Country: nl
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #46 on: February 06, 2022, 10:01:01 am »
Has anyone had succes ?
 
The following users thanked this post: pizzigri

Online Bud

  • Super Contributor
  • ***
  • Posts: 6903
  • Country: ca
Re: Trying to hack the DSOX1204(A/G) firmware
« Reply #47 on: February 23, 2024, 04:08:00 pm »
Facebook-free life and Rigol-free shack.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf