Friday, 6 June 2014

Happy Birthday Tetris

On this day, 30 years ago, during the height of the Cold War, a Russian programmer first released the code for a game he called Tetris. It would eventually cause a worldwide scramble for rights and royalties that would last over a decade. We look at the history of the world's most successful computer game.



Aleksei Pazhitnov, inventor of Tetris (right)
1984 – Alexey Pajitnov creates Tetris while working as a programmer in the USSR, using a Russian computer called the Electronica 60. The name was a portmanteau of tetra, the Greek word for four, and tennis, his favourite sport. He shares the code with friends, who port it to the IBM PC, and it spreads like wildfire. Soon it is being played all over the Soviet Bloc.
Pajitnov would later say: "The program wasn't complicated. There was no scoring, no levels. But I started playing and I couldn't stop.”

Playing Tetris in MOMA, New York
1986 – Tetris appears in the West for the first time. It had made its way to Hungary, where programmers created versions for the Apple II and Commodore 64. It was then spotted by British software company Andromeda.
They tried to contact Pajitnov to secure the PC rights, which started a long and protracted negotiation with the Academy of Sciences.
In the meantime, the company went ahead and sold-on the rights to Spectrum Holobyte, who launched an IBM PC version in 1987. Soon after came commercial versions for the Commodore 64, Amiga, Atari ST and Apple II, all made possible with various licences and sub-licences. All these deals were based on uncertain foundations; the legal situation was far from clear, thanks in large part to the difficulty of doing business deals in the Soviet Union.
At one point a representative from Andromeda and games publisher Henk Rogers both flew out to Moscow to try and secure a water-tight deal for the rights. Rogers ended up with the rights for handheld versions, while Andromeda retained rights for arcade versions – just in time for the demise of the games arcade, thanks in no small part to devices like Nintendo’s Game Boy.
At the same time, Nintendo offered a huge but undisclosed sum to Russia for the console rights. It secured them, and promptly demanded that Atari destroy its remaining cartridges.
1988 – In response to this fight for rights, the USSR created an organisation called Elektronorgtechnica to market the game and sell permission to create versions. But because Pajitnov had been working for the Soviet Academy of Sciences at the time, none of the profits were passed to him.
1989 – The Game Boy version of Tetris is released: the most popular version of all. More than 35 million copies are sold.
1991 – Pajitnov moves to the USA, with help from Rogers, who he had befriended when they met in Moscow during rights negotiations.
1996 –Rogers and Pajitnov form The Tetris Company to sell and protect the rights to the game. This was the first time that Pajitnov saw any royalties. Initially, a now-privatised Elektronorgtechnica was a partner, but the pair later bought out all remaining rights.
"Alexey Pajitnov is perhaps the most famous game designer in the world, yet he's always been good-natured and philosophical about being denied the profits from his game," said Rogers at the time. "After 10 years of being left out of Tetris licensing deals arranged by a government that no longer exists, modest Alexey is finally getting his due."
Pajitnov also began working for Microsoft in 1996, working on various games groups until 2005.
2009 – Apple pulls a game called Tris from the App Store after a complaint from The Tetris Company. To this day the company aggressively protects its brand with legal action.

Phish or legit - Can you tell the difference?

I recently received two emails, sent to two different addresses and both from different senders.
The first email was allegedly from Apple and was sent to my work account.
The second email was allegedly from the Bank of Montreal (BMO) and was sent to my personal account.
Both were unsolicited and were asking me to click on links contained in the body of the email.
At this point, most readers are probably getting a distinct whiff of phish.
Let me tell you why, for one email, that wasn't the case and how we need to re-think some of our advice.

It doesn't take an ichthyologist

By now, we are all aware of the damage that a phishing campaign can have on an organization.
And for a very long time, we've been telling everyone who ever goes near an email client to:
  • beware of unsolicited email;
  • never click on links;
  • and never open attachments.
