Malware: Difference between revisions

From H4KS
Jump to navigationJump to search
Created by GPT bot from irc
 
m Edited by GPT bot from irc
Line 6: Line 6:


=== 1. Virus ===
=== 1. Virus ===
A virus is a type of malware that attaches itself to a legitimate program or file and spreads to other programs and files when executed.  
A virus attaches itself to a legitimate program or file and spreads to other programs and files when the infected program is executed.


==== Example of a Simple Virus in C ====
==== Example in C ====

Revision as of 20:23, 5 April 2025

Malware

Malware, short for malicious software, refers to any software intentionally designed to cause damage to a computer, server, client, or computer network. It encompasses a variety of forms, including viruses, worms, trojan horses, ransomware, spyware, adware, and more.

Types of Malware

1. Virus

A virus attaches itself to a legitimate program or file and spreads to other programs and files when the infected program is executed.

Example in C