ATM Hacks are so bloody boring

KLIA computer infected with Virus

Last week, while I was flying from KL to London, I noticed a strange anomaly on the screen of the boarding gate at KLIA. Closer inspection revealed that it was an anti-virus warning that signaled the computer had been infected by a Virus (almost 2 days ago!!). As a techie, I quickly deduced 3 things from the screen.

One, the computer was running Windows, and probably an outdated version of Windows. Two, the computer had been infected with ConfickerConficker was a pretty infamous threat, back in 2008!! And yet, here we are, at Malaysia’s most prestigious airport, and we have a computer infected by a virus that pre-dates the iPhone 3G. Three, the computer is probably part of a larger network, and never gets patched or updated–probably. If it were patched, it wouldn’t be infected with a ol’ grandmother of a virus.

As an added bonus–I could easily see the user of the system. That’s a delicious bit of information for any hacker to have.

Heaven forbid, the virus on the computer screen at KLIA not spread to something important–like control tower or Sky Train controls.

These days, everything is a computer. Your phone is a computer, your watch will one day be a computer, so too is your car. But when was the last time you patched and updated these systems? When was the last time you updated the firmware on your router–or even when was the last time you updated the software on your laptop? Some of you probably haven’t done this before–I’m looking at you Android JellyBean and iOS5 users.

So the display screens at the airport are computers–but so are the Automated Teller Machines (ATMs), and trust me when I say this, some of them run on windows….gasp!!

[Read more]

MyProcurement: All government tenders in one Excel file

MyProcurement

I've updated this post on 31-Mar-2015, to incorporate the latest changes, and to provide more up to data info on the procurement database. Left everything else in tact.
Happy birthday Malaysia!! Just how awesome is our country, that we celebrate an Independence Day AND a Malaysia Day, not to mention 2 New years day, (or 3 if you count Awal Muharram).

So on that note, I decided to use my IT skills for the good of the country.

To be honest, my IT skills have never been up to par, my day job is more managing/planning/documenting than actual execution of ‘real’ IT work. But it was good for me to dust of the ol’ programming fingers and learn Python to grab some publicly available information and make it more accessible to the less IT centric members of society.

Since I had limited time, and sub-par skills, I decided to set my sights low, and aim to extract all the data from the Malaysian MyProcurement portal, which houses all the results of government tenders (and even direct negotiations) in one single website for easy access. The issue I had with the portal though, was that it only displayed 10 records at a time–from it’s 10,000+ record archive, so there was no way to develop insights into the data from the portal directly, you had to extract it out, but the portal provider did not provide a raw data dump to do this.

So I wrote a simple Python script to extract all the data, and prettified the data in Excel offline. The result is a rather mixed one.

I was happy that I could at least see which Ministeries or Government departments gave out the most contracts, and what the values of those contracts were. All in all, the excel spreadsheet has more than 10,000 tenders with a cumulative value of RM35 billion worth of contracts going back to 2009. The data allowed me to figure out which Ministry gave out the most contracts, the contracts with the highest and lowest value (including one for Rm0.00, and one for just Rm96.00). All in all it was quite informative.

Results_by_ministry

[Read more]

Is Malaysia’s Broadband slow–no it isn’t.

Broadband_speed_klang_malaysia

Recently KiniBiz did a piece on Malaysian broadband speeds, and once again the hoopla about how Malaysian broadband speeds are slow arose. Kinibiz quoted an article from Asean DNA which stated that the average broadband speed in Malaysia was just 5.5 Mbps, while Thailand, Vietnam and Singapore had speeds that were double that (or more!)

The report however was inaccurate, and I think there’s a need to address the hoopla, because this happens often. There was a report couple months back that said Cambodia had faster speeds than Malaysia, and I wrote a post addressing that. This time I think, we have to really go into the data and find out what exactly is going on.

So let’s start at the source of this data.