Sage advice it would seem - but is it still correct?
As IT professionals we are constantly fighting a battle on at least three fronts.
The first is the cyber crooks who doggedly attack us on a daily basis.
The second is our users who may unwittingly manage to undermine the security systems we've put in place to protect them and their data.
And the third is company management who don't necessarily understand the magnitude of the threat of phishing and its impact on the business, and who therefore don't provide the budget needed to combat it.
I'll start by addressing the first two.
By some accounts, spam has been on the decline. However, we still see an enormous number of spam emails every year, and spam still accounts for the largest percentage of all email sent.
As long as we continue to use email, spammers will continue to send spam.
So let's have a closer look at the two emails in question.
I'll start with the one from the Bank of Montreal:
BMO email
At first glance the header looks OK. It was sent from secure@bmo.com which seems plausible enough, but a closer look at the source tells a different story.
bmo header
What we see here is that the reply-to email address has been set tosecure@bmo.com which is what gets displayed in the email client.
This particular receiving mail server also does a Sender Policy Framework(SPF) check.
In short, SPF validates whether the message is being sent from a host that is authorized to send mail for that domain. In this particular instance we get the following SPF message:
domain of transitioning secure@bmo.com does not designate 5.9.149.249 as permitted sender
So it would appear that our SPF check failed and that the IP - 5.9.149.249 - which happens to be a web hosting company registered in Germany, is notan approved sender.
What about the body?
Here's where most casual observers might ascertain that this message was not legitimate.
I've picked out a few pieces that contribute to our level of suspicion:
Hello,
The email is not addressed to anyone. Usually, even with bulk emails, your name or a more specific title is used here.
If you are the rightful holder of the account you must verify your BMO account!
This is the call to action. Most phishing campaigns include one. It's meant to add a sense of urgency to the message and compel you to do something.
If you receive this email and you are not the rightful holder of the account please be informed that BMO works with the International Police and any illegal acts will be punished according with the law!
The threat. Another common tool to make sure you make you think that a) this is legitimate; b) the sender has the law on their side; and c) they will use said law enforcement affiliations, should you be up to something dodgy.
They're the crook, not us.
https://www1.bmo.com/onlinebanking/cgi-bin/netbnx/NBmain?refererident=verify
Simply hovering over the link shows that your browser would actually be going to: http://dues[.]lojavirtualdoacrilico[.]com[.]br.
Odd that a server in Germany is sending emails on behalf of a Canadian bank with web servers in Brazil. Blame it on globalization, I guess.
If you choose to ignore our request, your account will remain disabled until you verify your information.
Another threat. This time they're effectively telling you that you will not have access to your bank account should you not act on the above. For anyone who relies on online banking exclusively, this should do the trick.
Finally, if we look at BMO's website, we find this statement:
BMO will never request personal or financial information through unsolicited emails. For further assistance, contact our Customer Service Centre by calling the phone numbers on the back of your credit/debit card or published on bmo.com or harrisbank.com.
The dead giveaway, of course, is that I'm not a customer of BMO.
Conclusion: Phish.
To give credit where credit is due, for an email allegedly coming from a Canadian institution, they did spell 'centre' correctly.
At any rate, that was a pretty easy one. Let's look at the one from Apple now.

It does take a critical eye

The email:
Apple email
In my email client, the sender address appears as Apple "News@InsideApple.Apple.com". This was the first red flag. Besides not expecting this email, something about the sub-domain.domain.tld format didn't feel right.
As with the previous email, let's look at the body for some clues.
Dear iTunes account owner,
A little better than the last time. At least now it's more specific to the subject at hand.
Apple is committed to providing parents and kids with a great experience on the App Store.
"We're here to help". With this and the following few sentences, they're trying to establish a rapport and trust with the reader. They want you to know they have you and your children's best interests in mind.
Our records show that you made some in-app purchases, and if any of these were unauthorized purchases by a minor, you might be eligible for a refund from Apple.
Now we're talkin'! There's a potential for a cash 'reward' if we comply with the requests.
Please follow the steps below to submit a refund request:
This is the section where they start introducing links. This email has four of them so there's no shortage of trouble to be gotten into.
All refund requests must be submitted no later than April 15, 2015.
A deadline! Again, nothing screams "act now!" like a deadline.
In true Apple style, the email's look and feel is clean and crisp. The only image being the Apple logo above the text and some legalese and supporting links at the bottom.
So was this a phish?
A closer look at the source reveals the following:
apple-header
As we can see, this particular sender has included a DomainKeys Identified Mail (DKIM) signature.
DKIM digitally signs emails for a given domain and establishes authenticity.
A quick search with your favourite search engine also reveals that the email address News@InsideApple.Apple.com is legitimate. Although you do have to wade through quite a bit of opposite opinion.
Nobody said security was easy!
The links all lead to where they promise and, more importantly, those are all Apple servers.
It appears that this particular email was sent in response to the class action lawsuit levied against Apple for in-app purchases made by minors.
Conclusion: Legit.
For good measure, I also checked with SophosLabs and they agreed that the message was legitimate.

