Giter VIP home page Giter VIP logo

tek_softhack's Introduction

Tektronix MSO20xx/DPO20xx application module soft-emulator

Background

The project aims to remove ridiculous restrictions on usage of AppModules in Tektronix oscilloscopes.

A well-known solution how to hack the appmodules can be found on hackaday. However, it requires building a hardware module.

Another approach is demonstated here: is uses LD_PRELOAD technique to override access of scope application to i2c bus and emulate AppModule keys. Investigation of scopeApp.ppc8xx revealed that in MSO20xx/DPO20xx it scans two addresses (namely, 0x50 and 0x52) and tries to read 1 byte from those addresses. If succeded, it changes base address to 0x4 (by writing 0x4 to the slave) and reads back 15 bytes. The override.so module simply gives the application what it's expecting to see.

Futhermore, a patch for binary file scopeApp.ppc8xx (src/binpatch.sh) is provided. It changes fpAppKeyInitAddrs to look at addresses 0x50, 0x51, 0x52 and 0x53 thus giving ability to unlock 4 ApppModules simalteneously.

Prerequisites

  • Cross-compiler for ppc32
  • Swiss File Knife sfk(if you intend to apply binary patch on scopeApp.ppc8xxx)

I've used a VM with debian sarge do build cross-compiler using crosstool project (powerpc-405, gcc-3.3.6, glibc-2.3.6 work fine for me).

Build & Install

Assuming that you have cross-compiler for powerpc32 and sfk in right paths (see Makefiles for that), you can just use make to build the firmware. Put it to your usb flash drive and follow usual Tektronix manual on updating the firmware.

Dedications

This hack is dedicated entirely to greed of Tektronix sales managers (especially those in Russian Federation) who completely fail to publish GNU GPL software components used in there scopes (linux kernel, glibc, busybox).

Legal notice

I assume that you do not use this to "crack" Tektronix scopes. Please feel free to unlock only features you have purchased from Tektronix. This software is intended to be used if you've lost the hardware key or it has been broken (or simply you don't like the idea of HW modules to unlock SW features).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.