The data was built from billions of download test conducted by users throughout the world on speedtest.net (a website that allows users to test the speed of their internet connection). This dataset is HUGE!, one of the biggest I’ve seen and definitely the biggest I’ve had the pleasure to play around with. Just one file in the set had more than 33 Million rows and weighed in at more than 3.5GB.It took me some time and lots of googling just to figure out how to deal with a csv file this large. Fortunately, there’s LogParser, but we’ll skip that tutorial for now and focus on the juicy details of data.

The number reported by Asean DNA is wrong. The average internet speed in Malaysia isn’t 5.5Mbps, it’s more like 7.5Mbps.

5.5 Mbps was obtained by averaging the speed across the regions of Malaysia (Kl, Alor Setar, Klang..etc) rather than by averaging the speed across all the test conducted by Malaysian users. In short, Asean DNA placed equal emphasis on Kuala Terengganu and Kuala Lumpur, although Kuala Lumpur had 50 times more test conducted. It would be like calculating GDP per state, rather than GDP per capita. The real per capita download speed in Malaysia is 7.5Mbps, rather than 5.5Mbps (if you limit yourself to just data from 2014).

Here’s the breakdown. You can download the file from netindex.com or just use an extract I created with just the Malaysian data–it took some time to do this so leave a Thank you in the comments if you downloaded the data.

Average-speed-internet-Malaysia

[Read more]

A Techie’s view on the Law

2283584007_f199332890_z

Are some laws worth following–in other words, are some Laws so idiotic that they should be ignored completely?

That sounds anathema, because we have a romanticized definition of the law, we define the Law as a broad general agreement a society undertakes, and the law keeps society from tearing itself apart. In other words, the law is so sacred because without it–we descend into anarchy, so ignoring the law is akin to promoting anarchy.

But I’m not speaking of “The Law”, I’m speaking of “A law”, specifically an Act of Parliament. “The Law” refers to a vast conglomeration of many things, including constitutions (state and Federal), statutes, precedence of case law and Acts of Parliament. I’m not sure what a statute is–but I roughly know what an Act of Parliament is, and it surely isn’t a broad general agreement that society depends on to stave off Anarchy–rather an act of Parliament is a law brought into effect by Parliament–nothing more nothing less.

To my techie mind, that means that 222 Members of the Malaysian Parliament got together to enact a piece of legislation. Romantically we think this is the people’s will–the Rakyat voted these people into power and they now wield this power to enact laws that will protect the Rakyat. A glorious cycle of virtuosity that only democracy can deliver. That’s wishful thinking, realistically it’s a law brought into effect by 222 voting members of Parliament whose collective IQ would probably not exceed that of the Zoo.

So when these 222 MPs ge t together and enact legislation to regulate technology–I get a bit uncomfortable. Not only do most of them not have engineering qualifications, half of them don’t even have a website. Having these MPs enact legislation that will regulate a field they’re clueless about, is akin to getting open heart surgery from a car mechanic.

On a side note, a techie like me has a hard time understanding why we have 222 seats in Parliament. It would seem, that in a first past the poll system, you’d want to have ODD number of seats, to avoid the situation where 111 members belong to Barisan, and the other 111 belong to Pakatan (what happens then?). That’s just ONE of the many things an engineer would quickly realize is wrong with the entire system–and that’s why we only have 3 engineers in Parliament (at least according to the Sinar Project).

[Read more]

Nearlyfreespeech the hosting provider that takes security seriously

NearlyFreeSpeech.NET Web Hosting

You all know how much I love nearlyfreespeech, it’s one of the best hosting providers out there. Here’s one more reason, recently they alerted me to a suspicious number of login attempts to my wordpress site, which usually means someone was trying to hack it.

If you remember the post I did about the RHB bank scam, it’s quite common for hackers to inject pages onto a wordpress site to help them carry out banking scams. This was probably something similar.

