EDISON - Mobile devices have replaced computers as the main way most people go on the Internet, and experts say that hackers are stepping up their attacks on smartphones and tablets as a result.

“They’re becoming more and more of a target as they gain market share,” says cybersecurity expert Scott Schober.

Schober says that one of the biggest ways hackers get into cellphones is through text, Facebook or other messenger services.

“You may receive a text message that, if you respond to it, could actually be malware that will download on your phone,” Schober says.

Schober and other experts say that users need to be careful of messages that look like they could be from a friend or relative. One of the most recent malware attacks comes from the messenger service WhatsApp.

Schober also says that sometimes just visiting the wrong website can be enough to infect a mobile device.

“It's usually sites that you shouldn't be visiting anyway, pornographic material; or other inappropriate material. A lot of those are plagued with malware and viruses,” he says.

Experts also say that Android devices were once more at risk than Apple products. Since the iPhone is gaining more market shares, more hackers have begun developing viruses that specifically target iPhones.