Support Forums

Full Version: VB.Net Make a Real AntiVirus (AV) - Part 1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Create a real AV (AntiVirus)

Hello, in this tutorial you will learn how to code a real Antivirus. Yes, this is not a joke! Dont just c/p (well, you cant Big Grin) coz you will later be 'confused'. Also read all tutorial!
Lets start - Shall we?

1.Open VB 2008 & Create new project (make sure you select Windows Forms Application)

2.Modiffy your desing little

[Image: 94242424.png]


3.Add FileSystemWatcher component and put his name to ex.'C'
[Image: 95156542.png]

[Image: 16084942.png]


4.Double click on form (Form_Load) and enter this code :
[Image: 52906055.png]


5.Lets add one function :
[Image: 45425177.png]


6.Lets modiffy Form_Load code again :
[Image: 52608041.png]


7.Now add :


[Image: 32179695.png]


8.Change in ListView :
View --> Details

9.Now add theese columns :


[Image: 35168221.png]


10.Dobule click on START and enter this :
[Image: 92208410.png]


11.Dobule click on STOP and enter this :
[Image: 88552834.png]


12.Now lets add this function (to calculate MD5 of file) :
[Image: 33567006.png]


13.Select c (component) and use Event : Created


14.Add this code :
[Image: 47676515.png]

[Image: 38039955.png]


15.Now create file Scans.dat in your Debug folder (or other location where is your .exe file)

16.Add into Scans.dat file :


You can add more scans like :



Run program & test it
[Image: 60780256.png]
Thanks so much for this, I'll try it later on tonight, hope it works.
I will let everyone on here know once I've completed it <3
Looks pretty nice, thanks for the tut.
this is really really nice
Pretty nice, i always wondered how to create a real anti-virus, i'm thinking about make further coding on it just to train my coding Big Grin
nice thread.
i am ,looking forward for part 2
Cool mate will test this!
If this is actually somewhat a success, i love you. I have always wanted to make something like this, i have all night so i intend on trying this later.
imagine making one a antivirus that detects every even if fud? is that possible?
Thanks for this. Gunna try this but add more features.
(06-18-2011, 05:26 PM)Ted Bundy Wrote: [ -> ]imagine making one a antivirus that detects every even if fud? is that possible?

No because it wouldn't be FUD then...Roflmao
Pages: 1 2 3