Kids 'using coding skills to hack' friends on games, expert says

Children as young as 11 years old are writing malicious computer code to hack accounts on gaming sites and social networks, experts have said.

A report from antivirus company AVG detailed evidence of programs written to "steal" virtual currency.

In one case, researchers were able to reverse-engineer "amateur" code to reveal data about the identity of one child in Canada.

The company said children must be educated on coding "rights and wrongs".

"As more schools are educating people for programming in this early stage, before they are adults and understand the impact of what they're doing, this will continue to grow." said Yuval Ben-Itzhak, chief technology officer at AVG.

The researchers found that many instances of malware targeting games popular with children shared the same characteristics.

Most were written using basic coding languages such as Visual Basic and C#, and were written in a way that contain quite literal schoolboy errors that professional hackers were unlikely to make - many exposing the original source of the code.

Stealing data

The team examined closely one particular instance of code that masqueraded as a cheat program for gamers playing Runescape, an online title that has over 200 million signed-up players.

This piece of software was used to steal data from gamers

The program, Runescape Gold Hack, promised to give the gamer free virtual currency to use in the game - but it in fact was being used to steal log-in details from unsuspecting users.

"When the researchers looked at the source code we found interesting information," explained Mr Ben-Itzhak to the BBC.

"We found that the malware was trying to steal the data from people and send it to a specific email address.

"The malware author included in that code the exact email address and password and additional information - more experienced hackers would never put these type of details in malware."

That email address belonged, Mr Ben-Itzhak said, to an 11-year-old boy in Canada.

Enough information was discoverable, thanks to the malware's source code, that researchers were even able to find out which town the boy lived in - and that his parents had recently treated him to a new iPhone.

Many schools around the world are changing education programmes in schools to teach children to code, rather than simply to use, computers.

In the UK, several after-school clubs have been set up - and initiatives to get kids into programming have been backed by the likes of Google and Microsoft.

Coding benefits

Mr Ben-Itzhak said that, as the ability level of children increased, more needed to be done to educate them on how best to use their new skills.

"We cannot tell how many kids around the world are [writing malicious programs], but we believe there are more cases like this.

"You teach your children that you can't take a toy without paying - so I think this type of a message needs to get to the kids when they're writing software too."

Linda Sandvik is the co-founder of Code Club, an initiative that teaches children aged nine and up how to code.

She told the BBC that the benefits from teaching children to code far outweighed any of the risks that were outlined in the AVG report.

"We teach English, maths and science to all students because they are fundamental to understanding society," she said.

"The same is true of digital technology. When we gain literacy, we not only learn to read, but also to write. It is not enough to just use computer programs."