Results 1 to 8 of 8

Thread: Virus Database

  1. #1

    Thread Starter
    Member
    Join Date
    May 2010
    Posts
    42

    Virus Database

    Hi all,

    I'm trying to make a AntiVirus just for myself. I know that this takes a long time and that it's very difficult. But I still want to try it, I will learn a lot of it.

    So far it's going good. But now I have to setup a Database with the Virus Signatures. I'm now using a MySQL Database. My question is : How can I add the Virus Sigatures to my database?

    I hope you guys can help me

    Thanks,

    Vhyr.

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Virus Database

    I'd recommend you use simple things like flat file etc. instead of database files etc. which depend on external/complex programs for its operation. What will you do if the virus corrupts your database or database program, drivers etc.? With flat files you could just keep a backup copy somewhere and restore from there if you detect that the file is corrupt.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3

    Thread Starter
    Member
    Join Date
    May 2010
    Posts
    42

    Re: Virus Database

    Thanks for your reply.
    Could you please give me a link to a tutorial or something?
    I have never heard of Flat "Files" so this is maybe a noob question but, can I auto update the "Flat" files?

  4. #4
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Virus Database

    Flat files means simple text files. You can use simple file input/output operations to get or put data into it.
    Have a look at the System.IO namespace. It has all that is required to deal with files.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  5. #5

    Thread Starter
    Member
    Join Date
    May 2010
    Posts
    42

    Re: Virus Database

    Quote Originally Posted by Pradeep1210 View Post
    Flat files means simple text files. You can use simple file input/output operations to get or put data into it.
    Have a look at the System.IO namespace. It has all that is required to deal with files.
    Thanks mate!
    I will have a look at it.

  6. #6
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Virus Database

    Have a look at this article that describes an algorithm on how to extract virus signatures automatically.
    http://www.research.ibm.com/antiviru...VB94/vb94.html
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  7. #7

    Thread Starter
    Member
    Join Date
    May 2010
    Posts
    42

    Re: Virus Database

    Is this file a flat file with Virus Signatures? (It's a .txt file)

    Java/TrojanDownloader.Agent.NBE (2)
    JS/Exploit.Pdfka.CIP (10)
    JS/Exploit.Pdfka.CJQ
    JS/Exploit.Pdfka.OAO (2)
    JS/Exploit.Pdfka.OAP
    JS/StartPage.NAD (2)
    VBS/TrojanClicker.Agent.NAL (14)
    Win32/Adware.DoubleD.AJ (2)
    Win32/Adware.PCProtector.C (2)
    Win32/Agent.ODI
    Win32/Agent.OEZ (2)
    Win32/Agent.RBL
    Win32/AutoRun.Agent.TS
    Win32/AutoRun.Spy.VB.C
    Win32/AutoRun.VB.PU (4)
    Win32/AutoRun.VB.PV
    Win32/Bamital.CI
    Win32/Bamital.CJ
    Win32/BHO.NZJ (5)
    Win32/Bifrose.NEL (2)
    Win32/Bifrose.NTA
    Win32/Chksyn.AE (2)
    Win32/Delf.PJN (2)
    Win32/Delf.PJO (2)
    Win32/Injector.BXG
    Win32/Injector.BXH
    Win32/Injector.BXI
    Win32/Koutodoor.EP
    Win32/Koutodoor.GG (2)
    Win32/Koutodoor.GI
    Win32/Kryptik.ETO

    Do I need to put the Flat Files into a Database?

  8. #8
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Virus Database

    1. This is just a list of viruses, not virus signatures.
    2. I think you have got confused with the term "flat file". It is just another raw data file. You can use the classes in System.IO namespace to read and write data to & from the files. You should define your own storage format, so that you can read it back easily.
    3. No you don't need to put any files in database. Instead you need to create you data in the flat file.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

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