Docsity

Understanding Network Attacks: Malware Types & Network Vulnerabilities, Assignments of Computer Vision

Partial preview of the text

Download Understanding Network Attacks: Malware Types & Network Vulnerabilities and more Assignments Computer Vision in PDF only on Docsity!

Hands-On EthicalHands-On Ethical

Hacking and Network Hacking and Network

Defense Defense

Chapter 3 Chapter 3 Network and Computer Attacks Network and Computer Attacks

Objectives Objectives

Describe the different types of malicious Describe the different types of malicious

software software

Describe methods of protecting against Describe methods of protecting against

malware attacks malware attacks

Describe the types of network attacks Describe the types of network attacks

Identify physical security attacks and Identify physical security attacks and

vulnerabilities vulnerabilities

Viruses Viruses

Virus attaches itself to an executable file Virus attaches itself to an executable file

Can replicate itself through an executable Can replicate itself through an executable

program program

 Needs a host program to replicateNeeds a host program to replicate

No foolproof method of preventing them No foolproof method of preventing them

Antivirus Software Antivirus Software

Detects and removes viruses Detects and removes viruses

Detection based on virus signatures Detection based on virus signatures Must update signature database periodically Must update signature database periodically Use automatic update feature Use automatic update feature

Base 64 Encoding Base 64 Encoding

Used to evade anti-spam tools, and to Used to evade anti-spam tools, and to

obscure passwords obscure passwords

Encodes six bits at a time (0 – 64) with a Encodes six bits at a time (0 – 64) with a

single ASCII character single ASCII character

 A - Z:A - Z: 0 – 250 – 25  a – z:a – z: 26 – 5126 – 51  1 – 9:1 – 9: 52 – 6152 – 61 

  • and -+ and - 62 and 6362 and 63 See links Ch 3a, 3b See links Ch 3a, 3b

Viruses (continued) Viruses (continued)

Commercial base 64 decoders Commercial base 64 decoders

Shell Shell

 Executable piece of programming codeExecutable piece of programming code  Should not appear in an e-mail attachmentShould not appear in an e-mail attachment

Writing Viruses Writing Viruses

Even nonprogrammers Even nonprogrammers can create macro viruses can create macro viruses  Instructions posted onInstructions posted on Web sites Web sites  Virus creation kits available forVirus creation kits available for download (see link Ch 3d) download (see link Ch 3d)

Security professionals can learn Security professionals can learn

from thinking like attackers from thinking like attackers

 But don’t create and release a virus!But don’t create and release a virus! People get long prison terms for that. People get long prison terms for that.

Worms Worms

Worm Worm

 Replicates and propagates without a hostReplicates and propagates without a host

Infamous examples Infamous examples

 Code RedCode Red  NimdaNimda

Can infect every computer in the world in a Can infect every computer in the world in a

short time short time

 At least in theoryAt least in theory

Firewalls Firewalls

Identify traffic on uncommon ports Identify traffic on uncommon ports

Can block this type of attack, if your Can block this type of attack, if your

firewall filters outgoing traffic firewall filters outgoing traffic

 Windows XP SP2’s firewall does not filterWindows XP SP2’s firewall does not filter outgoing traffic outgoing traffic  Vista’s firewall doesn’t either (by default),Vista’s firewall doesn’t either (by default), according to link Ch 3l and 3m according to link Ch 3l and 3m

Trojan programs can use known ports to Trojan programs can use known ports to

get through firewalls get through firewalls

 HTTP (TCP 80) or DNS (UDP 53)HTTP (TCP 80) or DNS (UDP 53)

Improved Trojan Improved Trojan

Resets the administrator password Resets the administrator password

Almost invisible to user Almost invisible to user

Works in Win XP, but not so easy in Vista Works in Win XP, but not so easy in Vista

Spyware Spyware

Sends information from the infected computer to Sends information from the infected computer to the attacker the attacker  Confidential financial dataConfidential financial data  PasswordsPasswords  PINsPINs  Any other stored dataAny other stored data Can register each keystroke entered (keylogger) Can register each keystroke entered (keylogger) Prevalent technology Prevalent technology Educate users about spyware Educate users about spyware