Author Topic: New Agilent scopes  (Read 381465 times)

0 Members and 4 Guests are viewing this topic.

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37854
  • Country: au
    • EEVblog
Re: New Agilent scopes
« Reply #575 on: November 15, 2012, 10:03:31 am »
Sounds easy. Does the machine have external RTC chip or integrated into uC?
Does we have any hi-res pictures from the motherboard?

http://www.flickr.com/photos/eevblog/sets/72157626755861230/
and
http://www.flickr.com/photos/eevblog/sets/72157626631250619/

Dave.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37854
  • Country: au
    • EEVblog
Re: New Agilent scopes
« Reply #576 on: November 15, 2012, 10:08:38 am »
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #577 on: November 15, 2012, 10:34:16 am »
It's this photo here:
http://www.flickr.com/photos/eevblog/5736595148/#sizes/o/in/set-72157626755861230/
An M41T82R RTC chip
And you can see the xtal here:
http://www.flickr.com/photos/eevblog/5736041287/#sizes/l/in/set-72157626755861230/

Dave.

Great work.

But may not easy as I thought. The RTC has some tricky features like oscillator fail interrupt,  frequency test output pin, and watchdog that are used or not by the master device... So simply removing(even pulling) crystal may not works...

Needs another solution.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37854
  • Country: au
    • EEVblog
Re: New Agilent scopes
« Reply #578 on: November 15, 2012, 10:53:30 am »
But may not easy as I thought. The RTC has some tricky features like oscillator fail interrupt,  frequency test output pin, and watchdog that are used or not by the master device... So simply removing(even pulling) crystal may not works...
Needs another solution.

Maybe, but worth a shot first.
If not, an add-on board that replaces the chip and generates the required old date. Or break onto the I2C(?) bus and write your own date.

Dave.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #579 on: November 15, 2012, 11:42:53 am »
But may not easy as I thought. The RTC has some tricky features like oscillator fail interrupt,  frequency test output pin, and watchdog that are used or not by the master device... So simply removing(even pulling) crystal may not works...
Needs another solution.

Maybe, but worth a shot first.
If not, an add-on board that replaces the chip and generates the required old date. Or break onto the I2C(?) bus and write your own date.

Dave.

Yes it should work. I'll give it a try, but first I need the fw upgrade.

In case of problems a backdoor needed if any above not works: going back to my actual fw1.20 with the existing trials.

Dave, do you have version 1.2? Would you share it?
 

Offline mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13798
  • Country: gb
    • Mike's Electric Stuff
Re: New Agilent scopes
« Reply #580 on: November 15, 2012, 12:09:48 pm »

But may not easy as I thought. The RTC has some tricky features like oscillator fail interrupt,  frequency test output pin, and watchdog that are used or not by the master device... So simply removing(even pulling) crystal may not works...
Needs another solution.

I wonder if it is the case that maybe the only limitation is on setting the RTC, not what the time it is indicating. In which case maybe you could use I2C to set the time. 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #581 on: November 15, 2012, 01:56:21 pm »

But may not easy as I thought. The RTC has some tricky features like oscillator fail interrupt,  frequency test output pin, and watchdog that are used or not by the master device... So simply removing(even pulling) crystal may not works...
Needs another solution.

I wonder if it is the case that maybe the only limitation is on setting the RTC, not what the time it is indicating. In which case maybe you could use I2C to set the time.

A simple routine will set back the time to the firmware's release date at every startup...

So doubtless only a custom made RTC helps.
Or a license keygenerator.
Or little firmware modification.
 

Offline _Sin

  • Regular Contributor
  • *
  • Posts: 247
  • Country: gb
Re: New Agilent scopes
« Reply #582 on: November 15, 2012, 02:24:41 pm »
It would be trivial for Agilent to check licenses against the firmware-date as well as the RTC. So I wouldn't spend a lot of effort hacking the RTC when, even if it works in the current version, it would be trivial for them to cut that route off in the next update.

However given that the keys leaked with the first release, they can only really secure their licensing system by changing the keys, which in turn would mean re-issuing every single license currently in the field.

And that also assumes that there is no way to simply inject code into the scope which just ignores the license check.

