KR20110064458A - Apparatus and method for executing secure application using encrypted dynamic library - Google Patents

Apparatus and method for executing secure application using encrypted dynamic library Download PDF

Info

Publication number
KR20110064458A
KR20110064458A KR1020090121075A KR20090121075A KR20110064458A KR 20110064458 A KR20110064458 A KR 20110064458A KR 1020090121075 A KR1020090121075 A KR 1020090121075A KR 20090121075 A KR20090121075 A KR 20090121075A KR 20110064458 A KR20110064458 A KR 20110064458A
Authority
KR
South Korea
Prior art keywords
dynamic library
library
application
encrypted
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
KR1020090121075A
Other languages
Korean (ko)
Inventor
김영호
김신효
이상우
이석준
이윤경
황정연
문혜란
정병호
조현숙
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR1020090121075A priority Critical patent/KR20110064458A/en
Publication of KR20110064458A publication Critical patent/KR20110064458A/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12—Protecting executable software
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12—Protecting executable software
    • G06F21/121—Restricting unauthorised execution of programs
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55—Detecting local intrusion or implementing counter-measures
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/575—Secure boot
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60—Protecting data
    • G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

본 발명은 암호화된 동적 라이브러리를 이용하여 응용 프로그램을 안전하게 실행시키기 위한 장치 및 방법에 관한 것으로서, 서비스 제공자 또는 사업자가 제공한 응용 프로그램을 원격의 사용자 단말에 실행시킬 때 허가받지 않은 대상자로부터 소프트웨어에 대한 불법적인 분석 공격을 방지하는 것이다.The present invention relates to an apparatus and method for securely executing an application program using an encrypted dynamic library, wherein the application program provided by a service provider or a service provider is executed from an unauthorized subject to a remote user terminal. It is to prevent illegal analytical attacks.

본 발명에 따른 암호화된 동적 라이브러리를 이용한 응용 프로그램 실행 장치는, 응용 프로그램을 저장하는 메모리와, 상기 응용 프로그램의 실행에 필요한 암호화된 동적 라이브러리를 저장하는 디스크와, 상기 디스크에 저장된 암호화된 동적 라이브러리를 판독하여 해당 암호키를 이용하여 복호화를 수행하는 신뢰 모듈과, 상기 복호화된 동적 라이브러리를 메모리에 복사하고 메모리에 복사된 라이브러리 이미지를 응용 프로그램이 사용할 수 있는 주소 영역에 매핑시키는 동적 로더를 포함한다.An apparatus for executing an application using an encrypted dynamic library according to the present invention includes a memory for storing an application, a disk for storing an encrypted dynamic library for executing the application, and an encrypted dynamic library stored on the disk. And a trusted module for reading and performing decryption using the corresponding encryption key, and a dynamic loader for copying the decrypted dynamic library to the memory and mapping the library image copied to the memory to an address area that can be used by an application program.

Description

암호화된 동적 라이브러리를 이용한 안전한 소프트웨어 실행 장치 및 방법{Apparatus and Method for secure software execution with an encrypted dynamic library}Apparatus and Method for secure software execution with an encrypted dynamic library

본 발명은 암호화된 동적 라이브러리를 이용하여 소프트웨어를 안전하게 실행시키는 장치 및 방법에 관한 것으로서, 서비스 제공자 또는 사업자가 제공한 소프트웨어를 원격의 사용자 단말에 실행시킬 때 허가받지 않은 대상자로부터 소프트웨어에 대한 불법적인 분석 공격을 방지하는 것이다. 본 발명은 지식경제부 IT원천기술개발사업의 일환으로 수행한 연구로부터 도출한 것이다[과제관리번호: 2008-F-036-02, 과제명: 익명성 기반의 u지식 정보보호 기술 개발].The present invention relates to an apparatus and method for securely executing software by using an encrypted dynamic library, wherein an illegal analysis of software from an unauthorized subject is executed when executing a software provided by a service provider or an operator on a remote user terminal. To prevent attacks. The present invention is derived from a study performed as part of the IT source technology development project of the Ministry of Knowledge Economy [Task Management No .: 2008-F-036-02, Title: Development of u knowledge information protection technology based on anonymity].

