CategoryMisc

Just a collection of stuff (mostly from my old blog)

Writing a WordPress Restoration script

W

WordPress sites get hacked all the time, because the typical WordPress blogger install 100’s of shitty plugins and rarely updates their site. On the one hand, it’s great that WordPress has empowered so many people to begin blogging without requiring the ‘hard’ technical skills, on the other it just gives criminals a large number of potential victims. Two years ago, when I...

Publishing Government Algorithms

P

On the 1st of February, Malaysians experienced yet another fuel price increase. Which was surprising because the price of oil and the ringgit conversion rate seemed to be favoring a drop. You see in Malaysia, the fuel prices are controlled and subsidized by the government, and it sets the price for petrol at the pump. In the past, fuel price changes were few and far between, but since 2007...

How the StarHub DDOS (possibly) happened

H

Customers of Singaporean ISP StarHub, suffered two major disruptions to their service over the past week, in what the telco said was a result of a “intentional and likely malicious distributed denial-of-service (DDoS) attacks”. Oh the humanity!! In what appears to be a copycat of the Dyn attack we saw (at roughly the same time), the attack signals the first local salvo in the war of...

Hotline Jais is a terrible idea!

H

Jais recently launched anew mobile app to allow the public to easily report any crimes that contravene syariah laws. Obviously there’s social and legal implications here, which I won’t go into, but we need to understand just how stupid this idea is. When you ask amateurs to give you security, what you eventually end up with is amateur security. It’s the reason why Maths...

All you eggs in one basket

A

Is it wise to use an online password manager? After all, putting your passwords on the cloud seems like a really dumb idea. But I use password manager because while storing stuff on the cloud may present risk, it’s far riskier and dumber to re-use passwords. Why you need a password manager? Despite the sexiness of zero-day exploits and hardcore state-sponsored hacking groups we see on the...

Random thoughts

R

You’ve probably heard of the hackers who almost got away with $1 billion, only to be thwarted by a typo. (if it weren’t for those meddling keyboards!) What you probably didn’t hear was that they had already wired $100 million to themselves, are assumed to have pocketed anywhere from $21 million to $81 million in cold hard cash. Sure, Billions is more than millions, but one a...

2600 article

2

*A republication of my article on 2600, a hacker magazine* Greetings from Malaysia. This is my first time writing to 2600, although I’ve been a kindle subscriber for more than 2 years now. For my first article, I hoped to write about a little hacking expedition I embarked on a couple of months back to help me improve my coding skills as well as help me learn more about local internet users...

Just buy McDonalds

J

If you haven’t listened to it already, here’s a fantastic cut-down (no bullshit) version of Jim Comey’s testimony to congress, on why he recommended Hillary Clinton not be prosecuted for hosting her own e-mail servers. For the uninitiated, while Hillary Clinton was US Secretary of State, she hosted her own official e-mail servers, and the contention was whether she was right in...

Security theater on KTM trains

S

The last time I took a public train in Malaysia was 10 years ago. That’s a long time to be spoilt by the luxury of having a car to drive around. So it was a pleasant surprise to see this viral story, about a man on a KTM kommuter train who saved a women from a group of youths who “misbehaved and demanded cash and their valuables”. But then I remembered that KTM had launched...

The ugly truth about Uber

T

Two weeks ago, I took my first ever Uber ride, and here’s what I think is The Good, the bad and the ugly of Uber. The Good The app worked perfectly out of the box, it was intuitive, and the drivers that fetched me from (and to) the Toyota service center were courteous and friendly. What was even more shocking was the price–Uber is freaking cheap. Bukit Jalil to Bukit Bintang for RM20...