Author Topic: Siglent SDS & SDG Hack Script  (Read 12494 times)

0 Members and 1 Guest are viewing this topic.

Offline XerXes777Topic starter

  • Contributor
  • Posts: 11
  • Country: de
Siglent SDS & SDG Hack Script
« on: December 13, 2022, 03:21:02 pm »
Hello,
i found here some Hack Scripts.
And it was hard for me to find out how it works.
I want to share my experience.

Script for Siglent Digital Oscilloscopes:

Code: [Select]
# Keygen program for Siglent oscilloscopes

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# READ THIS COMPLETLY BEFORE YOU START
# AND READ ALL OTHER INFORMATION HERE IN THE SCRIPT

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# PLEASE GET TIME FOR THIS !!!

# Go to Siglent homepage and find out witch model you have.
# When you have a SDS1104X-E the model is SDS1000X-E.
# And you can find out how much you can upgrade the bandwidth.
# Because the model SDS1000X-E have two versions with different bandwidths.
# And you can find out which options are possibel.
# You had to increase the bandwidth gradually. If your model has more bandwidths like two.

# Connect your scope via LAN to your home network.
# Activate LAN in the UI.
# Use DHCP to get the ip automaticly from your router.
# Or enter a fix ip config.
# Find out which ip the device got.
# Port is 5024.
# Search in goole for the telnet programm "putty" you can use the telnet version.
# Start putty and enter the ip adress, port and click connect.
# You can enter here the SCIP prompts.
# The SCIP prompts comes later in the script.
# Enter all SCIP prompts without the ""

# This is a python script.
# You have to run this script.
# And read the output from this script.
# THE INFO TOO !!!
# Search google for a "online python debugger".
# Or use a offline python debugger.

# Change in the script:
# SCOPEID, SN and Model with your own.
# Run the script.

# The generated key is binded by a keyword.
# The keyword represents the bandwidth or the option.
# The keyword 200M represents a bandwidth of 200Mhz.
# The keyword WIFI represents the option WIFI, so you need only a WIFI dongle.
# The keyword AWG represents the option to concect
# a siglent wafeform generator over USB to the scope.

import hashlib

# You get this by running "SCOPEID?" at the SCIP prompt and removing the dashes
# Or with "MD5_SRLN?" over the SCIP promt without the dashes
SCOPEID = '0000000000000000'

# Replace this with your SN
# You get this over the info from the UI
# Sometime find this under "Info"
SN = 'SDS00000000000'

# Enter here the basic model
# You get this by running "MD5_PR?" at the SCIP prompt
# A sample: You have the SDS1104X-E than enter "SDS1000X-E"
# Some more basic models: "SDS1000X-E", "SDS2000X-E", "SDS2000X+", "SDS5000X", "ZODIAC-"
Model = 'SDS1000X-E'

# You can add more bandwidhts here, when you have the ríght keyword
# Not all bandwidths works on your device!
bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M',
         '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX')

# You can add more options here, when you have the ríght keyword
# Not all options works on your device!
otheropt = ('AWG', 'WIFI', 'MSO', 'FLX', 'CFD', 'I2S', '1553',
            'FG', '16LA', 'PWA', 'MANC', 'SENT')

# NO CHANGES HERE !!!
# NO MORE INFORMATION HERE !!!
hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy'

def gen(x):
    h = hashlib.md5((
        hashkey +
        (Model+'\n').ljust(32, '\x00') +
        opt.ljust(5, '\x00') +
        2*(((SCOPEID if opt in bwopt else SN) + '\n').ljust(32, '\x00')) +
        '\x00'*16).encode('ascii')
    ).digest()
    key = ''
    for b in h:
        if (b <= 0x2F or b > 0x39) and (b <= 0x60 or b > 0x7A):
            m = b % 0x24
            b = m + (0x57 if m > 9 else 0x30)
        if b == 0x30:
            b = 0x32
        if b == 0x31:
            b = 0x33
        if b == 0x6c:
            b = 0x6d
        if b == 0x6f:
            b = 0x70
        key += chr(b)
    return key.upper()

print('INFO: CHECK YOUR GENERATED KEY BEFOR ENTER A NEW ONE !!!' + '\n')
print('You get your bandwidth by running "PRBD?" at the SCIP prompt' + '\n')
print('You get your bandwidth key by running "MCBD?" at the SCIP prompt' + '\n')
print('Compare your key with the generated key')
print('INFO: IT HAVE TO BE SAME !!!')
print('\n')
print('\n')
print('--------------------------------')
print('Here are the bandwidth codes')
print('Enter these codes over SCIP prompt')
print('The SCIP promt is "MCBD"')
print('A sample with the 500M keyword: "MCBD 6M5VE9723IR5RACG"')
print('\n')
for opt in bwopt:
    print('{:5} {}'.format(opt, gen(SCOPEID)))

print('\n')
print('--------------------------------')
print('Here are the options codes')
print('Enter these codes over the UI')
print('\n')
for opt in otheropt:
    print('{:5} {}'.format(opt, gen(SN)))




Script for Siglent Waveform Generators:

Code: [Select]
# Keygen program for Siglent waveform generators

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# READ THIS COMPLETLY BEFORE YOU START
# AND READ ALL OTHER INFORMATION HERE IN THE SCRIPT

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# PLEASE GET TIME FOR THIS !!!

# Go to Siglent homepage and find out which model you have.
# When you have a SDG6022X the model is SDG6000X.
# And you can find out how much you can upgrade the bandwidth.
# Because the model SDG6000X have three versions with different bandwidths.
# And you can find out which options are possibel.
# You had to increase the bandwidth gradually. If your model has more bandwidths like two.

# Connect your waveform generator via LAN to your home network.
# Activate LAN in the UI.
# Use DHCP to get the ip automaticly from your router.
# Or enter a fix ip config.
# Find out which ip the device got.
# Port is 5024.
# Search in goole for the telnet programm "putty" you can use the telnet version.
# Start putty and enter the ip adress, port and click connect.
# You can enter here the SCIP prompts.
# The SCIP prompts comes later in the script.
# Enter all SCIP prompts without the ""

# This is a python script.
# You have to run this script.
# And read the output from this script.
# Search google for a "online python debugger".
# Or use a offline python debugger.

# Change in the script:
# SN and Model with your own.
# Run the script.

# The generated key is binded by a keyword.
# The keyword represents the bandwidth or the option.
# The keyword 200M represents a bandwidth of 200Mhz.
# The keyword WIFI represents the option WIFI, so you need only a WIFI dongle.
# The keyword TRUE represents the option IQ Waveforms.

import hashlib

# Replace this with your SN
# You get this over the info from the UI
# Sometime find this under "Info"
SN = 'SDG00000000000'

# Enter here the basic model
# You get this by running "MD5_PR?" at the SCIP prompt
# A sample: You have the SDG6022X than enter "SDG6000X
# Some more basic models: "SDG1000X", "SDG2000X", "SDG6000X"
Model = 'SDG6000X'

# You can add more bandwidhts here, when you have the ríght keyword
# Not all bandwidths works on your device!
bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M',
         '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX')

# You can add more options here, when you have the ríght keyword
# TRUE is for the IQ Waveforms
# Not all options works on your device!
otheropt = ('WIFI', 'TRUE')

# NO CHANGES HERE !!!
# NO MORE INFORMATION HERE !!!
hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy'

def gen(x):
    h = hashlib.md5((
        hashkey +
        (Model+'\n').ljust(32, '\x00') +
        opt.ljust(5, '\x00') +
        2*((SN + '\n').ljust(32, '\x00')) +
        '\x00'*16).encode('ascii')
    ).digest()
    key = ''
    for b in h:
        if (b <= 0x2F or b > 0x39) and (b <= 0x60 or b > 0x7A):
            m = b % 0x24
            b = m + (0x57 if m > 9 else 0x30)
        if b == 0x30:
            b = 0x32
        if b == 0x31:
            b = 0x33
        if b == 0x6c:
            b = 0x6d
        if b == 0x6f:
            b = 0x70
        key += chr(b)
    return key.upper()

