How to make a antivirus in VB 2010/2008

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
10 posts Page 1 of 1
Contributors
User avatar
Ethan
Just Registered
Just Registered
Posts: 1
Joined: Wed Nov 10, 2010 12:32 am

Hello! Today I am going to show you how to make a antivirus in VB!
First, DOWNLOAD THE FILES IN THE BOTTOM!!!!
IT IS FREE, NO CREDIT CHARGE!! wahooo; wahooo; wahooo;
You Know, Create a new project and resize the form
Then add a tabcontrol and dock it to the FILL style.
Then go and add 2 more tabs. It is going to be a total of 4 tabs.

Rename Tabs: Tab1: Home
Tab2: Scanner Tab3: RealTimeProtection Tab4: Dectected Items

Then add 2 buttons to TabPage 1
button1's text: Custom Scan
button2's text: Full Scan

Now: Add A FileSystemWatcher

Properties:
Path: C:\
SubDirectorys (something about subdirectorys): True
Add a timer
Now for the tab2:
Add: ProgressBar
Add: 6 labels
Aragange the labels like this:

Label Label
Label Label
Label Label

Top, Left Label's Text: Files Scanned
Middle, Left Label's Text: Total Files
Bottom, Left Label's Text: Dectected Items
Set all of the ones on the right to 0.
Top, Right Label's NAME: Files
Middle, Right Label's NAME: Total
Bottom, Right Label's NAME:Detected

Add a listbox Set it visible = false

Real Time Protection: Add 2 buttons, 2 labels, and a listbox
button1's text: enable
Button2's text: disable
label1's text: Last File Scanned
Add a another label and NAME
it labellastreal
Label2's Text: Real Time Enabled
Label2's NAME: realtime
listbox: fill the remanding space

Detected Items: Add a listbox and 2 buttons/linklabels

listbox: stretch it
linklabels/buttons: below
the first one: remove selected (the text)
the second one: remove all
coding time! Srry I have no time but you can code it using the code file in the downloaded ZIP file

Add another form

Text: Whatever you want (hint: it is a real time protection dialog)

Add a textbox and a label

textbox: multiline, readonly = true
labels text: something to tell the user that a virus has been dectected and has been removed

Add a button
Text: Close

Code it using the notepad document!

IMPORTANT: ADD THE FILE "List Of MD5 Sigs" into the resources file!!!!!!!!!!!

Thank you! This is my first tutorial posted!!!! wahooo; wahooo;
You do not have the required permissions to view the files attached to this post.
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

Use the code tags next time, otherwise great tutorial.
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Its probably been said before, but the smart viruses will change their MD5 hashes each time they copy themselves.
User avatar
kolega28
VIP - Donator
VIP - Donator
Posts: 338
Joined: Mon Jan 17, 2011 7:12 pm

yep but all the thing is good just 1 thing to change is the way it detects viruses maybe a viruses signatures database?
Image
User avatar
wargeneral
Just Registered
Just Registered
Posts: 3
Joined: Wed Sep 15, 2010 6:23 am

cool but um, THIS IS MY TUTORIAL, on youtube, but otherwise yea cool


I have no problems with you posting it here, :) as long as it is free :)

scroll down to the bottom made by James G :)
loud sound movies

thats me :)

the antivirus video is on youtube

http://www.youtube.com/watch?v=HxjGR6GQhRc part 1

any way guys, enjoy MY tutorial

and thanks for helping me get it out there Ethan :)
glad its getting arround
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

kolega28 wrote:
yep but all the thing is good just 1 thing to change is the way it detects viruses maybe a viruses signatures database?
You can't detect a virus signature by just scanning it without disassembling/hashes
http://vagex.com/?ref=25000
User avatar
Jg99
VIP - Site Partner
VIP - Site Partner
Posts: 453
Joined: Sun Mar 20, 2011 5:04 am

Hey, U JUST copied off of youtube. THIS tut is on YOUTUBE.
Don't Copy off other's tutorials
http://www.sctechusa.com SilverCloud Website
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Jg99, You're right but he may put it on here IF he put credits for the right author
Top-notch casual Dating
User avatar
Jg99
VIP - Site Partner
VIP - Site Partner
Posts: 453
Joined: Sun Mar 20, 2011 5:04 am

iAgree, iNever copy the exact tut from another site (unless i have permission)
http://www.sctechusa.com SilverCloud Website
User avatar
wargeneral
Just Registered
Just Registered
Posts: 3
Joined: Wed Sep 15, 2010 6:23 am

I give him permission to use my tutorial, but i would like to see my name there, i put work into this for people to use and enjoy but i think i deserve the credit :/
10 posts Page 1 of 1
Return to “Tutorials”