How hackers target smart devices