This question already has an answer here:
- How can USB sticks be dangerous? 5 answers
Recently I've watched a movie "Blackhat" where just by inserting a USB flashdrive he could infect a host PC with some malicious program. Is it true that it's not safe to share USB flashdrives just like that? If yes, how come a "virus" can initiate itself in a host machine without being executed by a user? In other words, doesn't it need to be clicked on first?