print('INFO: CHECK YOUR GENERATED KEY BEFOR ENTER A NEW ONE !!!' + '\n')
print('You get your bandwidth key by running "MCBD?" at the SCIP prompt' + '\n')
print('Compare your key with the generated key')
print('INFO: IT HAVE TO BE SAME !!!')
print('\n')
print('\n')
print('--------------------------------')
print('Here are the bandwidth codes')
print('Enter these codes over SCIP prompt')
print('The SCIP promt is "MCBD"')
print('A sample with the 500M keyword: "MCBD PA3XCKP66XPYPPPI"')
print('\n')
for opt in bwopt:
    print('{:5} {}'.format(opt, gen(SN)))

print('\n')
print('--------------------------------')
print('Here are the options codes')
print('Enter these codes over the UI')
print('\n')
for opt in otheropt:
    print('{:5} {}'.format(opt, gen(SN)))

« Last Edit: February 19, 2023, 11:02:37 am by XerXes777 »
 
The following users thanked this post: Pieh0, Markus2801A, noobiedoobie, Detlev, fps, strahd_von_zarovich, 35919645, hallkbrdz

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #1 on: December 13, 2022, 06:59:46 pm »
Please, there is NO NEED to Telnet into these instruments, none at all.
Please instead use the existing SCPI input methods both these instrument types are supplied from the factory with.

Scope = webserver
AWG = EasyWaveX
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Sherlock Holmes

  • Frequent Contributor
  • **
  • !
  • Posts: 570
  • Country: us
Re: Siglent SDS & SDG Hack Script
« Reply #2 on: December 13, 2022, 07:51:26 pm »
Please, there is NO NEED to Telnet into these instruments, none at all.
Please instead use the existing SCPI input methods both these instrument types are supplied from the factory with.

Scope = webserver
AWG = EasyWaveX

Tautech, what do people actually use the "programming" feature for on these scopes? The device can accept simple socket based requests it seems. I was wondering if there are any .Net Core libraries out there for this. I develop .Net APIs professionally, so might be interested in doing something like that if there was any use for anyone.
“When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.” ~ Arthur Conan Doyle, The Case-Book of Sherlock Holmes
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #3 on: December 13, 2022, 08:00:36 pm »
Please, there is NO NEED to Telnet into these instruments, none at all.
Please instead use the existing SCPI input methods both these instrument types are supplied from the factory with.

Scope = webserver
AWG = EasyWaveX

Tautech, what do people actually use the "programming" feature for on these scopes? The device can accept simple socket based requests it seems. I was wondering if there are any .Net Core libraries out there for this. I develop .Net APIs professionally, so might be interested in doing something like that if there was any use for anyone.
How friendly is Telnet for the novice....it isn't not that I've found but I'm not a programmer.
Copy/Paste within the instrument SCPI command page OTOH is far more welcoming.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Sherlock Holmes

  • Frequent Contributor
  • **
  • !
  • Posts: 570
  • Country: us
“When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.” ~ Arthur Conan Doyle, The Case-Book of Sherlock Holmes
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 187
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #6 on: December 14, 2022, 02:08:29 pm »
I just found this, security alert about Siglent scopes:

https://sec-consult.com/vulnerability-lab/advisory/multiple-vulnerabilities-in-siglent-technologies-sds-1202x-e-digital-oscilloscope/

The presence of these "vulnerabilities" is the whole reason we are buying Siglent, haha :-)
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline Faranight

  • Supporter
  • ****
  • Posts: 198
  • Country: si
Re: Siglent SDS & SDG Hack Script
« Reply #8 on: December 15, 2022, 06:48:20 am »
This is why I don't connect any instruments to my home network and instead use a separate air-gapped LAN for all my sci equipment.
e-Mail? e-Fail.
 

Offline tubularnut

  • Regular Contributor
  • *
  • Posts: 225
  • Country: gb
