1 / 32

CRYPTOGRAPHY AND INFORMATION SECURITY

CRYPTOGRAPHY AND INFORMATION SECURITY. Lecturer: Dr. Nguyen Nam Hong Tel.: 048781437. Mob.: 0912312816. Email: nguyennamhong2003@yahoo.com.au Website: www.freewebs.com/namhongthanhloc Chapter 19. Intruders. Chapter 19. Intruders (1/3). 19.01. Intruders 19.02. Intruder Techniques

june
Download Presentation

CRYPTOGRAPHY AND INFORMATION SECURITY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CRYPTOGRAPHY AND INFORMATION SECURITY Lecturer: Dr. Nguyen Nam Hong Tel.: 048781437. Mob.: 0912312816. Email: nguyennamhong2003@yahoo.com.au Website: www.freewebs.com/namhongthanhloc Chapter 19. Intruders

  2. Chapter 19. Intruders (1/3) 19.01. Intruders 19.02. Intruder Techniques 19.03. Password Guessing 19.04. Password Cature 19.05. Intrusion Detection 19.06. Approaches to Intrusion Detection 19.07. Audit Records Dr. Nguyen Nam Hong, Le Quy Don Technical University

  3. Chapter 19. Intruders (2/3) 19.08. Audit Record Fields 19.09. Statistical Anomaly Detection 19.10. Audit Record Analysis 19.11. Rule-based Intrusion Detection 19.12. Heuristic Rules for Intrusion Detection 19.13. Base-rate Fallacy 19.14. Distributed Intrusion Detection (DID) Dr. Nguyen Nam Hong, Le Quy Don Technical University

  4. Chapter 19. Intruders (3/3) 19.15. DID - Architecture 19.16. DID – Agent Implementation 19.17. Honey Ports 19.18. Password Management 19.19. Password Selection Strategies 19.20. Managing Passwords 19.21. Proactive Password Checking 19.22. Summary Dr. Nguyen Nam Hong, Le Quy Don Technical University

  5. 19.01. Intruders (1/2) • significant issue for networked systems is hostile or unwanted access • either via network or local • can identify classes of intruders: • masquerader • misfeasor • clandestine user • varying levels of competence Dr. Nguyen Nam Hong, Le Quy Don Technical University

  6. 19.01. Intruders (2/2) • clearly a growing publicized problem • from “Wily Hacker” in 1986/87 • to clearly escalating CERT stats • may seem benign, but still cost resources • may use compromised system to launch other attacks Dr. Nguyen Nam Hong, Le Quy Don Technical University

  7. 19.02. Intrusion Techniques • aim to increase privileges on system • basic attack methodology • target acquisition and information gathering • initial access • privilege escalation • covering tracks • key goal often is to acquire passwords • so then exercise access rights of owner Dr. Nguyen Nam Hong, Le Quy Don Technical University

  8. 19.03. Password Guessing (1/2) • one of the most common attacks • attacker knows a login (from email/web page etc) • then attempts to guess password for it • try default passwords shipped with systems • try all short passwords • then try by searching dictionaries of common words • intelligent searches try passwords associated with the user (variations on names, birthday, phone, common words/interests) • before exhaustively searching all possible passwords Dr. Nguyen Nam Hong, Le Quy Don Technical University

  9. 19.03. Password Guessing (2/2) • check by login attempt or against stolen password file • success depends on password chosen by user • surveys show many users choose poorly Dr. Nguyen Nam Hong, Le Quy Don Technical University

  10. 19.04. Password Capture • another attack involves password capture • watching over shoulder as password is entered • using a trojan horse program to collect • monitoring an insecure network login (eg. telnet, FTP, web, email) • extracting recorded info after successful login (web history/cache, last number dialed etc) • using valid login/password can impersonate user • users need to be educated to use suitable precautions/countermeasures Dr. Nguyen Nam Hong, Le Quy Don Technical University

  11. 19.05. Intrusion Detection • inevitably will have security failures • so need also to detect intrusions so can • block if detected quickly • act as deterrent • collect info to improve security • assume intruder will behave differently to a legitimate user • but will have imperfect distinction between them Dr. Nguyen Nam Hong, Le Quy Don Technical University

  12. 19.06. Approaches to Intrusion Detection • statistical anomaly detection • threshold • profile based • rule-based detection • anomaly • penetration identification Dr. Nguyen Nam Hong, Le Quy Don Technical University

  13. 19.07. Audit Records • fundamental tool for intrusion detection • native audit records • part of all common multi-user O/S • already present for use • may not have info wanted in desired form • detection-specific audit records • created specifically to collect wanted info • at cost of additional overhead on system Dr. Nguyen Nam Hong, Le Quy Don Technical University

  14. 19.08. Audit Record Fields Is Developed by Dorothy Denning (1987), contains: • Subject: Initiator of actions • Action: Operation performed by the Subject • Object: Receiptors of actions • Exception-Condition: Denotes which if any exception condition is raised on return • Resource-Usage: A list of quantitive elements in which each element gives the amount used of some resource • Time-stamp: Unique time-and-date identifying when the action took place Dr. Nguyen Nam Hong, Le Quy Don Technical University

  15. 19.09. Statistical Anomaly Detection • threshold detection • count occurrences of specific event over time • if exceed reasonable value assume intrusion • alone is a crude & ineffective detector • profile based • characterize past behavior of users • detect significant deviations from this • profile usually multi-parameter Dr. Nguyen Nam Hong, Le Quy Don Technical University

  16. 19.10. Audit Record Analysis • foundation of statistical approaches • analyze records to get metrics over time • counter, gauge, interval timer, resource use • use various tests on these to determine if current behavior is acceptable • mean & standard deviation, multivariate, markov process, time series, operational • key advantage is no prior knowledge used Dr. Nguyen Nam Hong, Le Quy Don Technical University

  17. 19.11. Rule-Based Intrusion Detection (1/2) • observe events on system & apply rules to decide if activity is suspicious or not • rule-based anomaly detection • analyze historical audit records to identify usage patterns & auto-generate rules for them • then observe current behavior & match against rules to see if conforms • like statistical anomaly detection does not require prior knowledge of security flaws Dr. Nguyen Nam Hong, Le Quy Don Technical University

  18. 19.11. Rule-Based Intrusion Detection (2/2) • rule-based penetration identification • uses expert systems technology • with rules identifying known penetration, weakness patterns, or suspicious behavior • rules usually machine & O/S specific • rules are generated by experts who interview & codify knowledge of security admins • quality depends on how well this is done • compare audit records or states against rules Dr. Nguyen Nam Hong, Le Quy Don Technical University

  19. 19.12. Heuristic Rules for Intrusion Detection 1. Users should not read files in other users’ personal directories 2. Users Must not write other users’ files 3. Users who log in after hours often access the same files they used earlier 4. Users do not generally open disk devices directly but rely on higher-level operating-system utilities 5. Users should not be logged in more than once to the same system 6. Users do not make copies of system programs Dr. Nguyen Nam Hong, Le Quy Don Technical University

  20. 19.13. Base-Rate Fallacy • practically an intrusion detection system needs to detect a substantial percentage of intrusions with few false alarms • if too few intrusions detected -> false security • if too many false alarms -> ignore / waste time • this is very hard to do • existing systems seem not to have a good record Dr. Nguyen Nam Hong, Le Quy Don Technical University

  21. 19.14. Distributed Intrusion Detection • traditional focus is on single systems • but typically have networked systems • more effective defense has these working together to detect intrusions • issues • dealing with varying audit record formats • integrity & confidentiality of network data • centralized or decentralized architecture? Dr. Nguyen Nam Hong, Le Quy Don Technical University

  22. 19.15. Distributed Intrusion Detection – Architecture (1/2) • Host Agent Module: an audit collection module to collect data on security-related events and transmits them to the central manager • LAN Monitor Agent Module: Analyzes LAN trafic and Report the results to the central manager • Central Manager Module: Processes and Correlates these reports to detect intrusion Dr. Nguyen Nam Hong, Le Quy Don Technical University

  23. 19.15. Distributed Intrusion Detection - Architecture (2/2) Dr. Nguyen Nam Hong, Le Quy Don Technical University

  24. 19.16. Distributed Intrusion Detection – Agent Implementation (1/2) • OS Audit Information: procedure by the native audit collection system • A filter: retains only those records that are of security interest • A template-driven logic module: Analyzes the records for suspicious activity • Agent Protocol Machine: Pscans for notable events that are of interest independent of any past events • Failed file access, accessing system files, changing a file access control, etc. Dr. Nguyen Nam Hong, Le Quy Don Technical University

  25. 19.16. Distributed Intrusion Detection – Agent Implementation (2/2) Dr. Nguyen Nam Hong, Le Quy Don Technical University

  26. 19.17. Honeypots • decoy systems to lure attackers • away from accessing critical systems • to collect information of their activities • to encourage attacker to stay on system so administrator can respond • are filled with fabricated information • instrumented to collect detailed information on attackers activities • may be single or multiple networked systems Dr. Nguyen Nam Hong, Le Quy Don Technical University

  27. 19.18. Password Management • front-line defense against intruders • users supply both: • login – determines privileges of that user • password – to identify them • passwords often stored encrypted • Unix uses multiple DES (variant with salt) • more recent systems use crypto hash function Dr. Nguyen Nam Hong, Le Quy Don Technical University

  28. 19.19. Password Selection Strategies • User Education • Uses hard-to-guess passwords • Computer-generated Passwords • Users will not be able to remember them • Reactive Password Checking • system periodically runs its own password cracker to find guessable passwords • Proactive Password Checking • The most promising approach Dr. Nguyen Nam Hong, Le Quy Don Technical University

  29. 19.20. Managing Passwords (1/2) • need policies and good user education • ensure every account has a default password • ensure users change the default passwords to something they can remember • protect password file from general access • set technical policies to enforce good passwords • minimum length (>6) • require a mix of upper & lower case letters, numbers, punctuation • block known dictionary words Dr. Nguyen Nam Hong, Le Quy Don Technical University

  30. 19.20. Managing Passwords (2/2) • may reactively run password guessing tools • note that good dictionaries exist for almost any language/interest group • may enforce periodic changing of passwords • have system monitor failed login attempts, & lockout account if see too many in a short period • do need to educate users and get support • balance requirements with user acceptance • be aware of social engineering attacks Dr. Nguyen Nam Hong, Le Quy Don Technical University

  31. 19.21. Proactive Password Checking • most promising approach to improving password security • allow users to select own password • but have system verify it is acceptable • simple rule enforcement (see previous slide) • compare against dictionary of bad passwords • use algorithmic (markov model or bloom filter) to detect poor choices Dr. Nguyen Nam Hong, Le Quy Don Technical University

  32. 19.22. Summary • have considered: • problem of intrusion • Intrusion Techniques • Statisticalintrusion detection • Rule-basedintrusion detection • Password management Dr. Nguyen Nam Hong, Le Quy Don Technical University

More Related