The nature of a ransomware attack will depend upon the motives of the attacker.
Generally, the cybercriminal creates a code specifically designed to take control of a computer and hijack files. The files are encrypted so the victim loses access to them. Once executed in the system, the ransomware can either (1) lock the computer screen or (2) encrypt predetermined files.
Here are a few simple tips on how you can secure yourself from likely attacks:
• Backup your files regularly
• Bookmark your favorite websites and access only via bookmarks
• Download email attachments from trusted sources
• Use security software