Our weakest link?

We often hear sysadmins bemoaning the fact that users are the bane of secure computing and we would all be better without them.
Where I think we go wrong is that we've put too much pressure on the users to always get it right.
Users are not only here to stay but they are also - contrary to what some sysadmins may think - on the front line of the fight against cyber crooks.
It's easy to get fooled.
I'll admit that when I first saw the email from Apple land in my inbox - not my spam folder since it was correctly identified by Sophos Email Gateway as legitimate - I quickly scanned it and clicked on the first link.
Half a second later I realized what I had done and quickly shut down the browser tab before the page had a chance to load fully. And I'm a so-called 'security expert'.
That's when I took the time to look at the email in greater depth and came up with the idea for this post.
Users don't have to be the weakest link. With the right education, empowerment and motivation, they can be the proverbial canary in a coal mine.
They can become a most valuable asset.

What now?

We know that cyber crooks will continue to bombard us with endless threats, including spam. Luckily there are technologies available to help minimize that problem.
We also have users that are hyper-aware of the dangers lurking in their inbox, but outbreaks and breaches still happen.
Let's look at the usual advice - is it still relevant?
"Beware of unsolicited emails"
Always worth keeping in mind but, as we've seen, not every unsolicited email is dodgy.
Email is convenient, cheap and ubiquitous. There's no reason we shouldn't be using it in the method demonstrated by Apple.
So, teach your users to beware of unsolicited mail but also teach them to recognize the overt signs of a scam email - i.e. poor spelling and grammar, suspicious senders, uncommon requests, terrible formatting, bogus links, among others.
Apple and other sites also send me an email each time someone tries to reset my password. You want to know if this happens and if I were to receive a raft of them all at once from different services, I might conclude that something wasn't quite right with my online accounts.
Unsolicited emails such as these are not unwelcome.
We should still be careful but let judgement based on knowledge guide us.
"Never click on links"
Still a great piece of advice. But what about the Apple email seen above?
There's also the valid use of email to remotely deploy things like mobile device management profiles or endpoint protection agents.
Typically when I receive an email asking me to click on a link, I open a browser tab and go to the site myself.
Another great tip from Naked Security's Chester Wisniewski is to bookmark those sites that are particularly vulnerable to phishing attacks (e.g. banking sites).
Hover over the link, if it matches the text on the screen, go to your browser and access the site independently of the email.
If the link is too long because it contains some base-64 encoded string as a unique identifier, a little bit of careful research will let you know if it's safe or not.
Even so, most of the time you can simply log into the site in question and resolve the issue that prompted the email.
"Never open attachments"
This is also good advice but is sometimes tough to follow.
Obviously this is again where judgement comes in. If you're at work and it was sent internally by someone you know, it's most likely safe. But it's still a good idea to scan email internally.
If you're at home, things get a little murkier. People you know will send you all kinds of attachments and it can be difficult to discern the genuine from the malicious.
For example, I have a few relatives who can't help but send e-cards for any and all occasions. This is where a bit of human heuristics comes in handy.
There's also the proliferation of electronic statements, many of which include the statement as an attachment, if not a link. While going green is a great and noble idea, it contrasts with our advice.
So what are we to do?
In the corporate world this problem can largely be solved by making sure your email security gateway does not allow malicious or suspicious attachments into the organization.
Much like the Sophos Email Gateway, it should strip executables by default.
You can also rely on your web gateway to back you up should you make a poor decision.
Home users can also take advantage of such technologies. Most popular webmail services go to great lengths to ensure that spam (including dodgy link detection) and malicious attachments are not delivered to your inbox.
If you want to take matters into your own hands, you could also run your own gateway protection such as the free Sophos UTM Home Edition.
A competent AV solution with proactive defence and a host-based firewall will round out your protection.
In the security community we often decry the use of email for anything but direct, text-based communication. The fact is that the world is a much richer place and so is email communication today.
We should still be able to enjoy all of the features that modern electronic mail can bring us without an ever-present and crippling fear of TEOTWAWKI.
If you didn't order the airline ticket, aren't expecting a shipment, didn't sign up for e-statements or aren't a member of that social media site, it's probably a scam.
Finally, IT people, make certain your users know that it's OK to come to you when they suspect something's wrong or when they know they messed up.
Better you find out about a problem now rather than after your customer database ends up on Pastebin.
Armed with some technology options and a user education program, go get that budget from your CIO!