최근, 디지털 콘텐츠 산업의 성장과 더불어 저작권 및 콘텐츠 보호에 대한 필요성이 대두되고 있다. 특히, IPTV 셋탑박스 또는 게임기와 같이 사용자 단말에서 콘텐츠를 재생하고 재가공하는 경우 콘텐츠 자체에 대한 보호뿐만 아니라, 이러한 콘텐츠를 사용자 단말에서 재생 또는 재가공하는 소프트웨어에 대한 보호가 필요하다. 최근 불법 콘텐츠 유출 사건들이 이러한 사용자 단말의 보안 취약성, 특 히 콘텐츠를 제어하는 응용 프로그램을 통해 이루어진다는 사실이 더욱 이 기술의 필요성을 말해준다.Recently, with the growth of the digital content industry, the need for copyright and content protection has emerged. In particular, when playing and reprocessing content in a user terminal such as an IPTV set-top box or a game machine, not only protection for the content itself but also protection for software for playing or reprocessing such content in the user terminal is required. The fact that recent illegal content leakage incidents occur through such security vulnerabilities of user terminals, especially applications that control content, further indicates the necessity of this technology.

본 발명의 목적은 서비스 제공자 또는 사업자가 제공하는 IPTV 또는 DRM 기반의 콘텐츠를 실행시키는 응용 프로그램이 원격 사용자 단말에서 응용 프로그램의 내부 정보를 노출시키지 않고 안전하게 실행될 수 있는 방법 및 장치를 제공함에 있다.It is an object of the present invention to provide a method and apparatus that enables an application program that executes an IPTV or DRM-based content provided by a service provider or an operator to be executed safely without exposing internal information of the application program on a remote user terminal.

본 발명의 일실시예에 따른 암호화된 동적 라이브러리를 이용한 응용 프로그램 실행 장치는, 응용 프로그램을 저장하는 메모리와, 상기 응용 프로그램의 실행에 필요한 암호화된 동적 라이브러리를 저장하는 디스크와, 상기 디스크에 저장된 암호화된 동적 라이브러리를 판독하여 해당 암호키를 이용하여 복호화를 수행하는 신뢰 모듈과, 상기 복호화된 동적 라이브러리를 메모리에 복사하고 메모리에 복사된 라이브러리 이미지를 응용 프로그램이 사용할 수 있는 주소 영역에 매핑시키는 동적 로더를 포함한다.An apparatus for executing an application using an encrypted dynamic library according to an embodiment of the present invention includes a memory for storing an application, a disk for storing an encrypted dynamic library for executing the application, and an encryption stored on the disk. A trusted module that reads the decrypted dynamic library and performs decryption using the corresponding encryption key, and a dynamic loader that copies the decrypted dynamic library to memory and maps the copied library image to an address area that can be used by an application. It includes.

