Thread: Motivation Behind Virus Wiriting

  1. #16
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >€&<>&2Minimization of boolean functions, PROM,PLA design >‚&0>ƒ&WA, USA guitar, dogsCommercial Aviation >„&>>…&USAProgramming
    Posts
    742
    I use AVX Professional.

    All I was saying was that it isn't too difficult to write a virus using C/C++ just based on the skills that we learn here at Cprogramming. In order to write a virus that communicated information back to you, you would have to know a little bit about XML/SOAP, etc, which we don't cover here at Cprogramming. It would be simple enough to write a program that searched all the files and directories on someones computer and returned a list back to you of all that information, so you would know everything they had. You could even get it to send copies back to you of any file you wanted that was on their computer, but in order to impliment this C/C++ program, like I said you would have to know a little more than we learn here, stuff involving internet and email.
    I compile code with:
    Visual Studio.NET beta2

  2. #17
    Registered User rick barclay's Avatar
    Join Date
    Aug 2001
    Posts
    835
    Originally posted by Witch_King
    I could write a friendly virus and send it to you guys. It would just write itself into autoexec.bat and pop up a "I Love Microsoft" message every time you turned on your computer. Nothing malicious I mean. Do you doubt me?
    I've read that most viruses do just that, or something similar.
    It looks to me like the Code Red virus was written by a group
    of people with an ax to grind. A group calling itself Code Red
    or something like that recently attacked the website of the
    local Township of Marlboro, not once but twice. Both times
    anti-smoking messages were left behind. They'd better be
    glad they don't call themself the Township of Microsoft .

    rick barclay
    No. Wait. Don't hang up!

    This is America calling!

  3. #18
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    And what about virus protection? How do you write a program that analyzes other programs for virility?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  4. #19
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >€&<>&2Minimization of boolean functions, PROM,PLA design >‚&0>ƒ&WA, USA guitar, dogsCommercial Aviation >„&>>…&USAProgramming
    Posts
    742
    I'm not sure, I've never developed an application like that but I imagine that they have a database of fixes somewhere.
    I compile code with:
    Visual Studio.NET beta2

  5. #20
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    I think most anti-virus progs work look for viruses already know. That would account for the reason why I download a new dat file from NAV every couple of days. As well as this some programs have a heuristic setting. I guess this allows the anti-virus program to take an educated guess in some instances. I don’t know effective this is though. I never put it to the test.

  6. #21
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >I could write a friendly virus and send it to you guys. It would just write itself into autoexec.bat and pop up a "I Love Microsoft" message every time you turned on your computer. Nothing malicious I mean. Do you doubt me? <

    amature... AUTOEXEC.BAT!!!!!! come on...there are so many better ways that are harder to detect.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  7. #22
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >€&<>&2Minimization of boolean functions, PROM,PLA design >‚&0>ƒ&WA, USA guitar, dogsCommercial Aviation >„&>>…&USAProgramming
    Posts
    742
    Thats not the point. I'm not trying to make a deadly virus or anything, I'm just saying that I could write an ordinary C program that is a virus, so could anyone here.
    I compile code with:
    Visual Studio.NET beta2

  8. #23
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    ahh then excuse my post.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  9. #24
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Why should I stop at a personal firewall, why I don't buy body armour incase someone decides to start shooting randomly at people on the street.
    No, no one wears body armour. But you do have a lock at your
    home and at your car, don't you ?

    How do you write a program that analyzes other programs for virility?
    The existing programs search for patterns in files. Therefore, only
    mutations of existing and detected viruses can be found. New
    virii will not be found until the first wave struck home.

    Another question would be what is a virus ? A program that
    formats your harddrive, is it a virus ? Is it still a virus if you
    want it to format your harddrive ?
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  10. #25
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    A virus is just a self replicating program
    So no, sending by email exes which say "Format Harddrive" are
    not viruses.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trojan horse generic
    By crvenkapa in forum Tech Board
    Replies: 8
    Last Post: 06-04-2007, 08:49 PM
  2. Virus in Commercial Download - Can anyone confirm this?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 08-03-2004, 05:07 PM
  3. virus help
    By Benzakhar in forum Tech Board
    Replies: 9
    Last Post: 01-20-2004, 12:28 AM
  4. Virus Warning!
    By Hillbillie in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 08-17-2001, 01:22 AM