Welcome to Dream.In.Code
Getting Java Help is Easy!

Join 136,476 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,596 people online right now. Registration is fast and FREE... Join Now!




simple coding for virus detection

 
Reply to this topicStart new topic

simple coding for virus detection

xarul
3 Jul, 2008 - 07:43 PM
Post #1

New D.I.C Head
*

Joined: 2 Jul, 2008
Posts: 2



Thanked: 1 times
My Contributions
anybody....please help me..how to get simple coding to make virus detection using java...help..help.. ohno.gif ohno.gif ohno.gif
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Simple Coding For Virus Detection
3 Jul, 2008 - 07:47 PM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,463



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
There is no such thing as simple virus detection. It either works or it doesn't.

Check Source Forge for an open source project.
User is online!Profile CardPM
+Quote Post

pbl
RE: Simple Coding For Virus Detection
3 Jul, 2008 - 07:58 PM
Post #3

D.I.C Lover
Group Icon

Joined: 6 Mar, 2008
Posts: 3,113



Thanked: 202 times
Dream Kudos: 75
My Contributions
QUOTE(xarul @ 3 Jul, 2008 - 08:43 PM) *

anybody....please help me..how to get simple coding to make virus detection using java...help..help.. ohno.gif ohno.gif ohno.gif

Simple coding ? You are dreaming.
And Virus are platform dependant Java is not.
User is online!Profile CardPM
+Quote Post

abgorn
RE: Simple Coding For Virus Detection
4 Jul, 2008 - 12:26 AM
Post #4

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
Dreaming indeed.
User is offlineProfile CardPM
+Quote Post

perfectly.insane
RE: Simple Coding For Virus Detection
4 Jul, 2008 - 10:13 AM
Post #5

D.I.C Addict
Group Icon

Joined: 22 Mar, 2008
Posts: 558



Thanked: 46 times
Dream Kudos: 25
Expert In: C/C++

My Contributions
Detecting simple virii is probably simple, whereas detecting complex virii is probably complex. For simple virii detection, you could probably implement a simple byte-sequence scanner. You would have a database of sequences of bytes that you are pretty sure only exist in known virii, and then search for them in files. Using a form of regular expression would be a bit more powerful (one that works well with binary sequences).

Again, complex polymorphic virii will be difficult, if not impossible to detect using these methods (possibly through regex, depending on how polymorphic the piece is).

Developing a heuristic scanner is probably very difficult. I don't think any virus scanner is solely dependent on heuristic analysis anyway.

By the way, there are many uses for platform-independent virus scanners though. Automatic scanning of email attachments is one good example.

This post has been edited by perfectly.insane: 4 Jul, 2008 - 10:14 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 06:12PM

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month