Can a iphone 4s get malware?

My friend wanted me to jailbreak my phone but i thought about it because i jailbreacked my old phones but i was told its not secure and my friend got a message that he got maleware and he needs to pay a fine? He never paid it and he doesn't think if its a fraud or it was real. But could your phone get maleware with jailbreak/or without. And could it get virus by going on fraud websites and websites you shouldn't see and websites that take credit cards.

If you jailbreak it you become responsible for everything that is installed on the phone. If you do not know where a file is coming from or what it contains you are likely to end up with malware, spyware and all manner of undesirable wares.

  • Malware infecting my iPhone? About a week ago, I came across a ransoware where I couldn't escape the webpage until it redirected me to my app. I didn't download anything from the store but I fear that my iPhone may have malware. My phone seems to be working ok until it started overheating without using much data or energy. Can anyone help me?
  • Is there an anti virus or malware scan I can get on my iPhone 4? Is there an anti virus or malware scan for the iPhone 4 that I can get from the apple store? If so what's the name? Also is there something I can get to stop ads poppin up on games?
  • I suspect spyware or malware on my iPhone? If I did a factory reset and erase all content and settings would that get rid of any potential spyware or malware on my iPhone. I've been trying to find an answer on the internet but the only abnoxious answer I get is, "IPhone can't get viruses." With out any reason as to why iPhones can't get viruses. I also read somewhere that IPhones can indeed get viruses so if I did get one of some sort how could I get rid of it?
  • How can you get rid of adware and malware on your iPhone? (1) Reset all settings (2) Erase all content and settings Which is the best option to GET RID OF ALL THE VIRUSES on your iPhone? (1) or (2)?