Results 1 to 16 of 16

Thread: [RESOLVED] [2005] Virus Scanner?

  1. #1

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Resolved [RESOLVED] [2005] Virus Scanner?

    Hi. I was wondering how to create some kind of antivirus program using Visual basic.net 2005? I know this is going to be a lot of work so if anybody has a link or information about 3rd party controls that can be used to help me in this project, could you please provide them? And I would also appreciate it if anybody could help in this project. Isn't a virus scanner pretty much a program that scans your whole computer for files with a certan extension? So how could I search for files with a certain extension on my computer? Thank you.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Virus Scanner?

    It's got nothing to do with extensions other than that the extension might indicate whether a file should be excluded from a scan or not. It has everything to do with testing the binary data of files to find familiar patterns that indicate the presence of something untoward. A .NET virus scanner would be very slow in comparison to native code I would think.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [2005] Virus Scanner?

    jmcilhinney is correct. Current virus scanners work by looking at all of the files on your system and testing for certain patterns in the binary data that would indicate a virus or worm.

    No matter what the file extension, the file could still contain a virus. I could take a virus that's currently named as "myvirus.exe" and rename it to "Fluffy Kittens.txt". It won't execute now since its extension isn't one that can be executed but it still contains a virus.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  4. #4
    Hyperactive Member nothingofvalue's Avatar
    Join Date
    Jul 2005
    Location
    Arizona
    Posts
    489

    Re: [2005] Virus Scanner?

    Quote Originally Posted by sheikh78
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.

    Hey now
    "Imagination is more important than knowledge..."

    Albert Einstein
    -----------------------------------------------
    If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway

  5. #5

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: [2005] Virus Scanner?

    What? Oh I didn't know you even had that quote. I wasn't stealing it if thats what you are thinking. Great minds think alike?
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  6. #6

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: [RESOLVED] [2005] Virus Scanner?

    Well might as well wait until I'm old enough to create something like an antivirus program.
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

  7. #7
    Hyperactive Member nothingofvalue's Avatar
    Join Date
    Jul 2005
    Location
    Arizona
    Posts
    489

    Re: [RESOLVED] [2005] Virus Scanner?

    No worries...it's not my quote to steal anyway. Just making a joke.
    "Imagination is more important than knowledge..."

    Albert Einstein
    -----------------------------------------------
    If my reply helped you then you really were lost, but I still took the time to help, please rate it anyway

  8. #8
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by sheikh78
    Well might as well wait until I'm old enough to create something like an antivirus program.
    Why bother? With Vista finally incorporating appropriate security that OS X and *nix have been benefiting from, I don't see Anti-Virus and Spyware software selling very well in the near future.

    There isn't even a need for it today as long as you're careful and don't allow others on your system.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  9. #9
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by kasracer
    Why bother? With Vista finally incorporating appropriate security that OS X and *nix have been benefiting from, I don't see Anti-Virus and Spyware software selling very well in the near future.

    There isn't even a need for it today as long as you're careful and don't allow others on your system.

    Until they make banners that Flash and say you've won illegal there will always be a need for anti-virus and spyware programs. There are plenty of computer users out there, who if there is a virus they will manage to download it and send it to everyone they know.
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  10. #10
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by mpdeglau
    Until they make banners that Flash and say you've won illegal there will always be a need for anti-virus and spyware programs. There are plenty of computer users out there, who if there is a virus they will manage to download it and send it to everyone they know.
    I disagree if you're dumb enough to get a virus get off the PC

  11. #11
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] [2005] Virus Scanner?

    To think that increased security in Windows will eradicate viruses is naive. With Windows so widespread and Microsoft such a target of so much angst there were alway soging to be plenty of people who wanted to create viruses and other malware. If security is beefed up in Windows then the script kiddies may have to bow out but those with nouse will still find a way. If Windows is harder to crack there will be those who will try harder and those who will move to other targets, so you may find that increased security in Windows will result in a larger number of viruses, et al., on other platforms. Having said that, Windows is likely to always be less secure than other platforms because of the fact that it attempts to be all things to all people. If Apple had sacrificed some of their control for more widespread appeal, e.g. hardware support, then you can bet that there would have been more security holes found in Mac OS and more viruses and malware written for it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  12. #12
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by OMITT3D
    I disagree if you're dumb enough to get a virus get off the PC
    Pure genius. I've had viral infections before. I removed them with the help of Norton Antivirus. Perhaps I should have just got my dumb ass off the PC instead. I use the Internet regularly and I do like to download things sometimes. If I don't have a virus scanner to warn me if such a file is infected then I am dumb.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  13. #13
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by jmcilhinney
    Pure genius. I've had viral infections before. I removed them with the help of Norton Antivirus. Perhaps I should have just got my dumb ass off the PC instead. I use the Internet regularly and I do like to download things sometimes. If I don't have a virus scanner to warn me if such a file is infected then I am dumb.

    Couldn't have said it better myself.

  14. #14
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: [RESOLVED] [2005] Virus Scanner?

    Quote Originally Posted by jmcilhinney
    To think that increased security in Windows will eradicate viruses is naive.
    I never said it would eradicate viruses but with a security model similar to that of OS X and *nix operating systems, it will force the user to authenticate when they are installing software. Surfing on a website and then all of a sudden having a prompt ask you for authorization to run a piece of software FROM that site... well that should tip off most users into knowthing something is up and denying it.
    Quote Originally Posted by jmcilhinney
    Having said that, Windows is likely to always be less secure than other platforms because of the fact that it attempts to be all things to all people. If Apple had sacrificed some of their control for more widespread appeal, e.g. hardware support, then you can bet that there would have been more security holes found in Mac OS and more viruses and malware written for it.
    This doesn't make sense. Because Apple is only available on Macintosh hardware has absoultely nothing to do with its security. The only thing Apple is doing right now to control their OS is require a chip on the macintosh hardware. That's it and believe me, a chip isn't going to create more security holes. Other than that, it's just as open as Windows in terms of development.

    Apple currently runs on the same hardware as PCs do. x86 with standard nVidia or ATi graphics cards.

    Apple's only "control" is the TMP chip present on Apple hardware. That's all.

    Quote Originally Posted by jmcilhinney
    Pure genius. I've had viral infections before. I removed them with the help of Norton Antivirus. Perhaps I should have just got my dumb ass off the PC instead. I use the Internet regularly and I do like to download things sometimes. If I don't have a virus scanner to warn me if such a file is infected then I am dumb.
    I assume this was sarcastic. Unfortunately, I would have to agree with what you said as if it wasn't sarcastic. Anything someone downloads, they should know what they're downloading first and foremost. If you don't know what you're downloading or if you're download something from a shady website then of course something bad can and probably will happen.

    Since the age of 8 (when I started using computers) till today (13 years later) I have only gotten infected with a virus once and that was because I downloaded about 200 viruses and worms onto a zip disk and unleashed it on an old windows 98 machine just to see what would happen. It's very easy to avoid infections: avoid websites that are shady, don't download something if you don't know what it is, and don't download illegal software. Those 3 steps have worked quite well for me.

    I know most usually say to me how do I know if I've never been infected if I don't have anti-virus software installed onto my machine? Well, I used to have McAfee on one PC and Norton on another because they came with them. I currently have AVG on my computer but I never need to use it.

    Anyway, this is completely off-topic and I vote this thread be closed.
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  15. #15
    Hyperactive Member OMITT3D's Avatar
    Join Date
    Mar 2006
    Posts
    368

    Re: [RESOLVED] [2005] Virus Scanner?

    I assume this was sarcastic. Unfortunately, I would have to agree with what you said as if it wasn't sarcastic. Anything someone downloads, they should know what they're downloading first and foremost. If you don't know what you're downloading or if you're download something from a shady website then of course something bad can and probably will happen.

    Since the age of 8 (when I started using computers) till today (13 years later) I have only gotten infected with a virus once and that was because I downloaded about 200 viruses and worms onto a zip disk and unleashed it on an old windows 98 machine just to see what would happen. It's very easy to avoid infections: avoid websites that are shady, don't download something if you don't know what it is, and don't download illegal software. Those 3 steps have worked quite well for me.

    I know most usually say to me how do I know if I've never been infected if I don't have anti-virus software installed onto my machine? Well, I used to have McAfee on one PC and Norton on another because they came with them. I currently have AVG on my computer but I never need to use it.

    Anyway, this is completely off-topic and I vote this thread be closed.


    EDIT: And you can still download "illegal" files if you use torrents and not be a moron who uses Limwire or other trash like that.

    EDIT: Just move it to chit chat not lock
    Last edited by OMITT3D; Jun 12th, 2006 at 10:58 PM.

  16. #16

    Thread Starter
    Hyperactive Member sheikh78's Avatar
    Join Date
    Apr 2006
    Location
    C:/
    Posts
    423

    Re: [RESOLVED] [2005] Virus Scanner?

    Well we shoud move it to chitchat since my post has been answered. And when did you guys first start using the computer? I used the computer to play video games (not high graphics like we have today) at the age of 3 and 4. (MS Flight Simulator was a pretty good game).
    "Imagination is more important than knowledge" - Albert Einstein, born on March 14th 1879.
    Can't find it here on VBForums? Go to the CodeProject. MSDN is your friend . I have such a bad website, my friend decided it would be funny to change the template and he moderates the site for me: visit my site!

    "Thinking of you, wherever you are
    We pray for our sorrows to end, and hope that our hearts will blend.
    Now I will step forward to realize this wish.
    And who knows, starting a new journey may not be so hard…
    Or maybe it has already begun.
    There are many worlds, but they share the same sky
    one sky, one destiny..."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width