KR101266411B1 - Method of copy protect for digital device and apparatus thereof - Google Patents

Method of copy protect for digital device and apparatus thereof Download PDF

Info

Publication number
KR101266411B1
KR101266411B1 KR1020110058349A KR20110058349A KR101266411B1 KR 101266411 B1 KR101266411 B1 KR 101266411B1 KR 1020110058349 A KR1020110058349 A KR 1020110058349A KR 20110058349 A KR20110058349 A KR 20110058349A KR 101266411 B1 KR101266411 B1 KR 101266411B1
Authority
KR
South Korea
Prior art keywords
copy protection
software
encryption key
encryption
digital device
Prior art date
Application number
KR1020110058349A
Other languages
Korean (ko)
Other versions
KR20120138919A (en
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 KR1020110058349A priority Critical patent/KR101266411B1/en
Publication of KR20120138919A publication Critical patent/KR20120138919A/en
Application granted granted Critical
Publication of KR101266411B1 publication Critical patent/KR101266411B1/en

Links

Images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)

Abstract

본 발명은 소프트웨어의 복제 방지를 위하여 디지털 장치의 동작에 필요한 실행 파일 및 데이터를 암호화 저장한다. 암호화하여 저장함으로써, 복제하더라도 사용할 수 없도록 하는 것이며, 또한 소프트웨어 복제 시도를 감지하고 이에 대처하기 위하여 조도센서를 두어 투시되는 빛의 양에 따른 복제 시도를 감지하고 케이스 개방에 의한 복제 시도를 감지하며 및/또는 수은 접점 릴레이에 의한 복제 시도 감지를 한다. 디지털 장치 동작 중 암호화키의 유효성을 주기적으로 체크하여 암호화키가 유효하지 않으면 램디스크 언마운팅, 복제 시도의 대상이 된 소프트웨어의 이미지 삭제 및 시스템 재부팅을 수행하도록 한다.The present invention encrypts and stores executable files and data necessary for the operation of the digital device for copy protection of software. By encrypting and storing it so that it cannot be used even if it is duplicated, and to detect and cope with software duplication attempts, by detecting an attempt to duplicate duplication according to the amount of light emitted by detecting an illumination intensity, and detecting duplication attempts by opening the case; and And / or detect replication attempts by mercury contact relays. During the operation of the digital device, the validity of the encryption key is periodically checked. If the encryption key is not valid, ramdisk unmounting, image deletion of the software targeted for duplication, and system reboot are performed.

Description

디지털 장치의 소프트웨어 복제방지 방법 및 장치{Method of copy protect for digital device and apparatus thereof}Method and copy protection for digital device and apparatus of digital device

본 발명은 소프트웨어 복제 방지에 관한 것으로, 더욱 상세하게는 디지털 장치의 동작에 필요한 실행파일 및 데이터를 암호화하여 저장하며 소프트웨어 복제 시도를 감지하여 복제 시도를 원천적으로 방지하는 장치 및 방법에 관한 것이다.The present invention relates to software copy protection, and more particularly, to an apparatus and method for encrypting and storing an executable file and data necessary for the operation of a digital device, and preventing a copy attempt by detecting a software copy attempt.

정보 통신 기술이 발달함에 따라 개발된 다양한 소프트웨어의 불법 복제 문제는 단순히 소프트웨어 개발자의 개발 의욕 저하 문제를 떠나, 불법 복제로 인한 손실액이 소프트웨어 가격에 반영되고 다시 높은 가격으로 인해 불법 복제를 시도하게 되는 악순환으로 이어져 국가적 산업 발전에 걸림돌이 되고 있다. 따라서 소프트웨어 불법 복제 차단은 국가 IT 위상에 걸 맞는 산업계 전반의 필연적 요구사항이다. The piracy problem of various softwares developed with the development of information and communication technology is not only a problem of lowering the developer's motivation to develop, but also a vicious cycle in which the losses due to piracy are reflected in the software price, and again, the piracy is attempted due to the high price. It is becoming an obstacle to national industrial development. Thus, software piracy prevention is an indispensable requirement across the industry for national IT status.

소프트웨어 불법 복제를 방지하기 위한 종래 기술로는 소프트웨어 설치 CD의 CD 키를 입력받는 방법, 복제방지용 하드웨어 락(Lock)을 이용하거나, 웹 서버를 통해 소프트웨어의 불법 복제를 감시하는 방법이 제안되어 있다. CD-키를 입력 받는 방식은 가장 일반적으로 사용되는 방식이나 CD를 복제 한 뒤에 CD-키 값을 생성/입력하여 소프트웨어를 설치하거나 정당 사용자로부터 CD-키를 받아 설치하는 등으로 복제 방지에 그리 효과적이지 못하다. 도1 내지 도5는 이러한 CD 키 입력 방식의 소프트웨어 복제 방지 방식을 해결하기 위한 종래 기술이다.As a conventional technique for preventing software piracy, a method of receiving a CD key of a software installation CD, using a hardware lock for copy protection, or monitoring a software piracy through a web server has been proposed. Receiving a CD-key is the most commonly used method.However, copying a CD-key generates and enters a CD-key value and installs the software or receives a CD-key from a party user. Not 1 to 5 are conventional techniques for solving the software copy protection method of the CD key input method.

도 1은 특허문헌 1의 소프트웨어 복제 방지를 위한 장치를 나타냈다. 사용자 컴퓨터의 병렬포트에 접속되는 암호화/복호화 칩을 내장시켜 소프트웨어 불법복제를 방지하는 것으로 소프트웨어 설치 또는 실행 시에 락의 존재 유무를 확인하여 소프트웨어에 내장된 시리얼번호와 하드웨어 락키 내의 시리얼번호를 비교하여 일치할 때만 실행가능 하도록 하는 것이다.1 shows an apparatus for preventing software copying of Patent Document 1. As shown in FIG. The built-in encryption / decryption chip connected to the parallel port of the user's computer prevents illegal copying of the software. It checks the existence of the lock when installing or executing the software and compares the serial number embedded in the software with the serial number in the hardware lock key. To make it executable only when they match.

그러나 정당한 사용자의 백업용 복제나 실행되는 컴퓨터에 계속 하드웨어 키를 유지해야 하므로 불편함이 있게 된다. 또한, 하드웨어 락키의 고장 등으로 인한 사용상 문제가 발생할 수 있다.However, this is inconvenient because the hardware key must be kept on the computer for the backup of a legitimate user or on a running computer. In addition, a problem in use may occur due to a failure of a hardware lock key.

도2 는 특허문헌 1의 시리얼 포트에 별도의 하드웨어 락키를 지속적으로 부착해야 하는 불편함을 해소하기 위한 것으로 USB와 같은 휴대용 저장장치를 이용한 소프트웨어 불법 복제 방지를 위한 것이다. 휴대용 저장장치에 라이센스 영역을 두어 응용 소프트웨어 및 저장장치의 고유 라이센스 코드를 생성, 탑재한 것이나 소프트웨어를 저장한 휴대용 저장장치 자체의 대여나 복제에는 무방비 하다.2 is to solve the inconvenience of having to continuously attach a separate hardware lock key to the serial port of Patent Document 1 to prevent software piracy using a portable storage device such as USB. Licensed areas on portable storage devices can be used to create and mount application-specific license codes for application software and storage devices, or to rent or duplicate portable storage devices themselves.