Thursday, 5 June 2014

Google has plans to make its email more secure

Google has plans to make its email more secure, using add-on encryption software that will work like any other extension for Google Chrome.
On its security blog Tuesday, Google announced it’s preparing a Chrome extension called End-to-End to make heavy-duty encryption easier for anyone to use.
Google already offers HTTPS, but its own email stats show only about half of Gmail messages are secured this way.
HTTPS does protect Gmail messages while they’re in transit — the TP in HTTPS stands for "transfer protocol." The OpenPGP standard Google is using in End-to-End will help secure Gmail messages while they’re at rest on the sender or receiver’s machine.
They’ll have to be encrypted and decrypted with public and private keys — so not quite as easy as refreshing your inbox — but as Google says, it will probably appeal to “those who need added protection.”
Google has released the source code for community review before it goes live.

Europeans to get told about data breaches - sometimes


Facebook may or may not have pulled the equivalent of mumbling under its breath when it disclosed its recent data breach - after all, slipping out notice on a Friday ensures most people have gone from their desks for the weekend and may not read about it for at least a couple of days.
European flagBut new rules published on Monday by the European Commission would ensure that data breaches like that get disclosed within 24 hours of the breach - a move that could bar slip-it-under-the-radar disclosure timing.
At least, the new rules would do that if, in fact, they pertain to companies that aren't telecoms or ISPs but who still hold vast stores of customer data.
The new, Europe-wide rules require that ISPs and telecoms report a data breach to national regulators within 24 hours of the breach, and that they cough up specific detail about what type of data has been compromised, if at all possible, within that same time frame.
When TechCrunch asked about companies such as Facebook, Google et al., the EC said that such data-chugging behemoths are not covered by the new ePrivacy Directive but are in fact covered by the Data Protection Directive, which covers all data controllers.
Still, such companies might yet get rolled into the same requirements. Here's what an EC spokesperson told TechCrunch's Ingrid Lunden:
“The Commission also proposes to update that wider data protection directive. But we don’t know what the outcome of those reform negotiations yet. If the Commission proposal stayed in its original form, then yes Facebook, Google, etc. would then have the same obligations as outlined today to telecoms companies.”
One sector that's most assuredly and most unsurprisingly exempt from the new rules: government.
From the EC spokesperson:
“The ePrivacy Directive itself has a general exemption for justified national security reasons, and government requests for access to personal information must be court-approved.”
Outside of being a government, companies can also get out of the new disclosure rules by investing in security.
Specifically, the EC is encouraging companies to adopt approved encryption, which would remove the customer-notification requirement for those who've implemented protection.
Data. Image courtesy of Shutterstock.Companies do still have to notify the national authority of the breach, however.
The EC isn't, technically, requiring that ISPs and others report all the breach details to their subscribers. What it's giving is merely criteria to help assess when they should do so.
Companies should take into account the type of data compromised when they determine whether to notify subscribers, the EC said.
That pertains particularly for telecoms, with their stores of financial information, location data, internet log files, web browsing histories, e-mail data, and itemised call lists.
Here's the list of what companies are now expected to do, from the EC's notice:
  • Inform the competent national authority of the incident within 24 hours after detection of the breach, in order to maximise its confinement. If full disclosure is not possible within that period, they should provide an initial set of information within 24 hours, with the rest to follow within three days.
  • Outline which pieces of information are affected and what measures have been or will be applied by the company.
  • In assessing whether to notify subscribers (i.e. by applying the test of whether the breach is likely to adversely affect personal data or privacy), companies should pay attention to the type of data compromised, particularly, in the context of the telecoms sector, financial information, location data, internet log files, web browsing histories, e-mail data, and itemised call lists.
  • Make use of a standardised format (for example an online form that is the same in all EU Member States) for notifying the competent national authority.
