MAC root Linux 1 OS Linux 2.6 Linux Security Modules LSM [1] Security-Enhanced Linux SELinux [2] AppArmor[3] OS OS OS LSM LSM Performance Monitor LSMP

Similar documents
コンピュータシステム シンポジウム Computer System Symposium ComSys /12/1 SELinux SELinux SELinux SELinux Proposal of a Method to Automatically Reduce Redundan

IPSJ SIG Technical Report Vol.2017-ARC-225 No.12 Vol.2017-SLDM-179 No.12 Vol.2017-EMB-44 No /3/9 1 1 RTOS DefensiveZone DefensiveZone MPU RTOS

Vol. 23 No. 4 Oct Kitchen of the Future 1 Kitchen of the Future 1 1 Kitchen of the Future LCD [7], [8] (Kitchen of the Future ) WWW [7], [3

第62巻 第1号 平成24年4月/石こうを用いた木材ペレット

e-learning station 1) 2) 1) 3) 2) 2) 1) 4) e-learning Station 16 e-learning e-learning key words: e-learning LMS CMS A Trial and Prospect of Kumamoto

卒業論文2.dvi

Web Web Web Web Web, i

258 5) GPS 1 GPS 6) GPS DP 7) 8) 10) GPS GPS ) GPS Global Positioning System

Computer Security Symposium October 2013 Android OS kub

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

3D UbiCode (Ubiquitous+Code) RFID ResBe (Remote entertainment space Behavior evaluation) 2 UbiCode Fig. 2 UbiCode 2. UbiCode 2. 1 UbiCode UbiCode 2. 2

Vol. 42 No. SIG 8(TOD 10) July HTML 100 Development of Authoring and Delivery System for Synchronized Contents and Experiment on High Spe

TA3-4 31st Fuzzy System Symposium (Chofu, September 2-4, 2015) Interactive Recommendation System LeonardoKen Orihara, 1 Tomonori Hashiyama, 1

LAN LAN LAN LAN LAN LAN,, i

& Vol.2 No (Mar. 2012) 1,a) , Bluetooth A Health Management Service by Cell Phones and Its Us

28 Docker Design and Implementation of Program Evaluation System Using Docker Virtualized Environment

GPGPU

, : GUI Web Java 2.1 GUI GUI GUI 2 y = x y = x y = x

29 jjencode JavaScript

使いこなせて安全なLinuxを目指して

06’ÓŠ¹/ŒØŒì

「ネットワークを渡り歩けるコンピュータ」の

chisq.test corresp plot

7,, i

AP AP AP AP AP AP AP( AP) AP AP( AP) AP AP Air Patrol[1] Air Patrol Cirond AP AP Air Patrol Senser Air Patrol Senser AP AP Air Patrol Senser AP

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

Shonan Institute of Technology MEMOIRS OF SHONAN INSTITUTE OF TECHNOLOGY Vol. 41, No. 1, 2007 Ships1 * ** ** ** Development of a Small-Mid Range Paral

,,.,,., II,,,.,,.,.,,,.,,,.,, II i

fiš„v8.dvi

5110-toku4-2c.indd

Input image Initialize variables Loop for period of oscillation Update height map Make shade image Change property of image Output image Change time L

ISSN NII Technical Report Patent application and industry-university cooperation: Analysis of joint applications for patent in the Universit

IPSJ SIG Technical Report Vol.2011-EC-19 No /3/ ,.,., Peg-Scope Viewer,,.,,,,. Utilization of Watching Logs for Support of Multi-

1. 1 DBMS Unix (USP ) ( )[3] 20 UNIX [2] KISS UNIX 1. 2 (Tukubai ) Unix OS Unix USP Tukubai Tukubai 1. 3 Unix SQL Tukubai usp Tukubai Open usp Tukubai

ActionScript Flash Player 8 ActionScript3.0 ActionScript Flash Video ActionScript.swf swf FlashPlayer AVM(Actionscript Virtual Machine) Windows

3_39.dvi

6_27.dvi

論文9.indd

4.1 % 7.5 %

CONTENTS N T

IPSJ SIG Technical Report Vol.2012-HCI-149 No /7/20 1 1,2 1 (HMD: Head Mounted Display) HMD HMD,,,, An Information Presentation Method for Weara

IPSJ SIG Technical Report Vol.2014-GN-90 No.16 Vol.2014-CDS-9 No.16 Vol.2014-DCC-6 No /1/24 1,a) 2,b) 2,c) 1,d) QUMARION QUMARION Kinect Kinect

2 [] [4] (Preference Model) [8] 8km/l 3cc 3 c 29 52

