Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Writting Antivirus program in VC++

Writting Antivirus program in VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ilamparithi
    wrote on last edited by
    #1

    Hi All, How to write a antivirus program in vc++.. Regards, A.Ilamparithi

    A I B 3 Replies Last reply
    0
    • I Ilamparithi

      Hi All, How to write a antivirus program in vc++.. Regards, A.Ilamparithi

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      First find some virus, study how they function, and how they infect the system, Then figure out how to reverse its action, And there you have an antivirus.

      1 Reply Last reply
      0
      • I Ilamparithi

        Hi All, How to write a antivirus program in vc++.. Regards, A.Ilamparithi

        I Offline
        I Offline
        Ian Darling
        wrote on last edited by
        #3

        Ilamparithi wrote: How to write a antivirus program in vc++.. Wow - that's a tall order. I would suggest that you actually need to actually design and write one, and then ask for help on more specific issues. But for starters, I would guess you need to find out how to: * Hook the filesystem (so you know when files are being changed) * Storage and update mechanisms for virus signatures * Heuristics to detect new viruses * Efficiently scan the changes to see if they match known virus signatures * Isolate infected files and/or revert the changes being made (for isolation, you probably want a storage environment where files cannot be directly accessed or executed, like an encrypted virtual file system?) * Internally validate your code to ensures it isn't infected by malicious code or otherwise affected by somethign trying to undermine it (man-in-the-middle attacks, shutting down components, outright replacing them, etc) That's a big job, so I wish you good luck. -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

        1 Reply Last reply
        0
        • I Ilamparithi

          Hi All, How to write a antivirus program in vc++.. Regards, A.Ilamparithi

          B Offline
          B Offline
          BaldwinMartin
          wrote on last edited by
          #4

          OK look at one I wrote and see if this would help you. If so I can post the source. http://www.digitaltcp.com Please remember I just check for one virus at a time at this point. To do it properly you are going to have to do some array work. Also may have a leak or two. Wrote it in one night for a buddy the got WelchWorm. Used a great deal of code off this site. Best Wishes, ez_way

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups