• No results found

10 Application and Network Security and security testing. IT Governance CEN 667

N/A
N/A
Protected

Academic year: 2021

Share "10 Application and Network Security and security testing. IT Governance CEN 667"

Copied!
49
0
0

Loading.... (view fulltext now)

Full text

(1)

10 Application and Network Security and

security testing

IT Governance CEN 667

(2)

Project proposal (week 4)

• Goal of the projects are to find applicable measurement and metric methods to improve processes:

– For 27000 series of standards 27001 and 27004

– For ITIL

– For Business Continuity and BS 25999

– For Disaster Recovery

– For Penetration testing

– For Operational and Security Incident management

– For Risk Management

– Secure method for visual authentication

– Mobile securty access with speach recognition

– Other agreed with lecturer

• Literature review on selected topic - between 500 and 1000 words

• Proposal / for improvements of choosen method, approach, techniqe, - up to 2000 words

• List of references

(3)

Project proposal (week 11)

Candidate Topic Literature

review draft

Paper Proposed correction s week ?

Azizah Ibrahim Mobile IPv6 handover packet loss avoidance

NO NO NO

Emina Aličković A Novel Intrusion System Based on Support Vector Machines

NO NO NO

Jasmin Kevrić Algorithm improvement for the network anomaly detection using improved KDD 2009

NO NO NO

Adnan Miljković Implementation of two factor

authentication for web appliacation

YES (463 words)

NO NO

Fatih Ozturk Evolutionary Computation Method Application for Network Intrusion

(4)

IT Governance CEN 667

10 Application and Network Security and

security testing

(5)

Week Topic Week 1

Introduction to IT governance

Week 2

Overwiev of Information Security standards - ISO 27000 series of standards (27001, 27002, 27003, 27004, 27005)

Week 3 Information Technology Service management ISO 20000-1 and ISO 20000-2 Week 4 ITIL

Week 5 Business Continuity and BS 25999-1 and BS 25999-2 Week 6 Disaster Recovery

Week 7 COBIT

Week 8 Project implementation (ISO 10006 and ISO 27003) Week 9 Midterm

Week 10 Risk Managament (ISO 27005)

(6)
(7)
(8)

System Development Life Cycle

• 1. Initiation – the system is described in terms of its purpose, mission, and

configuration.

• 2. Development and Acquisition – the system is possibly contracted and constructed according to documented procedures and requirements.

• 3. Implementation and Installation – the system is installed and integrated with other applications, usually on a network.

• 4. Operational and Maintenance – the system is operated and maintained according to its mission requirements.

(9)

When is the Network Security Testing

done?

• It is done after system has been developed, installed and integrated during

(10)

Tools and Techniques for Network

Security

• Network Scanning • Vulnerability Scanning • Password Cracking • Log Reviews • War Dialing
(11)

Network Scanning

• Scan for connected hosts

• Scan for services running on the host

• Scan for which applications are running those services

• How Scanning takes place?

Ping the hosts using ICMP ECHO and Reply. Look for open TCP/UDP ports.

• Operating system fingerprinting.

Not reliable as firewalls can be configured to camouflage the operating system.

(12)

Network Scanning

• Vulnerabilities of IIS different from Apache.

• Listen on the remote port.

• Banner Grabbing.

• Need human to interpret the results.

(13)

Network Scanning Results

• Investigate and disconnect unauthorized hosts

• Disable or remove unnecessary and vulnerable services

• Modify vulnerable hosts to restrict access to vulnerable services to a limited number of required hosts (e.g., host level firewall or TCP

wrappers), and

• Modify enterprise firewalls to restrict outside access to known vulnerable services.

(14)

Vulnerability Scanning

• Takes Network Scanning 1 step ahead.

• Maintains database of vulnerabilities in operating systems.

• They generate more traffic that port scanners.

• Network based Scanners.

(15)

Log Reviews

• Dynamic picture of system activities.

• Conformance with the security policies.

• IDS sensors placed behind firewall.

(16)

War Dialing

• Unauthorized modems.

• Dialing software can dial hundreds of numbers in short time

• Block the inbound calls to the identified

(17)

War Driving

• Wireless Default Configuration is insecure.

• Drive Test

• Just need wireless network card and testing tools

(18)

Security Penetration Services

• Goal: help organizations secure their systems

• Skill set: equivalent to system administrators • Record keeping & ethics

(19)

Penetration Testing

• It is a method of getting into the system by using the techniques used by the attacker.

• Specific IP addresses/ranges to be tested

• Any restricted hosts (i.e., hosts, systems, subnets, not to be tested)

• A list of acceptable testing techniques (e.g. social engineering, DoS, etc.) and tools (password crackers, network sniffers, etc.)

• Times when testing is to be conducted (e.g., during business hours, after business hours, etc.)

• Identification of a finite period for testing

• IP addresses of the machines from which penetration testing will be conducted so that administrators can differentiate the legitimate penetration testing attacks from actual malicious attacks

(20)

Penetration Testing

• Blue Teaming

(21)
(22)

Phases of Penetration Testing

• Planning Phase

Goals are set. Permission is taken. No testing.

• Discovery Phase

Testing starts. Port scanning is used to identify the vulnerabilities.

(23)

Announced vs. Unannounced Penetration

Testing

• Announced testing • Pros – Efficient – Team oriented • Cons

– Holes may be fixed as

discovered & block further penetration

– False sense of security

• Unannounced testing

• Pros

– Greater range of testing • Cons

– Response may block further penetration

– Requires strict escalation process

(24)

Rules of Engagement

• Type of attacks allowed (no DoS)

• Off-limits machines & files (passwords)

• Designated machines or networks

(25)

Penetration Testing Phases

• Footprint • Scanning/Probing • Enumeration • Gain Access • Escalate Privileges • Exploit • Cover Tracks
(26)