( )

1 1 CodeDrummer CodeMusician CodeDrummer Fig. 1 Overview of proposal system c

[5] Web HTTP [6] / / [7] Linux OS TOMOYO Linux OS DAC: Discretionary Access Control MAC: Mandatory Access Control 2 [8] DAC ident

IT,, i

1 3DCG [2] 3DCG CG 3DCG [3] 3DCG 3 3 API 2 3DCG 3 (1) Saito [4] (a) 1920x1080 (b) 1280x720 (c) 640x360 (d) 320x G-Buffer Decaudin[5] G-Buffer D

第 1 回バイオメトリクス研究会 ( 早稲田大学 ) THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS Proceedings of Biometrics Workshop,169

TOMOYO Linux

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf

1: ( 1) 3 : 1 2 4

A B C B C ICT ICT ITC ICT

THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS TECHNICAL REPORT OF IEICE.

日本感性工学会論文誌

IPSJ SIG Technical Report Vol.2014-IOT-27 No.14 Vol.2014-SPT-11 No /10/10 1,a) 2 zabbix Consideration of a system to support understanding of f

先端社会研究 ★5★号/4.山崎

ï\éÜA4*

1 4 4 [3] SNS 5 SNS , ,000 [2] c 2013 Information Processing Society of Japan

Web Web Web Web i

DEIM Forum 2017 H2-2 Android LAN Android 1 Android LAN

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

149 (Newell [5]) Newell [5], [1], [1], [11] Li,Ryu, and Song [2], [11] Li,Ryu, and Song [2], [1] 1) 2) ( ) ( ) 3) T : 2 a : 3 a 1 :

21 e-learning Development of Real-time Learner Detection System for e-learning

Modal Phrase MP because but 2 IP Inflection Phrase IP as long as if IP 3 VP Verb Phrase VP while before [ MP MP [ IP IP [ VP VP ]]] [ MP [ IP [ VP ]]]

, IT.,.,..,.. i

P2P P2P peer peer P2P peer P2P peer P2P i

Tf dvi

Firefox Firefox Mozilla addons.mozilla.org (AMO) AMO Firefox Mozilla AMO Firefox Firefox Mozilla Firefox Firefox Firefox 年間登録数

,4) 1 P% P%P=2.5 5%!%! (1) = (2) l l Figure 1 A compilation flow of the proposing sampling based architecture simulation

IPSJ SIG Technical Report Vol.2011-MUS-90 No /5/ , 3 1 Design and Implementation of a Drumstick with Stroke Recognition Function for Inte

(a) (b) 1 JavaScript Web Web Web CGI Web Web JavaScript Web mixi facebook SNS Web URL ID Web 1 JavaScript Web 1(a) 1(b) JavaScript & Web Web Web Webji

Web Basic Web SAS-2 Web SAS-2 i

IPSJ SIG Technical Report Vol.2014-DBS-159 No.6 Vol.2014-IFAT-115 No /8/1 1,a) 1 1 1,, 1. ([1]) ([2], [3]) A B 1 ([4]) 1 Graduate School of Info

IT i

IPSJ SIG Technical Report Vol.2010-SLDM-144 No.50 Vol.2010-EMB-16 No.50 Vol.2010-MBL-53 No.50 Vol.2010-UBI-25 No /3/27 Twitter IME Twitte

大学における原価計算教育の現状と課題

e-learning e e e e e-learning 2 Web e-leaning e 4 GP 4 e-learning e-learning e-learning e LMS LMS Internet Navigware

01ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六七八九零壱弐02ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六七八九零壱弐03ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六七八九零壱弐04ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六七八九零壱弐05ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六七八九零壱弐06ⅢⅣⅤⅥⅦⅧⅨⅩ一二三四五六

17 Proposal of an Algorithm of Image Extraction and Research on Improvement of a Man-machine Interface of Food Intake Measuring System

GNU Emacs GNU Emacs

16

1_26.dvi

1 Fig. 1 Extraction of motion,.,,, 4,,, 3., 1, 2. 2.,. CHLAC,. 2.1,. (256 ).,., CHLAC. CHLAC, HLAC. 2.3 (HLAC ) r,.,. HLAC. N. 2 HLAC Fig. 2

WikiWeb Wiki Web Wiki 2. Wiki 1 STAR WARS [3] Wiki Wiki Wiki 2 3 Wiki 5W1H Wiki Web 2.2 5W1H 5W1H 5W1H 5W1H 5W1H 5W1H 5W1H 2.3 Wiki 2015 Informa

