Blijf op de hoogte van het laatste crypto nieuws, krijg waardevolle cryptocurrency tips, bekijk koersen en neem deel aan groepsdiscussies onder de topics
  • Home
  • Contact
  • Goedkoop Crypto kopen

Tweaked firmware Titan Asic Miner

18/12/2014

0 Comments

 
pimped UI for the KnC Titan miner
A pimped UI for the KnC Titan miner
Nederlands:

Heb je een KnCMiner Titan?  Dan is er Goed nieuws! 
Er is een nieuwe Firmware beschikbaar die je KnC Titan miner van UI voorziet waardoor je beter overzicht hebt hoe je miner

presteert.

Download locatie:
https://github.com/p4fg/kncminion/releases.

English

Peter af Geijerstam, a developer who specializes in computer security, has released a new UI for the KnCMiner Titan ASIC, called KnCMinion, as an alternative to the standard old-fashioned user-interface of the device. His more up to date interface does not replace the original Titan UI, just adds a more modern and beautiful UI with the more important information available in a graphical form, not just plain text.
KnCMinion
The original interface only provides the most basic information. (The HTML is, by the way, generated by a server-side bash-script, yuck!)
The KnCMinion interface is located in a subdirectory (/kncminion) and is designed to provide a bit more information. It creates client-side graphs of historical values as long as the page is open (it will start empty each time, as no data is stored on the Titan). KncMinion is built using CoffeeScript, AngularJS, D3.js, Bootstrap and jQuery and adapts to different resolutions and devices.

The top graph is the total hashrate (in MHs) for the miner. The smaller graphs below represent the hash-rate of each individual die for every cube on the Titan (4 dies per cube). In my case one die is not working for one cube, hence only 15 graphs. Each graph displays the min/max and current value for the selected duration.


Peter af Geijerstam: When developing KnCMinion, I came across some things about the Titan that made my life easier but also posed some security-risks.

Problem
KnCMinion is packaged as a firmware-upgrade file, but it only adds new files to the web-server and does not touch any existing files or affect anything mining-related.

The problem here is that I, without any connection to KnC, was able to create a valid firmware-upgrade file that can be installed on the Titan.
This means that i could create a custom package and trick people to install something that is malicious, for example a custom BFGMiner that mines for me when they are not looking or something that lets me access their network.

Solution
Best-practice regarding upgrade-files that execute with root-privileges are that they should be signed, and the signature should be checked before executing code and writing files to persistent storage.

Download Firmware-image(s) are available on github: https://github.com/p4fg/kncminion/releases.
Just download the file and upload it as any other firmware upgrade. As it only adds files to the web-server it is compatible with all current official firmware releases.

The source-code and complete development-environment are also on github: https://github.com/p4fg/kncminion

As this in fact means that you are installing non-sanctioned, unsigned software on your Titan, you really should inspect the contents of the firmware-file. It is a standard .tar.gz and can be unpacked with standard tools on linux or with 7-zip on Windows.

Other miners If KnC or any other manufacturer happens to read this and is interested in officially (or unofficially) taking their UI to the next level, contact me! My email is on the bottom of the page.

Disclaimer Use at your own risk, no warranty expressed or implied. Works-for-me(tm).

0 Comments



Leave a Reply.

    RSS Feed

    gratis bitcoins
    Elk uur gratis Bitcoins
    bitcoins kopen
    Goedkoop Bitcoins, Ethereum, Ripple etc.. kopen met iDeal!

    Archives

    November 2022
    September 2022
    August 2022
    May 2022
    February 2022
    January 2022
    December 2021
    November 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    May 2013
    November 2012
    February 2012

Bitcoin
Photos used under Creative Commons from zcopley, xlowmiller, zcopley, NASA Goddard Photo and Video, zcopley, btckeychain