A quarter of teens have attempted to hack into other people's online accounts, says Tufin Technologies.

Research by the security firm revealed that of those that had tried to hack into other people's accounts, 78 percent admitted they knew it was wrong but it didn't stop them.

'Cracking', or working out passwords, was cited as the most common way to hack into online accounts.

More than two in five (46 percent) said they accessed other people's accounts for 'fun', while 20 percent did it to make money. Furthermore, five percent claimed they were considering it as a career.

According to Tufin Technologies, a quarter of teens attempted to snoop at Facebook accounts, while 18 percent tried to access a friend's email and five percent admitted to trying to hack into their school's website.

Just over a quarter (27 percent) said they used their own PC when hacking, while 22 percent used computers at an internet café and 21 percent relied on the machines at school.

"One of the most worrying statistics from this survey is the staggering numbers of kids that are successful and the ages involved," said Reuven Harrison, CTO and co-founder of Tufin Technologies.

"Hacking has changed a lot in the past few years from the curiosity or fun factor to now making serious money or causing havoc in the corporate environment."

See also: 40% of teens have hacked into online accounts