도 3은 특허문헌 1과 특허문헌2의 하드웨어적 해결의 불편함을 해소하기 위해 소프트웨어 판매 CD의 케이스에 LC 공진 태그를 부착시켜 소프트웨어 부정 복제 방지 보안키 시스템을 제공한다. 설치 후에 CD케이스의 LC 공진 태그를 박리시키거나 부착위치를 변경시키고 반사파 스캐너의 반사파 변경을 확인하여 설치를 완료하도록 하여 불법 복제가 불가능하도록 한다. 그러나 특허문헌 1의 태그를 부착한 방법 역시 설치시에 반사파 스캐너가 필요하고 태그를 박리하는 등의 사용자의 동작이 요구되어 불편하며 정당한 재설치가 불가능하게 된다.3 is provided with an LC resonant tag attached to the case of a software sales CD to solve the inconvenience of the hardware solution of Patent Document 1 and Patent Document 2 to provide a software tamper resistant security key system. After installation, peel off the LC resonant tag of the CD case or change the attachment position and check the reflected wave change of the reflected wave scanner to complete the installation so that illegal copying is not possible. However, the method of attaching the tag of Patent Literature 1 also requires a reflection wave scanner at the time of installation and requires user's operation such as peeling off the tag.

도 4는 특허문헌 1 내지 특허문헌 3의 물리적 제한으로 인한 불편함을 온라인을 통해 해결하기 위한 것으로 소프트웨어 정보, 사용자 정보, 인증키 정보 등을 서버에 저장하고 사용자가 소프트웨어 설치시에 통신망을 통해 인증을 받아 설치를 하는 것이다. 그러나 이는 소프트웨어 제조사에서 판매한 소프트웨어에 대해 각 사용자 정보와 함께 모든 정보를 서버에 유지해야 하는 오버로드가 발생하며 소프트웨어 구매자는 구매 이력 등에 대한 개인정보를 서버에 저장해야 하는 부담과 소프트웨어 설치시에 항상 통신망에 연결되어 있어야 하는 문제점이 있게 된다.Figure 4 is to solve the inconvenience caused by the physical limitations of Patent Documents 1 to 3 through the online store the software information, user information, authentication key information, etc. in the server and the user is authenticated through the communication network when installing the software Receive the installation. However, this incurs an overload of maintaining all information on the server with each user's information about the software sold by the software manufacturer. Software buyers always have the burden of storing personal information on the server, such as purchase history, and the software at all times. There is a problem that must be connected to the communication network.

도 5는 라이센스 정보를 아이씨칩 내장카드에 저장하여 클라이언트와 호스트 사이에서 라이센스 정보를 관리하도록 하는 방식이다. 또한, 아이씨칩 내장카드에는 라이센스 정보가 암호화되어 저장되도록 하여 라이센스 정보가 탈취되더라도 복호화 및 복제가 불가능하도록 구성하고 있다.5 is a scheme for managing license information between a client and a host by storing license information in an IC chip embedded card. In addition, the IC chip embedded card is configured so that the license information is encrypted and stored so that even if the license information is stolen, decryption and duplication are impossible.

그러나, 상기한 종래기술들의 가장 큰 문제점은 CD 등의 형태로 공급되는 소프트웨어의 복제 방지에 관한 것으로 디지털 장치 자체를 구동하는 소프트웨어에 대한 복제 시도에 대해서는 아무런 해결점이나 대책을 제시하고 있지 못하다. 즉, 디지털 장치의 펌웨어 또는 임베디드 소프트웨어의 복제 시도에 대해서는 어떠한 해결책도 제시하지 못한다. 본원 발명의 또 다른 목적은 디지털 장치에 탑재되는 소프트웨어의 보호이다. 이에 대한 종래기술로는 특허문헌6과 특허문헌7이 있다.However, the biggest problem of the prior arts described above relates to copy protection of software supplied in the form of a CD and the like, and does not present any solution or countermeasure for copy attempts for software that drives the digital device itself. That is, no attempt is made to attempt to duplicate the firmware of the digital device or the embedded software. Another object of the present invention is the protection of software mounted on a digital device. Conventional techniques for this are Patent Document 6 and Patent Document 7.

도 6은 장치에 대한 보안을 위하여 물리적 복제 방지 기능을 갖는 PUF(Physically Unclonable Function) 회로를 포함하는 전자 보안 방법에 관한 것으로, PUF를 이용하여 보안 키를 생성하는 것을 특징으로 한다. 특허문헌6은 실시예로 PUF로부터 고유 워드(word)를 읽어 RSA 키들을 생성하여 전자 장치에 저장된 개인 정보 관련 데이터와 소프트웨어를 보호함을 보이고 있다. 그러나 특허문헌6은 PUF의 별도 회로를 포함해야 하므로, 암호화키를 기존 휘발성 메모리의 영역에 저장하고 전원 인가를 제어하여 암호화키의 유효성을 조절하는 본원 발명과 비교하여 제조시의 부담과 PUF 회로 자체의 무결성 문제가 존재하게 된다.FIG. 6 relates to an electronic security method including a physically unclonable function (PUF) circuit having a physical copy protection function for security of a device, wherein a security key is generated using the PUF. Patent Document 6 shows that by reading a unique word from the PUF to generate RSA keys to protect personal data and software stored in the electronic device. However, since Patent Document 6 must include a separate circuit of the PUF, compared to the present invention which stores the encryption key in the area of the existing volatile memory and controls the power supply to control the validity of the encryption key, the PUF circuit itself Integrity problems exist.

또한, 도 7은 비밀키와 공개키 복호 알고리즘을 포함하는 반도체 칩셋을 포함하는 전자제품 불법 복제 방지 방법 및 장치에 관한 것으로, 개발자 프로그램의 키 생성기를 통해 생성된 개인키, 임의의 비밀키, 복수의 동작 명령어(본원 발명의 복제 감시 대상 소프트웨어에 대응) 및 공개키 복호 알고리즘을 반도체 칩셋으로 구성하는 것을 특징으로 하는 것이다. 그러나 특허문헌7 역시 반도체 칩셋을 별도로 구성해야 하며 반도체 칩셋의 플래시 메모리 상에 보호 대상 명령어를 포함하도록 하여 본원 발명과 달리 다양한 소프트웨어 및 주요 데이터 파일의 보호가 어렵다는 문제가 있다.In addition, FIG. 7 relates to a method and apparatus for preventing illegal copying of an electronic product including a semiconductor chipset including a secret key and a public key decoding algorithm, wherein the private key, an arbitrary secret key, and a plurality of keys are generated through a key generator of a developer program. The operation instruction (corresponding to the copy monitoring target software of the present invention) and the public key decoding algorithm are characterized by comprising a semiconductor chipset. However, Patent Document 7 also has to configure the semiconductor chipset separately, and to include the protection target instructions on the flash memory of the semiconductor chipset, unlike the present invention, there is a problem that it is difficult to protect various software and main data files.

