Types of attacks on mobile devices