An Information Security Framework for Web Services in Enterprise Networks
Total Page:16
File Type:pdf, Size:1020Kb
AN INFORMATION SECURITY FRAMEWORK FOR WEB SERVICES IN ENTERPRISE NETWORKS A THESIS SUBMITTED TO THE GRADUATE SCHOOL OF INFORMATICS THE MIDDLE EAST TECHNICAL UNIVERSITY BY BAHADIR GÖKHAN SARIKOZ IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE IN THE DEPARTMENT OF INFORMATION SYSTEM JANUARY 2015 AN INFORMATION SECURITY FRAMEWORK FOR WEB SERVICES IN ENTERPRISE NETWORKS Submitted by Bahadır Gökhan Sarıkoz in partial fulfilment of the requirements for the degree of Master of Science in Information Systems, Middle East Technical University by, Prof. Dr. Nazife Baykal Director, Informatics Institute Prof. Dr. Yasemin Yardımcı Çetin Head of Department, Information Systems Assoc. Prof. Dr. Banu Günel Supervisor, Information Systems, METU Examining Committee Members: Prof. Dr. Nazife Baykal IS, METU Assoc. Prof. Dr. Banu Günel IS, METU Prof. Dr. Şeref Sağıroğlu CENG, Gazi University Assist. Prof. Dr. Pekin Erhan Eren IS, METU Dr. Buğra Karabey META, Microsoft Date: June 21, 2015 I hereby declare that all information in this document has been obtained and presented in accordance with academic rules and ethical conduct. I also declare that, as required by these rules and conduct, I have fully cited and referenced all material and results that are not original to this work. Name, Surname: Bahadır Gökhan Sarıkoz Signature: iii ABSTRACT AN INFORMATION SECURITY FRAMEWORK FOR WEB SERVICES IN ENTERPRISE NETWORKS Sarıkoz, Bahadır Gökhan M.S., Department of Information Systems Keywords: Web Services, Cyber Security, Security Modeling, Security Controls, Security Measurement. Supervisor: Assoc. Prof. Dr. Banu GÜNEL January 2015, 197 pages Web Service, an open standard based on existing Internet protocols, provides a flexible solution to web application integration. It provides faster, more practical and more effective way of solutions for the organizational structures. Online shopping, billing, reservation and other way of standards provided to people mostly depend on web services. On the other hand, it provides corporate identity and functionality of an organization. Since the importance and the necessity of the web services increase day by day, the level of criticality also increases in the same level. In the meanwhile, the necessary measurements are to be taken into account in order to provide 7/24 productivity. Such measurements include several subjects from the load testing to effective coding for best service. However, cyber security attacks, one of the most important issues nowadays are the root cause in order to take vital measurements. Preventing web services from these cyber security attacks requires several aspects from different perspectives including network-based security, protocol-based security, signature-based security and other types of control mechanisms. In this study, an information security framework has been proposed in order to define the complete security aspects of a web service of an enterprise network. Within this framework, a sample information security modeling for a web service has been presented with iv respect to the several types of attacks. The mentioned modeling has been tested and measured for pre-defined and specified scenarios. v ÖZ KURUM AĞLARINDA WEB SERVİSLERİ İÇİN BİR BİLGİ GÜVENLİĞİ ÇERÇEVESİ Sarıkoz, Bahadır Gökhan Yüksek Lisans, Bilişim Sistemleri Bölümü Anahtar Kelimeler: Web Servisleri, Siber Güvenlik, Güvenlik Modellemesi, Güvenlik Kontrolleri, Güvenlik Ölçümleri. Tez Yöneticisi: Doçent Dr. Banu GÜNEL Ocak 2015, 197 sayfa Varolan internet protokolleri bazlı web servisi web uygulama entegrasyonuna esnek bir çözüm sağlamaktadır. Bu da organizasyonel yapılarda daha hızlı, daha pratik ve daha efektif çözüm yolları sağlamaktadır. İnsanlara sağlanan çevrimiçi alışveriş, fatura ödeme, rezervasyon ve diğer standartlar neredeyse tamamen web servislerine dayanmaktadır. Diğer taraftan kurumsal kimlik, organizasyon fonksiyonalitesini sağlar. Web servislerinin önemi ve gerekliliği gün geçtikçe arttığı için, aynı şekilde kritikliği de artmaktadır. Bu arada, 7/24 üretimin sağlanabilmesi açısından gerekli önlemler göz önünde bulundurulmaktadır. Bu önlemler en iyi hizmet açısından yük testinden efektif kodlamaya kadar bir çok konuyu içermektedir. Buna rağmen, günümüzün en önemli konularından biri olan siber saldırılar hayati önlemlerin alınması için kök nedendir. Siber saldırılardan web servislerini korumak ağ bazlı, protokol bazlı, imza bazlı güvenliği ve diğer kontrol mekanizmalarını içeren birçok durumu gerektirmektedir. Bu çalışmada, bir işletme ağında bulunan web servisinin bütün güvenlik durumunun sağlanılması için bir bilgi güvenliği çerçevesi önerilmiştir. Bu çerçevede bir çok çeşit siber saldırı göz önünde bulundurularak bir bilgi güvenliği modellemesi sunulmuştur. Belirtilen modelleme önceden belirlenmiş spesifik senaryolara istinaden test edilmiş ve sonuçları paylaşılmıştır. vi DEDICATION To my wife, and daughter vii ACKNOWLEDGEMENTS First of all, I would like to thank my supervisor Assoc. Prof Dr. Banu Günel for her extensive support, guidance and patience throughout the thesis studies. I am grateful for what she has done for me so far. I would like to express my gratitude to Murat Hüseyin Candan, Dr. Okan Yücel and all my colleagues in Barikat Information Security for their support, patience and encouragement for my studies. I am also grateful to Volkan Ertürk for his valuable suggestions and contributions in this study. I owe special thanks to my older brother Serdar Kürşat Sarıkoz for his valuable suggestions. Finally, I would like to thank my beloved wife Ayşegül Sarıkoz and my little daughter Nil Şevval Sarıkoz for their boundless love, patience and support during the thesis period. viii TABLE OF CONTENTS ABSTRACT ................................................................................................................ iv ÖZ… ........................................................................................................................... vi DEDICATION ........................................................................................................... vii ACKNOWLEDGEMENTS ...................................................................................... viii TABLE OF CONTENTS ............................................................................................ ix LIST OF TABLES ..................................................................................................... xii LIST OF FIGURES ................................................................................................... xv LIST OF ABBREVIATIONS AND ANCRONYMS ............................................... xvi 1. INTRODUCTION ............................................................................................... 1 1.1. STATEMENT OF THE PROBLEM ............................................................ 1 1.2. RELATED WORK ........................................................................................ 6 1.3. OBJECTIVE OF THIS STUDY ................................................................... 7 1.4. OUTLINE OF THE THESIS ........................................................................ 8 2. BASIC CONCEPTS OF WEB SERVICES ......................................................... 9 2.1. DEFINITION OF THE WEB SERVICE ...................................................... 9 2.2. IMPORTANCE OF THE WEB SERVICE IN ENTERPRISE NETWORKS ......................................................................................................... 10 2.3. WEB SERVICE ARCHITECTURE ........................................................... 11 2.3.1. The Message Oriented Model .............................................................. 13 2.3.2. The Service Oriented Model ................................................................ 14 2.3.3. The Resource Oriented Model ............................................................. 15 2.3.4. The Policy Model ................................................................................. 16 2.4. TYPE OF WEB SERVICES ....................................................................... 17 2.4.1. Extensible Markup Language (XML) .................................................. 18 2.4.2. Web Services Definition Language (WSDL) ...................................... 19 ix 2.4.3. Simple Object Access Protocol (SOAP) .............................................. 21 2.4.4. Universal Description, Discovery and Integration (UDDI) ................. 22 3. SECURITY CONCEPTS ................................................................................... 25 3.1 SECURITY ENGINEERING...................................................................... 25 3.2. BASIC TERMINOLOGY IN SECURITY ENGINEERING ..................... 28 3.3. SECURITY CONTROLS............................................................................ 30 4. AN INFORMATION SECURITY FRAMEWORK FOR THE WEB SERVICES.. ............................................................................................................... 37 4.1. PURPOSE AND SCOPE............................................................................. 37 4.2. ASSUMPTIONS ......................................................................................... 38 4.3. DEFINITION OF A FICTITIOUS WEB SERVICE DEPLOYMENT ...... 39 4.4. INFORMATION SECURITY FRAMEWORK .......................................... 44 4.4.1. Step 1 – Defining All the Criteria and Information Security Procedures for the Web Services .........................................................................................