상기에서 살펴본 바와 같이 선행기술문헌인 특허문헌6과 특허문헌7은 모두 디지털 장치의 소프트웨어에 대한 복제 방지를 이루고자 하나 본원과 달리 회로 또는 반도체 칩 셋을 부가로 구성하여 제조상의 부담과 신규 소프트웨어 또는 데이터에 대한 보호 문제 등이 존재하여 본원이 달성하고자 하는 목적과 효과에 미치지 못함을 알 수 있다.As described above, Patent Document 6 and Patent Document 7, both of which are prior art documents, attempt to prevent copying of software of a digital device. However, unlike the present application, an additional circuit or a semiconductor chip set is additionally configured to provide a manufacturing burden and new software or data. It can be seen that there is a problem of protection against the present, which does not meet the purpose and effect of the present application.

1. 한국 공개특허공보 10-2005-00324621. Korean Patent Publication No. 10-2005-0032462 2. 한국 공개특허공보 10-2004-00974352. Korean Patent Publication No. 10-2004-0097435 3. 일본 공개특허공보 JP 특개2001-344683. JP JP 2001-34468 A 4. 한국 공개특허공보 특2002-00161604. Korean Unexamined Patent Publication No. 2002-0016160 5. 한국 공개특허공보 특2002-00888935. Korean Unexamined Patent Publication No. 2002-0088893 6. 미국 공개특허공보 US 2008/02793736. United States Patent Application Publication US 2008/0279373 7. 한국 공개특허공보 10-2009-00774137. Korean Patent Publication No. 10-2009-0077413

본 발명은 위에서 살펴본 종래기술의 문제점을 해결하기 위하여 안출된 것으로서, 제1 목적으로 디지털 장치의 동작에 필요한 소프트웨어의 복제를 방지하기 위해 실행 파일 및 데이터를 암호화하여 복제할 수 없도록 하는 것이다. 디지털 장치의 동작에 필요한 실행 파일 및 데이터를 암호화하여 암호화키를 모를 경우 소프트웨어를 복제할 수 없도록 한다. The present invention has been made to solve the problems of the prior art described above, to prevent the duplication of encrypted executable files and data in order to prevent the duplication of software required for the operation of the digital device for the first purpose. Encrypt executable files and data necessary for the operation of digital devices so that software cannot be copied if the encryption key is not known.

본원 발명의 제2 목적은 복제 또는 이와 상응한 의도로 디지털 장치를 조작하는 경우 이를 감지하여 복제를 원천적으로 방지하기 위한 것이다. 복제 시도를 감지하여 복제 동작하는 소프트웨어 및 데이터를 삭제함으로써 복제를 방지하도록 한다.A second object of the present invention is to prevent the duplication by detecting a duplication or a corresponding operation of the digital device. Detects copy attempts and prevents copy by deleting software and data in the copy operation.

상기의 해결하려는 과제를 위한 본 발명에 따른 소프트웨어 복제 방지 장치의 구성은, 암호화 알고리즘에 의해 암호화키를 생성하는 암호화키 생성부;
생성된 상기 암호화키를 저장하는 휘발성 메모리부;
상기 암호화키로 디지털 장치의 동작에 필요한 실행 파일 및 데이터를 암호화하여 저장하는 암호화부;
상기 암호화키의 유효성을 체크하고 상기 암호화된 실행 파일 및 데이터를 복호화하는 복호화부; 및
상기 휘발성 메모리에 전원을 공급하는 전원 인가부를 포함하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 장치에 있어서,
RTC(real time clock) 메모리에 의하여 상기 암호화키의 유효성을 체크하여 유효기간이 지난 경우에 상기 전원 인가부의 전원을 차단하거나,
상기 복제 방지 장치에 설치된 수은 접점 릴레이에 의하여 상기 복제 방지 장치의 일부 또는 전체가 비정상적으로 일정 기울기 이상으로 기울어졌을 경우에
상기 전원 인가부의 전원을 차단하는 것을 특징으로 한다.
The configuration of the software copy protection device according to the present invention for solving the above problems, encryption key generation unit for generating an encryption key by the encryption algorithm;
A volatile memory unit for storing the generated encryption key;
An encryption unit for encrypting and storing an executable file and data necessary for the operation of the digital device with the encryption key;
A decryption unit which checks the validity of the encryption key and decrypts the encrypted executable file and data; And
In the software copy protection device required for the operation of the digital device including a power supply for supplying power to the volatile memory,
Check the validity of the encryption key by RTC (real time clock) memory and cut off the power supply unit when the validity period has passed;
When part or all of the copy protection device is abnormally inclined more than a certain slope by the mercury contact relay installed in the copy protection device.
Characterized in that the power is cut off the power supply.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어는 암호화되어 저장됨을 특징으로 한다. 암호화에 사용된 키는 주전원 및 배터리로 동작하는 휘발성 메모리에 저장한다. 복호화되어 실행되는 이미지는 RAM에 상주시켜 전원 차단시에는 모든 데이터가 소거되도록 한다. 또한, 복제 시도 감지 시에 키가 저장된 휘발성 메모리로 인가되는 전원을 차단하여 키를 유효하지 않도록 하여 복제를 방지하는 것을 특징으로 한다.In one preferred embodiment of the present invention, the software required for the operation of the digital device is characterized by being stored encrypted. The key used for encryption is stored in volatile memory powered by mains and battery. The decoded and executed image resides in RAM so that all data is erased when the power is turned off. In addition, when the copy attempt is detected, the power is applied to the volatile memory in which the key is stored, thereby preventing the key from being invalidated.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어 복제 방지를 위하여 조도 센서에 의한 복제 시도를 감지하여 이를 방지하는 것을 특징으로 한다. 소프트웨어 복제를 위해 케이스를 개방하였을 경우 조도 센서에 투시되는 빛의 양이 변하므로 이를 감지하여 복제 시도를 감지하게 된다. According to a preferred embodiment of the present invention, in order to prevent copying of software required for the operation of the digital device, a copy attempt by the illumination sensor is detected and prevented. When the case is opened for software duplication, the amount of light projected by the illuminance sensor changes, so it detects the duplication attempt.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어 복제 방지를 위하여 케이스 개장 감지에 의한 복제 시도를 감지하여 이를 방지하는 것을 특징으로 한다. 케이스 상판이나 하판 또는 디지털 장치의 보드 사이에 스위치를 형성하여 케이스가 닫혔을 때는 스위치가 ON 또는 OFF가 되도록 하고 케이스 개방 시 스위치의 상태를 변하게 하여 복제 시도를 감지하게 된다.According to a preferred embodiment of the present invention, in order to prevent copying of software required for the operation of the digital device, a copy attempt by detecting a case opening is detected. A switch is formed between the upper and lower cases of the case or the board of the digital device so that when the case is closed, the switch is turned on or off and the state of the switch is changed when the case is opened to detect the copy attempt.

본 발명의 바람직한 일실시 예로, 수은 접점 릴레이를 구성하여 디지털 장치의 케이스 일부 또는 전체가 비정상적으로 일정 기울기 이상으로 기울어졌을 경우 개방 시도 또는 복제 시도로 감지한다. 디지털 장치의 동작에 필요한 소프트웨어가 저장된 휘발성 메모리로 인가되는 전원을 차단하여 복제 시도를 차단한다.According to an exemplary embodiment of the present invention, the mercury contact relay is configured to detect an attempt to open or duplicate when a part or the whole of the case of the digital device is abnormally inclined more than a certain slope. Software necessary for the operation of the digital device cuts off the power supply to the stored volatile memory to block the copy attempt.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어 복제 방지를 위하여 암호화키가 저장된 메모리에 대한 부정 접근을 감지하여 복제 시도를 감지하여 이를 방지하는 것을 특징으로 한다. 소프트웨어 암호화에 사용된 키에 대한 부정 액세스를 감지하여 복제 시도를 감지하며, 복제 시도 감지 소프트웨어가 동작하여 복제 시도를 감지하게 된다.In one preferred embodiment of the present invention, in order to prevent software duplication required for the operation of the digital device, it detects unauthorized access to the memory in which the encryption key is stored, and detects the duplication attempt. The copy attempt is detected by detecting fraudulent access to the key used for software encryption, and the copy attempt detection software is activated to detect the copy attempt.

종래의 소프트웨어 복제를 방지하는 장치나 방법들은 CD 또는 온라인 등의 형태로 공급되는 소프트웨어 특히 응용 소프트웨어에 대한 복제 방지를 위한 것으로서 하드웨어 락키, IC 칩 내장 카드 등의 별도의 구성을 두거나 온라인으로 감시하는 등의 방식이 대부분이다. 이러한 방식들은 별도의 물리적 제한 구성을 클라이언트가 늘 소지하여야 한다는 불편함과 통신망에 온라인으로 연결되지 않은 상태에서의 복제는 감지 또는 방지할 수 없다는 문제점이 존재하였다. 또한, 디지털 장치의 동작에 필요한 소프트웨어의 복제 시도에 대해서는 선행기술 문헌에서 제안된 바 없고 오히려 장치 동작에 필요한 소프트웨어의 변조를 제한하는 발명들만이 제안되어 있는 상태이다. Conventional devices or methods for preventing software copying are for copy protection of software, especially application software supplied in the form of a CD or online, and have a separate configuration such as a hardware lock key, an IC chip embedded card, or online monitoring. Most of the way. These methods have the inconvenience that the client should always have a separate physical restriction configuration, and there is a problem in that duplication cannot be detected or prevented without being connected to the communication network online. Further, attempts to copy software required for the operation of the digital device have not been proposed in the prior art literature, but rather only inventions that limit the modulation of the software required for the device operation have been proposed.

본 발명에 따른 디지털 장치의 동작에 필요한 소프트웨어 복제 감지 및 방지 방법과 장치는 암호화를 통해 소프트웨어 탈취 시에도 이를 사용할 수 없도록 하며, 또한 조도센서 및 케이스 개방 감지 스위치, 수은 접점 릴레이 구성을 통해 전원이 인가되지 않은 상태에서도 디지털 장치의 소프트웨어 복제 시도를 감지할 수 있으며, AC 전원이 인가된 상태에서는 소프트웨어 복제 시도 프로세스를 구동하여 암호화키가 저장된 메모리에 대한 부정 접근을 감지하여 복제를 차단할 수 있다.The method and apparatus for detecting and preventing copying of software required for the operation of the digital device according to the present invention can not be used even when deodorizing software through encryption, and power is supplied through the configuration of an illuminance sensor, a case open detection switch, and a mercury contact relay. Even if not, the digital device can detect the software copy attempt. In the AC power-on state, the software copy attempt process can be started to detect the unauthorized access to the memory where the encryption key is stored and block the copy.

본원 발명은 일반적인 PC 소프트웨어의 복제방지에도 적용할 수 있지만, 전화기 DVD 플레이어, 통신장비 등에 탑재되는 비화 알고리즘과 같은 소프트웨어가 탑재되는 임베디드 디지털 장치의 복제방지나 원천기술의 보호에 효과적이어서, 군사적 용도, 원천기술 보안 및 통신 보안 소프트웨어에 적용할 수 있다.Although the present invention can be applied to copy protection of general PC software, it is effective for copy protection or protection of original technology of embedded digital devices equipped with software such as secret algorithms mounted on telephone DVD players, communication equipments, and the like. Applicable to original technology security and communication security software.

도 1은 종래 기술로 사용자 컴퓨터에 부착하여 소프트웨어 복제를 방지하는 하드웨어 락키에 관한 것이다.
도 2는 종래 기술로 휴대용 저장장치를 이용한 소프트웨어 불법 복제 방지에 관한 것이다.
도 3은 종래 기술로 소프트웨어 CD 케이스에 LC 공진 태그를 부착시켜 부정 복제를 방지하는 보안키 시스템의 시스템 구성도이다.
도 4는 종래 기술로 온라인 서버와 통신망을 통해 소프트웨어 설치시 인증을 받아 설치하도록 하여 복제를 방지하는 시스템 구성도이다.
도 5는 종래 기술로 라이센스 정보를 아이씨칩 내장카드에 저장하여 관리하도록 하는 복제방지 시스템 구성도이다.
도 6은 종래 기술로 전자장치 보안을 위해 물리적 복제 방지 기능(PUF)을 갖는 회로를 포함하는 디바이스와 소스 장치 사이의 시스템 구성도이다.
도 7은 펌웨어가 포함된 중앙처리장치와 이의 복제를 방지하기 위한 반도체 칩셋 및 키 생성기를 포함하는 개발자 프로그램으로 구성된 장치의 펌웨어 복제 방지에 관한 종래기술 시스템 구조이다.
도 8은 본원 발명의 소프트웨어 복제 방지 방법의 순서도이다.
도 9는 본원 발명의 일실시 예로서 조도센서, 케이스 개방 감지 스위치, 수은 접점 릴레이 구성에 의한 소프트웨어 복제 감지 및 방지 구조이다.
1 is a related art hardware lock key that attaches to a user's computer to prevent software copying.
2 relates to software piracy prevention using portable storage in the prior art.
3 is a system configuration diagram of a security key system which prevents fraudulent copying by attaching an LC resonance tag to a software CD case according to the prior art.
Figure 4 is a system configuration for preventing the duplication by installing the authentication when installing the software through the online network and the communication network in the prior art.
5 is a block diagram of a copy protection system for storing and managing license information in an IC chip embedded card according to the related art.
6 is a system configuration diagram between a source device and a device including a circuit having a physical copy protection function (PUF) for electronic device security in the prior art.
FIG. 7 is a prior art system structure for firmware duplication prevention of a device including a central processing unit including firmware and a developer program including a semiconductor chipset and a key generator for preventing duplication thereof.
8 is a flowchart of the software copy protection method of the present invention.
9 is a software copy detection and prevention structure by the illumination sensor, the case open detection switch, the mercury contact relay configuration as an embodiment of the present invention.

이하, 본 발명에 따른 소프트웨어 복제 방지에 대하여 설명한다. 디지털 장치는 그 동작을 위해 장치의 시동 및 제어를 수행하는 소프트웨어와 여러 응용 어플리케이션 소프트웨어에 의해 특정 원하는 동작을 수행하게 된다. Hereinafter, software copy protection according to the present invention will be described. The digital device performs certain desired operations by software that performs startup and control of the device and various application software for that operation.

본원 발명은 이러한 소프트웨어의 복제 방지를 위하여 디지털 장치의 동작에 필요한 실행 파일 및 데이터를 암호화 저장한다. 암호화하여 저장함으로써, 복제하더라도 사용할 수 없도록 하는 것이며, 또한 소프트웨어 복제 시도를 감지하고 이에 대처하기 위하여 조도센서를 두어 투시되는 빛의 양에 따른 복제 시도를 감지하고 케이스 개방에 의한 복제 시도를 감지하며 및/또는 수은 접점 릴레이에 의한 복제 시도 감지를 한다. The present invention encrypts and stores executable files and data necessary for the operation of the digital device for copy protection of such software. By encrypting and storing it so that it cannot be used even if it is duplicated, and to detect and cope with software duplication attempts, by detecting an attempt to duplicate duplication according to the amount of light emitted by detecting an illumination intensity, and detecting duplication attempts by opening the case; and And / or detect replication attempts by mercury contact relays.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어는 암호화되어 저장됨을 특징으로 한다. 암호화 알고리즘은 AES 또는 RSA 등 일반적인 암호화 알고리즘으로 암호화 알고리즘의 제한은 없다. 암호화키는 난수 발생기 등을 이용하여 자동 생성하여 사용하고 따라서 정해진 비밀번호와 달리 도난 위험은 없다. 암호화에 사용된 키는 주전원 및 배터리로 동작하는 휘발성 메모리에 저장한다. 복호화되어 실행되는 이미지는 RAM에 상주시켜 전원 차단시에는 모든 데이터가 소거되도록 한다. 또한, 복제 시도 감지 시에 키가 저장된 휘발성 메모리로 인가되는 전원을 차단하여 키를 유효하지 않도록 하여 복제를 방지하는 것을 특징으로 한다.In one preferred embodiment of the present invention, the software required for the operation of the digital device is characterized by being stored encrypted. The encryption algorithm is a general encryption algorithm such as AES or RSA, and there is no limitation of the encryption algorithm. The encryption key is automatically generated and used by using a random number generator. Therefore, unlike a predetermined password, there is no risk of theft. The key used for encryption is stored in volatile memory powered by mains and battery. The decoded and executed image resides in RAM so that all data is erased when the power is turned off. In addition, when the copy attempt is detected, the power is applied to the volatile memory in which the key is stored, thereby preventing the key from being invalidated.

도 8에 본 발명에 따른 디지털 장치의 소프트웨어 복제 방지 방법의 순서도를 나타냈다. 전원을 인가하면 커널 및 램디스크를 적재하여 부팅을 완료한다. 부팅시에 복제 방지 프로세스가 구동을 시작한다. 암호화 완료 플래그가 세팅되어 있는 지 확인하고 암호화되지 않은 이미지 파일의 존재여부를 확인한다. 암호화되지 않은 파일 존재시에는 암호화키를 생성하고 이미지 파일을 암호화하며 키 메모리에 암호화키 값을 격납시키고 암호화 완료 플래그를 세팅한다. 소프트웨어 구동 시에는 먼저 대응되는 암호화키 값이 유효한지 확인하고 램디스크를 마운팅하고 키 값을 읽어들인 뒤 이미지 파일을 복호화하여 수행하고 암호화 완료 플래그를 세팅한다. 키 값 유효성 검사 후 유효한 경우에만 실행 스크립트를 실행한다. 키 값이 유효하지 않은 경우 비정상 상태로 판단하여 램디스크를 언마운팅 시키고 이미지 파일을 삭제한 뒤 시스템을 재부팅시켜 상태를 이전으로 복구한다.
디지털 장치의 소프트웨어 복제 방지 방법의 구체적인 단계는 다음과 같다.
(a) 소프트웨어 복제 방지 시스템의 전원을 인가하는 단계;
(b) 상기 소프트웨어 복제 방지 시스템에 커널 및 램디스크를 적재하여 부팅을 완료하는 단계;
(c) 상기 소프트웨어 복제 방지 시스템의 복제 방지 프로세스를 구동하는 단계;
(d) 상기 복제 방지 프로세스는 암호화 완료 플래그 세팅 여부를 확인하여 세팅이 되지 않았으면 (g)단계 이후를 수행하는 단계;
(e) 상기 복제 방지 프로세스는 암호화 완료 플래그 세팅 여부를 확인하여 암호화 완료 플래그가 세팅이 되어 있으면 암호화되지 않은 이미지 파일의 존재 여부를 확인하는 단계;
(f) 상기 복제 방지 프로세스는 암호화되지 않은 이미지 파일이 존재하는 경우,
(f-1) 상기 소프트웨어 복제 방지 시스템의 암호화키 생성부에서 암호화키를 생성하고,
(f-2) 상기 소프트웨어 복제 방지 시스템의 암호화부에서 이미지 파일을 상기 암호화키로 암호화하며,
(f-3) 상기 복제 방지 프로세스는 휘발성 메모리에 암호화키를 저장하고,
(f-4) 상기 복제 방지 프로세스는 암호화 완료 플래그를 세팅하는 단계;
(g) 상기 소프트웨어 복제 방지 시스템의 RTC(real time clock)에서 상기 암호화키의 유효성을 체크하는 단계;
(h) 상기 복제 방지 프로세스는 상기 (g)단계의 암호화키가 유효하지 않으면 (k)단계를 수행하는 단계;
(i) 상기 복제 방지 프로세스는 상기 (g)단계의 암호화키가 유효하면
(i-1) 상기 램디스크를 마운팅하고,
(i-2) 상기 휘발성 메모리에서 암호화키를 읽어들여,
(i-3) 암호화된 상기 이미지 파일을 상기 암호화키로 복호화하며,
(i-4) 암호화 완료 플래그를 세팅하고,
(i-5) 상기 RTC(real time clock)에서 상기 암호화키 값의 유효성 검사를 시작하고,
(i-6) 복호화된 파일을 실행하는 단계;
(j) 상기 복제 방지 프로세스가 주기적으로 (g)단계를 이후를 수행하는 단계;
(k) 상기 복제 방지 프로세스는 상기 램디스크를 언마운팅하고, 상기 이미지 파일을 삭제하고, 상기 소프트웨어 복제 방지 시스템을 재부팅하는 단계로 수행된다.
8 is a flowchart of a software copy protection method of a digital device according to the present invention. When the power is applied, the kernel and ramdisk are loaded to complete the boot. The copy protection process starts up at boot time. Make sure the encryption complete flag is set and the existence of an unencrypted image file. In the case of an unencrypted file, an encryption key is generated, an image file is encrypted, an encryption key value is stored in the key memory, and an encryption completion flag is set. When running the software, first verify that the corresponding encryption key value is valid, mount the ramdisk, read the key value, decrypt the image file, and set the encryption complete flag. Run the run script only if valid after key value validation. If the key value is invalid, it is determined to be abnormal and unmount the ramdisk, delete the image file and reboot the system to restore the previous state.
The specific steps of the software copy protection method of the digital device are as follows.
(a) powering up a software copy protection system;
(b) loading a kernel and a ram disk onto the software copy protection system to complete booting;
(c) driving a copy protection process of the software copy protection system;
(d) the copy protection process checking whether the encryption completion flag is set and performing the step after step (g) if it is not set;
(e) the copy protection process checking whether an encryption complete flag is set, and if an encryption complete flag is set, checking whether an unencrypted image file exists;
(f) if the copy protection process is present with an unencrypted image file,
(f-1) an encryption key is generated by an encryption key generator of the software copy protection system,
(f-2) the encryption unit of the software copy protection system encrypts the image file with the encryption key,
(f-3) the copy protection process stores the encryption key in volatile memory,
(f-4) the copy protection process comprises setting an encryption complete flag;
(g) checking the validity of the encryption key in a real time clock (RTC) of the software copy protection system;
(h) the copy protection process, if the encryption key of step (g) is invalid, performing step (k);
(i) if the encryption key of step (g) is valid,
(i-1) mounting the ramdisk,
(i-2) Read an encryption key from the volatile memory,
(i-3) decrypting the encrypted image file with the encryption key,
(i-4) set the encryption completion flag,
(i-5) starting to validate the encryption key value in the real time clock (RTC);
(i-6) executing the decrypted file;
(j) the copy protection process periodically performing step (g) after;
(k) The copy protection process is performed by unmounting the ramdisk, deleting the image file, and rebooting the software copy protection system.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어 복제 방지를 위하여 조도 센서에 의한 복제 시도를 감지하여 이를 방지하는 것을 특징으로 한다. 소프트웨어 복제를 위해 케이스를 개방하였을 경우 조도 센서에 투시되는 빛의 양이 변하므로 이를 감지하여 복제 시도를 감지하게 된다. According to a preferred embodiment of the present invention, in order to prevent copying of software required for the operation of the digital device, a copy attempt by the illumination sensor is detected and prevented. When the case is opened for software duplication, the amount of light projected by the illuminance sensor changes, so it detects the duplication attempt.