최근 IPTV 또는 DRM 기반의 디지털 콘텐츠는 서비스 제공자 또는 사업자가 소유하고 이를 이용자 단말로 제공하는 형태의 유통 구조를 갖는다. 그러나 사업자 측면에서 볼 때, 이용자가 소유한 단말은 실제로 사업자가 원하는 신뢰성을 제공하지 못하고 있으며 이로 인한 불신은 사업자로 하여금 콘텐츠 사용에 대한 이용자의 범위를 제한하고 불편을 초래하는 결과를 낳고 있다. 일반적으로 사용자는 자신이 소유한 단말 컴퓨팅 환경을 모두 제어할 수 있기 때문에 대부분의 악의적인 사용자 또는 공격자는 이러한 특성을 이용하여 쉽게 단말에서 실행되는 응용 프로그램에 대한 정보를 수집할 수 있다. 그러므로 본 발명에서 제안하는 암호화된 동적 라이브러리를 이용하여 서비스 제공자 또는 사업자는 자신들이 제공한 응용 프로그램이 사용자 단말 내의 신뢰된 모듈을 통해서만 복호화되고 이러한 복호화된 실행 이미지는 메모리에만 존재함으로써 디스크에 저장된 상태에서 소프트웨어의 내부 실행 구조를 노출시키지 않고 안전하게 실행될 수 있도록 한다. 이에 따라, 사업자는 이용자에게 제공할 응용 프로그램을 암호화하여 기밀성을 제공하고 이용자는 단말의 신뢰된 모듈을 통해서 암호화된 응용 프로그램을 실행시킴으로써 콘텐츠에 대한 보다 자유로운 소비를 보장받는다. 결국 응용 프로그램에 대한 보안 및 신뢰성은 사업자뿐만 아니라 소비자에게 혜택으로 돌아가는 결과를 낳는다.Recently, digital content based on IPTV or DRM has a distribution structure that is owned by a service provider or a provider and provided to a user terminal. However, in terms of the operator, the user-owned terminal does not actually provide the reliability desired by the operator, and the distrust caused by this causes the operator to limit the user's scope to the use of the content and cause inconvenience. In general, since the user can control all of the terminal computing environment that he owns, most malicious users or attackers can use this property to easily collect information about the application running on the terminal. Therefore, by using the encrypted dynamic library proposed in the present invention, a service provider or an operator can decrypt an application provided by the user only through a trusted module in the user terminal, and the decrypted executable image is stored in a disk because it exists only in memory. It can be safely executed without exposing the software's internal execution structure. Accordingly, the operator encrypts the application program to be provided to the user, thereby providing confidentiality, and the user is guaranteed more free consumption of the content by executing the encrypted application program through the trusted module of the terminal. Eventually, the security and reliability of the application results in benefits not only for the operator but also for the consumer.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명하겠다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있음을 의미한다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise. In addition, the terms “… unit”, “module”, and the like described in the specification mean a unit that processes at least one function or operation, which means that the unit may be implemented by hardware or software or a combination of hardware and software.

도 1은 본 발명의 일실시예에 따라 암호화된 동적 라이브러리를 제공하는 서비스 제공자(사업자)측 관리서버와 이를 제공받아 응용 프로그램을 실행시키는 사용자측 단말 장치의 구성을 도시한 도면이다. 도 1에 도시된 바와 같이, 서비스 제공자측 관리서버(200)는 콘텐츠를 제공하는 주체로서 콘텐츠 실행에 필요한 응용 프로그램과 이와 관련된 동적 라이브러리를 생성하여 사용자 단말 장치(100)에 제공한다. 동적 라이브러리는 사용자 단말에서 응용 프로그램과 함께 실행될 수 있는 파일 형태로 생성된 개체로서, 응용 프로그램과 함께 외부의 불법적인 공격으로부터 보호가 요구되는 대상이 된다. FIG. 1 is a diagram illustrating a configuration of a service provider (operator) side management server that provides an encrypted dynamic library and a user side terminal apparatus that receives the same and executes an application program. Referring to FIG. As shown in FIG. 1, the service provider-side management server 200 generates an application program and a dynamic library associated with the content as a subject providing the content to the user terminal device 100. The dynamic library is an object created in the form of a file that can be executed with an application program on a user terminal. The dynamic library is an object to be protected from an illegal illegal attack with the application program.

