Lecture2 CIS 6930 Dr.Nemo

W
Shared by: HC121001082654
Categories
Tags
-
Stats
views:
0
posted:
10/1/2012
language:
Unknown
pages:
9
Document Sample
scope of work template
							        Computer and Network Security                   Lecture 2             Richard Newman

•   Program Threats - Malicious code / Rogue program
     – Aimed for undesired effects in programs.
     E.g.
     – Virus
                    A program that can pass on malicious code to other non malicious programs by modifying
                    them.
     – Worm
                    A program that spreads copies of itself through a computer network.
     – Trap door
                    A feature in a program that can allow someone to access assets through non obvious/
                    indirect / specially privilege ways.
     – Trojan horse
                    Does what it is suppose to do but also covertly (non obvious ) does something malicious.
     – Bacterium / Rabbit
                    A virus or worm that self-replicates to exhaust a computing resource.
     – Logic Bomb
                     Does something malicious when a specified condition occurs - Like a trigger.
     – Time Bomb
                    A logic bomb triggered by a specific date or time.
    Computer and Network Security          Lecture 2   Richard Newman




•   Virus are not distributive in nature
    but Worms are
•   Bacteria are runway programs that
    replicate themselves.
     E.g: fork();
            fork();
        Computer and Network Security                       Lecture 2      Richard Newman




•   Virus
            • Contaminated program that looks for
              other programs to infect.
            • Properties
                 – 1. Stealth (Difficult to detect)                       Virus
                 – 2. Robust (Difficult to destroy /                     Data
                    deactivate)
                 – 3. Efficient (Move quickly)                           code
                 – 4. Infectious (Spread easily / widely)
                 – 5. Malicious (Destructive /
                    Compromising)
                 – 6. Portable
                 – ...                                                             virus
                                                              Original                Virus
                                                              program
        Computer and Network Security                  Lecture 2   Richard Newman




•   Virus
            •
            • Methods
                – Polymorphism
                – Modify system utilities to falsify
                  reports
                – Modify interrupt handlers to
                  intercept disk access
                – Mark virus sectors as BAD
                – Self compress
    Computer and Network Security                   Lecture 2                Richard Newman
•   Types of Virus
           •   Boot Sector
           •   Interrupt vector
           •   System
           •   Configuration / autoexec files
           •   Application / System utilities
           •   Data files
•   Detection methods
     –   Static
           • Signature
                – Specific code, data sequence, location peculiar to virus
           • Size
           • Last modification time
           • Integration checks - Cryptographic seal

     –   Dynamic
          • Execution time checks
               – Illegal operation
               – Writes to files outside of “normal behavior space”
               – Sequence of system calls that are not “normal”
             Computer and Network Security                 Lecture 2                 Richard Newman
•    How virus gain control



                                                     Virus integrated into program
               Physically



                                                       Original
    Start                                              program
              Virus           Original
              code            program



                                                         VC part

     Start
                    VC part      Logically   Start



                   Original
                   program

                    VC part
              Virus surrounding a program
             Computer and Network Security     Lecture 2       Richard Newman

•   Changing pointers




      T           T
                              V            T          T        V




                            Over writing




       T                                   T
                        T         V
                                                           V
        Computer and Network Security                            Lecture 2   Richard Newman
                                                 •   Virus Infection
   Before infection
     Chain

                         System
Bootstrap
                      Initialization
 Loader


                        Other Sectors


  After infection
                                       Chain


                           System                    Bootstrap
 Virus code             Initialization                Loader



                                         Chain


                         Other Sectors
Computer and Network Security            Lecture 2   Richard Newman
                       •    Virus Infection




                    Scramble and copy to unused
                               area

                            Virus code
                              pointer




                                 Mark unused
                               but has virus code


                        Stealth

						
Related docs
Other docs by HC121001082654
Urology March 2010
Views: 3  |  Downloads: 0
FBLA Statement of Assurance 2012-13
Views: 10  |  Downloads: 0
PROGRAMS & SERVICES
Views: 1  |  Downloads: 0
Burdukiewicz summary final
Views: 0  |  Downloads: 0
stevens resume
Views: 8  |  Downloads: 1
PC-1 FORM
Views: 1  |  Downloads: 0