Fortunately, the guys over at nearlyfreespeech were not just kind enough to log the attempts and alert me, but even automatically disabling the login page of the site to prevent something similar happening. Good on them!

Nearlyfreespeech is a great hosting provider and this just proves my point. Check out the email below:

[Read more]

Why the ban on Uber means more than just Taxis

Uber in Malaysia

Uber, a company that connect passengers with drivers of vehicles for hire and ridesharing services–is now banned in Malaysia. The Uber service was viewed as a god-send by citizens of KL simply because the existing taxi service in the city–is Shit!

So why did the Government choose to ban a service, that was improving public transport in KL? For the small matter that it violated a couple of laws–no big deal really. Laws are made to be broken aren’t they?

There’s no need to go into the details of whether Uber is legal or illegal, that’s an irrelevant point. Even though the cars Uber offered were far safer and more comfortable than any other Taxi on the roads in KL–it probably couldn’t get the necessary licenses if it tried. In other words–it couldn’t legalize itself. But that’s a mere side-note to this whole debacle, the real problem is how Malaysia handles disruption.

Uber is a disruptive service that was on the verge of changing the way Malaysians view public transport–but some people in high places may not have liked that. To me as a techie I can’t understand the reason for any of these laws–in fact at its core ‘The Law’ is a piece of technology. But the people drafting the law, MPs in Parliment aren’t even well versed in things like the internet, let alone these disruptive technologies which requires new laws to regulate.

If we are to be a developed nation, we need to embrace disruptive technologies, because that’s how we innovate, and at some point all innovation requires someone to break the law, because the law can’t foresee disruptive technology–that’s almost by definition. We can’t realistically expect the politicians to keep up with technology, let alone draft legislation to regulate them. And every new piece of legislature put out by politicians very quickly reaches the boundaries of it’s effectiveness the moment new technology becomes available.

Consider the following:

[Read more]

What do ISIS and Genghis Khan have in common?

[caption id=“attachment_4535” align=“aligncenter” width=“475”]

Image courtesy of www.breitbart.com

Image courtesy of www.breitbart.com[/caption]

I thought I’d take a break from writing about Tech this week, to focus on where the worlds attention should be–Iraq and Syria, and the existential threat that is besieging the middle-east, a threat we’ve come to call The Islamic State of Iraq and Syria (ISIS).

ISIS may have started of an off-shoot of Al-Qaeda, but they’ve evolved to be much more, they’re so far removed from the Al-Qaeda of Osama Bin Laden they’re starting to look like an reincarnation of an much for terrifying ancient enemy. An enemy that 700 years ago threatened the very existence of Islam in the Middle East more than Israel ever could today. ISIS might be just be the next–Genghis Khan.

You might scoff and laugh, but there are many things strategically and tactically that make ISIS look like a direct descendant of Genghis Khan, and there were many contextual similarities between what’s happening now in the Middle East, and what was happening 700 years ago when the Mongol Horde descended upon it.

The Mongols are the exception to all of history, for example they’re the only people to have invaded Russia in the Winter–and WON!, and they invaded Afghanistan on horseback–and WON!

Historians will glorify them, but we know better. At its peak the Mongol armies controlled more land than anyone before them , but they won their battles in vile, vicious and cunning ways and what they did to their captives is unspeakable. Truthfully the Mongols (and specifically Genghis Khan) were Assholes of the highest order–but they weren’t the only Assholes in history. Alexander, Napoleon, Attila–these were all assholes, it’s just that the Mongols won more wars giving them more opportunities demonstrate their asshole-ness.

Of course the Mongols weren’t just assholes, they were phenomenally great Military Tacticians and Strategist. Almost everything they did (apart from binge drinking) was for the sole purpose of winning wars and battles–even their rapes and terrorizing served to aid them in victory over the enemy (and we’ll soon see how).

But when you dissect as to why the Mongols were so successful–you’ll soon realize it’s the same reason ISIS is so successful, and the similarities between ISIS and the Mongols are too shocking to ignore.

