• 검색 결과가 없습니다.

전자정보보안기술 TECHNOLOGY DIGITAL INFORMATION SECURITY

N/A
N/A
Protected

Academic year: 2022

Share "전자정보보안기술 TECHNOLOGY DIGITAL INFORMATION SECURITY"

Copied!
15
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

DIGITAL INFORMATION SECURITY TECHNOLOGY

전자정보 보안기술

2019 Spring Semester Instructor: Jaewoo Lee

Some Slides from “Security Engineering”,Ross, 2008

(2)

Today Lecture

• Review

• Ch. 6: Distributed Systems

• Network Security

• Distributed Systems Security

(3)

Review: RSA

• Bob generate RSA key

• large primes p=61, q=53

 N=pq=3233, (p-1)(q-1)=3120

• Find e which is relative prime (서로소) to (p-1) and (q-1)

 1<e<3120  e=17

• Find d s.t. e*d mod (p-1)(q-1)=1  d=2753

• Public key: (N, e), Private key: d 

Bob post public key (3233,17) and keep private key 2753

• Alice want to send msg to Bob

• Alice get Bob’s public key in his homepage

• Alice encrypt P (=65)

• Alice send C to Bob

• Bob decrypt C

6517 mod 3233=2790 27902753 mod 3233 = 65

(4)

Network Security

• To prevent resources and networks of organization from attack

• Network Separation (망분리)

• Separate inner network from outer network

(5)

OSI 7 layer

• OSI 7 layer

• Interconnect heterogeneous network

• Simplification, Standardization, Modularization

P2P

Multi-hop

Ethernet HW, Lan Cable Reliable Connection

HTTP, FTP Open System Interconnection

(6)

Data Link Layer

• MAC address

• Ethernet HW address (48bit)

• Vendor ID (3byte)+

Host ID (3byte)

• HEX(16진수) notation

• IP address (IPv4)

• A numerical label to the device in WWW

• 32bit (4byte)

• dot-decimal notation

• ARP

• A protocol mapping between MAC address and IP address

Media Access Control

Internet Protocol

Address Resolution Protocol

(7)

TCP/IP

OSI 참조모델 계층 TCP/IP 계층 Application

Application layer Presentation layer

Session layer

Application

layer Application

Protocol & service

Transport layer Transport layer TCP UDP

Network layer Internet layer IP ICMP ARP RARP 경로배정 protocol Data link layer Network

Interface layer Network driver software Physical layer Hardware NIC(Network interface card)

ICMP: Internet Control Message Protocol IGMP: Internet Group Management Protocol

상위계층

하위계층 IGMP IGMP

(8)

Transport layer protocol: TCP vs UDP

TCP UDP

Transport type Connection Connectionless

Connection Setup Connect (3way handshaking)

Disconnect (4way handshaking)

No connection setup

Reliability High Low

Speed Slow Fast

Influence to upper layers X need to handle End-To- End errors

Q. Which protocol does YouTube use?

Transmission Control Protocol User Datagram Protocol

(9)

3 Way Handshaking (Connect)

Related to IP spoofing, Session Hijacking

(10)

Distributed Systems

• Distributed Systems

• A set of computers that cooperate for common goals

• E.g., wireless sensor networks, world wide web (WWW)

(11)

Concurrency (Ch. 6.1)

• Processes are concurrent

• They run at the same time

• Concurrency increasing

1) Growing online business

2) Complex devices

(12)

Using old data

• Replay Attack (Ch. 3)

• ‘grabber’ example

• Race Condition Attack (Ch. 4)

• ‘mkdir’ example

• Time of Check To Time Of Use (TOCTTOU) attack

• Bugs caused by changes between the condition check and the use of the results of that check

• Bank example (balance: $3000)

Check Balance

Withdraw $2000 Deposit $1000

Check Balance Withdraw $2000

Deposit $1000

(Normal) (Under Attack)

(13)

The order of update

• Bank example

• Balance: $1000

Deposit $5000

Withdraw $2000

Deposit $5000

Withdraw $2000

(Normal)

(Under Attack)

Sol 1: process transaction based on the arrival time Sol 2: log-based update

(14)

Inconsistent Update

• Concurrent Data Modification

• Sol 1: Locking (avoid conflict)

• Sol 2: Call-back (allow conflict)

(15)

Thank you

Q&A

참조

관련 문서

Introduction to Data Communication Networks, M2608.001200, 2021 FALL SEOUL NATIONAL

l 암호문의 통계적 특성과 암호 키 값과의 관계를 가능한 복잡하게 하는 l 암호문의 통계적 특성과 암호 키 값과의 관계를

l ISAKMP 메시지: 헤더, 보안연계 페이로드, 제안 페이로드(ISAKMP), 트랜스폼 페이로드(오클리 l ISAKMP 메시지: 헤더, 보안연계 페이로드,

While a chemical reac- tion takes place between different synthons and typically yields a unique molecule after each synthetic step, layer-by-layer deposition involves the

q 등록기관: 인증서 신청자의 신원 확인 및 인증서 등록을 대행하는 기관 q 인증기관: 인증서를 발행하는 기관. q 인증기관:

§ 고속의 처리를 요구하는 IP 보안 프로토콜(IPSec)에 사용 l 암호키 관리: 네트워크에서 소요되는 전체 키의 개수가 많음 l 암호키 분배: 사전에 비밀키가 안전하게

위하여 연결설정(SYN) 요청 à 위조된 IP 주소로 부터 응답(ACK)을 받을 때까지 대기 q 위조된 대량의 연결설정(SYN) 요청 패킷이 수신되면 서버의 대기

•  A network added between a protected network and an external network, in order to provide an additional layer of security.!. •  허용할 network 접속과 허용하지