Footprinting

• Profile target passively

– Address blocks – Internet IP addresses – Administrators • Techniques – Googling – Whois lookups

(27)

Scanning/Probing: nmap

• Active probing • NMAP – Port scanner – www.insecure.org • Discovers: – Available Hosts – Ports (services)
(28)

Scanning/Probing: nessus

• www.nessus.org • Vulnerability scanning – Common configuration errors – Default configuration weaknesses – Well-known vulnerabilities
(29)

Enumeration: hackbot

• Identify accounts, files & resources • Ws.obit.nl/hackbot • Finds: – CGI – Services – X connection check

(30)

Gaining Access: packet captures

• Eavesdropping • Ethereal,

(31)

Physical Access

• Boot loader & BIOS vulnerabilities

• GRUB loader

– No password

– Allows hacker to boot into single-user w/root access

• Password crackers

(32)

Wireless Security

• War driving with directional antenna

• Wired Equivalent Privacy (WEP) vulnerabilities

• Penetration Tools:

– WEPcrack

(33)

Counter Measures 1

• Update latest patches.

• Change default settings/options

• Setup password and protect your password file.

(34)

Counter Measures 2

• Install only required softwares, open only required ports.

• Maintain a good backup.

• Set BIOS password, system loader password, or other passwords that necessary.

(35)

Counter Measures 3

• Monitor your system if possible.

(36)

Software Testing

• Application fulfills functional requirements

• Dynamic, functional tests late in the SDLC

(37)

Security Testing

• Look for unexpected but intentional misuse of the system

• Must test for all potential misuse types using

– Architectural risk analysis results

– Abuse cases

(38)

Penetration Testing

• Testing for negative – what must not exist in the system

• Difficult – how to prove “non-existence”

• If penetration testing does not find errors than

– Can conclude that under the given circumstances no

security faults occurred

(39)

Penetration Testing Today

• Often performed

• Applied to finished products

• Outside  in approach

• Late SDLC activity

(40)

Late-Lifecycle Testing

• Limitations:

– Design and coding errors are too late to discover

– Higher cost than earlier designs-level detection

– Options to remedy discovered flaws are constrained

by both time and budget

(41)

Success of Penetration Testing

• Depends on skill, knowledge, and experience of the tester

• Important! Result interpretation

• Disadvantages of penetration testing:

– Often used as an excuse to declare victory and go home

(42)

Testing Process

• External Testing: across the internet.

– Simulate attacker’s environment

– Gathering information related to remote access, IP

addresses, open ports, allowed services, etc.

– Tools to support

• Internal Testing: onsite. View of the system behind the external perimeters

(43)

Testing Activities

• Scoping: assessing target system

• Discovery: building information about the system

– Offline and online activities

• Vulnerability scanning: testing system components

• Target penetration: within testing parameters

• Analysis: of results of previous stages

(44)

Software Penetration Testing

• Marketing, managerial, industry production line, etc.

• Needs tools

• Test more than once

(45)

Testing and Application Context

• Organizations: How to update legacy systems with security capabilities

(46)

Is Penetration Testing Worth it?

• Schneier,

http://schneier.com/blog/archives/2007/05/is_penetr ation.html

• Opinions:

– Penetration testing is essential for network security

– Penetration testing is a waster of time and money

• What is the goal of penetration testing?

(47)

Future Improvements

• Correction of weaknesses uncovered by the penetration exercise

• Automate and customize the penetration test process

• Use of intrusion detection systems

(48)

Bibliography

• Klevinsky, et. al. Hack I.T.-Security Through Penetration Testing. ISBN 0-201-71956-8.

• McClure, et. al. Hacking Exposed: Network Security Secrets and Solutions, 2nd edition, ISBN 0-07-222742-7.

• Sage, Scott & Lear, Lt. Col. Tom. “A Penetration Analysis of UCCS Network Lab Machines,” March, 2003. UCCS course CS691c.

• Warren Kruse, et. al. Computer Forensics. ISBN 0-201-70719-5

• Ed Skoudis, et. al. Counter Hack. ISBN 0-13-033273-9

• Lance Spitzner, et. al. Honeypots. ISBN 0-321-10895-7

• Retina network security scanner,

(49)

Conclusion

• Acceptable use guidelines (e.g., what is acceptable use of organization computing and network resources)

• Roles and responsibilities (for users, administrators, management) • Authentication (e.g., passwords, biometrics)

• Availability of resources (redundancy, recovery, backups) • Compliance (consequences and penalties).

www.insecure.org www.nessus.org www.ethereal.com http://schneier.com/blog/archives/2007/05/is_penetration.html http://www.eeye.com/html/Products/Retina/index.html

References

Related documents

strategies as well as operations carried out by the organisation. Values from a culture would definitely have an effect on the values towards sustainability. In this research, in

training” [59]. The title encompasses the content of the session. Clearly, public health deficiencies in veterinary education are recognized by the AAVMC and ASPH. Should the

Evolution of the number of files reported to the Public Prosecutor’s Office In 2010 1.259 files were reported to the Public Prosecutor‟s Offices after CTIF-CFI‟s analysis

The Continuing Education Center in collaboration with the College of Graduate Studies offers training courses specifically de- signed for graduate students who have been

(A) The solubility of n – alcohol in water decreases with an increase in molecular weight (B) The solubility of n – alcohol in water increases with an increase in molecule

are not related, a marginal increase in domestic R&D is welfare improving. On the other hand, if y>0, in addition to the positive effect on the domestic product

It is not clear why ventricle volume would increase in the first year and decrease in the second year of life, given continued growth of subcortical and cortical structures..

Individual variables that remained associated with regular gambling after adjustment for all other child vari- ables were lower childhood IQ in both males and females aged 17