• Lucid Dreaming - Dream Views




    Results 1 to 25 of 32

    Hybrid View

    1. #1
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      A "program" is not a single thing
      it's a composite entity that ends up with the CPU executing one or more instructions
      think of it like a complete person - has many parts

      A "virus" is just a set of CPU instructions
      it is not a program
      think of it as some blood - it is not a complete person

      A program contains, amongst other things, a set of instructions for the CPU to execute
      these instructions need to know where they are in memory

      When a Windows "program" is executed,
      the first thing it does is ask Windows "Where am I?, and where can I store internal variables?, by the way, I am 100 bytes in size"

      Windows will answer, "You are loaded at memory address 1000 through 1099, you are allowed to use 1100 through 1199 for storing variables"

      "Great", says the program, "based on this information, I will now execute my payload"

      A virus contained within a program will disrupt and manipulate this communication in order to infect other files

      it will misinform Windows of it's hosts attributes
      and in doing so, gain write access to areas of memory outside of it's hosts actual footprint

      All "programs" follow the same design, so the viral code "knows" what to do, and what to change, in order to copy itself to another program

      The virus has just altered another executable in memory
      It has replicated
      (\_ _/)
      (='.'=)
      (")_(")

    2. #2
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Quote Originally Posted by Ynot View Post
      A "program" is not a single thing
      it's a composite entity that ends up with the CPU executing one or more instructions
      think of it like a complete person - has many parts

      A "virus" is just a set of CPU instructions
      it is not a program
      think of it as some blood - it is not a complete person

      A program contains, amongst other things, a set of instructions for the CPU to execute
      these instructions need to know where they are in memory

      When a Windows "program" is executed,
      the first thing it does is ask Windows "Where am I?, and where can I store internal variables?, by the way, I am 100 bytes in size"

      Windows will answer, "You are loaded at memory address 1000 through 1099, you are allowed to use 1100 through 1199 for storing variables"

      "Great", says the program, "based on this information, I will now execute my payload"

      A virus contained within a program will disrupt and manipulate this communication in order to infect other files

      it will misinform Windows of it's hosts attributes
      and in doing so, gain write access to areas of memory outside of it's hosts actual footprint

      All "programs" follow the same design, so the viral code "knows" what to do, and what to change, in order to copy itself to another program

      The virus has just altered another executable in memory
      It has replicated
      Your talking to a guy who occasionally programs in asm, I know how a program sets itself up and communicated with the OS.

      What you described sounds like a worm, which is only one type of virus. Viruses come in many forms, some install software and dlls. Usually they do it two at a time, so if you end one process, the other one will restart it.

    3. #3
      Ex Tech Admin Achievements:
      Created Dream Journal Tagger First Class Veteran First Class 10000 Hall Points Populated Wall Referrer Gold Made lots of Friends on DV
      slash112's Avatar
      Join Date
      Nov 2008
      Gender
      Location
      Sunny Scotland
      Posts
      5,113
      Likes
      1567
      DJ Entries
      29
      Quote Originally Posted by ninja9578 View Post
      Your talking to a guy who occasionally programs in asm, I know how a program sets itself up and communicated with the OS.

      What you described sounds like a worm, which is only one type of virus. Viruses come in many forms, some install software and dlls. Usually they do it two at a time, so if you end one process, the other one will restart it.
      i think he was talkign to me, because i said
      i would say that a virus would have to be a program
      so he was telling me what a program is, so that i know a virus isnt really a program.

      and by the way, i was taught that a worm is as much of a virus as a trojan horse is. it fucks up your computor, but by definition it actually isnt a virus.

    4. #4
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      From my (admittedly rudimentary) knowledge of malware inner-workings
      worms are just self-hosted viruses

      From Wikipedia
      http://en.wikipedia.org/wiki/Worm_(computer_virus)

      A computer worm is a self-replicating computer program. It uses a network to send copies of itself to other nodes (computers on the network) and it may do so without any user intervention. Unlike a virus, it does not need to attach itself to an existing program. Worms almost always cause at least some harm to the network, if only by consuming bandwidth, whereas viruses almost always corrupt or modify files on a targeted computer.
      (\_ _/)
      (='.'=)
      (")_(")

    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
    •