Re: Siglent SDS & SDG Hack Script
« Reply #9 on: December 15, 2022, 09:56:57 am »
If someone from outside is already on your home network, you have more to worry about then getting access to your lab equipment!!!
 
The following users thanked this post: tautech

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 187
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #10 on: December 15, 2022, 12:46:06 pm »
If someone from outside is already on your home network, you have more to worry about then getting access to your lab equipment!!!

To be fair, this thinking is how bot nets came to be.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #11 on: December 15, 2022, 02:39:24 pm »
If someone from outside is already on your home network, you have more to worry about then getting access to your lab equipment!!!
:-+

What are they going to do, twiddle you sweep knob?  :-DD
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 
The following users thanked this post: 807

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #12 on: December 15, 2022, 02:44:40 pm »
To be fair, this thinking is how bot nets came to be.
Quite the opposite, I'd say.  It comes down to a matter of priorities.  If your home network has been compromised, there are probably things yo need to get cracking on before you start isolating you scope.  Once they are done with those, you will no longer have to worry about the scope.  :-+
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Online TERRA Operative

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: jp
  • Voider of warranties
    • Near Far Media Youtube
Re: Siglent SDS & SDG Hack Script
« Reply #13 on: December 15, 2022, 03:21:51 pm »
If someone from outside is already on your home network, you have more to worry about then getting access to your lab equipment!!!
:-+

What are they going to do, twiddle you sweep knob?  :-DD

Stuxnet  ;)
Where does all this test equipment keep coming from?!?

https://www.youtube.com/NearFarMedia/
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #14 on: December 15, 2022, 04:40:59 pm »
Skynet  loll
 

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 187
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #15 on: December 15, 2022, 05:23:59 pm »
To be fair, this thinking is how bot nets came to be.
Quite the opposite, I'd say.  It comes down to a matter of priorities.  If your home network has been compromised, there are probably things yo need to get cracking on before you start isolating you scope.  Once they are done with those, you will no longer have to worry about the scope.  :-+

Home networks are not secure. A guest loans your wifi and it turns out his computer has virus. That is all it takes. Or maybe your son did something stupid on his gaming rig. Even company networks are not very secure. The concept of a firewall to protect the network is not protecting anything at all if something inside becomes infected. Luckily your desktop OS comes with a fairly good firewall build in and therefore it is usually all the gadgets that get infected. Gadgets possibly includes dads fancy EE instruments.

If you want to be secure, you either need to make a separate instrumentation network or run an intrusion detection system. Preferably both.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #16 on: December 15, 2022, 07:05:48 pm »
If you want to be secure, you either need to make a separate instrumentation network or run an intrusion detection system. Preferably both.

Kids are grown up with their own families, guests attach to a separate network, my Cisco router has stateful inspection and intrusion detection/prevention built in.  Bonus .. I'm nobody living in the boondocks, so not of enough interest to warrant the time, effort and expense to break in.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline Nicole01

  • Newbie
  • Posts: 9
  • Country: de
Re: Siglent SDS & SDG Hack Script
« Reply #17 on: December 15, 2022, 07:20:41 pm »
No Internet - No Problems  :-DD
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #18 on: December 15, 2022, 07:43:36 pm »
To be fair, this thinking is how bot nets came to be.
Quite the opposite, I'd say.  It comes down to a matter of priorities.  If your home network has been compromised, there are probably things yo need to get cracking on before you start isolating you scope.  Once they are done with those, you will no longer have to worry about the scope.  :-+

Home networks are not secure. A guest loans your wifi and it turns out his computer has virus. That is all it takes. Or maybe your son did something stupid on his gaming rig. Even company networks are not very secure. The concept of a firewall to protect the network is not protecting anything at all if something inside becomes infected. Luckily your desktop OS comes with a fairly good firewall build in and therefore it is usually all the gadgets that get infected. Gadgets possibly includes dads fancy EE instruments.

