a Wayanad e user Group Column
Logic of Computer Virus
MODULE virus; {Inserts itself in another program}
var stage:=dormant
Procedure s_dormant;
begin
evaluate dormant_waiting condition ;
if done_waiting then stage:=propagate
end; {s_dormant}
Procedure s_propagate;
begin
find unifected program;
copy this to program with stage set to dormant;
if propagate_done then stage:=trigger
end; {s_propagate}
Procedure s_trigger
begin
evaluvate trigger condition;
if trigger=on thendtage:= damage
end; {s_trigger}
Procedure s_damage
do damage
end; {s_damage}
begin: {control initially transfer here}
if stage=format thens_dormant
else if stage=propagate then s_propagate
else if stage=trigger then s_trigger
else s_damage
got beginning of host program
Against Virus:
Computer virus is a self-replicate program to destroy your computer. Using of good antivirus is the only solution against virus. It is very difficult to identify the virus, but by using a good antiviruses like Kasper sky, Norton etc, will automatically identify the virus and make your system free of the menace. Happy browsing.
Sarathlal
No comments:
Post a Comment