본 발명에서는 응용 프로그램 내에서 보안상 보호가 필요한 부분을 라이브러리 형태로 생성하고 이러한 라이브러리를 암호학적 키를 이용하여 해독이 불가능한 형태로 스크램블링하여 사용자 단말의 디스크와 같은 일반 저장 장치에서 관리함으로써 중요 정보에 대한 기밀성을 제공한다. 일반적으로 사용자는 자신이 소유한 단말 컴퓨팅 환경을 모두 제어할 수 있기 때문에 대부분의 악의적인 사용자 또는 공격자는 이러한 특성을 이용하여 쉽게 단말에서 실행되는 응용 프로그램에 대한 정보를 수집할 수 있다. 그러므로 본 발명에서 제안하는 암호화된 동적 라이브러리를 이용하여 서비스 제공자(Service Provider) 또는 사업자는 자신들이 제공한 응 용 프로그램이 사용자 단말 내의 신뢰된 모듈을 통해서만 복호화되고 이러한 복호화된 실행 이미지는 메모리에만 존재함으로써 디스크에 저장된 상태에서 소프트웨어의 내부 실행 구조를 노출시키지 않고 안전하게 실행될 수 있도록 한다. In the present invention, a part of the application that requires security protection in the form of a library is generated, and the library is scrambled into a form that cannot be decrypted using a cryptographic key and managed in a general storage device such as a disk of a user terminal to provide important information. Provide confidentiality for In general, since the user can control all of the terminal computing environment that he owns, most malicious users or attackers can use this property to easily collect information about the application running on the terminal. Therefore, using the encrypted dynamic library proposed by the present invention, a service provider or a service provider can decrypt an application provided by the user only through a trusted module in the user terminal, and the decrypted executable image exists only in memory. While stored on disk, they can be safely executed without exposing the software's internal execution structure.

본 발명에 따른 서비스 제공자측 관리서버(200)는 동적 라이브러리(210)를 암호화된 동적 라이브러리(220) 형태로 생성하여 사용자 단말장치(100)에 제공하는 것을 특징으로 한다. 서비스 제공자측 관리서버(200)는 사용자 단말 장치에서 실행될 동적 라이브러리(210)를 생성한 후에 암호화 과정을 거쳐 해독이 불가능한 형태로 변경한다. 암호화된 동적 라이브러리(220)는 네트워크)를 통해 사용자 단말 장치(100)로 전송된다. 한편, 본 발명의 실시예에서는 동적 라이브러리의 전송이 네트워크를 통해 이루어지나, 본 발명이 이에 한정되는 것은 아니다.The service provider-side management server 200 according to the present invention may generate the dynamic library 210 in the form of an encrypted dynamic library 220 and provide the same to the user terminal device 100. The service provider-side management server 200 generates a dynamic library 210 to be executed in the user terminal device and then changes it into a form that cannot be decrypted through an encryption process. The encrypted dynamic library 220 is transmitted to the user terminal device 100 through a network. Meanwhile, in the embodiment of the present invention, the dynamic library is transmitted through the network, but the present invention is not limited thereto.

사용자 단말 장치(100)는 범용 프로세서, 메모리 및 디스크를 구비하고 범용 운영체제에 기반하여 응용 프로그램을 수행하는 일반 컴퓨팅 장치로서, 범용 PC, PDA, 핸드폰, 모바일 컴퓨팅 장치 등이 이에 해당될 수 있다. 구체적으로, 본 발명의 일실시예에 따른 사용자 단말 장치(100)는, 응용 프로그램 및 동적 라이브러리를 저장하는 메모리(110), 서비스 제공자측 관리서버(200)로부터 수신된 암호화된 동적 라이브러리를 저장하는 디스크(120), 암호화된 동적 라이브러리를 복호화화하기 위한 신뢰모듈(130)과 복호화된 동적 라이브러리를 응용 프로그램이 사용가능하도록 메모리에 로드하는 동적 로더(140)를 포함한다. The user terminal device 100 is a general computing device including a general-purpose processor, a memory, and a disk and executing an application program based on a general-purpose operating system. The user terminal device 100 may correspond to a general-purpose PC, a PDA, a mobile phone, a mobile computing device, and the like. Specifically, the user terminal device 100 according to an embodiment of the present invention, the memory 110 for storing the application program and the dynamic library, the encrypted dynamic library received from the service provider side management server 200 The disk 120 includes a trust module 130 for decrypting an encrypted dynamic library and a dynamic loader 140 for loading the decrypted dynamic library into a memory for use by an application program.