If you want to be secure, you either need to make a separate instrumentation network or run an intrusion detection system. Preferably both.
Certainly boat anchors running old unsupported Windoze versions are at high risk of compromise while modern equipment running some version of Linux not so much.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #19 on: December 15, 2022, 11:39:32 pm »
No Internet - No Problems  :-DD
Don't laugh.  There is a guy in my trombone section that does not have internet.  Never has - and according to him, never will.   :-//

I can remember a more relaxed and productive time before the internet though.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline Nicole01

  • Newbie
  • Posts: 9
  • Country: de
Re: Siglent SDS & SDG Hack Script
« Reply #20 on: December 16, 2022, 05:22:12 pm »
I also know a lot of People who don't have a Cell Phone or a PC  :-//
 

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 187
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #21 on: December 16, 2022, 06:44:10 pm »
Certainly boat anchors running old unsupported Windoze versions are at high risk of compromise while modern equipment running some version of Linux not so much.

That is certainly true. However it is also true that the Siglents can be hacked. This is why we like them so much :-). But it does make them a target for botnets if some blackhats figure out how to mass hack them. I think the best protection is simply that there are not that many scopes out there, so it is probably not worth it for them.
 

Offline Kenneth Rosenstroem

  • Newbie
  • Posts: 8
  • Country: bg
Re: Siglent SDS & SDG Hack Script
« Reply #22 on: December 16, 2022, 06:55:12 pm »
This is why I don't connect any instruments to my home network and instead use a separate air-gapped LAN for all my sci equipment.

Like in wi-fi?

Does not matter how you connect it, anything that has any kind of connection to the internet (or some equipment/computer) via some router setup or air gap (point to point is still a connection) as you write, is in danger of being controlled from elsewhere. Period.

If this is not your setup, please enlighten us as to how to make a secure connection to your instruments from the same PC you use for the internet...
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #23 on: December 16, 2022, 07:06:55 pm »
Certainly boat anchors running old unsupported Windoze versions are at high risk of compromise while modern equipment running some version of Linux not so much.

That is certainly true. However it is also true that the Siglents can be hacked. This is why we like them so much :-). But it does make them a target for botnets if some blackhats figure out how to mass hack them. I think the best protection is simply that there are not that many scopes out there, so it is probably not worth it for them.
This is exactly the reason why I oppose fucking with the OS so this info gets online whereas most of what you call hacks aren't, instead they are unofficial installation of official license codes. < Can you really call that a hack ?  :-//
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline dataist

  • Newbie
  • Posts: 2
  • Country: au
Re: Siglent SDS & SDG Hack Script
« Reply #24 on: December 17, 2022, 03:42:47 am »
very interesting post.  I just ordered a 2074X-Plus (about 1100-1200USD)  to be shipped from China. vendor offered to upgrade it to 500M bandwidth for free and claimed it's legitimate because they are one of the biggest distributors and were offered extra perks (ie software licenses and probes) by the manufacturer to help boost sales by the end of year.  I am not sure how much of it is sales pitch, but very eagerly waiting for my shipment to see if it is upgraded. Hopefully I don't have to run the code in this post.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #25 on: December 17, 2022, 04:02:16 am »
very interesting post.  I just ordered a 2074X-Plus (about 1100-1200USD)  to be shipped from China. vendor offered to upgrade it to 500M bandwidth for free and claimed it's legitimate because they are one of the biggest distributors and were offered extra perks (ie software licenses and probes) by the manufacturer to help boost sales by the end of year.  I am not sure how much of it is sales pitch, but very eagerly waiting for my shipment to see if it is upgraded. Hopefully I don't have to run the code in this post.
Seller ?
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Nicole01

  • Newbie
  • Posts: 9
  • Country: de
Re: Siglent SDS & SDG Hack Script
« Reply #26 on: December 18, 2022, 12:11:39 am »
You write the Model 2074X-Plus ?
Which Model did you Order exactly ?
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5670
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #27 on: December 18, 2022, 12:25:42 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #28 on: December 18, 2022, 12:30:05 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #29 on: December 18, 2022, 12:38:12 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
I wonder why not?
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5670
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #30 on: December 18, 2022, 12:44:50 am »
Same why you don´t could buy the 12 bit version of the 6000A scope in the west, I guess..
Apart from this, I don´t get it why buying a 70Mhz scope, 100Mhz should be the "minimum" at all.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #31 on: December 18, 2022, 12:50:13 am »
There is indeed a 70Mhz(2074X+) version avaible, but AFAIK in china only.
Got the same hardware as the "known" 4-channel models starting here with 100Mhz (2104X+) and could be fully armed also, including 500Mhz bandwith.
Also prohibited export from China as it is not a model available to the west.
I wonder why not?
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #32 on: December 18, 2022, 12:52:28 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #33 on: December 18, 2022, 12:58:47 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
And then distributors ask HQ about the SDS207*X Plus in their marketplace and if they are required to provide support for it as it is a prohibited export.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28136
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Siglent SDS & SDG Hack Script
« Reply #34 on: December 18, 2022, 01:24:39 am »
HQ policy. Firm marketing rule for China sellers = do not export SDS207*X Plus !
Well, that's one way to create a grey market.
Oh and BTW, while the promos are active we can supply SDS2104X Plus for less than the China sellers breaking the rules can supply SDS2074X Plus.
Grey market for a more expensive product !  :-DD
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #35 on: December 18, 2022, 03:39:54 am »
Oh and BTW, while the promos are active we can supply SDS2104X Plus for less than the China sellers breaking the rules can supply SDS2074X Plus.
Grey market for a more expensive product !  :-DD
Well, that's why I bought one!

More scope than I'll ever need, but how sweet it is!
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline dataist

  • Newbie
  • Posts: 2
  • Country: au
Re: Siglent SDS & SDG Hack Script
« Reply #36 on: December 18, 2022, 12:10:38 pm »
how interesting to know this model is prohibited to export. From the tear-down I wonder if all 2000x series share the same circuit and chips, ie Zynq/ARM/ADCs, for manufacturing efficiency, but block certain functionality through software to discriminate wealthy western buyers and also to maximize profit. 
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5670
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #37 on: December 18, 2022, 04:33:31 pm »
On the other hand, sds2000xplus series are nevertheless very cheap in relation of the performance they have.

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #38 on: December 20, 2022, 08:38:10 pm »

Script for Siglent Waveform Generators:

Code: [Select]
# Keygen program for Siglent waveform generators

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# READ THIS COMPLETLY BEFORE YOU START
# AND READ ALL OTHER INFORMATION HERE IN THE SCRIPT

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# PLEASE GET TIME FOR THIS !!!

# Go to Siglent homepage and find out which model you have.
# When you have a SDG6022X the model is SDG6000X.
# And you can find out how much you can upgrade the bandwidth.
# Because the model SDG6000X have three versions with different bandwidths.
# And you can find out which options are possibel.

# Connect your waveform generator via LAN to your home network.
# Activate LAN in the UI.
# Use DHCP to get the ip automaticly from your router.
# Or enter a fix ip config.
# Find out which ip the device got.
# Search in goole for the telnet programm "putty" you can use the telnet version.
# Start putty and enter the ip adress and click connect.
# You can enter here the SCIP prompts.
# The SCIP prompts comes later in the script.
# Enter all SCIP prompts without the ""

# This is a python script.
# You have to run this script.
# And read the output from this script.
# Search google for a "online python debugger".
# Or use a offline python debugger.

# Change in the script:
# SN and Model with your own.
# Run the script.

# The generated key is binded by a keyword.
# The keyword represents the bandwidth or the option.
# The keyword 200M represents a bandwidth of 200Mhz.
# The keyword WIFI represents the option WIFI, so you need only a WIFI dongle.
# The keyword TRUE represents the option IQ Waveforms.

import hashlib

# Replace this with your SN
# You get this over the info from the UI
# Sometime find this under "Info"
SN = 'SDG00000000000'

# Enter here the basic model
# You get this by running "MD5_PR?" at the SCIP prompt
# A sample: You have the SDG6022X than enter "SDG6000X
# Some more basic models: "SDG1000X", "SDG2000X", "SDG6000X"
Model = 'SDG6000X'

# You can add more bandwidhts here, when you have the ríght keyword
# Not all bandwidths works on your device!
bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M',
         '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX')

# You can add more options here, when you have the ríght keyword
# TRUE is for the IQ Waveforms
# Not all options works on your device!
otheropt = ('WIFI', 'TRUE')

# NO CHANGES HERE !!!
# NO MORE INFORMATION HERE !!!
hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy'

def gen(x):
    h = hashlib.md5((
        hashkey +
        (Model+'\n').ljust(32, '\x00') +
        opt.ljust(5, '\x00') +
        2*((SN + '\n').ljust(32, '\x00')) +
        '\x00'*16).encode('ascii')
    ).digest()
    key = ''
    for b in h:
        if (b <= 0x2F or b > 0x39) and (b <= 0x60 or b > 0x7A):
            m = b % 0x24
            b = m + (0x57 if m > 9 else 0x30)
        if b == 0x30:
            b = 0x32
        if b == 0x31:
            b = 0x33
        if b == 0x6c:
            b = 0x6d
        if b == 0x6f:
            b = 0x70
        key += chr(b)
    return key.upper()

print('INFO: CHECK YOUR GENERATED KEY BEFOR ENTER A NEW ONE !!!' + '\n')
print('You get your bandwidth by running "PRBD?" at the SCIP prompt' + '\n')
print('You get your bandwidth key by running "MCBD?" at the SCIP prompt' + '\n')
print('Compare your key with the generated key')
print('INFO: IT HAVE TO BE SAME !!!')
print('\n')
print('\n')
print('--------------------------------')
print('Here are the bandwidth codes')
print('Enter these codes over SCIP prompt')
print('The SCIP promt is "MCBD"')
print('A sample with the 500M keyword: "MCBD PA3XCKP66XPYPPPI"')
print('\n')
for opt in bwopt:
    print('{:5} {}'.format(opt, gen(SN)))

print('\n')
print('--------------------------------')
print('Here are the options codes')
print('Enter these codes over the UI')
print('\n')
for opt in otheropt:
    print('{:5} {}'.format(opt, gen(SN)))



Do we know if this still works on the SDG2000X's Rev F / 05-xx-... hardware and/or the latest 2.01.01.37R31 firmware?
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #39 on: December 20, 2022, 09:56:39 pm »
Do we know if this still works on the SDG2000X's Rev F / 05-xx-... hardware and/or the latest 2.01.01.37R31 firmware?
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5670
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #40 on: December 20, 2022, 09:59:51 pm »
I´ve ordered a SDG2042X today and want to "free" it when it´s arrived, because in the future I will need frequencies up to 100Mhz(so my SDG1062X will be selled).
Actually it wasn´t clear to me how to upgrade it to 120Mhz, it seems there are several methods?(here, hackdoor closed thread)

Martin

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #41 on: December 20, 2022, 10:26:44 pm »
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?

The method I quoted is Python code for the license key generator.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #42 on: December 20, 2022, 11:37:02 pm »
This method has been superseded by the license key generator.  I suggest you do a bit more reading, or is there a reason you don't want to use the key generator?

The method I quoted is Python code for the license key generator.
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.
« Last Edit: December 20, 2022, 11:39:03 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline Mr_Bean

  • Newbie
  • Posts: 8
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #43 on: December 21, 2022, 02:02:15 am »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.
 

Offline baldurn

  • Regular Contributor
  • *
  • Posts: 187
  • Country: dk
Re: Siglent SDS & SDG Hack Script
« Reply #44 on: December 21, 2022, 10:27:01 am »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.

It worked on my SDG6022X running 6.01.01.36.

You could always return it if it refuses to upgrade. But I think it will.
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #45 on: December 21, 2022, 01:53:57 pm »
Doh!  My bad. :palm:  AFAIK it still works.  It can't hurt to try it.  The worst that might happen is the license key will be rejected.

I don't have an SDG yet. I have a line on a 2042X, and I'd have no use for it on the slim chance I can't unlock it to a 2122X. So it might hurt to try.
For me, recently (in the last 3 months) this script has worked on:

SDS1104X-E
SDG1032X
SDS2104XP
SDL1020X-E (not script but his works: https://www.eevblog.com/forum/testgear/siglent-sdl1000xsdl1000x-e-electronic-load/msg3395024/#msg3395024)

No issues at all, except with the SDS2104XP I had to increase the BW incrementally.  Goin directly to 500MHz did not produce 500MHz bandwidth (266MHz was all I got) and it distorted signals above 200MHz.
« Last Edit: December 21, 2022, 06:28:56 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline dshorthill

  • Contributor
  • Posts: 22
  • Country: us
Re: Siglent SDS & SDG Hack Script
« Reply #46 on: December 21, 2022, 05:02:10 pm »
BillyO:
Could you provide info on how to use Python script to “upgrade” the SDL1020X-E (Electronic Load) ?
 
Thanks
(also Siglent fanboy)
« Last Edit: December 21, 2022, 05:07:44 pm by dshorthill »
 

Offline BillyO

  • Super Contributor
  • ***
  • Posts: 1335
  • Country: ca
Re: Siglent SDS & SDG Hack Script
« Reply #47 on: December 21, 2022, 06:27:17 pm »
BillyO:
Could you provide info on how to use Python script to “upgrade” the SDL1020X-E (Electronic Load) ?
 
Thanks
(also Siglent fanboy)

For the SDL you don't use the python script.  Sorry, I didn't mean to imply that, just to mention I had done the "improvement" and it still worked.

For teh SDL you just need to issue a few SCPI commands.  It's detailed here: https://www.eevblog.com/forum/testgear/siglent-sdl1000xsdl1000x-e-electronic-load/msg3395024/#msg3395024 
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
Want to see an old guy fumble around re-learning a career left 40 years ago?  Well, look no further .. https://www.youtube.com/@uni-byte
 

Offline Zigortxu

  • Contributor
  • Posts: 10
  • Country: es
Re: Siglent SDS & SDG Hack Script
« Reply #48 on: January 27, 2023, 04:30:56 pm »
Hello,

I have recently bought a sdg2042x and I try to connect it via telnet and it refuse the connection, the lan options is "ON" status, I put the IP of the SDG on putty and port 23 but dont connect, the software version is 2.01.01.35R3B2 and hardware version is 02-02-00-40-00.

Anybody knows why dont connect it?

Thanks very much
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5670
  • Country: de
  • Testfield Technician
Re: Siglent SDS & SDG Hack Script
« Reply #49 on: January 27, 2023, 05:45:47 pm »
Hi,

Got one with the same hard- and software version you have, no problems.

Follow the quoted instructions in this post:

https://www.eevblog.com/forum/testgear/siglent-sdg2042x-hack-door-closed/msg4599439/#msg4599439

And it should work.
Don´t forget to enter the correct ip adress in putty/telnet, activate dhcp in the generator menu, take the new adress.
And:
Connect the generator via router to the pc.
 
The following users thanked this post: Zigortxu

Offline Zigortxu

  • Contributor
  • Posts: 10
  • Country: es
Re: Siglent SDS & SDG Hack Script
« Reply #50 on: January 28, 2023, 12:10:44 pm »
Hi,

Thanks very much, I connected by telnet but dont changed the port number to 5024, so I havent connect, after read your post changed the port and connected fine.  Thanks very much

 

Offline azaaxx

  • Newbie
  • Posts: 2
  • Country: pl
Re: Siglent SDS & SDG Hack Script
« Reply #51 on: February 13, 2024, 11:47:39 pm »
Has anyone tested this method for SDG1025 ?
I`ve tried and it is not working for me.
I have tested it with old firmware (with possibility to activate BW license from scope UI) and with newest (BW License removed from UI)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf