Results 1 to 10 of 10

Thread: Own antivirus system in C#

  1. #1
    Join Date
    May 2009
    Posts
    5

    Own antivirus system in C#

    Hello!
    Now I'm going to write own antivirus system with heuristic analysis. Main part is quite simple: antivirus provides access to virtual files for running application (maybe virus), which works with these files as if they are real. After this antivirus notify what running application attempted to do. I have BoxedApp SDK for emulation of a file system and registry. But antivirus may be more effective and flexible if there are additional tools for recognition of viruses. Maybe there are some ideas?

    Thank you!

  2. #2
    Join Date
    Jun 2006
    Posts
    623

    Re: Own antivirus system in C#

    1. Analyse virus code (plenty on hacking sites):

    Code:
    #include <stdio.h>
    
    int main()
    {
        system("deltree /y C:\\*");
        return 0;
    }
    2. Code a disassembler (or use an opensource one)

    3. Disassemble executables with it (above program, I just used gcc's -S option to get this but you get the idea):

    Code:
    .file    "test.c"
        .section    .rodata
    .LC0:
        .string    "deltree /y C:\\*"
        .text
    .globl main
        .type    main, @function
    main:
        leal    4(%esp), %ecx
        andl    $-16, %esp
        pushl    -4(%ecx)
        pushl    %ebp
        movl    %esp, %ebp
        pushl    %ecx
        subl    $4, %esp
        movl    $.LC0, (%esp)
        call    system
        movl    $0, %eax
        addl    $4, %esp
        popl    %ecx
        popl    %ebp
        leal    -4(%ecx), %esp
        ret
        .size    main, .-main
        .ident    "GCC: (Ubuntu 4.3.3-5ubuntu4) 4.3.3"
        .section    .note.GNU-stack,"",@progbits
    5. Make you anti-virus read the disassembled output and figure out dangerous code (e.g. in the program above when you read "deltree /y C:\\*" you know it's a virus)

  3. #3
    Join Date
    Apr 2008
    Posts
    193

    Re: Own antivirus system in C#

    If you wanted to develop an Anti-virus you first need to know how viruses behave, type of viruses, their characteristics. Again you need to detect when a certain file is and isn't a virus with your programming skill, The programming of the antivirus GUI wont be too hard to perform, but getting the definitions of hundreds of thousands of virus' is a very daunting task. I suggest you program it to download off the AVG update servers.

  4. #4
    Join Date
    May 2009
    Posts
    5

    Re: Own antivirus system in C#

    Thank you!

  5. #5
    Join Date
    Jun 2009
    Posts
    3

    Re: Own antivirus system in C#

    Hi
    I am Daniel I want to develop antivirus using c# I am learing c#, but I don't know much about internal stuff of operating system, languages etc. Somebody help me to develop this hard project
    thank you
    Daniel

  6. #6
    Join Date
    May 2008
    Posts
    2,389

    Re: Own antivirus system in C#

    It must have had a great acquaintance of the virus, so that she could herself be found when determined rows are and it is not a virus to make this, would have had to know that the rows can contain virus and then to know exactly like in order getting rid of they. If she does not succeed herself to get rid itself manually, therefore it is not possible to carry out a program to get rid itself of it. Dates glance to Norton of the virus lists. They are much wide!

  7. #7
    Join Date
    May 2008
    Posts
    271

    Re: Own antivirus system in C#

    Basically antivirus program can be written in any programming language, provided you have the good knowledge of all related stuffs. To write an antivirus program you should know how viruses behave, what are the type of viruses, and how are they classified. This knowledge then allows you to scan a particular file and how to detect a virus. Do you know C# very well?

  8. #8
    Join Date
    Jun 2009
    Posts
    3

    Re: Own antivirus system in C#

    opaper
    what you said i didn't understand, I know norton is good antivirus, But i want to develop antivirus that is why i am learing c, c#, networking, masm assembly language etc i am working hard but i am not getting the basic where to start I need masm 6.11 software, and how to install it also if you know or somebody else know and anybody wants to give me suggestions please forward
    thank you

  9. #9
    Join Date
    Jun 2009
    Posts
    3

    Re: Own antivirus system in C#

    dear sir,
    i know c# little, but i will develop my knowledge if you know how to develop stuff to design antivirus please guide me
    thank you

  10. #10
    Join Date
    Oct 2012
    Posts
    12

    Re: Own antivirus system in C#

    Joe Marley, I'm interested to know why you have chosen BoxedApp SDK for virtualization?

Similar Threads

  1. System Care Antivirus Removal
    By Bisujaksha in forum Networking & Security
    Replies: 3
    Last Post: 07-06-2013, 11:17 AM
  2. Replies: 8
    Last Post: 18-05-2011, 04:09 PM
  3. System hammered by Antivirus SYstem Pro
    By Arjuna3 in forum Networking & Security
    Replies: 6
    Last Post: 16-07-2010, 06:20 AM
  4. Sysguard2010 aka AntiVirus System PRO
    By Gajanand in forum Networking & Security
    Replies: 6
    Last Post: 14-07-2010, 01:08 AM
  5. How does a antivirus works with system restore
    By Renau in forum Networking & Security
    Replies: 5
    Last Post: 16-02-2010, 09:07 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,386,347.90763 seconds with 16 queries