서비스 제공자측 관리서버(200)로부터 수신된 암호화된 동적 라이브러리(220)는 디스크(120)에 저장된다. 디스크(120)는 일반적인 파일 시스템에 의해 관리되기 때문에 암호화된 동적 라이브러리에 대한 읽기는 가능하지만 암호 키 소유 없이는 라이브러리 내부에 대한 판독은 불가능하다. The encrypted dynamic library 220 received from the service provider management server 200 is stored in the disk 120. Since the disk 120 is managed by a general file system, it is possible to read the encrypted dynamic library, but not to the inside of the library without possessing the encryption key.

신뢰모듈(130)은 디스크(120)에 저장된 암호화된 라이브러리를 판독하여 해당 암호키를 이용하여 복호화를 수행한다. 암호화된 동적 라이브러리에 대한 복호화 연산을 별도의 보안성이 제공되는 신뢰 모듈을 통해 수행시킴으로써 소프트웨어의 기반의 동적 로더로부터 발생할 수 있는 또 다른 위협을 사전에 방지하기 위함이다. 신뢰 모듈(130)은 암호화된 라이브러리를 복호화 하는데 필요한 암호학적 연산 암호화(encryption), 복호화(decryption), 서명(signing), 해쉬(hash), 난수 발생기(random number generator) 을 제공하는 모듈로서, TPM(Trusted Platform Module) 및 보안 토큰 등과 같은 하드웨어 보안 모듈 또는 이러한 기능을 소프트웨어적으로 구현할 수 있는 모든 모듈을 포함한다.The trust module 130 reads the encrypted library stored in the disk 120 and decrypts using the corresponding encryption key. This is to prevent other threats that may arise from the dynamic loader based on the software by performing decryption operation on the encrypted dynamic library through a trust module provided with a separate security. The trust module 130 is a module that provides encryption, decryption, signing, hash, and random number generator required to decrypt an encrypted library. Includes hardware security modules, such as Trusted Platform Modules and security tokens, or any module that can implement these features in software.

동적 로더(140)는 복호화된 동적 라이브러리를 메모리에 복사하고 메모리에 복사된 라이브러리 이미지를 응용 프로그램이 사용할 수 있는 주소 영역에 매핑시켜 응용 프로그램이 호출하여 사용할 수 있도록 한다. 동적 로더(140)는 일반적으로 사용하는 라이브러리 로더와 마찬가지로 암호화된 동적 라이브러리 내부의 함수를 응용 프로그램에서 호출할 수 있도록 한다. The dynamic loader 140 copies the decrypted dynamic library to the memory and maps the library image copied to the memory to an address area that can be used by an application so that the application can call and use the same. The dynamic loader 140 allows a function within an encrypted dynamic library to be called by an application program like a library loader generally used.

도 2는 본 발명의 일실시예에 따라 암호화된 동적 라이브러리를 이용한 응용 프로그램의 실행 과정을 도시한 흐름도이다. 도 2에 도시된 바와 같이, 단계(S210)에서 서비스 제공자측 서버로부터 암호화된 라이브러리를 수신하여 디스크 에 저장한다.2 is a flowchart illustrating an execution process of an application program using an encrypted dynamic library according to an embodiment of the present invention. As shown in FIG. 2, in step S210, an encrypted library is received from a server of a service provider and stored in a disk.

단계(S220)에서 응용 프로그램으로부터 암호화된 특정 라이브러리에 대한 호출이 이루어지면 동적 로더는 신뢰모듈에 상기 암호화된 라이브러리를 요청한다.If a call to a specific library encrypted from the application program is made in step S220, the dynamic loader requests the encrypted library from the trust module.

단계(S230)에서, 신뢰모듈은 해당 라이브러리를 디스크로부터 판독하고, 단계(S240)에서 해당 라이브러리에 대한 암호 키를 이용하여 복호화 작업을 수행한다. In step S230, the trust module reads the library from the disk and in step S240 performs a decryption operation using the encryption key for the library.

