none
Anti virus RRS feed

All replies

  • Hello, 

    Easy. 

    Study C#. Study system. Study where viruses could be and finally - write simple code to kill the virus.


    Sincerely, Highly skilled coding monkey.

    Thursday, November 15, 2018 12:12 PM
  • First of all you should write a virus to have an use case for your anti virus. But start it in a vm or it can go wrong... Good luck and have fun!
    Thursday, November 15, 2018 12:16 PM
  • nothing more easy?
    Thursday, November 15, 2018 1:15 PM
  • What do you want to know exactly? A concept how a anti virus is working? How good should you AV be? I guess I can kill your first versions just by using a simple archive bomb... There is much more than just open files and say virus or not...
    Thursday, November 15, 2018 1:28 PM
  • You cannot create an AV program in C#. At least an effective one. In order for AV to work it requires access to other processes so it can detect malicious code and fix them. Every AV program you find is going to have a kernel component that allows for this. Additionally good AV needs to prevent viruses from taking hold, not just removing them. For that you have to inject into the file system and therefore need a file system driver. Again, this is kernel code. Managed code is not supported in kernel code so you cannot create a real AV program in managed code.

    For a class assignment you could mimic one though.


    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, November 15, 2018 2:46 PM
    Moderator
  • Hi,

    Here is a open source code about Antivirus with c# that include the following feature for your reference.

    • Analysis based on hash bd
    • Analysis based on words pre-defined
    • Analysis of process with VirusTotal
    • Creation of miniCoreDumps
    • Event manager using FileSystemWatcher

    https://github.com/Nulleks/AntivirusCSharp

    Best regards,

    Zhanglong


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, November 16, 2018 5:30 AM
    Moderator
  • How can i make like this antivirus: https://sourceforge.net/projects/sdcare/

    this is simple or not?

    Friday, November 16, 2018 5:16 PM
  • How can i make like this antivirus: https://sourceforge.net/projects/sdcare/

    this is simple or not?

    What *exactly* are you trying to do, and why? 

    Don't answer "Make an anti-virus" as we already know that.
    Explain how this is going to be used. As a commercial product?
    As an assignment to be submitted for a course?

    Do you really, fully understand what an actual "anti-virus" program does 
    these days?

    The program at the link you posted wouldn't be too hard to make - for
    someone who knows how to program. However, it isn't an "anti-virus"
    program in the accepted understanding of that term. It appears simply 
    to prevent autorun from being triggered off a removable drive. So it 
    would be more accurately classed as an anti-malware add-on with very 
    limited functionality.

    Some malware is distributed via removable drives, with it configured to
    run automatically whenever the drive is inserted into a computer port.
    Disabling autorun can prevent such malware from starting automatically.

    For more on AutoRun see:

    Enabling and Disabling AutoRun
    https://docs.microsoft.com/en-us/windows/desktop/shell/autoplay-reg

    - Wayne

    Friday, November 16, 2018 8:08 PM