antivirus creation

  • (2 Pages)
  • +
  • 1
  • 2

26 Replies - 10907 Views - Last Post: 10 February 2010 - 07:21 PM Rate Topic: -----

#1 blackwagon1987  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 30-January 10

antivirus creation

Post icon  Posted 30 January 2010 - 02:15 AM

how to create antivirus tool using vb.net
Is This A Good Question/Topic? 0
  • +

Replies To: antivirus creation

#2 Asscotte  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 35
  • View blog
  • Posts: 610
  • Joined: 08-February 09

Re: antivirus creation

Posted 30 January 2010 - 07:29 AM

Flaming time...

1.) Do not post like this, sensible English is needed when posting here.
2.) Read the forum rules.
3.) Use a search engine and actually try to LEARN VB.net rather than claiming for others work.
4.) We NEVER hand out source code, but we will help you if, YOU put in some EFFORT and show us what you have done so far, which I guess is nothing.

(Ps. If that's to much for you to read I made the key points upper-case.)
Was This Post Helpful? 0
  • +
  • -

#3 T.Jackson  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 97
  • Joined: 27-January 10

Re: antivirus creation

Posted 30 January 2010 - 07:42 AM

View Postblackwagon1987, on 30 Jan, 2010 - 01:15 AM, said:

how to create antivirus tool using vb.net


You simply wouldn't.

There are literally countless, FREELY available anti-virus software packages out there today.

Most of them quite good in fact.

Your user-base would be zero, you ARE no match for any team of experts who are creating these virus scanners using, more than likely, C++

Get ready to shake n' RUN for your life with next release of Norton, I hear it is gonna be a ripper.

Trent Jackson

This post has been edited by T.Jackson: 30 January 2010 - 07:43 AM

Was This Post Helpful? 0
  • +
  • -

#4 Asscotte  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 35
  • View blog
  • Posts: 610
  • Joined: 08-February 09

Re: antivirus creation

Posted 30 January 2010 - 07:57 AM

But you still could, its not impossible, - just impractical.
Was This Post Helpful? 0
  • +
  • -

#5 T.Jackson  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 97
  • Joined: 27-January 10

Re: antivirus creation

Posted 30 January 2010 - 08:06 AM

View PostAsscotte, on 30 Jan, 2010 - 06:57 AM, said:

But you still could, its not impossible.


Is it?

To be honest I've never really ever thought about it, not really my area.

I just make VB.NET & C# games for babies.

Trent Jackson
Was This Post Helpful? 0
  • +
  • -

#6 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5363
  • View blog
  • Posts: 27,325
  • Joined: 10-May 07

Re: antivirus creation

Posted 30 January 2010 - 08:12 AM

View PostAsscotte, on 30 Jan, 2010 - 08:29 AM, said:

Flaming time...

Unacceptable.



View PostT.Jackson, on 30 Jan, 2010 - 09:06 AM, said:

View PostAsscotte, on 30 Jan, 2010 - 06:57 AM, said:

But you still could, its not impossible.


Is it?

To be honest I've never really ever thought about it, not really my area.

Then you really don't have any room to be saying what can or can't be done.

To make a simple antivirus isn't terribly difficult. You hook the windows messaging API & scan for virus strings.
Was This Post Helpful? 0
  • +
  • -

#7 T.Jackson  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 97
  • Joined: 27-January 10

Re: antivirus creation

Posted 30 January 2010 - 08:17 AM

View Postno2pencil, on 30 Jan, 2010 - 07:12 AM, said:

To make a simple antivirus isn't terribly difficult. You hook the windows messaging API & scan for virus strings.


Simple to subclass (hook) in .NET is it?

Trent Jackson
Was This Post Helpful? 0
  • +
  • -

#8 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2267
  • View blog
  • Posts: 9,482
  • Joined: 29-May 08

Re: antivirus creation

Posted 30 January 2010 - 09:29 AM

View PostT.Jackson, on 30 Jan, 2010 - 03:17 PM, said:

View Postno2pencil, on 30 Jan, 2010 - 07:12 AM, said:

To make a simple antivirus isn't terribly difficult. You hook the windows messaging API & scan for virus strings.


Simple to subclass (hook) in .NET is it?

Trent Jackson


Fairly simple by overriding the WndProc
Protect Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Debug.WriteLine(m.ToString)
' Remembering to call the baseclass's WndProc
MyBase.WndProc(m)
End Sub


Was This Post Helpful? 0
  • +
  • -

#9 Damage  Icon User is offline

  • Lord of Schwing
  • member icon

Reputation: 51
  • View blog
  • Posts: 1,179
  • Joined: 05-June 08

Re: antivirus creation

Posted 31 January 2010 - 05:41 PM

i think bottom line
possible but not practical
and
definately
not a beginner question
Was This Post Helpful? 0
  • +
  • -

#10 twj_888  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 01-February 10

Re: antivirus creation

Posted 01 February 2010 - 05:46 AM

View PostAdamSpeight2008, on 30 Jan, 2010 - 08:29 AM, said:

Fairly simple by overriding the WndProc
Protect Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Debug.WriteLine(m.ToString)
' Remembering to call the baseclass's WndProc
MyBase.WndProc(m)
End Sub



Yeah and the rest mate.

Like about 20,000 lines of code.

Laughing.
Was This Post Helpful? 0
  • +
  • -

#11 twj_888  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 01-February 10

Re: antivirus creation

Posted 01 February 2010 - 05:52 AM

Actually ...

some very intelligent people are arguing that sub-classing (intercepting the operating system's messages) -- isn't possible in managed .NET code.

I personally don't know -- it is not my area of interest.
Was This Post Helpful? 0
  • +
  • -

#12 AMDKilla  Icon User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 88
  • Joined: 30-December 09

Re: antivirus creation

Posted 01 February 2010 - 06:11 AM

View Posttwj_888, on 1 Feb, 2010 - 11:52 AM, said:

Actually ...

some very intelligent people are arguing that sub-classing (intercepting the operating system's messages) -- isn't possible in managed .NET code.

I personally don't know -- it is not my area of interest.


I have seen it done with VB.NET before, the intercepting of system messages anyway. No idea what the code looks like, nor do I understand how it works.

If the OP was interested in making an antivirus program, it would probably be best to give up on it, especially if you want actual credibility for your work. There are too many already good antivirus software companies, who have whole teams dedicated to working on it.

I know Kaspersky started off small, but it doesnt mean there is room for anything else. Would just be best to focus your time and effort on something more worthwhile. That is, if the OP still looks at this thread. It seems everyone else has taken it over to argue... :P
Was This Post Helpful? 0
  • +
  • -

#13 Jack Eagles1  Icon User is offline

  • Pugnacious Penguin (inspired by no2pencil)
  • member icon

Reputation: 183
  • View blog
  • Posts: 1,152
  • Joined: 10-December 08

Re: antivirus creation

Posted 01 February 2010 - 06:34 AM

If a very devoted team of developers with a serious amount of money behind them wanted to make an effective & popular antivirus in vb, then lets face it, it would be possible for them to do it..... But unless you have that big devoted team of deveopers, it's near impossible to make a functional antivirus in vb, because you need to update from the web every two hours so the system can't be infected by new viruses, and the sheer amount of code you would need to deal with 99% of the viruses out the would be absolutely astronomical.
Was This Post Helpful? 0
  • +
  • -

#14 Asscotte  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 35
  • View blog
  • Posts: 610
  • Joined: 08-February 09

Re: antivirus creation

Posted 01 February 2010 - 08:28 AM

Just a couple of points; The 'Flaming time' was mildly sarcastic, but if caused offence I am Sorry. Also the large majority of male-ware would not run with an interactive user interface, or in the common user ring, ie. Ring 3, most male-ware runs in Ring 0, or system service ring. So you would be forced to either code a dll that hooks all OS message's, for example and IO hook to detect when something wanted to write to hard drive, then waiting and scanning it. That would have to be done in C++ and would not be that hard a simple system drive would be all that is needed, and it would run in Ring 0. The update problem could be solved very cleanly with a simple MySQL Database, though if this was to be a serious product, which it most likley isnt, you would need to consider things like a dedicated server...

Like I said not Impossible but Impractical. Having said that you could very easily create a static scanning tool, which is a virus scanner that you use on a file to check its Byte code\s against the Byte code\s of a 'Virus'.
Was This Post Helpful? 0
  • +
  • -

#15 twj_888  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 01-February 10

Re: antivirus creation

Posted 01 February 2010 - 11:25 AM

View PostAMDKilla, on 1 Feb, 2010 - 05:11 AM, said:

I have seen it done with VB.NET before, the intercepting of system messages anyway. No idea what the code looks like, nor do I understand how it works.


You know what's an interesting observation?

Most of the top VB6 programmers on the web (the ones that have contributed source code) -- all seem to have devoted a lot of their time to researching and implementing subclassing into a variety of projects.

None of them ever merged across to .NET, and lets' face it -- .NET leaves VB6 for dead in terms of efficiency.

I feel that they've stuck with VB6 because of the fact that they had the ability to subclass, mix assembly etc ...

.NET is not a hacker's language.

This post has been edited by twj_888: 01 February 2010 - 11:26 AM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2