이렇게 복호화된 라이브러리 이미지는 디스크로 저장되지 않고 바로 메모리 영역으로 복사된다(S250). 이와 같이 복호화된 라이브러리 이미지가 디스크를 경유하지 않는 이유는 파일시스템으로 관리되는 디스크를 통해 복호화된 라이브러리가 외부로 노출되는 상황을 방지하기 위함이다. 또한 동적 로더와 신뢰 모듈을 분리함으로써 소프트웨어로 구현되는 동적 로더에 대한 역공학(reverse engineering) 공격으로부터 동적 라이브러리 내부 정보를 보호하기 위함이다. The decoded library image is copied directly to the memory area without being stored on the disk (S250). The reason why the decrypted library image does not pass through the disk is to prevent a situation in which the decrypted library is exposed to the outside through the disk managed by the file system. It also separates the dynamic loader and trust modules to protect the information inside the dynamic library from reverse engineering attacks against the dynamic loader implemented in software.

마지막으로, 단계(S260)에서 응용 프로그램이 접근할 수 있는 메모리 영역으로 복사된 라이브러리 이미지 내부의 심볼 정보를 외부 응용 프로그램이 사용할 수 있도록 연결함으로써 응용 프로그램의 실행에 필요한 모든 준비 과정을 마치게 된다.Finally, in step S260, all the preparations necessary for the execution of the application are completed by linking the symbol information inside the library image copied to the memory area accessible to the application so that the external application can use the symbol information.

이상과 같이 본 발명에 의한 암호화된 동적 라이브러리를 이용한 안전한 응용 프로그램의 실행 장치 및 방법은 예시된 도면을 참조로 설명하였으나, 본 명세서에 개시된 실시예와 도면에 의해 본 발명은 한정되지 않고, 기술사상이 보호되는 범위 이내에서 응용될 수 있다. As described above, the apparatus and method for executing a secure application using the encrypted dynamic library according to the present invention have been described with reference to the illustrated drawings, but the present invention is not limited by the embodiments and drawings disclosed herein, It can be applied within this protected range.

도 1은 본 발명의 일실시예에 따라 암호화된 동적 라이브러리를 제공하는 서비스 제공자(사업자)측 관리서버와 이를 제공받아 응용 프로그램을 실행시키는 사용자측 단말 장치의 구성을 도시한 도면이다. FIG. 1 is a diagram illustrating a configuration of a service provider (operator) side management server that provides an encrypted dynamic library and a user side terminal device that receives the same and executes an application program according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따라 암호화된 동적 라이브러리를 이용한 응용프로그램의 실행 과정을 도시한 흐름도이다. 2 is a flowchart illustrating an execution process of an application program using an encrypted dynamic library according to an embodiment of the present invention.

Claims (1)

응용 프로그램을 저장하는 메모리와,With memory to store applications, 상기 응용 프로그램의 실행에 필요한 암호화된 동적 라이브러리를 저장하는 디스크와, A disk storing an encrypted dynamic library required for executing the application; 상기 디스크에 저장된 암호화된 동적 라이브러리를 판독하여 해당 암호키를 이용하여 복호화를 수행하는 신뢰 모듈과,A trust module that reads an encrypted dynamic library stored in the disk and performs decryption using a corresponding encryption key; 상기 복호화된 동적 라이브러리를 메모리에 복사하고 메모리에 복사된 라이브러리 이미지를 응용 프로그램이 사용할 수 있는 주소 영역에 매핑시키는 동적 로더Dynamic loader that copies the decrypted dynamic library to memory and maps the library image copied to memory to an address area that can be used by an application. 를 포함하는 암호화된 동적 라이브러리를 이용한 응용 프로그램 실행 장치.Application execution device using the encrypted dynamic library comprising a.
KR1020090121075A 2009-12-08 2009-12-08 Apparatus and method for executing secure application using encrypted dynamic library Ceased KR20110064458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090121075A KR20110064458A (en) 2009-12-08 2009-12-08 Apparatus and method for executing secure application using encrypted dynamic library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090121075A KR20110064458A (en) 2009-12-08 2009-12-08 Apparatus and method for executing secure application using encrypted dynamic library