The EC is giving companies plenty of leeway, apparently, in whether or not they disclose breaches to customers.
It's also letting companies off the hook for notifying subscribers if they invest in appropriate encryption.
That's alarming.
Google itself posted an article in December 2011 by Catherine Tucker, Douglas Drane Career Development Professor in IT and Management and Associate Professor of Marketing at MIT Sloan School of Management, titled, plainly enough, "Protecting personal data through encryption is not enough."
Tucker writes that, at least in hospital settings, encryption implementation actually increases data-handling sloppiness:
Surprisingly, we find empirical evidence that when hospitals adopt encryption software, it does not reduce instances of publicized data loss. Instead, adopting encryption software makes publicized data losses more likely, particularly instances of data loss due to negligence or internal fraud. The result is a moral hazard: firms using encryption software are more careless about controlling internal access to encrypted data and their employees are more careless about computer equipment containing encrypted data. Losing a computer with encrypted data might matter a lot, especially since employees often keep the key with the encrypted data or lose the password, compromising the encryption.
Perhaps the EC should rethink all the outs it's giving companies when it comes to notifying subscribers of data breaches.
As Tucker makes clear, just because you're using data encryption doesn't mean you can't fumble.

Users deserve to know about that fumbling.

12,000 Europeans ask Google to forget them


EU eraser image courtesy of ShutterstockOn the first day that Google unenthusiastically provided a form to allow Europeans to ask that their pasts be e-forgotten, 12,000 made the request, according to Agence-France Presse.
The requests were submitted on Friday, after Google set up a form to allow Europeans to request that results about them be removed from internet searches.
Google was forced into providing the form after the European Union's Court of Justice earlier in May ruled (PDF) that under existing EU data protection laws, search engine operators must be held responsible for processing personal data that appear on web pages published by third parties, so if the subject of a search doesn't want said data to pop up, he or she has the right to ask that they be taken down.
Is that all the e-forget-me requesters have to do? Are their electronic selves now going to go up in a puff of e-smoke?
Heck, no.
Google's not telling us how long it might take for a request to be approved or processed.
It says it will assess each request on its merits, looking for a balance between an individual's right to privacy with the public's interest in accessing data about them.
People whose pasts include nefarious escapades in particular might find it tougher to get returns taken down, given what Google says is a need to continue displaying information related to:
financial scams, professional malpractice, criminal convictions or public conduct of government officials
Google is also requiring petitioners to send along proof of identity in its efforts to keep imposters or others from inserting a monkey wrench into the workings of business competitors or legal actions.
The web form, which Google has said is just a placeholder until it gets the proper procedures up and running, asks for links to the outdated information that a requester wants to see go away, plus an explanation of why the data should be removed.
Will the numbers of petitioners rise? Or is it just a pent-up demand of people wanting to blip their e-existence?

NSA facial recognition program scours web for images to identify suspects

The US National Security Agency (NSA) has been collecting millions of images from the web and storing them in a database that can be mined by facial recognition software to identify suspects for targeted surveillance.
A report in The New York Times exposing the secret program quoted documents leaked by Edward Snowden, the former contractor now exiled in Russia and facing charges back home in the United States.
According to the Times, the NSA's image-gathering program is now more sophisticated and far-reaching since the program began in 2010, and the NSA's software can identify faces even when the targets were wearing different hair styles and facial hair.
By comparing images with satellite photos, the program can even pinpoint locations. According to the Times:
One document shows what appear to be vacation photographs of several men standing near a small waterfront dock in 2011. It matches their surroundings to a spy satellite image of the same dock taken about the same time, located at what the document describes as a militant training facility in Pakistan.
The Times report also describes the NSA's plans to "implement precision targeting," based on the program's collection of advanced biographical and biometric data.
NSA logo 270An NSA spokesperson acknowledged the program, but would not comment on whether the program gathers data from Americans using social media sites including Facebook.
The program can sort images from intercepted communications such as emails, video conferences, and text messages, and compare them against vast troves of images from sources including passports, visas and national identity databases of other governments, the Times reports.
Despite the the facial recognition software's advanced capabilities, it can and does return false positives.
According to the Times, an NSA search of the database in 2011 for images of Osama bin Laden returned some photos of bin Laden, but also images of four other bearded men with "only slight resemblances" to bin Laden.
Still, the technology can identify suspects under challenging conditions:
One 2011 PowerPoint showed how the software matched a bald young man, shown posing with another man in front of a water park, with another photo where he has a full head of hair, wears different clothes and is at a different location.
Civil liberties groups said the use of facial recognition data, while not protected under US privacy law, is an invasion of Fourth Amendment rights.
Since June 2013, when Snowden first identified himself as the source of the secret NSA documents, a series of revelations has uncovered various NSA programs that include using backdoors installed on internet routers and hacking computers with malware to spy on targets abroad.
Snowden's decision to seek protection from prosecution by fleeing to Russia has led to split opinion among Americans as to whether he was acting in good faith or harming US national security.
President Obama has generally defended NSA surveillance, including the NSA's exploitation of unknown software vulnerabilities such as the Heartbleed bug in OpenSSL.

Google says half of email is sent unencrypted

Google says that in spite of its encryption efforts, 40 - 50% of emails sent between Gmail and other email providers still aren’t encrypted.
When emails are sent unencrypted they can be read by any bad actors or governments with access to the networks they travel through.
Gmail uses Transport Layer Security (TLS) to create an encryption 'tunnel' between its own mail servers and everyone else's. When emails are in the tunnel they can't be spied upon.
But hey, a tunnel has two ends. Or, as Brandon Long, Tech Lead of Google's Gmail Delivery Team, puts it:
The important thing is that both sides of an email exchange need to support encryption for it to work; Gmail can't do it alone.
To help people understand whether their email is actually protected with encryption, Google on Tuesday launched a new section in its Transparency Report that shows which email providers are doing what with encryption.
Many providers have switched on encryption, while others have pledged to do so, Long said. As they do, we'll see an increasing amount of email that's shielded from interception.
Google said that fewer than half of the messages it swapped with Microsoft's Hotmail servers were encrypted.
In December, as part of its pledged anti-NSA-level encryption, Microsoft said it's working with email providers to make sure messages remain encrypted.
But encryption between mail servers is only part of the story when it comes to keeping emails secure from prying eyes.
There are two kinds of encryption used with email; the encryption 'tunnels' that protect emails on the move and end-to-end encryption which protects emails both in transit and at rest, and which can only be decrypted by the intended recipient.
On Tuesday, Google acknowledged that end-to-end encryption is great in theory but tricky to implement.
Encrypting traffic between mail servers is much more widely used because it puts the tricky, technical implementation into the hands of system administrators.
So, alongside its efforts to increase encryption between mail servers, Google is also trying to grease the wheels of end-to-end encryption with a prototype Chrome extension called, appropriately enough, End-to-End.
Right now the extension is only available as code so that the computer security community can help to test it. Google says once it's ready for general use it'll appear in the Google Chrome store.
EFFThe Electronic Frontier Foundation (EFF) is taking credit for lighting the fires that have sparked much of the encryption advances in recent months.
As Technology Projects Director Peter Eckersley said in a post on Tuesday, the group has been working for the past few years to promote the universal use of encryption for internet protocols.
In November, the EFF also launched its Encrypt the Web Scorecard, which, in addition to web encryption, added a second focus on securing transmissions between mailservers.
That was an important element in protecting against non-targeted dragnet surveillance, Eckersley wrote, but there's still work to be done:
More mail operators need to implement STARTTLS, and some of those that already support STARTTLS need to upgrade their servers to support modern ciphers and forward secrecy.
But however slowly, however painfully, it sounds like we just might be getting somewhere.
That's good news for those of us who are wary of snooping - whether it's by the government, crooks or garden-variety creeps.
And, if you want to know what else you could be doing to improve your privacy by using and demanding more encryption then you're in good company.
Today the internet is engaging in world-wide campaign aimed at doing exactly that; it's called Reset The Net.