If you're actually going to open the scope and muck about with the internals, you'd probably get more mileage out of reading/writing the flash and just patching code.
Programmer with a soldering iron - fear me.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #583 on: November 15, 2012, 03:37:55 pm »
It would be trivial for Agilent to check licenses against the firmware-date as well as the RTC. So I wouldn't spend a lot of effort hacking the RTC when, even if it works in the current version, it would be trivial for them to cut that route off in the next update.

However given that the keys leaked with the first release, they can only really secure their licensing system by changing the keys, which in turn would mean re-issuing every single license currently in the field.

And that also assumes that there is no way to simply inject code into the scope which just ignores the license check.

If you're actually going to open the scope and muck about with the internals, you'd probably get more mileage out of reading/writing the flash and just patching code.
Where do those keys leaked?

I think there is no need to read/write the flash directly. Only the base date needs to be modified in the .bin files somewhere that sets the "minimal" date set. Isn't it?
 

Offline _Sin

  • Regular Contributor
  • *
  • Posts: 247
  • Country: gb
Re: New Agilent scopes
« Reply #584 on: November 15, 2012, 03:58:06 pm »
Where do those keys leaked?

I think there is no need to read/write the flash directly. Only the base date needs to be modified in the .bin files somewhere that sets the "minimal" date set. Isn't it?

The keys were in the original firmware update, they left them in by mistake. I don't know if anyone openly posted them, but how/where to find them was widely discussed (if you want a more specific answer, don't look at me - I think it's actually in an earlier post in this thread).

I'm not sure if it's possible to modify a file before updating the scope, or to write to the scope's filesystem. I'd imagine they might at least have check-summed / signed the update package, in which case you'd be out of luck. Worst case you might brick the scope, which is why I'm not going to be trying it on mine any time soon.

However if you *could* modify the files on the device, either by changing the update package or writing to the flash, it would be easier to just take out the license check than to piss about with dates and trial licenses.

Programmer with a soldering iron - fear me.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #585 on: November 15, 2012, 05:05:52 pm »
The answer about keys are in this topic Reply #536.

So what if we have the keys? We put the keys, the ser.no. the required option, and the expirity date into a black box, and it will tell the lic.nr. Uhhh... that is not the way... this is out of my boundaries...
 

Offline _Sin

  • Regular Contributor
  • *
  • Posts: 247
  • Country: gb
Re: New Agilent scopes
« Reply #586 on: November 15, 2012, 05:51:58 pm »
The answer about keys are in this topic Reply #536.

So what if we have the keys? We put the keys, the ser.no. the required option, and the expirity date into a black box, and it will tell the lic.nr. Uhhh... that is not the way... this is out of my boundaries...

The 'black box' is pretty much fully documented back in post #177.

But yeah, no-one seems terribly inclined to actually fully implement and post a working solution. I don't blame them - I wouldn't.

Programmer with a soldering iron - fear me.
 

Offline SrS

  • Contributor
  • Posts: 24
  • Country: nl
Re: New Agilent scopes
« Reply #587 on: November 15, 2012, 06:18:52 pm »
This scope came with v1.x firmware installed and allowed to sign your own license files using the leaked key
In v2.x Agilent.Cdf.Api.dll has been updated and has some interesting strings:
SecureDataTool_DTDLeaked
SecureDataTool_DTD2
So new scope's probably use a different keyset
 

Offline benemorius

  • Regular Contributor
  • *
  • Posts: 173
Re: New Agilent scopes
« Reply #588 on: November 15, 2012, 06:19:04 pm »
Unfortunately I have the displeasure of reporting that our friends at Agilent have indeed updated the rsa keys since the original private key was leaked. Newer versions of the firmware (2.0 and up, I believe) have a total of three keys (the leaked one plus two new ones) and the key which is used is determined by the serial number of the scope. So it would seem that those who were lucky enough to get one of the first models produced will be able to use the leaked key indefinitely, while anyone with a later model is out of luck unless it is possible to change the serial number of the scope without breaking anything else.

I'm not sure how old a scope has to be to use the old key. Mine came with firmware 2.00 and it uses one of the new keys. I haven't looked in to changing the serial number, but this seems worthy of some investigation.
 