IPSJ SIG Technical Report Vol.2009-DPS-141 No.20 Vol.2009-GN-73 No.20 Vol.2009-EIP-46 No /11/27 1. MIERUKEN 1 2 MIERUKEN MIERUKEN MIERUKEN: Spe

2 The Bulletin of Meiji University of Integrative Medicine 3, Yamashita 10 11

Fig. 3 Flow diagram of image processing. Black rectangle in the photo indicates the processing area (128 x 32 pixels).

Microsoft PowerPoint - OSC2009Shimane.ppt

indd

n 2 n (Dynamic Programming : DP) (Genetic Algorithm : GA) 2 i

Microsoft PowerPoint - LC2008Bof_SecureOS_Really_Final.ppt

44 22 AKB48 CD 2030 SPEED 1954 AKB48 CD CM CM AKB AKB AKB AKB AKB AKB

56 OS OS OS OS 1 OS HDD OS 1 OS HDD HDD OS OS OSOS HDD 図 1 二重キャッシュ環境 3. 負の参照の時間的局所性 3.1 参照の局所性 Locality of Reference Temporal locality Spatial localit

26 Development of Learning Support System for Fixation of Basketball Shoot Form

IPSJ SIG Technical Report Vol.2009-BIO-17 No /5/26 DNA 1 1 DNA DNA DNA DNA Correcting read errors on DNA sequences determined by Pyrosequencing

Vol. 48 No. 4 Apr LAN TCP/IP LAN TCP/IP 1 PC TCP/IP 1 PC User-mode Linux 12 Development of a System to Visualize Computer Network Behavior for L

<303288C991BD946797C797592E696E6464>

09_理学部案内S2.indd

23 Fig. 2: hwmodulev2 3. Reconfigurable HPC 3.1 hw/sw hw/sw hw/sw FPGA PC FPGA PC FPGA HPC FPGA FPGA hw/sw hw/sw hw- Module FPGA hwmodule hw/sw FPGA h

Transcription:

LSM OS 700-8530 3 1 1 matsuda@swlab.it.okayama-u.ac.jp tabata@cs.okayama-u.ac.jp 242-8502 1623 14 munetoh@jp.ibm.com OS Linux 2.6 Linux Security Modules LSM LSM Linux 4 OS OS LSM An Evaluation of Performance of Security Focused OS by Measuring the Overhead of LSM Naoto Matsuda Toshihiro Tabata Seiji Munetoh Graduate School of Natural Science and Technology, Okayama University matsuda@swlab.it.okayama-u.ac.jp tabata@cs.okayama-u.ac.jp IBM Tokyo Research Laboratory munetoh@jp.ibm.com Abstract Enterprise systems and individuals suffer from various attacks because of exploiting vulnerabilities of the systems. As a method resolving this problem, security focused operating system (OS) is an effective way. However, the performance of security focused OS has little chance to talk about. In Linux 2.6, since the function of security focused OS is implemented using Linux Security Modules (LSM), we have extended the function to measure the overhead of the LSM, and evaluated the performance of four typical security focused OS. In this paper, we describe the result of analysis of the overhead of security focused OS and the LSM hooks. 1 root IDS OS OS

MAC root Linux 1 OS Linux 2.6 Linux Security Modules LSM [1] Security-Enhanced Linux SELinux [2] AppArmor[3] OS OS OS LSM LSM Performance Monitor LSMP- MON Linux LSMP- MON LSM OS LSMPMON OS 2 2.1 OS 2.1.1 OS MAC OS OS DAC UNIX root Windows Administrator DAC 1 Linux Linus Torvalds /usr/sbin/httpd ラベル : httpd_t ino: 123 プロセス read /var/www/index.html ラベル : web_contents_t ino: 456 資源 1 Web Web MAC OS OS Linux SELinux, AppArmor, TO- MOYO Linux[4] LIDS[5] OS Web httpd Web 1 2.1.2 SELinux SELinux OS Linux OS SELinux 1 httpd t web contents t 2.1.3 AppArmor AppArmor Novell OS /usr/sbin/httpd /var/www/index.html 2.1.4 TOMOYO Linux TOMOYO Linux NTT OS AppArmor

AP AP (1) ユーザ空間 AP 制御, 結果の取得 (2) DAC チェック (3) LSM フック (5) システムコール処理 カーネル空間 (4) セキュア OS の MAC チェック DAC チェック LSM フック securityfs LSMPMON 時刻とフック箇所の情報を取得し, 結果を比較, 保存するセキュア OS の MAC チェック 2 LSM httpd OS httpd httpd 2.1.5 LIDS LIDS Xie Huangang Philippe Biondi OS LIDS i i vi emacs i 2.2 LSM LSM Linux 2.6 LSM OS LSM LSM 2 AP DAC システムコール処理 3 LSMPMON Linux 2.6.19 163 LSM OS 3 LSMPMON 3.1 OS OS OS LSM OS LSM LSM LSM Performance Monitor LSMPMON Linux 3.2 3.3 LSMPMON Linux 2.6.19.7 LSMPMON 3 LSMPMON LSM

1 OS SELinux AppArmor TOMOYO LIDS LSM 149 39 17 38 + i 2.4.6-80.fc6 March 07 v405 2.0 2.2.3rc1 2 LSMPMON :sec ApacheBench 0.357 0.348 LSM OS LSM securityfs securityfs LSMPMON 4 securityfs echo cat AP LSM min maxave count OS LSMPMON 2 ApacheBench 100 LSMPMON 2.5% LSMPMON % echo 1 > /sys/kernel/security/lsmpmon/control LSMPMON % echo 0 > /sys/kernel/security/lsmpmon/control % cat /sys/kernel/security/lsmpmon/result hook min max ave count --------------------------------------------. inode_create 97 1818075 105 3035605 inode_link inode_unlink 97 80903 114 3035600. 4 4.1 4 LSMPMON LSMPMON SELinux, AppArmor, LIDS, TOMOYO Linux LMbench[6] OS LSM 4.2 CPU: Intel Pentium 4 (3.0GHz) : 1GB, OS: Linux 2.6.19.7 OS None 2 4 OS 2 1 LMbench LMbench 5

2 LSMPMON LSM LSM LSMPMON LMbench 5 OS LSM OS 1 4.3 1 3 SELinux stat 58% stat 40% [7] SELinux 10KB 2 4 4 N/A 1,000 SELinux inode create i AppArmor inode create inode unlink 10 TOMOYO Linux inode permission 20 inode permission LIDS i LSM 3 LSM 4 5 LSM 3 4 5 SELinux 0K file create file create inode create TOMOYO Linux open/close open inode permission 1.76µsec TO- MOYO Linux read write open 10KB 4.4 SELinux AppArmor TO- MOYO Linux i LIDS i 5 LSM LSMP- MON OS

3 :µsec None SELinux AppArmor TOMOYO LIDS stat 1.67 2.65 ( 58%) 1.87 (12%) 2.02 ( 21%) 2.17 (30%) open/close 2.49 3.62 ( 45%) 4.16 (67%) 8.76 (252%) 3.27 (31%) 0K file create 9.67 25.92 (168%) 14.16 (47%) 16.00 ( 66%) 13.90 (44%) 0K file delete 5.58 8.61 ( 54%) 8.03 (44%) 9.88 ( 77%) 6.68 (20%) 10K file create 36.82 51.86 ( 41%) 40.30 ( 9%) 41.50 ( 13%) 39.38 ( 7%) 10K file delete 15.82 19.66 ( 24%) 19.44 (23%) 21.40 ( 35%) 18.62 (18%) 4 LSM :µsec None SELinux AppArmor TOMOYO LIDS inode create 0.035 4.411 1.701 3.047 N/A inode unlink 0.038 0.270 1.523 2.803 0.096 inode permission 0.034 0.152 0.110 0.142 0.156 inode setattr 0.041 0.285 0.261 2.899 0.152 inode getatttr 0.035 0.124 0.035 N/A N/A file permission 0.037 0.044 0.200 N/A 0.040 5 LSM LSM stat inode permission 2 inode getattr 1 open/close inode permission 3 file create inode permission 4 inode create 1 inode setattr 1 file permission 1 file delete inode permission 2 inode unlink 1 Linux OS Linux 4 OS OS LSM LSMPMON C&C [1] C. Wright, C. Cowan, J. Morris, S. Smalley, G. Kroah-Hartman, Linux Security Modules: General Security Support for the Linux Kernel, Proceedings of 11th Annual USENIX Security Symposium, pp 17 31, 2002. [2] P. Loscocco, S. Smalley, Integrating flexible support for security policies into the Linux operating system, Proceedings of the FREENIX Track: 2001 USENIX Annual Technical Conference (FREENIX 01), pp 29 42, 2001. [3] Novell, AppArmor, http://www.novell.com/linux/security/ apparmor/ [4] Linux Linux Conference 2005. [5] LIDS, http://www.lids.org/ [6] LMbench, www.bitmover.com/lmbench/ [7] D. Roselli, J. R. Lorch, T. E. Anderson, A Comparison of File System Workloads, Proceedings of 2000 USENIX Annual Technical Conference, pp. 41 54, USA, June, 2000.