Docsity

Malicious Software: Types, Techniques, and Countermeasures, Slides of Computer Security

Partial preview of the text

Download Malicious Software: Types, Techniques, and Countermeasures and more Slides Computer Security in PDF only on Docsity!

Lecture 14

Malicious Software (cont)

Mobile Code

• programs that can be shipped unchanged to a

variety of platforms

• transmitted from a remote system to a local

system and then executed on the local system

• often acts as a mechanism for a virus, worm, or

Trojan horse

• takes advantage of vulnerabilities to perform it

own exploits

• popular vehicles include

  • Java applets, ActiveX, JavaScript and VBScript

Drive-By-Downloads

• exploits browser vulnerabilities

  • to download and install malware on the system
    • when auser views a Web page controlled by the attacker

• in most cases does not actively propagate

• spreads when users visit the malicious Web

page

Social Engineering

• “tricking” users to assist in the compromise of

their own systems

spam

unsolicited bulk e-mail

significant carrier of malware

used for phishing attacks

Trojan horse

program or utility containing harmful hidden code

accomplish functions that the attacker can not access directly

mobile phone

trojans

first appeared in 2004 (Skuller)

target is the smartphone

System Corruption

• real-world damage

  • causes damage to physical equipment
    • Chernobyl virus rewrites BIOS code
  • Stuxnet worm
    • targets specific industrial control system software
  • there are concerns about using sophisticated

targeted malware for industrial sabotage

• logic bomb

  • code embedded in the malware that is set to

“explode” when certain conditions are met

Attack Agents: Bots

  • takes over another Internet attached computer and

uses that computer to launch or manage attacks

  • Botnet : collection of bots capable of acting in a

coordinated manner

  • distributed denial-of-service (DDoS) attacks
  • spamming
  • sniffing traffic
  • keylogging
  • spreading new malware
  • installing advertisement add-ons and browser helper objects attacking IRC chat networks
  • manipulating online polls/games

Information Theft

  • keylogger
    • captures keystrokes to allow attacker to monitor sensitive information
    • typically uses some form of filtering mechanism that only returns information close to keywords - “login”, “password”
  • spyware
    • subverts the compromised machine to allow monitoring of a wide range of activity on the system - monitoring history and content of browsing activity - redirecting certain Web page requests to fake sites - dynamically modifying data exchanged between the browser and certain Web sites of interest

Information Theft: Phishing

• exploits social engineering to leverage a

user’s trust

  • by masquerading as communication from a trusted

source

  • include a URL in a spam e-mail that links to a fake

Web site that mimics the login page of

  • a banking, gaming, or similar site
  • suggests that urgent action is required by the user

to authenticate their account

  • exploits the account using captured credentials

Stealthing: Backdoor, Trapdoor

• secret entry point into a program allowing the

attacker to gain access and bypass the security

access procedures

• maintenance hook is a backdoor used by

programmers to debug and test programs

• difficult to implement operating system

controls for backdoors in applications

Stealthing: Rootkit

• set of hidden programs installed on a system

to maintain covert access to that system

• hides by subverting the mechanisms that

monitor and report on the processes, files,

and registries on a computer

• gives admin privileges to attacker

  • can add or change programs and files,
  • monitor processes,
  • send and receive network traffic, and
  • get backdoor access on demand

Countermeasure Approaches

  • ideal solution to the threat of malware is prevention
    • if prevention fails, technical mechanisms can be used to support the following threat mitigation options: - detection - identification - removal
  • main elements of prevention:
    • policy
    • awareness
    • vulnerability mitigation
    • threat mitigation

Generations of Anti-Virus Software

  • first generation: simple scanners
    • requires a malware signature to identify the malware
    • limited to the detection of known malware
  • second generation: heuristic scanners
    • uses heuristic rules to search for probable malware instances
    • another approach is integrity checking
  • third generation: activity traps
    • memory-resident programs that identify malware by its actions rather than its structure in an infected program
  • fourth generation: full-featured protection
    • packages consisting of a variety of anti-virus techniques used in conjunction
    • include scanning and activity trap components and access control capability

Host-Based Behavior-Blocking

  • integrates with the operating system of a host

computer and monitors program behavior in real

time for malicious action

  • blocks potentially malicious actions before they have a chance to affect the system
  • blocks software in real time so it has an advantage over anti-virus detection techniques such as fingerprinting or heuristics
  • limitations
  • because malicious code must run on the target machine before all its behaviors can be identified, it can cause harm before it has been detected and blocked

Perimeter Scanning Approaches

  • anti-virus software typically included in e-mail

and Web proxy services running on an organization’s firewall and IDS

  • may also be included in the traffic analysis

component of an IDS

  • may include intrusion prevention measures,

blocking the flow of any suspicious traffic

  • approach is limited to scanning malware