Offline _Sin

  • Regular Contributor
  • *
  • Posts: 247
  • Country: gb
Re: New Agilent scopes
« Reply #589 on: November 15, 2012, 06:37:38 pm »
This scope came with v1.x firmware installed and allowed to sign your own license files using the leaked key
In v2.x Agilent.Cdf.Api.dll has been updated and has some interesting strings:
SecureDataTool_DTDLeaked
SecureDataTool_DTD2
So new scope's probably use a different keyset

It occurred to me that they might do that, but I hadn't realised they had rolled it out already.

In some ways I'm glad they have. If it was wide open I could see them being reluctant to add new options like the serial decode on the 2k series.

I'm also glad I bought one of the original models.

I guess there's a chance that they might only offer some new features on sufficiently new scopes, but that could be confusing for buyers who had no idea that their serial number would be important...
Programmer with a soldering iron - fear me.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #590 on: November 15, 2012, 07:34:56 pm »
Summarizing the above: is it possible to use trials forever on fw2.0 and above or not?
 

Offline benemorius

  • Regular Contributor
  • *
  • Posts: 173
Re: New Agilent scopes
« Reply #591 on: November 15, 2012, 07:44:45 pm »
Summarizing the above: is it possible to use trials forever on fw2.0 and above or not?

Yes, as long as your trials expire on a date after the compile date of the firmware version you have installed.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #592 on: November 15, 2012, 07:53:46 pm »
Summarizing the above: is it possible to use trials forever on fw2.0 and above or not?

Yes, as long as your trials expire on a date after the compile date of the firmware version you have installed.
Only once, or many times? I mean if suddenly trials removed by the machine because the clock forgot to set back, can they be reinstalled again, after set back the date?
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #593 on: November 15, 2012, 08:21:15 pm »
Let we complete the 3000 firmware line.

Here are the fw1.10, 2.12, 2.20: http://s3.toldacuccot.hu/dl.php?sid=7f8145a7a2dbaa324d84d44e5d01216a&file=1.10_2.12_2.20.7z

Please share the other ones.
 

Offline Hypernova

  • Supporter
  • ****
  • Posts: 655
  • Country: tw
Re: New Agilent scopes
« Reply #594 on: November 16, 2012, 02:02:18 am »
For those interested:

Just tried on mine, even if your clock was set to the compile date of the previous FW (Apr 18th) after updating it will force you to the new date.
 

Offline benemorius

  • Regular Contributor
  • *
  • Posts: 173
Re: New Agilent scopes
« Reply #595 on: November 16, 2012, 02:35:25 am »
For those interested:

Just tried on mine, even if your clock was set to the compile date of the previous FW (Apr 18th) after updating it will force you to the new date.

Thanks. You updated from 2.12 to 2.20? Some of us are also interested to know if downgrading is prevented. Can you see whether it will let you install 2.12 again?
 

Offline Hypernova

  • Supporter
  • ****
  • Posts: 655
  • Country: tw
Re: New Agilent scopes
« Reply #596 on: November 16, 2012, 02:53:52 am »
Nop, it will unpack the .cab but then declare that there's something wrong with it.
 

Offline benemorius

  • Regular Contributor
  • *
  • Posts: 173
Re: New Agilent scopes
« Reply #597 on: November 16, 2012, 03:54:57 am »
Nop, it will unpack the .cab but then declare that there's something wrong with it.

Well that sucks a lot. Thanks for checking. Can you confirm that you upgraded from 2.12 to 2.20, and then tried and failed to downgrade to 2.12?
 

Offline Hypernova

  • Supporter
  • ****
  • Posts: 655
  • Country: tw
Re: New Agilent scopes
« Reply #598 on: November 16, 2012, 04:51:48 am »
The help menu says 2.20 and I've been playing with the modulation all morning.

Curiously the expired trial Flexray license disappeared from the list.
 

Offline ferkapu

  • Contributor
  • Posts: 17
  • Country: hu
Re: New Agilent scopes
« Reply #599 on: November 16, 2012, 07:21:13 am »
So no way to go back to 1.xx from 2.xx. That's not a good news...  :-\
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf