Outline Introduction Viruses Trojan horses Trap doors Logic bombs

Slides:



Advertisements
Similar presentations
Higher Computing Computer Systems S. McCrossan Higher Grade Computing Studies 8. Supporting Software 1 Software Compatibility Whether you are doing a fresh.
Advertisements

 Application software consists of programs designed to make users more productive and/or assist with personal tasks.  Growth of internet simplified.
Day anti-virus anti-virus 1 detecting a malicious file malware, detection, hiding, removing.
What are Trojan horses?  A Trojan horse is full of as much trickery as the mythological Trojan horse it was named after. The Trojan horse, at first glance.
________________ CS3235, Nov 2002 Viruses Adapted from Pfleeger[Chap 5]. A virus is a program [fragment] that can pass on malicious code [usually itself]
1 Pertemuan 05 Malicious Software Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
Copyright © Clifford Neuman - UNIVERSITY OF SOUTHERN CALIFORNIA - INFORMATION SCIENCES INSTITUTE USC CSci530 Computer Security Systems Lecture.
1 Computer Viruses (and other “Malicious Programs) Computer “Viruses” and related programs have the ability to replicate themselves on an ever increasing.
Guide to Operating System Security Chapter 2 Viruses, Worms, and Malicious Software.
Henric Johnson1 Chapter 10 Malicious Software Henric Johnson Blekinge Institute of Technology, Sweden
Lecture 14 Page 1 CS 236 Online Malware CS 236 On-Line MS Program Networks and Systems Security Peter Reiher.
Video Following is a video of what can happen if you don’t update your security settings! security.
1 Chap 10 Malicious Software. 2 Viruses and ”Malicious Programs ” Computer “Viruses” and related programs have the ability to replicate themselves on.
Malicious Code Brian E. Brzezicki. Malicious Code (from Chapter 13 and 11)
Understanding and Troubleshooting Your PC. Chapter 12: Maintenance and Troubleshooting Fundamentals2 Chapter Objectives  In this chapter, you will learn:
Computer Network Forensics Lecture - Virus © Joe Cleetus Concurrent Engineering Research Center, Lane Dept of Computer Science and Engineering, WVU.
Threat to I.T Security By Otis Powers. Hacking Hacking is a big threat to society because it could expose secrets of the I.T industry that perhaps should.
Lecture 14 Overview. Program Flaws Taxonomy of flaws: – how (genesis) – when (time) – where (location) the flaw was introduced into the system 2 CS 450/650.
A virus is software that spreads from program to program, or from disk to disk, and uses each infected program or disk to make copies of itself. Basically.
CHAPTER 14 Viruses, Trojan Horses and Worms. INTRODUCTION Viruses, Trojan Horses and worm are malicious programs that can cause damage to information.
1 Higher Computing Topic 8: Supporting Software Updated
Lecture 12 Page 1 CS 136, Fall 2013 Malware CS 136 Computer Security Peter Reiher November 5, 2013.
1 Chap 10 Virus. 2 Viruses and ”Malicious Programs ” Computer “Viruses” and related programs have the ability to replicate themselves on an ever increasing.
10/11/2015 Computer virus By Al-janabi Rana J 1. 10/11/2015 A computer virus is a computer program that can copy itself and infect a computer without.
Chapter 10 Malicious software. Viruses and ” Malicious Programs Computer “ Viruses ” and related programs have the ability to replicate themselves on.
Types of Electronic Infection
For any query mail to or BITS Pilani Lecture # 1.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 25 – Virus Detection and Prevention.
Malicious Logic and Defenses. Malicious Logic Trojan Horse – A Trojan horse is a program with an overt (documented or known) effect and covert (undocumented.
Lecture 15 Page 1 CS 236 Online Prolog to Lecture 15 CS 236 On-Line MS Program Networks and Systems Security Peter Reiher.
Malicious Software.
VIRUS.
n Just as a human virus is passed from person from person, a computer virus is passed from computer to computer. n A virus can be attached to any file.
Computer Systems Viruses. Virus A virus is a program which can destroy or cause damage to data stored on a computer. It’s a program that must be run in.
Lecture 13 Page 1 CS 136, Fall 2012 Malware CS 136 Computer Security Peter Reiher November 13, 2012.
Computer Security Threats CLICKTECHSOLUTION.COM. Computer Security Confidentiality –Data confidentiality –Privacy Integrity –Data integrity –System integrity.
Lecture 12 Page 1 CS 136, Spring 2014 Malware CS 136 Computer Security Peter Reiher May 15, 2014.
Lecture 15 Page 1 CS 136, Fall 2010 Malware CS 136 Computer Security Peter Reiher November 18, 2010.
W elcome to our Presentation. Presentation Topic Virus.
Lecture 15 Page 1 CS 136, Spring 2009 Malware CS 136 Computer Security Peter Reiher May 21, 2009.
Page 1 Viruses. Page 2 What Is a Virus A virus is basically a computer program that has been written to perform a specific set of tasks. Unfortunately,
Malicious Programs (1) Viruses have the ability to replicate themselves Other Malicious programs may be installed by hand on a single machine. They may.
Lecture 12 Page 1 CS 136, Spring 2016 Malicious Software Computer Security Peter Reiher May 12, 2016.
Lecture 14 Page 1 CS 136, Fall 2011 Malware CS 136 Computer Security Peter Reiher November 10, 2011.
SYSTEM SECURITY & ANTIVIRUS Chapter - 4 1Dr. BALAMURUGAN MUTHURAMAN.
ITS220 – How To Prevent Your PC From Infected by Virus presented by Desmond Ho.
bitdefender virus protection
Chapter Objectives In this chapter, you will learn:
Botnets A collection of compromised machines
Malicious Software Computer Security Peter Reiher February 21, 2017
Viruses & Destructive Programs
MALWARE.
Tonga Institute of Higher Education IT 141: Information Systems
Outline Introduction Viruses Trojan horses Trap doors Logic bombs
Lecture 8. Cyber Security, Ethics and Trust
COMPUTER VIRUSES Computer Technology.
SEMINAR ON PC SECURITY FROM VIRUSES
Techniques, Tools, and Research Issues
Where Malware Lives Most people expect malware in only one place –
Outline Introduction Viruses Trojan horses Trap doors Logic bombs
Botnets A collection of compromised machines
Computer Viruses.
Chap 10 Malicious Software.
Security.
Viruses.
Chapter 22: Malicious Logic
Malware CS 136 Computer Security Peter Reiher February 25, 2010
Chap 10 Malicious Software.
Malicious Program and Protection
What are Computers? C Use this tutorial alongside the numbers coded in your workbook and answer the related questions in each section.
Presentation transcript:

Malware CS 236 On-Line MS Program Networks and Systems Security Peter Reiher

Outline Introduction Viruses Trojan horses Trap doors Logic bombs Worms Botnets Spyware Malware components

Introduction Clever programmers can get software to do their dirty work for them Programs have several advantages for these purposes Speed Mutability Anonymity 1

Where Does Malicious Code Come From? Most commonly, it’s willingly (but unwittingly) imported into the system Electronic mail Downloaded executables Often automatically from web pages Sometimes shrink-wrapped software Sometimes it breaks in Sometimes an insider intentionally introduces it

Magnitude of the Problem Considering viruses only, by 1994 there were over 1,000,000 annual infections One survey shows 10-fold increase in viruses since 1996 In November 2003, 1 email in 93 scanned by particular survey contained a virus 2008 CSI report shows 50% of survey respondents had virus incidents Plus 20% with bot incidents 2009 Trend Micro study shows 50% of infected machines still infected 300 days later

Viruses “Self-replicating programs containing code that explicitly copies itself and that can ‘infect’ other programs by modifying them or their environment” Typically attached to some other program When that program runs, the virus becomes active and infects others Not all malicious codes are viruses 7

How Do Viruses Work? When a program is run, it typically has the full privileges of its running user Including write privileges for some other programs A virus can use those privileges to write new code into existing programs Adding malware to an otherwise benign and useful program 8

Where Is The Code Put? Originally, at the end of the existing file With new instructions to jump to the malicious instructions Now more cleverly hidden in the binary Often fit into “holes” in the original binary Unused variables Empty regions created by compilers Or other similar places

Macro and Attachment Viruses Modern data files often contain executables Macros Email attachments Many formats allow embedded commands to download of arbitrary executables Popular form of viruses Requires less sophistication to get right

Virus Toolkits Helpful hackers have written toolkits that make it easy to create viruses A typical smart high school student can easily create a virus given a toolkit Generally easy to detect viruses generated by toolkits But toolkits are getting smarter

How To Find Viruses Basic precautions Looking for changes in file sizes Scan for signatures of viruses Multi-level generic detection

Precautions to Avoid Viruses Don’t import untrusted programs But who can you trust? Viruses have been found in commercial shrink-wrap software The hackers who released Back Orifice were embarrassed to find a virus on their CD release Trusting someone means not just trusting their honesty, but also their caution 16

Other Precautionary Measures Scan incoming programs for viruses Some viruses are designed to hide Limit the targets viruses can reach Monitor updates to executables carefully Requires a broad definition of “executable” 17

Containment Run suspect programs in an encapsulated environment Limiting their forms of access to prevent virus spread Requires versatile security model and strong protection guarantees No use to run in tightly confined mode if user allows it to get out 20

Viruses and File Sizes Typically, a virus tries to hide So it doesn’t disable the infected program Instead, extra code is added But if it’s added naively, the size of the file grows Virus detectors look for this growth Won’t work for files whose sizes typically change Clever viruses find ways around it Replace instructions of the same size with your malicious instructions

Signature Scanning If a virus lives in code, it must leave some traces In unsophisticated viruses, these traces are characteristic code patterns Find the virus by looking for the signature

How To Scan For Signatures Create a database of known virus signatures Read every file in the system and look for matches in its contents Also check every newly imported file Also scan boot sectors and other interesting places Can use same approach for other kinds of malware

Weaknesses of Scanning for Signatures What if the virus changes its signature? What if the virus takes active measures to prevent you from finding the signature? You can only scan for known virus signatures

Polymorphic Viruses A polymorphic virus produces varying but operational copies of itself Essentially avoiding having a signature Sometimes only a few possibilities E.g., Whale virus has 32 forms But sometimes a lot Storm worm had more than 54,000 forms

Polymorphism By Hand Malware writers have become professional and security-aware They know when their malware has been identified And they know the signature used Smart ones subscribe to all major anti-virus programs They change the malware to remove that signature and re-release it

Stealth Viruses A virus that tries actively to hide all signs of its presence Typically a resident virus For example, it traps calls to read infected files And disinfects them before returning the bytes E.g., the Brain virus

Combating Stealth Viruses Stealth viruses can hide what’s in the files But may be unable to hide that they’re in memory Careful reboot from clean source won’t allow stealth virus to get a foothold Concerns that malware can hide in other places, like peripheral memory

Other Detection Methods Checksum comparison Intelligent checksum analysis For files that might legitimately change Intrusion detection methods E.g., look for attack invariants instead of signatures Identify and handle “clusters” of similar malware

Preventing Virus Infections Run a virus detection program Almost all serious organizations do this And many still get clobbered Keep its signature database up to date Modern virus scanners do this by default Disable program features that run executables without users asking Quicktime had this problem a few years ago Make sure users are careful about what they run Also make sure users are careful about what they attach to computers

How To Deal With Virus Infections Reboot from a clean, write-protected medium Vital that the medium really is clean Necessary, but not sufficient If backups are available and clean, replace infected files with clean backup copies Another good reason to keep backups Proof-of-concept code showed infection of firmware in peripherals . . .

Disinfecting Programs Some virus utilities try to disinfect infected programs Allowing you to avoid going to backup Potentially hazardous, since they may get it wrong Some viruses destroy information needed to restore programs properly