Wednesday, June 3, 2015

Security

Security Requirements

  • Confidentiality
    • Hanya dapat diakses oleh yang berhak dan yang telah terauthorized
  • Integrity
    • Assets hanya dapat dimodifikasi oleh orang yang berhak atau orang yang telah terauthorized
  • Availability
    • Assets bebas untuk orang yang berhak atau orang yang telah terauthorized 
  • Authenticity
    • Memastikan identitas dari user
Security Environment

Types of Threats
  • Interruption
    • An asset of the system is destroyed of becomes unavailable or unusable
    • Attack on availability
    • Penghancuran hardware
    • Memotong jalur komunikasi
    • Menonaktifkan file management system
  • Interception
    • An unauthorized party gains access to an asset
    • Attack on confidetiality
    • Wiretapping to capture data in a network
    • Illicit copying of files or programs
  • Modification
    • An unauthorized party not only gains access but tampers with an asset
    • Attack on integrity
    • Mengubah nilai dalam file data
    • Altering a program so that it performs differently
    • Memodifikasi konten dari pesan yang akan ditransmisikan kedalam network
  • Fabrication
    • An unauthorized party inserts counterfeit objects into the system
    • Attack on authenticity
    • Insertion of spurios messages in a network
    • Addtion of records to a file




Intruders
  • Common Categories
    • Mengincar orang yang bukan technical user
    • Mengintip atau mempelajari dari dalam
    • Usaha untuk menghasilkan uang
    • Menjadi mata - mata commercial atau military
Accidental Data Loss
  • Common Causes
    • Acts of God
      • Fires, flood, wars
    • Hardware or software errors
      • CPU multifunction, bad disk, program bugs
    • Human errors
      • data entry, wrong tape mounted
Protection Mechanism
  • Protection Domain

  • Protection Matrix
  • Protection Matrix with domains as objects

  • Two Access Control List


  • Capability List

  • Cryptographically-protected capability
  • Generic Rights
    • Copy capability
    • Copy object
    • Removes capability
    • Destroy object
Malicious Program
  • Ini yang butuh host program
    • Fragment dari program yang tidak dapat ada secara independent dari beberapa aplikasi program, utility, atau program sistem
  • Independent
    • Program yang serba ada yang dapat dijadwalkan dan dijalankan oleh operating system
Authetication
  • Basic Principles, Authentication harus diidentifikasi:
    • Something the user knows
    • Something the user has
    • Something the user is
  • Ini akan selesai sebelum user dapat menggunakan sistem
Authentication using Password
(a) Berhasil login
(b)Login ditolak setelah nama dimasukan
(c)Login ditolak setelah nama dan password dimasukan


Authentication using a physical object


  • Magnetic cards
    • Magnetic stripe cards
    • chip cards: stored value card, smart cards
Authentication using biometrics

Countermeasures
  • Membatasi waktu ketika seseorang dapat login
  • Otomatis callback saat number pre specified
  • Membatasi number dari login tries
  • A database of all logins
  • Login name / password yang simple adalah jebakan
    • Security personnel notified when attacker bites
Attack from the inside
  • Trojan Horses
  • Program gratis yang dibuat bebas untuk user tidak curiga
    • Sebenarnya mengandung kode yang merugikan
  • Place altered version of utility program on victim's computer
    • Trick user dalam menjalankan program
Login Spoofing

(a)Login screen yang benar
(b)Phony login screen

Login Bomb
  • Perusahan programmer yang menulis program
    • Berpotensi merugikan
    • OK selama user memasukan password setiap hari
    • ff programmer fired, no password and bomb explodes
Trap Door
(a) Normal code
(b) Code with a trapdoor inserted

Buffer Overflow
(a) Situasi ketika program utama berjalan
(b) Setelah program A dipanggil
(c) Buffer overflow shown in gray

Generic Security Attacks

  • Typical Attacks
  • Request  memori, disk space, tapes dan hanya dibaca
  • Mencoba memanggil system yang ilegal
  • Mulai login dan hit DEL, RUBOUT, or BREAK
  • Mencoba memodifikasi struktu OS yang kompleks
  • Try to do specified DO NOTs
  • Meyakinkan sistem programmer untuk menambahkan trap door
  • Beg admin's sec'y to help a poor user who forgot password
Design Principle for Security
  • System design should be public
  • Default should be n access
  • Cek untuk authority yang sekarang
  • Give each process least privilege possible
  • Protection mechanism should be
    • Simple
    • Uniform
    • In lowest layers of system
  • Scheme should be psychologically acceptable
Virus Stages
  • Dorman phase
    • Virus is idle
  • Propagation phase
    • Virus yang menduplikasikan dirinya sendiri
  • Triggering phase
    • Virus yang diaktifkan untuk perform fungsi yang telah dimaksudkan
    • Caused by a variety of system events
  • Executin phase
    • Function is performed
Antivitus Approach
  • Detection
  • Identification
  • Removal
Trusted System
  • Multilevel Security
    • Informasi yang diorganize dalam kategori - kategori
    • No read up
      • Hanya baca object dari lebih kecil atau sama dengan security level
    • No write down
      • Hanya menulis object dari lebih besar atau sama dengan security level

Trojan Horse Defense

No comments:

Post a Comment