Docsity

Malicious Software, Viruses - Network Security and Cryptography - Lecture Slides, Slides of Cryptography and System Security

Partial preview of the text

Download Malicious Software, Viruses - Network Security and Cryptography - Lecture Slides and more Slides Cryptography and System Security in PDF only on Docsity!

Cryptography and

Network Security

Chapter 19

Chapter 19 – Malicious Software

What is the concept of defense: The parrying of a blow. What is its characteristic feature: Awaiting the blow. — On War, Carl Von Clausewitz

Malicious Software

Backdoor or Trapdoor

 secret entry point into a program

 allows those who know access bypassing usual security procedures

 have been commonly used by developers

 a threat when left in production programs allowing exploited by attackers

 very hard to block in O/S

 requires good s/w development & update

Trojan Horse

 program with hidden side-effects  which is usually superficially attractive  eg game, s/w upgrade etc  when run performs some additional tasks  allows attacker to indirectly gain access they do not have directly  often used to propagate a virus/worm or install a backdoor  or simply to destroy data

Zombie

 program which secretly takes over another networked computer

 then uses it to indirectly launch attacks

 often used to launch distributed denial of service (DDoS) attacks

 exploits known flaws in network systems

Virus Operation

 virus phases:

 dormant – waiting on trigger event  propagation – replicating to programs/disks  triggering – by event to execute payload  execution – of payload

 details usually machine/OS specific

 exploiting features/weaknesses

Virus Structure

program V := {goto main; 1234567; subroutine infect-executable := {loop: file := get-random-executable-file; if (first-line-of-file = 1234567) then goto loop else prepend V to file; } subroutine do-damage := {whatever damage is to be done} subroutine trigger-pulled := {return true if condition holds} main: main-program := {infect-executable; if trigger-pulled then do-damage; goto next;} next: } Docsity.com

Macro Virus

macro code attached to some data file  interpreted by program using file  eg Word/Excel macros  esp. using auto command & command macros  code is now platform independent  is a major source of new viral infections  blur distinction between data and program files  classic trade-off: "ease of use" vs "security”  have improving security in Word etc  are no longer dominant virus threat

Email Virus

 spread using email with attachment containing a macro virus  cf Melissa

 triggered when user opens attachment

 or worse even when mail viewed by using scripting features in mail agent

 hence propagate very quickly

 usually targeted at Microsoft Outlook mail agent & Word/Excel documents

 need better O/S & application security

Worm Operation

 worm phases like those of viruses:  dormant  propagation

  • search for other systems to infect
  • establish connection to target remote system
  • replicate self onto remote system  triggering  execution

Morris Worm

 best known classic worm

 released by Robert Morris in 1988

 targeted Unix systems

 using several propagation techniques

 simple password cracking of local pw file  exploit bug in finger daemon  exploit debug trapdoor in sendmail daemon

 if any attack succeeds then replicated self

Worm Techology

 multiplatform

 multiexploit

 ultrafast spreading

 polymorphic

 metamorphic

 transport vehicles

 zero-day exploit

Virus Countermeasures

 best countermeasure is prevention

 but in general not possible

 hence need to do one or more of:

detection - of viruses in infected system  identification - of specific infecting virus  removeal - restoring system to clean state