[Read more]

Is illegal downloading considered stealing?

copying_is_not_piracy

There’s a general perception that illegal downloads of movies, music or books is akin to stealing the works of the artist, singers and authors. But downloads are more akin to trespassing than it is stealing–they’re nothing like stealing and if you take some time off to think about it, you’d figure this out too.

When you steal something, you’re denying the victim something,if you steal my car, you’ve taken something from me that I can no longer use. Stealing is a zero sum game, where the perpetrator gets something, and victim loses something. Obviously stealing is bad, but downloading isn’t stealing.

When you illegally download music, you’re not denying anyone else something physical. The music that you downloaded is still on the server you sourced it from, all you did was make a copy. Illegal downloading, isn’t zero sum, you profited (maybe),but no one lost anything of value. And so the rules that we devise for digital information (which can be replicated freely) shouldn’t be the same rules we apply for physical items like cars, and gold coins (which can’t be replicated freely).

Of course, the argument is that illegal downloads deny the content creators income they rightfully deserve, but that’s only true in a handful of cases. If someone refused to sell you their content regardless the price you’d be willing to pay–does it then make it morally wrong for you to download the material? You cannot consider it a loss for the content creator if they never intended to sell the item to you in the first place.You cannot deny income to someone who refuses to take your money, so therefore an ‘illegal’ download isn’t stealing at all.

And it doesn’t stop there. What happens if the content creators are just plain jerks–would it be morally wrong to copy their digital data–and would that be considered stealing?

[Read more]

CheDet on Censorship

Tun Dr. M

Tun Dr. Mahathir now says he’s change his mind about internet censorship. To quote him “Not knowing the power of the Internet, I promised that we (speaking as the Prime Minister of Malaysia) would not censor it. But today I have changed my mind."

Of course, everyone has a right to change their mind–but in this case Tun went from being absolutely spot-on (the internet doesn’t need censorship) to dead wrong.

[Read more]

Who are you trusting online?

Trusting in an online world

When you get behind the wheel of your car, and hit the road–you’re implicitly trusting ever other road user to play by the rules.  You trust no one will go out of their way to crash into you, or that no one would swerve into you for an insurance claim, you even trust that pedestrians won’t hijack your car as you stop at the red light.

Sometimes you mitigate these risk, by locking your doors and keeping your distance, but fundamentally you’re placing a lot of trust on your fellow road-user. You have no way of knowing for sure that they’ll be good boys and girls–but you go about your daily car ride trusting that they’ll do what is right. In cases where you don’t trust anyone, you don’t use the road. I know a lot of people who won’t drive in India because they don’t trust road users there–and some foreigners refuse to drive in Malaysia for the same reason.

Society works on trust, and without it–society just wouldn’t work.

Think about it–you might not trust the restaurant waiter with your credit card–but you just ate at the restaurant without viewing the kitchen. Dying from poisoned food is far more serious than credit card fraud, yet you’ve trusted the restaurant not to poison you, but not with 16 digits from your bank. Sometimes you’re trusting people without even knowing it.

And the same is true for the internet, The Internet Protocol(IP) that governs the whole internet till this day, is a highly ’trusting’ protocol that prioritizes speed and simplicity over security and privacy. In much the same way that it’s faster and simpler just to trust the restaurant not to poison you than it is to inspect the kitchen and verify the ingredients–the Internet Protocol accepts everything as true and routes data accordingly. Other protocols like SMTP and POP3 that are used for email employ the same levels of trust, that’s why you can never trust an email–it’s just too easy to spoof.

Essentially everyone on the internet trust everyone else to play by the rules. For example when Pakistan decided to block youtube in their borders, a mistake made by their local telecoms managed to take youtube down for several hours worldwide simply because everyone trusted the information Pakistan was sending them. Nowhere else in the world does such a high level of trust exist as on the internet–and nowhere else is it more dangerous.

[Read more]