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
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;
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.
Use the code tags next time, otherwise great tutorial.
Its probably been said before, but the smart viruses will change their MD5 hashes each time they copy themselves.
yep but all the thing is good just 1 thing to change is the way it detects viruses maybe a viruses signatures database?
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
I have no problems with you posting it here,


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
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
Hey, U JUST copied off of youtube. THIS tut is on YOUTUBE.
Don't Copy off other's tutorials
Don't Copy off other's tutorials
http://www.sctechusa.com SilverCloud Website
Jg99, You're right but he may put it on here IF he put credits for the right author
iAgree, iNever copy the exact tut from another site (unless i have permission)
http://www.sctechusa.com SilverCloud Website
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
Copyright Information
Copyright © Codenstuff.com 2020 - 2023