본 발명의 바람직한 일실시 예로, 디지털 장치의 동작에 필요한 소프트웨어 복제 방지를 위하여 케이스 개장 감지에 의한 복제 시도를 감지하여 이를 방지하는 것을 특징으로 한다. 케이스 상판이나 하판 또는 디지털 장치의 보드 사이에 스위치를 형성하여 케이스가 닫혔을 때는 스위치가 ON 또는 OFF가 되도록 하고 케이스 개방 시 스위치의 상태를 변하게 하여 복제 시도를 감지하게 된다.According to a preferred embodiment of the present invention, in order to prevent copying of software required for the operation of the digital device, a copy attempt by detecting a case opening is detected. A switch is formed between the upper and lower cases of the case or the board of the digital device so that when the case is closed, the switch is turned on or off and the state of the switch is changed when the case is opened to detect the copy attempt.

본 발명의 바람직한 일실시 예로, 수은 접점 릴레이를 구성하여 디지털 장치의 케이스 일부 또는 전체가 비정상적으로 일정 기울기 이상으로 기울어졌을 경우 개방 시도 또는 복제 시도로 감지한다. 디지털 장치의 동작에 필요한 소프트웨어가 저장된 휘발성 메모리로 인가되는 전원을 차단하여 복제 시도를 차단한다.According to an exemplary embodiment of the present invention, the mercury contact relay is configured to detect an attempt to open or duplicate when a part or the whole of the case of the digital device is abnormally inclined more than a certain slope. Software necessary for the operation of the digital device cuts off the power supply to the stored volatile memory to block the copy attempt.

도 9는 본원 발명의 일실시 예를 구현한 장치 구성도로서 케이스 개방 감지 스위치는 케이스 개방을 감지하여 개방되었다고 판단될 때 암호화키가 저장된 RAM으로 인가되는 전원을 차단하도록 한다. 수은 접점 릴레이는 일정 기울기 이상으로 기울어졌을 경우 접점이 끊기는 작동 특성을 이용하여 장치의 일부 또는 전체가 일정 기울기 이상으로 기울어졌을 경우 RAM으로 인가되는 전원을 차단한다. 조도센서를 이용하면, 조도센서에 투시되는 광량을 기준으로 일정량 이상의 광량 감지시 케이스가 개방된 것으로 판단하여 RAM으로 인가되는 전원을 차단하도록 한다. 비록 도 9에는 조도 센서, 수은 접점 릴레이, 케이스 개방 감지 스위치가 모두 구성된 예시도를 보였으나, 이러한 구성들 중에 이 기술분야에 종사하는 자라면 누구나 선택적으로 구현 가능할 것이다. 예시된 도면은 발명의 내용을 명확하게 하기 위하여 비본질적인 요소들은 생략하여 도시하였으므로 도면에 한정하여 해석하여서는 아니 된다. FIG. 9 is a block diagram illustrating an embodiment of an embodiment of the present invention, in which a case open detection switch detects a case open and cuts power applied to a RAM in which an encryption key is stored. The mercury contact relay cuts power to the RAM when part or all of the device is tilted above a certain slope by using an operating characteristic that the contact breaks when tilted above a certain slope. When the illuminance sensor is used, it is determined that the case is open when a predetermined amount of light is detected based on the amount of light projected by the illuminance sensor to cut off the power applied to the RAM. Although FIG. 9 illustrates an example in which an illumination sensor, a mercury contact relay, and a case open detection switch are all configured, any one skilled in the art among these configurations may be selectively implemented. The illustrated drawings omit non-essential elements for clarity of the invention and should not be construed as limited to the drawings.

본 발명의 바람직한 일실시 예로 AC전원이 인가된 상태에서 조도센서, 케이스 개방 스위치, 수은 접점 릴레이에 의해 복제 시도를 감지하고 전원 및 배터리로 동작하는 SRAM, RTC(real time clock) 메모리 등과 같은 휘발성 메모리에 전원 공급을 차단시켜 이에 저장된 암호화키가 소거되도록 한다. 한편 복제 방지 프로세스는 복제 방지 대상 소프트웨어의 수행 중에도 주기적으로 메모리에 저장된 키 값의 유효성을 체크하여 전원 차단으로 유효하지 않은 키 값을 감지하고 재부팅, 램디스크 언마운팅, 복제 시도의 대상이 된 소프트웨어의 이미지 삭제를 수행하도록 한다.  According to a preferred embodiment of the present invention, a volatile memory such as an SRAM, a real time clock (RTC) memory, etc., which detects a copy attempt by an illuminance sensor, a case opening switch, a mercury contact relay, and operates with a power source and a battery while AC power is applied. Power supply is cut off so that the encryption key stored in it is erased. Meanwhile, the copy protection process periodically checks the validity of key values stored in the memory even while the copy protection software is running, detects invalid key values by power off, and reboots, unmounts the ramdisk, and attempts to copy the software. Perform image deletion.

