Malicious code
malicious codeMalicious code is software written to harm or cause issues with a computer. is softwareThe programs, applications and data in a computer system. Any parts of a computer system that aren't physical. written to harm or cause issues with a computer. This is also referred to as malwareSoftware that is designed to cause harm or damage to a computer. This includes viruses that might damage files, adware that causes pop-ups, and spyware that collects and shares login details. and comes in a number of different forms. In all its forms, the code has been written to either harm or steal dataUnits of information. In computing there can be different data types, including integers, characters and Boolean. Data is often acted on by instructions. from your computer system.
There are a number of types of malware, which include:
- virusAny computer program designed to replicate and damage other computer systems and software.
- trojanMalware that appears legitimate, but performs some malicious activity when it is run.
- ransomwareMalware which encrypts a user's files, then demands a ransom payment to decrypt them.
- spywareA program secretly installed on a computer to automatically collect information about the user over a period of time
- adwareSoftware that causes pop-ups or windows that will not close.
Viruses
A virus is a piece of malware that infects a computer, and then replicates itself to be passed onto another computer.
anti-virusAnti-virus software scans all forms of storage devices for viruses (programs harmful to computers) and, if found, attempts to remove them. software holds a large databaseA data store designed in an organised way, making it easier to search for the information you need. of known viruses. If a program that is installing, or file that is being opened, appears to be similar to one of these, the anti-virus software will warn the user and, depending on the type of anti-virus, place all related files into a secure folder until it is confirmed that it is safe.
Trojans
A Trojan appears to be a piece of harmless software, often given away for free, that contains malicious code hidden inside. This only appears once the gifted software is installed. It was named after the Greek myth of the Trojan horse.
Ransomware
Ransomware hijacks the data on a computer system by encrypting it and demanding that the owners pay money for it to be decrypted.
Having up-to-date anti-virus software and educating users to not open suspicious attachments will help protect from ransomware.
Spyware
Spyware is a type of malware that collects the activity on a computer system and sends the data it collects to another person without the owner being aware.
If a computer has been infected by spyware, it could be sending back everything that is typed, or the sites that are visited, or even where the user is clicking on their screen. Spyware that records what is being typed is known as a keyloggerA software program or hardware device that records all keystrokes on a computer keyboard.. Keyloggers attempt to find out usernames and passwords by collecting everything that is entered into the system, which allows the hacker to search for personal data.
Most anti-virus software will also look for spyware in the same way as viruses. Specialist anti-spyware software is also available.
Adware
Adware is software that either causes pop-ups or windows that will not close. Generally, the pop-ups or windows display advertisements. Many anti-virus programs will detect and prevent adware infecting a computer system, but specialist anti-adware programs also exist.
More guides on this topic
- Computer systems - AQA
- Classification of programming languages and translators - AQA
- Systems architecture - AQA
- Fundamentals of computer networks - AQA
- Network topologies, protocols and layers - AQA
- Relational databases and structured query language (SQL) - AQA
- Ethical, legal and environmental impacts of digital technology - AQA