Showing posts with label standards. Show all posts
Showing posts with label standards. Show all posts

Wednesday, August 09, 2017

USB Vulnerability




Ever so often, whenever I pick up a USB memory stick, a certain train of thought crosses my mind.
"Here is a miracle device", I remind myself, "which one of the 6 billion+ across the world, one that has made data-transfer and battery charging so amazingly simple, and yet, contains within it the power to destroy nuclear plants, water and power supply grids and to unleash starvation, misery and death across the world!"

A few years ago, the Economist highlighted positive features of the 'thumb-drive' in an article very aptly titled. "In Praise of the Humble USB". While reading this piece, I was delighted to know that a computer architect of Indian origin,  Ajay Bhatt, had a key role to play in creating this amazing interface, which his parent company, Intel, decided to make 'the cheap USB plug and socket an open standard, available to manufacturers everywhere free of all royalty charges and licensing fees'. This one move destroyed the Firewire standard that had been patronised by Apple, and made USB a de facto standard across the world.

The ease with which the USB drive could be used also made it a handy tool in the hands of spies, spooks and saboteurs. The most famous example of this is the Stuxnet virus which CIA and Mossad used to destroy a thousand centrifuges in Iran. Ever since I heard of this cyber-attack, I have been awed by the sheer scale of destruction that can be unleashed through the USB drives. It also led me to the mistaken belief that the Iranian nuclear program had been irreparably damaged because of Stuxnet.

A recent documentary by Alex Gibney - "Zero Days" - suggests that in the real world, things are not what they seem. In their eagerness and impatience to destroy the Iranian nuclear centrifuges, Mossad apparently changed the codes created by their CIA/NSA collaborators, and released a version that was a lot less subtle, and left behind an electronic trail that was being used against the USA. It seems Iran has now built up one of the largest cyber-armies in the world, one that was behind two major warning attacks: one on the largest oil company in the world, SaudiAramco, destroyed every line of code on 30,000 computers, and then a surge attack on banks in the USA that crippled commercial operations.

As a friend recently pointed out, our biggest vulnerability is that new technology is being built on old systems that were not intended to be on a network. So, by default, we have gaping holes in just about all the things that now run our lives - utility supplies, banking & finance.

Even the ubiquitous USB works on FAT-32 system which has since evolved into exFAT and NTFS. However, the base continues to be FAT32, and as long as this is the case, our systems will continue to be inefficient - and utterly vulnerable.

---------------------------------------------
LINKS & REFERENCES

Stuxnet - Alex Gibney's Zero Days - https://youtu.be/AcgUGujn_nY
* FAT32, exFAT and NTFShttp://www.pcworld.com/article/3109559/hardware/why-your-usb-drives-file-format-matters-fat32-vs-exfat-vs-ntfs.html

Saturday, March 19, 2016

Solar Powered Vendors



The world is moving on -  coconut vendors are now equipped with solar panels!

Until last year the most popular - and affordable - lighting technology available to the vendors was the "petromax" lamp. Messy, polluting and hard to maintain, these kerosene powered lamps also thrived on a blackmarket for fuel siphoned from the public distribution system. 

Most of the kerosene lamps have now been replaced by LED panels.   A supply chain had evolved around this model in which entrepreneurs had started supplying a complete LED lighting set (light panel + battery + stand), to the street vendors for about ₹20 a night. After 10:00 PM they would go around collecting the lamps, and then getting all the batteries recharged again from an AC outlet.

Now vendors - especially those on the open roads - have progressed to next logical step: charging the batteries using solar panels. 

In this case, the vendor, Kasim, set himself a budget of ₹ 3000 and got a 40Wp panel, a refurbished 12V battery of unknown Ah rating and two LED panels.  He has also paid extra for a charger-box with a 2-pin plug. He got conned on three counts - the seller sold him mobile charger calling it an "inverter", the LED panel cost him ₹200 (available at ₹80), and the worst of all - nobody told him that he needs a Solar Charge Controller (SCC).



Since the SCC controls the fluctuating voltage coming in from the panels, and optimises the charge that a battery can take, Kasim's entire investment s likely to go kaput in a few weeks. 

Kasim's case illustrates the problems most of face while adopting a new technology. He is, of course, an early starter. While most of the other vendors prefer a battery-rental model (₹300/week), he must have worked out that an investment in panels would spare him rental expenses within two months. 

I have tried to help out at bit by checking at Lajpat Rai Market (Old Delhi), and telling him that SCC's are available at ₹ 350 (Shop no. 40, 6Amp, DeepSolar brand). Will he get one installed before it is too late? Or will he continue with his "jugaad" setup, get disillutioned with his panel set and return to the regular mode?

And then, even if he does get himself a SCC, it would be yet another component which comes with no quality assurance, standard ratings or guarantees. 



We have set ourselves ambitous targets for increase in renewable energy capacity. The focus so far seems to be on big companies and on turning vast areas into solar-energy farms. While this is necessary, it is also important to ensure that entrepreners like Kasim have access, not only to solar equipment of reliable quality, but also to information and guidance that helps avoid unnecessary loss of faith in a good source for off-grid, renewable sources of power.

----------------------------------------------------
LINKS & REFERENCES

* https://en.wikipedia.org/wiki/Charge_controller
* Charge Controllers - http://www.freesunpower.com/chargecontrollers.php
* Do I need a Charge Controller? -- http://forum.solar-electric.com/discussion/4518/do-i-need-a-charge-controller
Battery AH * 2% * Vmp = Panel Wattage
* Do I need a controller? - http://www.mrsolar.com/content/faqs/when-do-I-need-a-charge-controller-and-why.html
* Solar Panel Selection Guide - https://www.bijlibachao.com/solar/india-solar-photovoltaic-pv-panels-selection-guide-understanding-system-quality.html
* MNRE Achievements - http://mnre.gov.in/file-manager/UserFiles/Achievements-of-Power-Coal-and-MNRE-Nov2015-English.pdf