Publications (1)

Publication Number Publication Date
KR20110064458A true KR20110064458A (en) 2011-06-15

Family

ID=44397900

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090121075A Ceased KR20110064458A (en) 2009-12-08 2009-12-08 Apparatus and method for executing secure application using encrypted dynamic library

Country Status (1)

Country Link
KR (1) KR20110064458A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101503785B1 (en) * 2013-10-10 2015-03-18 (주)잉카엔트웍스 Method And Apparatus For Protecting Dynamic Library
CN110781492A (en) * 2018-07-31 2020-02-11 阿里巴巴集团控股有限公司 Data processing method, apparatus, device and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101503785B1 (en) * 2013-10-10 2015-03-18 (주)잉카엔트웍스 Method And Apparatus For Protecting Dynamic Library
WO2015053509A1 (en) * 2013-10-10 2015-04-16 (주)잉카엔트웍스 Method and apparatus for protecting dynamic libraries
CN105683990A (en) * 2013-10-10 2016-06-15 Inka安特沃客有限公司 Method and apparatus for protecting dynamic libraries
CN105683990B (en) * 2013-10-10 2018-11-09 Inka安特沃客有限公司 Method and apparatus for protecting dynamic base
CN110781492A (en) * 2018-07-31 2020-02-11 阿里巴巴集团控股有限公司 Data processing method, apparatus, device and storage medium
CN110781492B (en) * 2018-07-31 2023-09-26 阿里巴巴集团控股有限公司 Data processing methods, devices, equipment and storage media

Similar Documents

Publication Publication Date Title
US8677142B2 (en) Method and system for protecting against the execution of unauthorized software
US9514300B2 (en) Systems and methods for enhanced security in wireless communication
US7181603B2 (en) Method of secure function loading
US8522042B2 (en) Method and apparatus for enforcement of software licence protection
US8281115B2 (en) Security method using self-generated encryption key, and security apparatus using the same
US9635048B2 (en) Method and system for dynamic platform security in a device operating system
KR20070001893A (en) Tamper-Resisted Trusted Virtual Machines
KR20100080405A (en) Protecting content on client platforms
EP3014511A1 (en) Process authentication and resource permissions
CN104318135A (en) Java code safety dynamic loading method on basis of trusted execution environment
US20100241855A1 (en) Systems and Methods for Secure Execution of Code Using a Hardware Protection Module
KR20090064698A (en) Drm method and system using trust platform module
CN105229652A (en) Detect the utilization for software application
WO2005098570A1 (en) Execution device
US20120079462A1 (en) Systems and methods of source software code obfuscation
US8745407B2 (en) Virtual machine or hardware processor for IC-card portable electronic devices
CN105426702A (en) Android operating system based application program encrypting method and device, and Android operating system based application program decrypting method and device
Gelbart et al. CODESSEAL: Compiler/FPGA approach to secure applications
KR101203722B1 (en) Apparatus and method for data protection
CN119135455B (en) High-performance protection method for untrusted terminal environment feature library
US9166783B2 (en) Protection method, decryption method, player, storage medium, and encryption apparatus of digital content
KR101054075B1 (en) Method and device to restrict use of protection key
Kumbhar et al. Hybrid Encryption for Securing SharedPreferences of Android Applications
Chau et al. Why Johnny Can't Make Money With His Contents: Pitfalls of Designing and Implementing Content Delivery Apps
Ruiz et al. Security engineering and modelling of set-top boxes

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20091208

A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20100803

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20091208

Comment text: Patent Application

PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20110829

Patent event code: PE09021S01D

E601 Decision to refuse application
PE0601 Decision on rejection of patent

Patent event date: 20120207

Comment text: Decision to Refuse Application

Patent event code: PE06012S01D

Patent event date: 20110829

Comment text: Notification of reason for refusal

Patent event code: PE06011S01I