본 발명의 바람직한 일실시 예로 AC전원이 인가되지 않은 상태에서 조도센서, 케이스 개방 스위치, 수은 접점 릴레이에 의해 복제 시도를 감지하고 전원 및 배터리로 동작하는 SRAM 또는 RTC 메모리에 전원 공급을 차단시켜 이에 저장된 암호화키가 소거되도록 한다. 이후 AC 전원 인가시 커널 및 램디스크 적재시에 구동되는 복제 방지 프로세스는 키의 유효성을 체크하여 유효하지 않은 키 값을 감지하고 복제 시도의 대상이 된 소프트웨어의 이미지 복호화를 수행하지 않는다.According to an exemplary embodiment of the present invention, a detection attempt of copying is performed by an illuminance sensor, a case opening switch, and a mercury contact relay in a state in which AC power is not applied, and a power supply is stored in the SRAM or RTC memory operated by a power source and a battery. Causes the encryption key to be erased. Thereafter, the copy protection process, which is run when the kernel and ramdisk are loaded when AC power is applied, detects an invalid key value by checking the validity of the key and does not perform image decryption of the software that is the target of the copy attempt.

본 발명의 바람직한 일실시 예로 소프트웨어 복제 방지 방법을 이용하여 일정 시간만 동작 가능한 디지털 장치의 구성이 가능하다. 유효 기간 및 암호화키를 주 전원 및 배터리로 동작하는 휘발성 메모리에 저장하고 시간 정보를 가지는 RTC와 같은 디바이스를 통해 현재 시간과 장치의 동작 유효 기간을 비교하여 유효기간이 아닐 경우 휘발성 메모리에 인가되는 전원을 차단한다. 전원이 차단되면 암호화키 값이 소거되어 키의 유효성 체크시에 유효하지 않은 키 값을 감지하고 디지털 장치의 동작에 소프트웨어의 이미지 복호화를 수행하지 않아 디지털 장치의 동작이 불가하게 된다. 이로 인해 일정 유효기간만 동작하는 디지털 장치의 구성이 가능해진다.According to a preferred embodiment of the present invention, it is possible to configure a digital device that can operate only for a predetermined time using a software copy protection method. The validity period and the encryption key are stored in volatile memory operated by main power and battery, and the device is applied to the volatile memory when it is not valid by comparing the current validity period of the device with a device such as RTC having time information. To block. When the power is cut off, the encryption key value is erased so that an invalid key value is detected at the time of validity checking of the key, and the digital device operation is impossible because the software does not perform image decoding on the operation of the digital device. This enables the construction of a digital device that operates only for a certain valid period.

본 발명의 바람직한 일실시 예로 소프트웨어 복제 시도를 감지한 경우에는 암호화키가 저장된 휘발성 메모리에 인가되는 주전원 및 배터리 전원을 차단하여 키 값이 소거되도록 하여 암호화된 파일 또는 데이터 이미지를 복원할 수 없도록 한다. 이로 인해 장치의 기능이 동작되지 않고 이미지의 복호화가 불가하여 복제를 하더라도 사용할 수 없게 된다. 장치를 복원하기 위해서는 비 휘발성 메모리에 초기 이미지를 다시 writing한 후 부팅하여 암호화 과정을 재수행 해주어야만 동작 상태로의 복원이 가능하다.In one preferred embodiment of the present invention, when detecting a software copy attempt, the key value is erased by cutting off the main power and battery power applied to the volatile memory in which the encryption key is stored so that the encrypted file or data image cannot be restored. As a result, the function of the device is not operated and the image cannot be decoded and thus cannot be used even if it is copied. In order to restore the device, it is necessary to rewrite the initial image in non-volatile memory, boot, and perform the encryption process again to restore the operation state.

본원 발명은 일반적인 PC 소프트웨어의 복제방지에도 적용할 수 있지만, 전화기 DVD 플레이어, 통신장비 등에 탑재되는 비화 알고리즘과 같은 소프트웨어가 탑재되는 임베디드 디지털 장치의 복제방지나 원천기술의 보호에 효과적이어서, 군사적 용도, 원천기술 보안 및 통신 보안 소프트웨어에 적용할 수 있다. Although the present invention can be applied to copy protection of general PC software, it is effective for copy protection or protection of original technology of embedded digital devices equipped with software such as secret algorithms mounted on telephone DVD players, communication equipments, and the like. Applicable to original technology security and communication security software.

본 발명의 권리범위는 상기한 본 발명의 실시예에 한정되는 것이 아니고 본 발명의 기본 기술적 사상을 이용하여 본 발명이 속하는 기술분야의 통상의 기술자가 여러 변형 및 개량, 실시예의 구성에 대응하는 대체 가능한 수단이나 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록매체를 통해 구현가능하며 이 또한 본 발명의 권리범위에 속하는 것이다.The scope of the present invention is not limited to the above-described embodiments of the present invention, and various modifications and improvements by those skilled in the art to which the present invention pertains based on the basic technical idea of the present invention correspond to various modifications and configurations of the embodiments. A program that realizes possible means or functions or that can be implemented through a recording medium on which the program is recorded is also within the scope of the present invention.

Claims (9)

삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 방법에 있어서,
(a) 소프트웨어 복제 방지 시스템의 전원을 인가하는 단계;
(b) 상기 소프트웨어 복제 방지 시스템에 커널 및 램디스크를 적재하여 부팅을 완료하는 단계;
(c) 상기 소프트웨어 복제 방지 시스템의 복제 방지 프로세스를 구동하는 단계;
(d) 상기 복제 방지 프로세스는 암호화 완료 플래그 세팅 여부를 확인하여 세팅이 되지 않았으면 (g)단계 이후를 수행하는 단계;
(e) 상기 복제 방지 프로세스는 암호화 완료 플래그 세팅 여부를 확인하여 암호화 완료 플래그가 세팅이 되어 있으면 암호화되지 않은 이미지 파일의 존재 여부를 확인하는 단계;
(f) 상기 복제 방지 프로세스는 암호화되지 않은 이미지 파일이 존재하는 경우,
(f-1) 상기 소프트웨어 복제 방지 시스템의 암호화키 생성부에서 암호화키를 생성하고,
(f-2) 상기 소프트웨어 복제 방지 시스템의 암호화부에서 이미지 파일을 상기 암호화키로 암호화하며,
(f-3) 상기 복제 방지 프로세스는 휘발성 메모리에 암호화키를 저장하고,
(f-4) 상기 복제 방지 프로세스는 암호화 완료 플래그를 세팅하는 단계;
(g) 상기 소프트웨어 복제 방지 시스템의 RTC(real time clock)에서 상기 암호화키의 유효성을 체크하는 단계;
(h) 상기 복제 방지 프로세스는 상기 (g)단계의 암호화키가 유효하지 않으면 (k)단계를 수행하는 단계;
(i) 상기 복제 방지 프로세스는 상기 (g)단계의 암호화키가 유효하면
(i-1) 상기 램디스크를 마운팅하고,
(i-2) 상기 휘발성 메모리에서 암호화키를 읽어들여,
(i-3) 암호화된 상기 이미지 파일을 상기 암호화키로 복호화하며,
(i-4) 암호화 완료 플래그를 세팅하고,
(i-5) 상기 RTC(real time clock)에서 상기 암호화키 값의 유효성 검사를 시작하고,
(i-6) 복호화된 파일을 실행하는 단계;
(j) 상기 복제 방지 프로세스가 주기적으로 (g)단계를 이후를 수행하는 단계;
(k) 상기 복제 방지 프로세스는 상기 램디스크를 언마운팅하고, 상기 이미지 파일을 삭제하고, 상기 소프트웨어 복제 방지 시스템을 재부팅하는 단계;를 포함하는 것을 특징으로 하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 방법.
In the software copy protection method required for the operation of the digital device,
(a) powering up a software copy protection system;
(b) loading a kernel and a ram disk onto the software copy protection system to complete booting;
(c) driving a copy protection process of the software copy protection system;
(d) the copy protection process checking whether the encryption completion flag is set and performing the step after step (g) if it is not set;
(e) the copy protection process checking whether an encryption complete flag is set, and if an encryption complete flag is set, checking whether an unencrypted image file exists;
(f) if the copy protection process is present with an unencrypted image file,
(f-1) an encryption key is generated by an encryption key generator of the software copy protection system,
(f-2) the encryption unit of the software copy protection system encrypts the image file with the encryption key,
(f-3) the copy protection process stores the encryption key in volatile memory,
(f-4) the copy protection process comprises setting an encryption complete flag;
(g) checking the validity of the encryption key in a real time clock (RTC) of the software copy protection system;
(h) the copy protection process, if the encryption key of step (g) is invalid, performing step (k);
(i) if the encryption key of step (g) is valid,
(i-1) mounting the ramdisk,
(i-2) Read an encryption key from the volatile memory,
(i-3) decrypting the encrypted image file with the encryption key,
(i-4) set the encryption completion flag,
(i-5) starting to validate the encryption key value in the real time clock (RTC);
(i-6) executing the decrypted file;
(j) the copy protection process periodically performing step (g) after;
(k) The copy protection process includes the steps of unmounting the ramdisk, deleting the image file, and rebooting the software copy protection system. .
제6항에 있어서,
상기 소프트웨어 복제 방지 시스템에 케이스 개방 시도 감지 수단을 두어 소프트웨어 복제 방지 시도를 감지하여 복제 방지 시도 감지시 휘발성 메모리의 전원을 차단하는 단계를 더 포함하는 것을 특징으로 하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 방법.
The method according to claim 6,
And providing a case opening attempt detection means to the software copy protection system to detect the software copy protection attempt and to cut off the power of the volatile memory when the copy protection attempt is detected. Way.
제7항에 있어서,
상기 케이스 개방 시도 감지 수단은 조도센서, 케이스 개방 감지 스위치 또는 수은 접점 릴레이 중 적어도 하나를 포함하는 것을 특징으로 하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 방법.
The method of claim 7, wherein
And the case opening attempt detecting means includes at least one of an illuminance sensor, a case opening detecting switch, and a mercury contact relay.
암호화 알고리즘에 의해 암호화키를 생성하는 암호화키 생성부;
생성된 상기 암호화키를 저장하는 휘발성 메모리부;
상기 암호화키로 디지털 장치의 동작에 필요한 실행 파일 및 데이터를 암호화하여 저장하는 암호화부;
상기 암호화키의 유효성을 체크하고 상기 암호화된 실행 파일 및 데이터를 복호화하는 복호화부; 및
상기 휘발성 메모리에 전원을 공급하는 전원 인가부를 포함하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 장치에 있어서,
RTC(real time clock) 메모리에 의하여 상기 암호화키의 유효성을 체크하여 유효기간이 지난 경우에 상기 전원 인가부의 전원을 차단하거나,
상기 복제 방지 장치에 설치된 수은 접점 릴레이에 의하여 상기 복제 방지 장치의 일부 또는 전체가 비정상적으로 일정 기울기 이상으로 기울어졌을 경우에
상기 전원 인가부의 전원을 차단하는 것을 특징으로 하는 디지털 장치의 동작에 필요한 소프트웨어 복제 방지 장치.
An encryption key generation unit for generating an encryption key by an encryption algorithm;
A volatile memory unit for storing the generated encryption key;
An encryption unit for encrypting and storing an executable file and data necessary for the operation of the digital device with the encryption key;
A decryption unit which checks the validity of the encryption key and decrypts the encrypted executable file and data; And
In the software copy protection device required for the operation of the digital device including a power supply for supplying power to the volatile memory,
Check the validity of the encryption key by RTC (real time clock) memory and cut off the power supply unit when the validity period has passed;
When part or all of the copy protection device is abnormally inclined more than a certain slope by the mercury contact relay installed in the copy protection device.
Software copy protection device required for the operation of the digital device, characterized in that to cut off the power supply.
KR1020110058349A 2011-06-16 2011-06-16 Method of copy protect for digital device and apparatus thereof KR101266411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110058349A KR101266411B1 (en) 2011-06-16 2011-06-16 Method of copy protect for digital device and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110058349A KR101266411B1 (en) 2011-06-16 2011-06-16 Method of copy protect for digital device and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20120138919A KR20120138919A (en) 2012-12-27
KR101266411B1 true KR101266411B1 (en) 2013-05-22

Family

ID=47905486

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110058349A KR101266411B1 (en) 2011-06-16 2011-06-16 Method of copy protect for digital device and apparatus thereof

Country Status (1)

Country Link
KR (1) KR101266411B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230027782A (en) 2021-08-20 2023-02-28 이택형 USB Storage Device For Preventing To Copy Data Files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230027782A (en) 2021-08-20 2023-02-28 이택형 USB Storage Device For Preventing To Copy Data Files

Also Published As

Publication number Publication date
KR20120138919A (en) 2012-12-27

Similar Documents

Publication Publication Date Title
JP5116325B2 (en) Information processing apparatus, software update method, and image processing apparatus
JP6595822B2 (en) Information processing apparatus and control method thereof
KR100790508B1 (en) Information processing apparatus, information processing method and program storage medium
KR101699998B1 (en) Secure storage of temporary secrets
KR100792287B1 (en) Method for security and the security apparatus thereof
JP5369502B2 (en) Device, management device, device management system, and program
KR100746012B1 (en) Method and apparatus for changing and booting code image securely
JP2008072717A (en) Hard disc streaming cryptographic operations with embedded authentication
TW201500960A (en) Detection of secure variable alteration in a computing device equipped with unified extensible firmware interface (UEFI)-compliant firmware
JP2008236089A (en) Encryption key recovery method, information processor, and encryption key restoration program
JP2007034875A (en) Use management method for peripheral, electronic system and constituent device therefor
JP2008234217A (en) Information processor, method of protecting information, and image processor
JP2009080772A (en) Software starting system, software starting method and software starting program
JP2016146618A (en) Information processing device
JP2011150524A (en) Software execution system
JP6930884B2 (en) BIOS management device, BIOS management system, BIOS management method, and BIOS management program
KR101266411B1 (en) Method of copy protect for digital device and apparatus thereof
JP5582231B2 (en) Information processing apparatus, authenticity confirmation method, and recording medium
CN110674525A (en) Electronic equipment and file processing method thereof
CN116415313A (en) Safety all-in-one machine, protection method and device of safety all-in-one machine
JP5767657B2 (en) Method and computer for protecting data stored in non-volatile memory
KR20040097435A (en) Software unlawfulness reproduction preventing device using universal serial bus portable storing device and preventing method thereof
JP2009169759A (en) Electronic equipment and information processing method
US11971991B2 (en) Information processing apparatus, control method for controlling the same and storage medium
JP4960896B2 (en) Image forming apparatus and data management method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160511

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190401

Year of fee payment: 7