JP7140581B2 - File protection method and system for protecting executable compressed files - Google Patents

File protection method and system for protecting executable compressed files Download PDF

Info

Publication number
JP7140581B2
JP7140581B2 JP2018133758A JP2018133758A JP7140581B2 JP 7140581 B2 JP7140581 B2 JP 7140581B2 JP 2018133758 A JP2018133758 A JP 2018133758A JP 2018133758 A JP2018133758 A JP 2018133758A JP 7140581 B2 JP7140581 B2 JP 7140581B2
Authority
JP
Japan
Prior art keywords
file
compressed file
new
original
information
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.)
Active
Application number
JP2018133758A
Other languages
Japanese (ja)
Other versions
JP2019021310A (en
Inventor
チョン・サンミン
シム・ミンヨン
チョン・サンフン
チョン・ミョンジュ
ハン・グァンヒ
イム・ソンヒョン
イム・ソンヨル
ヘオ・ドンヨン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Line Corp
Original Assignee
Line Corp
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 Line Corp filed Critical Line Corp
Publication of JP2019021310A publication Critical patent/JP2019021310A/en
Application granted granted Critical
Publication of JP7140581B2 publication Critical patent/JP7140581B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Description

以下の説明は、実行可能な圧縮ファイルを保護するためのファイル保護方法およびシステム、コンピュータ装置と結合してファイル保護方法を実行させるためにコンピュータで読み取り可能な記録媒体に格納されたコンピュータプログラムと記録媒体に関する。 The following description includes a file protection method and system for protecting an executable compressed file, a computer program and recording stored in a computer readable recording medium for executing the file protection method in combination with a computer device. Regarding the medium.

JAR(Java Archiver)は、クラスファイルを効率的に配布するために多数のクラスファイルを1つにまとめて単一ファイルとして生成するフォーマットであって、JARファイルは、ローカル(local)上での便利な管理はもちろん、ジャバ(Java)プログラムの実行中には、遠隔地でHTTP(Hyper Text Transfer Protocol)などを通じてダウンロードして直ぐに使用することができるという特徴がある。例えば、特許文献1は、ジャバアップルを含むJARファイルの生成方法について開示している。 JAR (Java Archiver) is a format that integrates a large number of class files into a single file for efficient distribution of class files. In addition to easy management, it is characterized in that it can be downloaded remotely through HTTP (Hyper Text Transfer Protocol) and used immediately while the Java program is running. For example, Patent Literature 1 discloses a method for generating a JAR file containing Java Apple.

このように、ジャバクラスファイルと関連するファイルを1つにまとめたJARファイルは、ZIPファイルフォーマットによって構成された圧縮ファイルであるため、JARファイルの内部に含まれた内容を誰でも簡単に確認できてしまうという特性がある。例えば、JARファイルに含まれているクラスファイルの場合は、デコンパイラを利用してソースコード形態で抽出可能であるが、結局これは、サーバ基盤で作動するJARファイルではなくクライアントに配布されて独立的に実行可能なJARファイルの場合には盗用または悪用される恐れがあることから、保安性が低いという問題がある。 As described above, the JAR file, in which the Java class file and related files are grouped together, is a compressed file configured by the ZIP file format, so that anyone can easily check the contents contained inside the JAR file. There is a characteristic that it will end up. For example, a class file contained in a JAR file can be extracted in the form of source code using a decompiler. In the case of a JAR file that can be executed by itself, there is a risk of theft or abuse, so there is a problem of low security.

このために、一部の従来技術では、悪意のあるユーザによって抽出されたソースコードが簡単に認識されないように、クラスと内部変数の名称を意味のないものに置換した後にJARファイルをビルドすることにより、JARファイルが含むクラスファイルがデコンパイルされたとしても、ソースコードを分析するのに時間がかかるようにした。 For this reason, some prior art builds the JAR file after replacing the names of classes and internal variables with meaningless ones so that the extracted source code cannot be easily recognized by malicious users. Therefore, even if the class files included in the JAR file are decompiled, it takes time to analyze the source code.

しかし、このような従来技術は、ソースコードの分析にかかる時間を延ばすだけで、JARファイルに含まれている内部の確認を根本的に遮断したり、JARファイルからクラスファイルを抽出してデコンパイルする過程自体を遮断したりすることはできていない。さらに、上述したような従来技術は、JARファイルのビルド前に実行されなければならないため、保護したい内容を変更するたびに新たなビルド過程を踏まなければならない上に、ソースコードが分析されてJARファイルが盗用または悪用される可能性も依然残っている。 However, such prior art only prolongs the time required to analyze the source code, but fundamentally blocks the confirmation of the internal contents contained in the JAR file, or extracts the class file from the JAR file and decompiles it. It has not been possible to block the process itself. Furthermore, the conventional technology as described above must be executed before building the JAR file, so every time the content to be protected is changed, a new build process must be performed. Files can still be stolen or misused.

韓国公開特許第10-2007-0018956号Korean Patent No. 10-2007-0018956

JARファイルのように実行可能な圧縮ファイルに対する保護技術を適用するにあたり、保護しようとする実行可能な圧縮ファイルを再びビルドする必要なく既存にビルドされた実行可能な圧縮ファイルに容易に適用することができ、実行可能な圧縮ファイルの内容が把握された後にクラスファイルが抽出されてデコンパイルされるという一連の過程の試行を不可能にし、最初から実行可能な圧縮ファイル自体の内容を把握できないように遮断することができるファイル保護方法およびシステム、コンピュータ装置と結合してファイル保護方法を実行させるためにコンピュータで読み取り可能な記録媒体に格納されたコンピュータプログラムと記録媒体を提供する。 When applying protection technology to executable compressed files such as JAR files, it can be easily applied to already built executable compressed files without the need to rebuild the executable compressed files to be protected. to make it impossible to attempt a series of processes in which class files are extracted and decompiled after the contents of the executable compressed file have been grasped, so that the contents of the executable compressed file itself cannot be grasped in the first place. A file protection method and system that can be blocked, a computer program stored in a computer-readable recording medium and a recording medium for executing the file protection method in combination with a computer device are provided.

実行可能な原本圧縮ファイルを変更する段階、前記変更された原本圧縮ファイルを復元するための復元情報を生成する段階、前記変更された原本圧縮ファイルおよび前記復元情報を含む実行可能な新たな圧縮ファイルを生成する段階、および前記新たな圧縮ファイルのファイル名を前記原本圧縮ファイルのファイル名に変更する段階を含むことを特徴とする、ファイル保護方法を提供する。 modifying an executable original compressed file; generating restoration information for restoring the modified original compressed file; and creating a new executable compressed file containing the modified original compressed file and the restoration information. and changing the file name of the new compressed file to the file name of the original compressed file.

実行可能な原本圧縮ファイルをサーバに要請する段階、前記要請にしたがって前記サーバから実行可能な新たな圧縮ファイルを受信する段階、前記新たな圧縮ファイルの実行と関連して伝達される因子を抽出する段階、前記新たな圧縮ファイルが含む復元情報を利用して前記新たな圧縮ファイルがさらに含む変更された原本圧縮ファイルを復元する段階、前記復元された原本圧縮ファイルを実行して前記抽出された因子を伝達することにより、前記原本圧縮ファイルによる機能を実行する段階、および前記機能の終了後に前記復元された原本圧縮ファイルを除去する段階を含むことを特徴とする、ファイル保護方法を提供する。 requesting an original executable compressed file from a server; receiving a new executable compressed file from the server according to the request; extracting factors transmitted in connection with execution of the new compressed file. decompressing a modified original compressed file further included in the new compressed file using decompression information included in the new compressed file; executing the decompressed original compressed file to perform the extracted factors; , and removing the restored original compressed file after the function is completed.

実行可能な原本圧縮ファイルをサーバに要請する段階、前記要請にしたがって前記サーバから実行可能な新たな圧縮ファイルを受信する段階、前記新たな圧縮ファイルの実行と関連して伝達される因子を抽出する段階、前記新たな圧縮ファイルが含む復元情報を利用して前記新たな圧縮ファイルがさらに含む変更されたクラスファイルをメモリ上で復元する段階、前記復元されたクラスファイルをメモリ上に積載する段階、および前記メモリ上に積載された前記復元されたクラスファイルに含まれたメインクラスのメイン関数を呼び出して前記抽出された因子を伝達することにより、前記原本圧縮ファイルによる機能を実行する段階を含むことを特徴とする、ファイル保護方法を提供する。 requesting an original executable compressed file from a server; receiving a new executable compressed file from the server according to the request; extracting factors transmitted in connection with execution of the new compressed file. decompressing a modified class file further included in the new compressed file in memory using decompression information included in the new compressed file; loading the decompressed class file in memory; and executing a function according to the original compressed file by calling a main function of a main class included in the restored class file loaded on the memory and transmitting the extracted factors. To provide a file protection method characterized by:

前記ファイル保護方法をコンピュータに実行させるためのプログラムが記録されていることを特徴とする、コンピュータで読み取り可能な記録媒体を提供する。 A computer-readable recording medium is provided, characterized by recording a program for causing a computer to execute the file protection method.

コンピュータと結合して前記ファイル保護方法をコンピュータに実行させるためのコンピュータで読み取り可能な記録媒体に格納された、コンピュータプログラムを提供する。 A computer program stored in a computer-readable recording medium is provided for coupling with a computer to cause the computer to execute the file protection method.

JARファイルのように実行可能な圧縮ファイルに対する保護技術を適用するにあたり、保護しようとする実行可能な圧縮ファイルを再びビルドする必要なく既存にビルドされた実行可能な圧縮ファイルに容易に適用することができ、実行可能な圧縮ファイルの内容が把握された後にクラスファイルが抽出されてデコンパイルされるという一連の過程の試行を不可能にし、最初から実行可能な圧縮ファイル自体の内容を把握できないように遮断することができる。 When applying protection technology to executable compressed files such as JAR files, it can be easily applied to already built executable compressed files without the need to rebuild the executable compressed files to be protected. to make it impossible to attempt a series of processes in which class files are extracted and decompiled after the contents of the executable compressed file have been grasped, so that the contents of the executable compressed file itself cannot be grasped in the first place. can be blocked.

本発明の一実施形態における、ネットワーク環境の例を示した図である。1 is a diagram showing an example of a network environment in one embodiment of the present invention; FIG. 本発明の一実施形態における、電子機器およびサーバの内部構成を説明するためのブロック図である。1 is a block diagram for explaining internal configurations of an electronic device and a server in one embodiment of the present invention; FIG. 本発明の一実施形態における、ファイル保護方法の例を示したフローチャートである。4 is a flow chart showing an example of a file protection method in one embodiment of the present invention; 本発明の一実施形態における、解体方式のファイル保護方法の例を示したフローチャートである。4 is a flow chart showing an example of a dismantling-type file protection method according to an embodiment of the present invention. 本発明の一実施形態における、コンテナ方式のファイル保護方法の例を示したフローチャートである。4 is a flow chart showing an example of a container-based file protection method in one embodiment of the present invention. 本発明の一実施形態における、解体方式にしたがって実行可能なJARファイルを変更して新たなJARファイルを生成する例を示した図である。FIG. 4 is a diagram showing an example of generating a new JAR file by changing an executable JAR file according to the dismantling method in one embodiment of the present invention; 本発明の一実施形態における、コンテナ方式にしたがって実行可能なJARファイルを変更して新たなJARファイルを生成する例を示した図である。FIG. 4 is a diagram showing an example of generating a new JAR file by changing an executable JAR file according to the container method, in one embodiment of the present invention; 本発明の一実施形態における、コンテナ方式によるクライアントでのファイル保護方法の例を示したフローチャートである。4 is a flow chart showing an example of a file protection method on a client based on a container scheme in one embodiment of the present invention. 本発明の一実施形態における、解体方式によるクライアントでのファイル保護方法の例を示したフローチャートである。4 is a flow chart showing an example of a method of protecting a file on a client by dismantling method in one embodiment of the present invention. 本発明の一実施形態における、解体方式で原本圧縮ファイルを変更する例を示した図である。FIG. 10 is a diagram showing an example of changing an original compressed file by dismantling in one embodiment of the present invention; 本発明の一実施形態における、コンテナ方式で原本圧縮ファイルを変更する例を示した図である。FIG. 10 is a diagram showing an example of changing an original compressed file by a container method in one embodiment of the present invention; 本発明の一実施形態における、復元情報を保護する方法の例を示した図である。FIG. 4 illustrates an example of a method for protecting restoration information in one embodiment of the present invention;

以下、実施形態について、添付の図面を参照しながら詳しく説明する。 Embodiments will be described in detail below with reference to the accompanying drawings.

本発明の実施形態に係るファイル保護システムは、以下で説明される電子機器またはサーバによって実現されてよく、本発明の実施形態に係るファイル保護方法は、このような電子機器またはサーバによって実行されてよい。例えば、電子機器やサーバには、本発明の一実施形態に係るコンピュータプログラムがインストールおよび駆動されてよく、電子機器やサーバは、駆動するコンピュータプログラムの制御にしたがって実行可能な圧縮ファイルを保護するためのファイル保護方法を実行してよい。このようなコンピュータプログラムは、電子機器やサーバと結合してファイル保護方法を実行させるためにコンピュータで読み取り可能な記録媒体に格納されてよい。 A file protection system according to embodiments of the present invention may be implemented by an electronic device or server described below, and a file protection method according to embodiments of the present invention may be implemented by such an electronic device or server. good. For example, a computer program according to an embodiment of the present invention may be installed and run on an electronic device or server, and the electronic device or server protects executable compressed files under the control of the computer program on which it runs. file protection method. Such a computer program may be stored in a computer-readable recording medium for executing the file protection method in combination with an electronic device or server.

図1は、本発明の一実施形態における、ネットワーク環境の例を示した図である。図1のネットワーク環境は、複数の電子機器110、120、130、140、複数のサーバ150、160、およびネットワーク170を含む例を示している。このような図1は、発明の説明のための一例に過ぎず、電子機器の数やサーバの数が図1のように限定されることはない。 FIG. 1 is a diagram showing an example of a network environment in one embodiment of the present invention. The network environment of FIG. 1 illustrates an example including multiple electronic devices 110 , 120 , 130 , 140 , multiple servers 150 , 160 , and a network 170 . Such FIG. 1 is merely an example for explaining the invention, and the number of electronic devices and the number of servers are not limited as in FIG.

複数の電子機器110、120、130、140は、コンピュータ装置によって実現される固定端末や移動端末であってよい。複数の電子機器110、120、130、140の例としては、スマートフォン、携帯電話、ナビゲーション、PC(personal computer)、ノート型パンコン、デジタル放送用端末、PDA(Personal Digital Assistant)、PMP(Portable Multimedia Player)、タブレットなどがある。一例として、図1では、電子機器1(110)の例としてスマートフォンの形状を示しているが、本発明の実施形態では、実質的に無線または有線通信方式を利用してネットワーク170を介して他の電子機器120、130、140および/またはサーバ150、160と通信することのできる多様な機器のうちの1つを意味してよい。 The plurality of electronic devices 110, 120, 130, 140 may be fixed terminals or mobile terminals implemented by computing devices. Examples of the plurality of electronic devices 110, 120, 130, and 140 include smart phones, mobile phones, navigation systems, PCs (personal computers), notebook pan computers, digital broadcasting terminals, PDAs (Personal Digital Assistants), and PMPs (Portable Multimedia Players). ), tablets, etc. As an example, FIG. 1 shows the shape of a smartphone as an example of the electronic device 1 (110). may refer to one of a variety of devices capable of communicating with electronic devices 120, 130, 140 and/or servers 150, 160.

通信方式が限定されることはなく、ネットワーク170が含むことのできる通信網(一例として、移動通信網、有線インターネット、無線インターネット、放送網)を活用する通信方式だけではなく、機器間の近距離無線通信が含まれてもよい。例えば、ネットワーク170は、PAN(personal area network)、LAN(local area network)、CAN(campus area network)、MAN(metropolitan area network)、WAN(wide area network)、BBN(broadband network)、インターネットなどのネットワークのうちの1つ以上の任意のネットワークを含んでよい。さらに、ネットワーク170は、バスネットワーク、スターネットワーク、リングネットワーク、メッシュネットワーク、スター-バスネットワーク、ツリーまたは階層的(hierarchical)ネットワークなどを含むネットワークトポロジのうちの任意の1つ以上を含んでもよいが、これらに限定されることはない。 The communication method is not limited, and not only a communication method that utilizes a communication network that can be included in the network 170 (eg, a mobile communication network, a wired Internet, a wireless Internet, a broadcasting network), but also a short distance between devices. Wireless communication may be included. For example, the network 170 includes a PAN (personal area network), a LAN (local area network), a CAN (campus area network), a MAN (metropolitan area network), a WAN (wide area network), a BBN (broadband network), and the Internet. Any one or more of the networks may be included. Additionally, network 170 may include any one or more of network topologies including bus networks, star networks, ring networks, mesh networks, star-bus networks, tree or hierarchical networks, etc. It is not limited to these.

サーバ150、160それぞれは、複数の電子機器110、120、130、140とネットワーク170を介して通信して命令、コード、ファイル、コンテンツ、サービスなどを提供するコンピュータ装置または複数のコンピュータ装置によって実現されてよい。例えば、サーバ150は、ネットワーク170を介して接続した複数の電子機器110、120、130、140に第1サービスを提供するシステムであってよく、サーバ160も、ネットワーク170を介して接続した複数の電子機器110、120、130、140に第2サービスを提供するシステムであってよい。より具体的な例として、サーバ150は、第1サービスとして、実行可能な原本圧縮ファイルを保護するための処理によって保護機能が含まれた新たな圧縮ファイルを生成して複数の電子機器110、120、130、140に提供するサービスのためのシステムであってよい。また、サーバ160は、第2サービスとして、変更された圧縮ファイルの復元のための情報を複数の電子機器110、120、130、140に提供するサービスのためのシステムであってよい。 Each of servers 150, 160 is implemented by a computer device or a plurality of computer devices that communicate with a plurality of electronic devices 110, 120, 130, 140 via network 170 to provide instructions, code, files, content, services, etc. you can For example, the server 150 may be a system that provides a first service to a plurality of electronic devices 110, 120, 130, 140 connected via the network 170, and the server 160 may also be a system that provides a plurality of electronic devices connected via the network 170. It may be a system that provides the second service to the electronic devices 110 , 120 , 130 , 140 . As a more specific example, the server 150, as a first service, generates a new compressed file containing a protection function by processing for protecting the executable original compressed file, and distributes it to the plurality of electronic devices 110, 120. , 130, 140. In addition, the server 160 may be a system for providing information for restoring modified compressed files to the plurality of electronic devices 110, 120, 130, and 140 as a second service.

このようなサービスは、ネットワーク環境を説明するための1つの実施形態に過ぎず、ネットワーク環境においてサーバ150、160それぞれが実際に提供するサービスは、極めて多様であってよい。 Such services are merely one embodiment for describing the network environment, and the actual services provided by each of the servers 150, 160 in the network environment may vary greatly.

図2は、本発明の一実施形態における、電子機器およびサーバの内部構成を説明するためのブロック図である。図2では、電子機器に対する例として電子機器1(110)の内部構成を、サーバに対する例としてサーバ150の内部構成を説明する。他の電子機器120、130、140やサーバ160も、上述した電子機器1(110)またはサーバ150と同一または類似の内部構成を有してよい。 FIG. 2 is a block diagram for explaining internal configurations of an electronic device and a server in one embodiment of the present invention. In FIG. 2, the internal configuration of the electronic device 1 (110) will be described as an example of the electronic device, and the internal configuration of the server 150 will be described as an example of the server. Other electronic devices 120, 130, 140 and server 160 may also have the same or similar internal configurations as electronic device 1 (110) or server 150 described above.

電子機器1(110)とサーバ150は、メモリ211、221、プロセッサ212、222、通信モジュール213、223、および入力/出力インタフェース214、224を含んでよい。メモリ211、221は、コンピュータで読み取り可能な記録媒体であって、RAM(random access memory)、ROM(read only memory)、およびディスクドライブのような永久大容量記憶装置(permanent mass storage device)を含んでよい。ここで、ROMとディスクドライブのような永久大容量記憶装置は、メモリ211、221とは区分される別の永久格納装置として電子機器1(110)やサーバ150に含まれてもよい。また、メモリ211、221には、オペレーティングシステムと、少なくとも1つのプログラムコード(一例として、電子機器1(110)にインストールされ駆動するブラウザや、特定のサービスを提供するために電子機器1(110)にインストールされたアプリケーションなどのためのコード)が格納されてよい。このようなソフトウェア構成要素は、メモリ211、221とは別のコンピュータで読み取り可能な記録媒体からロードされてよい。このような別のコンピュータで読み取り可能な記録媒体は、フロッピー(登録商標)ドライブ、ディスク、テープ、DVD/CD-ROMドライブ、メモリカードなどのコンピュータで読み取り可能な記録媒体を含んでよい。他の実施形態において、ソフトウェア構成要素は、コンピュータで読み取り可能な記録媒体ではない通信モジュール213、223を通じてメモリ211、221にロードされてもよい。例えば、少なくとも1つのプログラムは、開発者またはアプリケーションのインストールファイルを配布するファイル配布システム(一例として、サーバ150)がネットワーク170を介して提供するファイルによってインストールされるプログラム(一例として、上述したアプリケーション)に基づいてメモリ211、221にロードされてよい。 Electronic device 1 (110) and server 150 may include memories 211, 221, processors 212, 222, communication modules 213, 223, and input/output interfaces 214, 224. The memories 211 and 221 are computer-readable recording media and include RAM (random access memory), ROM (read only memory), and permanent mass storage devices such as disk drives. OK. Here, permanent mass storage devices such as ROMs and disk drives may be included in electronic device 1 (110) and server 150 as separate permanent storage devices separate from memories 211 and 221. FIG. The memories 211 and 221 also store an operating system and at least one program code (for example, a browser installed and driven in the electronic device 1 (110), a browser installed in the electronic device 1 (110) to provide a specific service, may store code for applications installed in the . Such software components may be loaded from a computer-readable recording medium separate from the memories 211,221. Such another computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, disk, tape, DVD/CD-ROM drive, memory card, and the like. In other embodiments, the software components may be loaded into memory 211, 221 through communication modules 213, 223 that are not computer readable media. For example, at least one program is a program installed by a file provided by a developer or a file distribution system (server 150 as an example) that distributes an installation file of an application via the network 170 (the application described above as an example). may be loaded into memory 211, 221 based on.

プロセッサ212、222は、基本的な算術、ロジック、および入出力演算を実行することにより、コンピュータプログラムの命令を処理するように構成されてよい。命令は、メモリ211、221または通信モジュール213、223によって、プロセッサ212、222に提供されてよい。例えば、プロセッサ212、222は、メモリ211、221のような記録装置に格納されたプログラムコードにしたがって受信される命令を実行するように構成されてよい。 Processors 212, 222 may be configured to process computer program instructions by performing basic arithmetic, logic, and input/output operations. Instructions may be provided to processors 212 , 222 by memory 211 , 221 or communication modules 213 , 223 . For example, processors 212 , 222 may be configured to execute received instructions according to program code stored in a storage device, such as memory 211 , 221 .

通信モジュール213、223は、ネットワーク170を介して電子機器1(110)とサーバ150とが互いに通信するための機能を提供してもよいし、電子機器1(110)および/またはサーバ150が他の電子機器(一例として、電子機器2(120))または他のサーバ(一例として、サーバ160)と通信するための機能を提供してもよい。一例として、電子機器1(110)のプロセッサ212がメモリ211のような記録装置に格納されたプログラムコードにしたがって生成した要求が、通信モジュール213の制御にしたがってネットワーク170を介してサーバ150に伝達されてよい。これとは逆に、サーバ150のプロセッサ222の制御にしたがって提供される制御信号や命令、コンテンツ、ファイルなどが、通信モジュール223とネットワーク170を経て電子機器1(110)の通信モジュール213を通じて電子機器1(110)に受信されてもよい。例えば、通信モジュール213を通じて受信したサーバ150の制御信号や命令、コンテンツ、ファイルなどは、プロセッサ212やメモリ211に伝達されてよく、コンテンツやファイルなどは、電子機器1(110)がさらに含むことのできる格納媒体(上述した永久格納装置)に格納されてよい。 Communication modules 213 and 223 may provide functions for electronic device 1 (110) and server 150 to communicate with each other via network 170, and electronic device 1 (110) and/or server 150 may communicate with each other. may provide functionality for communicating with other electronic devices (eg, electronic device 2 (120)) or other servers (eg, server 160). As an example, a request generated by the processor 212 of the electronic device 1 (110) according to program code stored in a recording device such as the memory 211 is transmitted to the server 150 via the network 170 under the control of the communication module 213. you can Conversely, control signals, commands, contents, files, etc., provided under the control of the processor 222 of the server 150 are transmitted to the electronic device via the communication module 213 of the electronic device 1 (110) via the communication module 223 and the network 170. 1 (110). For example, control signals, instructions, content, files, etc. of the server 150 received through the communication module 213 may be transmitted to the processor 212 and the memory 211, and the content, files, etc. may be further included in the electronic device 1 (110). may be stored in any storage medium (permanent storage as described above).

入力/出力インタフェース214は、入力/出力装置215とのインタフェースのための手段であってよい。例えば、入力装置は、キーボードまたはマウスなどの装置を含んでよく、出力装置は、ディスプレイのような装置を含んでよい。他の例として、入力/出力インタフェース214は、タッチスクリーンのように入力と出力のための機能が1つに統合された装置とのインタフェースのための手段であってもよい。入力/出力装置215は、電子機器1(110)と1つの装置によって構成されてもよい。また、サーバ150の入力/出力インタフェース224は、サーバ150と連結してもよいし、サーバ150が含むことのできる入力または出力のための装置(図示せず)とのインタフェースのための手段であってもよい。より具体的な例として、電子機器1(110)のプロセッサ212は、メモリ211にロードされたコンピュータプログラムの命令を処理するにあたり、サーバ150や電子機器2(120)が提供するデータを利用して構成されるサービス画面やコンテンツが、入力/出力インタフェース214を通じてディスプレイに表示されてよい。 Input/output interface 214 may be a means for interfacing with input/output devices 215 . For example, an input device may include a device such as a keyboard or mouse, and an output device may include a device such as a display. As another example, input/output interface 214 may be a means for interfacing with a device that integrates functionality for input and output, such as a touch screen. The input/output device 215 may be formed by electronic device 1 (110) and one device. Input/output interface 224 of server 150 may also be coupled to server 150 and is a means for interfacing with devices (not shown) for input or output that server 150 may include. may As a more specific example, the processor 212 of the electronic device 1 (110) uses data provided by the server 150 and the electronic device 2 (120) to process instructions of the computer program loaded in the memory 211. Configured service screens and content may be displayed on a display through input/output interface 214 .

また、他の実施形態において、電子機器1(110)およびサーバ150は、図2の構成要素よりも多くの構成要素を含んでもよい。しかし、大部分の従来技術的構成要素を明確に図に示す必要はない。例えば、電子機器1(110)は、上述した入力/出力装置215のうちの少なくとも一部を含むように実現されてもよいし、トランシーバ、GPS(Global Positioning System)モジュール、カメラ、各種センサ、データベースなどのような他の構成要素をさらに含んでもよい。より具体的な例として、電子機器1(110)がスマートフォンである場合、一般的にスマートフォンが含んでいる加速度センサやジャイロセンサ、カメラモジュール、物理的な各種ボタン、タッチパネルを利用したボタン、入力/出力ポート、振動のための振動器などのような多様な構成要素が、電子機器1(110)にさらに含まれるように実現されてもよい。 Also, in other embodiments, electronic device 1 (110) and server 150 may include more components than those in FIG. However, most prior art components need not be explicitly shown in the figures. For example, electronic device 1 (110) may be implemented to include at least some of the input/output devices 215 described above, a transceiver, a GPS (Global Positioning System) module, a camera, various sensors, a database It may further include other components such as As a more specific example, when the electronic device 1 (110) is a smartphone, the acceleration sensor, gyro sensor, camera module, various physical buttons, buttons using a touch panel, input/ Various components such as an output port, a vibrator for vibration, etc. may be implemented to be further included in the electronic device 1 (110).

図3は、本発明の一実施形態における、ファイル保護方法の例を示したフローチャートである。本実施形態に係るファイル保護方法は、上述したサーバ150のようなコンピュータ装置によって実行されてよい。サーバ150のプロセッサ222は、メモリ221が含むオペレーティングシステムのコードや、少なくとも1つのコンピュータプログラムのコードによる制御命令(instruction)を実行するように実現されてよい。ここで、プロセッサ222は、サーバ150に格納されたコードが提供する制御命令にしたがってサーバ150が図3の実施形態に係るファイル保護方法が含む段階310~340を実行するように、サーバ150を制御してよい。 FIG. 3 is a flowchart illustrating an example of a file protection method according to one embodiment of the invention. The file protection method according to this embodiment may be executed by a computer device such as the server 150 described above. Processor 222 of server 150 may be implemented to execute operating system code and control instructions by at least one computer program code contained in memory 221 . Here, the processor 222 controls the server 150 so that the server 150 performs steps 310-340 included in the file protection method according to the embodiment of FIG. You can

段階310で、サーバ150は、実行可能な原本圧縮ファイルを変更してよい。ここで、実行可能な原本圧縮ファイルは、一例として、JAR(Java Archiver)ファイルのように複数のファイルを含む圧縮ファイルの形態であって、EXEファイルのように独立して実行可能なファイルであれば制限されることはない。サーバ150は、実行可能な原本圧縮ファイルを多様な方法によって変更してよいが、このような原本圧縮ファイルを変更する多様な方法については、以下でさらに詳しく説明する。 At step 310, the server 150 may modify the executable original compressed file. Here, the executable original compressed file is, for example, in the form of a compressed file containing a plurality of files such as a JAR (Java Archiver) file, and may be an independently executable file such as an EXE file. is not restricted. The server 150 may modify the executable original compressed file in a variety of ways, and the various methods of modifying such original compressed files are described in more detail below.

段階320で、サーバ150は、変更された原本圧縮ファイルを復元するための復元情報を生成してよい。復元情報も、原本圧縮ファイルを変更する多様な方法によって多様に生成されてよい。このような復元情報についても、以下でさらに詳しく説明する。 At step 320, the server 150 may generate restoration information for restoring the modified original compressed file. The restoration information may also be generated in various ways by various methods of modifying the original compressed file. Such recovery information is also described in more detail below.

段階330で、サーバ150は、変更された原本圧縮ファイルおよび復元情報を含む実行可能な新たな圧縮ファイルを生成してよい。このような新たな圧縮ファイルの圧縮を解除することにより、変更された原本圧縮ファイルと復元情報の取得が可能となる。悪意のあるユーザが、変更された原本圧縮ファイルと復元情報を取得することはできても、変更された原本圧縮ファイルの圧縮は解除することがでないし、正確なソースコードを得ることもできないため、復元情報が何であるか、または復元情報を利用して変更された原本圧縮ファイルをどのように復元すればいいのかは知ることができないため、新たな圧縮ファイルからは本来のソースファイルを取得したり分析したりすることはできない。 At step 330, server 150 may generate a new executable compressed file containing the modified original compressed file and decompression information. By decompressing such a new compressed file, it becomes possible to acquire the changed original compressed file and the restoration information. A malicious user can obtain the modified original compressed file and decompression information, but cannot decompress the modified original compressed file and cannot obtain the correct source code. , it does not know what the decompression information is or how to decompress the original compressed file that has been modified using the decompression information, so the original source file is not obtained from the new compressed file. cannot be analysed.

段階340で、サーバ150は、新たな圧縮ファイルのファイル名を原本圧縮ファイルのファイル名に変更してよい。上述したように、JARファイルは、ジャバ(Java)プログラムの実行中に遠隔地でHTTP(Hyper Text Transfer Protocol)などを通じてダウンロードされて直ぐに使用可能であるという特徴がある。これは、ダウンロードされなければならないファイルが既に決定されていることを意味しており、サーバ150は、提供しなければならない原本圧縮ファイルの代わりに新たな圧縮ファイルを提供するために、新たな圧縮ファイルのファイル名を原本圧縮ファイルのファイル名に変更してよい。例えば、上述した電子機器1(110)のようなクライアント側の機器から原本圧縮ファイルが要求された場合、サーバ150は、原本圧縮ファイルの代わりに新たな圧縮ファイルを提供することにより、新たな圧縮ファイルを受信したユーザが、原本圧縮ファイルのソースコードを取得あるいは分析できないようにする。新たな圧縮ファイルを利用して原本圧縮ファイルによる機能を実行できるようにするための方法については、以下で詳しく説明する。 At step 340, server 150 may change the filename of the new compressed file to the filename of the original compressed file. As described above, the JAR file is characterized in that it can be used immediately after being remotely downloaded through HTTP (Hyper Text Transfer Protocol) or the like while a Java program is running. This means that the files that have to be downloaded have already been determined, and the server 150 uses the new compressed files to provide new compressed files instead of the original compressed files that have to be provided. The file name of the file may be changed to the file name of the original compressed file. For example, when an original compressed file is requested from a client-side device such as the electronic device 1 (110) described above, the server 150 provides a new compressed file instead of the original compressed file. To prevent a user who receives a file from acquiring or analyzing the source code of the original compressed file. Methods for enabling the new compressed file to perform the functions provided by the original compressed file are described in detail below.

実行可能な原本圧縮ファイルを変更する方法は、大きく、解体(deconstruct)方式とコンテナ(container)方式を含む。解体方式は、原本圧縮ファイルが含む少なくとも1つのクラスファイルを変更することで原本圧縮ファイルを変更する方式であり、コンテナ方式は、原本圧縮ファイル自体を変更する方式である。 Methods for modifying an executable original compressed file include a deconstruct method and a container method. The dismantling method is a method of changing the original compressed file by changing at least one class file included in the original compressed file, and the container method is a method of changing the original compressed file itself.

図4は、本発明の一実施形態における、解体方式のファイル保護方法の例を示したフローチャートである。図4に示す段階410および段階420は、原本圧縮ファイルを解体方式によって変更する例であって、図3を参照しながら説明した段階310に含まれて実行されてよい。また、図4に示された段階430は、図3を参照しながら説明した段階330に含まれて実行されてよい。 FIG. 4 is a flow chart showing an example of a dismantling-type file protection method according to an embodiment of the present invention. Steps 410 and 420 shown in FIG. 4 are examples of modifying the original compressed file by disassembling, and may be included in step 310 described with reference to FIG. Also, step 430 shown in FIG. 4 may be included in step 330 described with reference to FIG.

段階410で、サーバ150は、原本圧縮ファイルに対する圧縮解除によって原本圧縮ファイルが含む内部ファイルを抽出してよい。上述したように、JARファイルのような圧縮ファイルは、複数のファイルを圧縮して生成されるファイルであって、圧縮を解除することで含まれた内部ファイルを抽出してよい。 At step 410, the server 150 may extract internal files contained in the original compressed file by decompressing the original compressed file. As noted above, a compressed file, such as a JAR file, is a file created by compressing multiple files and may be decompressed to extract the contained internal files.

段階420で、サーバ150は、抽出された内部ファイルのうちの少なくとも1つのクラスファイルを認識不可能な形態に変更して原本圧縮ファイルを変更してよい。サーバ150は、すべてのクラスファイル(一例として、拡張子が「.class」であるファイル)を確認し、確認されたすべてのクラスファイルのうちの少なくとも1つのクラスファイルを変更してよい。例えば、サーバ150は、変更しようとするクラスファイルを認知することができないように、予め設定されたキー(対象キーまたは非対象キー)を利用することで変更しようとするクラスファイルを暗号化するか、または予め設定された方式にしたがって変更しようとするクラスファイルを符号化することにより、原本圧縮ファイルを変更してよい。 At step 420, the server 150 may modify the original compressed file by modifying at least one class file of the extracted internal files into an unrecognizable form. The server 150 may check all class files (as an example, files with the extension “.class”) and modify at least one class file among all the checked class files. For example, the server 150 encrypts the class file to be modified by using a preset key (symmetric key or asymmetric key) so that the class file to be modified cannot be recognized. Alternatively, the original compressed file may be modified by encoding the class file to be modified according to a preset method.

このとき、復元情報は、多様な方式によって生成されてよい。例えば、サーバ150は、変更されたクラスファイルを復元するようにクライアントを制御するための復元コードを復元情報として直接生成してよい。または、サーバ150は、変更されたクラスファイルの変更方式に対応する復元方式を説明するための復元説明情報を復元情報として生成してよい。生成される復元情報は、それ自体でも、悪意のあるユーザが復元情報を分析するまで変更されたクラスファイルを復元できないように防ぐことができる。これだけでなく、以下で説明されるように、復元情報も多様な方式によって保護されてよい。 At this time, the restoration information may be generated in various ways. For example, server 150 may directly generate as restore information a restore code for controlling a client to restore modified class files. Alternatively, the server 150 may generate, as restoration information, restoration explanation information for explaining a restoration method corresponding to the modification method of the modified class file. The restoration information that is generated can, by itself, prevent a malicious user from being able to restore modified class files until the restoration information is analyzed. In addition to this, recovery information may also be protected by various schemes, as described below.

段階430で、サーバ150は、変更されたクラスファイル、復元情報、および内部ファイルのうちの少なくとも1つのクラスファイルを除いた残りのファイルを含む新たな圧縮ファイルを生成してよい。言い換えれば、本実施形態に係る新たな圧縮ファイルは、少なくとも1つのクラスファイルが変更された原本圧縮ファイルと復元情報を含んでよい。 At step 430, server 150 may generate a new compressed file containing the remaining files excluding at least one of the modified class files, restoration information, and internal files. In other words, the new compressed file according to the present embodiment may include the original compressed file with at least one modified class file and the restoration information.

図5は、本発明の一実施形態における、コンテナ方式のファイル保護方法の例を示したフローチャートである。図5に示された段階510は、原本圧縮ファイルをコンテナ方式によって変更する例であって、図3を参照しながら説明した段階310に含まれて実行されてよい。 FIG. 5 is a flow chart showing an example of a container-based file protection method according to an embodiment of the present invention. Step 510 shown in FIG. 5 is an example of changing the original compressed file according to the container method, and may be included in step 310 described with reference to FIG.

段階510で、サーバ150は、原本圧縮ファイルを、予め設定されたキーを利用して暗号化するか、または予め設定された方式にしたがって符号化して原本圧縮ファイルを変更してよい。このように、コンテナ方式は、原本圧縮ファイル自体の認識が不可能となるように変更するための方式であってよく、この場合、変更された原本圧縮ファイルは、圧縮解除自体の実行が不可能となる。 In step 510, the server 150 may encrypt the original compressed file using a preset key or encode the original compressed file according to a preset scheme to change the original compressed file. In this way, the container method may be a method for changing the original compressed file itself so that it cannot be recognized, and in this case, the modified original compressed file cannot be decompressed itself. becomes.

このようなコンテナ方式でも、復元情報は、多様な方式によって生成されてよい。例えば、サーバ150は、変更された原本圧縮ファイルを復元するようにクライアントを制御するための復元コードを復元情報として直接生成してよい。または、サーバ150は、変更された原本圧縮ファイルの変更方式に対応する復元方式を説明するための復元説明情報を復元情報として生成してよい。この場合、クライアントは、復元説明情報にしたがって変更された原本圧縮ファイルを復元して原本圧縮ファイルを取得するようになる。上述したように、生成される復元情報は、それ自体でも、悪意のあるユーザが復元情報を分析するまで変更された原本圧縮ファイルを復元できないように防ぐことができる。これだけでなく、以下で説明されるように、復元情報も多様な方式によって保護されてよい。 Even in such a container method, restoration information may be generated in various ways. For example, the server 150 may directly generate a decompression code as decompression information for controlling the client to decompress the modified original compressed file. Alternatively, the server 150 may generate, as the restoration information, restoration explanation information for explaining a restoration method corresponding to the changed method of the original compressed file. In this case, the client obtains the original compressed file by restoring the modified original compressed file according to the restoration explanation information. As noted above, the generated decompression information can itself prevent a malicious user from decompressing a modified original compressed file until the decompression information is analyzed. In addition to this, recovery information may also be protected by various schemes, as described below.

また、解体方式とコンテナ方式の両方が利用されてもよい。例えば、図4の実施形態で説明したように、変更されたクラスファイルを含む新たな圧縮ファイルが生成されたとする。このとき、サーバ150は、生成された新たな圧縮ファイルを、予め設定されたキーを利用して暗号化するか、または予め設定された方式にしたがって符号化して変更してよい。また、サーバ150は、変更された新たな圧縮ファイルを復元するための追加復元情報を生成してよい。この場合、サーバ150は、変更された新たな圧縮ファイルおよび追加復元情報を含む追加圧縮ファイルを生成してよい。言い換えれば、解体方式を利用して生成された新たな圧縮ファイルを、コンテナ方式にしたがって変更した後、変更された新たな圧縮ファイルとこれを復元するための追加復元情報を含む追加圧縮ファイルを生成することが可能となる。このような追加圧縮ファイルは、原本圧縮ファイルの代わりに提供されてよい。このために、追加圧縮ファイルのファイル名が原本圧縮ファイルのファイル名に変更されてよい。例えば、図3の段階340において、新たな圧縮ファイルは中間過程の圧縮ファイルであるため、解体方式とコンテナ方式の両方が利用される実施形態において、サーバ150は、新たな圧縮ファイルの代わりに追加圧縮ファイルのファイル名を原本圧縮ファイルのファイル名に変更してよい。 Also, both the dismantling method and the container method may be used. For example, suppose a new compressed file is generated containing modified class files, as described in the embodiment of FIG. At this time, the server 150 may encrypt the generated new compressed file using a preset key, or may encode and change it according to a preset scheme. Also, the server 150 may generate additional decompression information for decompressing the changed new compressed file. In this case, server 150 may generate a new modified compressed file and an additional compressed file containing the additional decompression information. In other words, after changing a new compressed file generated using the dismantling method according to the container method, an additional compressed file containing the modified new compressed file and additional restoration information for restoring it is generated. It becomes possible to Such additional compressed files may be provided in place of the original compressed file. For this purpose, the file name of the additional compressed file may be changed to the file name of the original compressed file. For example, in step 340 of FIG. 3, the new compressed file is an intermediate compressed file, so in embodiments where both the demolition and container methods are utilized, server 150 adds The file name of the compressed file may be changed to the file name of the original compressed file.

図6は、本発明の一実施形態における、解体方式にしたがって実行可能なJARファイルを変更して新たなJARファイルを生成する例を示した図である。例えば、サーバ150は、実行可能なJARファイル610の圧縮を解除してクラスファイル620と残りのファイル630を抽出してよい。このとき、サーバ150は、抽出されたクラスファイル620を変更し、変更されたクラスファイル640を生成してよい。上述したように、サーバ150は、クラスファイル620それぞれを予め設定されたキーによって暗号化するか、または予め設定された方式にしたがって符号化することによってクラスファイル620を変更してよい。また、サーバ150は、利用された変更方式に対応する復元方式にしたがって復元情報650を生成してよい。このとき、サーバ150は、変更されたクラスファイル640と復元情報650、または残りのファイル630を含む実行可能な新たなJARファイル660を生成してよい。また、サーバ150は、生成された実行可能な新たなJARファイル660のファイル名を実行可能なJARファイル610のファイル名に変更してよく、実行可能なJARファイル610に対する要請にしたがって実行可能な新たなJARファイル660を提供することにより、実行可能なJARファイル610が分析されないように防ぐことが可能となる。一方、実行可能な新たなJARファイル660は、クライアントで実行されるときに、クライアントのメモリに基づいて実行されてよい。このような実行可能な新たなJARファイル660の実行については、以下でさらに詳しく説明する。 FIG. 6 is a diagram showing an example of generating a new JAR file by changing an executable JAR file according to the dismantling method in one embodiment of the present invention. For example, server 150 may decompress executable JAR file 610 to extract class file 620 and remaining files 630 . At this time, server 150 may modify extracted class file 620 to generate modified class file 640 . As described above, the server 150 may modify the class files 620 by encrypting each of the class files 620 with a preset key or encoding them according to a preset scheme. Also, the server 150 may generate the restoration information 650 according to a restoration scheme corresponding to the modification scheme used. At this time, the server 150 may generate a new executable JAR file 660 containing the modified class files 640 and restore information 650 or the remaining files 630 . The server 150 may also change the filename of the generated new executable JAR file 660 to the filename of the executable JAR file 610 and execute the new executable according to the request for the executable JAR file 610 . By providing a valid JAR file 660, it is possible to prevent the executable JAR file 610 from being analyzed. On the other hand, the new executable JAR file 660 may be executed based on the client's memory when executed on the client. The execution of such a new executable JAR file 660 is described in more detail below.

一方、図6では、抽出されたクラスファイル620すべてを変更する例を説明しているが、実施形態によっては、抽出されたクラスファイル620のうちの少なくとも1つのクラスファイルが選択的に変更されてもよい。例えば、実行可能なJARファイル610による機能を実行するために最初に呼び出されるメインクラスのメイン関数が含まれたクラスファイルや主要ソースコードを含んでいるクラスファイルが選択的に変更されてよい。 On the other hand, although FIG. 6 describes an example of modifying all of the extracted class files 620, in some embodiments at least one of the extracted class files 620 is selectively modified. good too. For example, the class file containing the main function of the main class that is first called to perform the function by the executable JAR file 610 or the class file containing the main source code may be selectively modified.

図7は、本発明の一実施形態における、コンテナ方式にしたがって実行可能なJARファイルを変更して新たなJARファイルを生成する例を示した図である。例えば、サーバ150は、実行可能なJARファイル710を変更し、変更された実行可能なJARファイル720を生成してよい。より具体的な例として、サーバ150は、実行可能なJARファイル710を予め設定されたキーによって暗号化するか、または予め設定された方式にしたがって符号化することにより、変更された実行可能なJARファイル720を生成してよい。変更された実行可能なJARファイル720は、実行または圧縮解除が不可能である。また、サーバ150は、実行可能なJARファイル710の変更方式に対応する復元方式にしたがって復元情報730を生成してよく、変更された実行可能なJARファイル720と生成された復元情報730を含む実行可能な新たなJARファイル740を生成してよい。悪意のあるユーザが実行可能な新たなJARファイル740を圧縮解除することにより、変更された実行可能なJARファイル720と復元情報730を取得することはできるが、復元情報730を完全に分析するまでは、変更された実行可能なJARファイル720を圧縮解除または実行することができない。このような実行可能な新たなJARファイル740は、ファイル基盤で実行されてよい。このような実行可能な新たなJARファイル740の実行については、以下でさらに詳しく説明する。 FIG. 7 is a diagram showing an example of generating a new JAR file by changing an executable JAR file according to the container method according to one embodiment of the present invention. For example, server 150 may modify executable JAR file 710 to produce modified executable JAR file 720 . As a more specific example, the server 150 encrypts the executable JAR file 710 with a preset key or encodes it according to a preset scheme, thereby creating a modified executable JAR file 710 . File 720 may be generated. A modified executable JAR file 720 cannot be executed or decompressed. In addition, the server 150 may generate the restoration information 730 according to a restoration scheme corresponding to the modification scheme of the executable JAR file 710 , and an execution file including the modified executable JAR file 720 and the generated restoration information 730 . A possible new JAR file 740 may be generated. A malicious user can obtain the modified executable JAR file 720 and the restoration information 730 by uncompressing the new executable JAR file 740, but until the restoration information 730 is fully analyzed. cannot uncompress or execute the modified executable JAR file 720. Such a new executable JAR file 740 may be executed on a file basis. Execution of such a new executable JAR file 740 is described in more detail below.

また、上述したように、解体方式とコンテナ方式の両方が利用されてもよい。例えば、図6で解体方式によって生成された実行可能な新たなJARファイル660が図7の実行可能なJARファイル710となり、図7のコンテナ方式にしたがって変更され、実行可能な新たなJARファイル740が生成されてよい。このとき、実行可能な新たなJARファイル740のファイル名が、最初の実行可能なJARファイル610のファイル名に変更されてよく、最初の実行可能なJARファイル610に対する要請にしたがって実行可能な新たなJARファイル740が提供されてよい。この場合、図6の実行可能なJARファイル610を得るためには、実行可能な新たなJARファイル740を、復元情報730を利用してコンテナ方式にしたがって復元することにより、実行可能な新たなJARファイル660が得られるようになる。また、実行可能な新たなJARファイル660が含む変更されたクラスファイル640を、復元情報650を利用して解体方式にしたがって復元することにより、最初の実行可能なJARファイル610による機能が実行されてよい。 Also, as described above, both the dismantling method and the container method may be used. For example, the new executable JAR file 660 generated by the dismantling method in FIG. 6 becomes the executable JAR file 710 in FIG. may be generated. At this time, the file name of the new executable JAR file 740 may be changed to the file name of the first executable JAR file 610 , and the new executable file according to the request for the first executable JAR file 610 . A JAR file 740 may be provided. In this case, in order to obtain the executable JAR file 610 of FIG. File 660 becomes available. Also, by restoring the modified class file 640 containing the new executable JAR file 660 according to the dismantling method using the restoration information 650, the function by the first executable JAR file 610 is executed. good.

以下では、生成された新たな圧縮ファイルを実行する過程について説明する。生成された新たな圧縮ファイルは、サーバ150で実行されてもよいが、一般的には、サーバ150からネットワーク(一例として、上述したネットワーク170)を介してクライアント(一例として、電子機器1(110))に送信されてよく、クライアントで実行されてよい。 The process of executing the generated new compressed file will now be described. The generated new compressed file may be executed on the server 150, but is generally transmitted from the server 150 to the client (eg, the electronic device 1 (110 )) and executed on the client.

図8は、本発明の一実施形態における、コンテナ方式によるクライアントでのファイル保護方法の例を示したフローチャートである。本実施形態に係るファイル保護方法は、上述した電子機器1(110)のようなクライアント側のコンピュータ装置によって実行されてよい。電子機器1(110)のプロセッサ212は、メモリ211が含むオペレーティングシステムのコードや、少なくとも1つのコンピュータプログラムのコードによる制御命令(instruction)を実行するように実現されてよい。ここで、プロセッサ212は、電子機器1(110)に格納されたコードが提供する制御命令にしたがって電子機器1(110)が図8の実施形態に係るファイル保護方法が含む段階810~860を実行するように、電子機器1(110)を制御してよい。 FIG. 8 is a flow chart showing an example of a file protection method on a client using a container scheme in one embodiment of the present invention. The file protection method according to this embodiment may be executed by a client-side computer device such as the electronic device 1 (110) described above. The processor 212 of the electronic device 1 (110) may be implemented to execute control instructions according to the code of the operating system contained in the memory 211 and the code of at least one computer program. Here, the processor 212 causes the electronic device 1 (110) to execute steps 810 to 860 included in the file protection method according to the embodiment of FIG. The electronic device 1 (110) may be controlled so as to do so.

段階810で、電子機器1(110)は、実行可能な原本圧縮ファイルをサーバに要請してよい。ここで、サーバは、上述したサーバ150に対応してよい。上述したように、サーバ150は、原本圧縮ファイルに基づいて新たな圧縮ファイルを生成してよく、新たな圧縮ファイルのファイル名を原本圧縮ファイルのファイル名に変更して格納してよい。サーバ150は、電子機器1(110)の要請にしたがって新たな圧縮ファイルを電子機器1(110)に送信してよい。 At step 810, the electronic device 1 (110) may request the executable original compressed file from the server. Here, the server may correspond to the server 150 described above. As described above, the server 150 may generate a new compressed file based on the original compressed file, change the file name of the new compressed file to the file name of the original compressed file, and store the new compressed file. The server 150 may send the new compressed file to the electronic device 1 (110) at the request of the electronic device 1 (110).

段階820で、電子機器1(110)は、要請にしたがってサーバから実行可能な新たな圧縮ファイルを受信してよい。上述したように、サーバ150は、原本圧縮ファイルに対する要請にしたがって原本圧縮ファイルの代わりに新たな圧縮ファイルを送信してよく、電子機器1(110)は、サーバ150からネットワークを介して送信された新たな圧縮ファイルを受信してよい。 At step 820, electronic device 1 (110) may receive a new executable compressed file from the server upon request. As described above, the server 150 may send a new compressed file instead of the original compressed file according to the request for the original compressed file, and the electronic device 1 (110) receives the You may receive new compressed files.

段階830で、電子機器1(110)は、新たな圧縮ファイルの実行と関連して伝達される因子を抽出してよい。ここで、因子は、原本圧縮ファイルの実行時に原本圧縮ファイルとして伝達される因子を含んでよい。上述したように、JARファイルは、ローカル(local)上における便利な管理はもちろん、ジャバ(Java)プログラムの実行中に遠隔地でHTTP(Hyper Text Transfer Protocol)などを通じてダウンロードして直ぐに使用可能であるという特徴がある。このとき、既に実行中であるジャバプログラムは、JARファイルによる機能の実行時に初期パラメータとなり得る因子をJARファイルとして伝達してよい。電子機器1(110)は、このような初期パラメータに対応する因子を抽出してよい。 At step 830, electronic device 1 (110) may extract the factors communicated in connection with executing the new compressed file. Here, the factors may include factors transmitted as the original compressed file when the original compressed file is executed. As described above, the JAR file can be conveniently managed locally and can be used immediately after being downloaded remotely through HTTP (Hyper Text Transfer Protocol) while a Java program is running. There is a feature. At this time, the already-running Java program may pass in the JAR file factors that may be initial parameters when executing the function by the JAR file. The electronic device 1 (110) may extract factors corresponding to such initial parameters.

段階840で、電子機器1(110)は、新たな圧縮ファイルが含む復元情報を利用して新たな圧縮ファイルがさらに含む変更された原本圧縮ファイルを復元してよい。原本圧縮ファイルの復元は、新たな圧縮ファイルの実行時にだけなされる。言い換えれば、新たな圧縮ファイルが実行されない場合には、原本圧縮ファイルが変更された状態で新たな圧縮ファイルに含まれているため、悪意のあるユーザが復元情報を分析して変更された原本圧縮ファイルを復元するまでは実行または圧縮解除することができない。これだけでなく、以下で説明するように、復元情報は、多様な方式にしたがって保護されるため、悪意のあるユーザが復元情報を取得したり分析したりできないようにする。 In step 840, the electronic device 1 (110) may restore the modified original compressed file further included in the new compressed file using the restoration information included in the new compressed file. Decompression of the original compressed file is performed only when a new compressed file is executed. In other words, when the new compressed file is not executed, since the original compressed file is included in the new compressed file in a modified state, a malicious user analyzes the restoration information and finds the changed original compressed file. It cannot be run or uncompressed until the file is restored. In addition to this, as described below, the recovery information is protected according to various schemes to prevent malicious users from obtaining and analyzing the recovery information.

段階850で、電子機器1(110)は、復元された原本圧縮ファイルを実行して抽出された因子を伝達することにより、原本圧縮ファイルによる機能を実行してよい。このように、原本圧縮ファイルによる機能は、ファイル基盤で行われてよい。伝達された因子は、復元された原本圧縮ファイルが含むメインクラスのメイン関数として伝達されてよく、メイン関数が呼び出されることによって原本圧縮ファイルが実行されてよい。 At step 850, the electronic device 1 (110) may perform functions according to the original compressed file by executing the restored original compressed file and transferring the extracted factors. In this way, functions based on the original compressed file may be performed on a file basis. The transferred factor may be transferred as a main function of a main class included in the restored original compressed file, and the original compressed file may be executed by calling the main function.

段階860で、電子機器1(110)は、機能の終了後に復元された原本圧縮ファイルを除去してよい。このように、原本圧縮ファイルは、新たな圧縮ファイルが実行されるときにだけ復元された後、除去されるため、悪意のあるユーザが原本圧縮ファイルを取得して分析することができないように遮断することができる。これだけでなく、新たな圧縮ファイルが実行されるときにだけ原本圧縮ファイルの取得が可能であるということは、新たな圧縮ファイルに多様な追加保護モジュールを挿入することで復元原本圧縮ファイルを追加的に保護できるということを意味する。 At step 860, the electronic device 1 (110) may remove the restored original compressed file after the function ends. In this way, the original compressed file is removed after being decompressed only when a new compressed file is executed, so that a malicious user cannot obtain and analyze the original compressed file. can do. In addition, the fact that the original compressed file can be obtained only when the new compressed file is executed means that the restored original compressed file can be additionally restored by inserting various additional protection modules into the new compressed file. means that it can be protected against

図9は、本発明の一実施形態における、解体方式によるクライアントでのファイル保護方法の例を示したフローチャートである。本実施形態に係るファイル保護方法も、上述した電子機器1(110)のようなクライアント側のコンピュータ装置によって実行されてよい。電子機器1(110)のプロセッサ212は、メモリ211が含むオペレーティングシステムのコードや、少なくとも1つのコンピュータプログラムのコードによる制御命令(instruction)を実行するように実現されてよい。ここで、プロセッサ212は、電子機器1(110)に格納されたコードが提供する制御命令にしたがって電子機器1(110)が図9の実施形態に係るファイル保護方法に含まれる段階910~960を実行するように、電子機器1(110)を制御してよい。 FIG. 9 is a flow chart showing an example of a method of protecting a file on a client by dismantling method in one embodiment of the present invention. The file protection method according to this embodiment may also be executed by a client-side computer device such as the electronic device 1 (110) described above. The processor 212 of the electronic device 1 (110) may be implemented to execute control instructions according to the code of the operating system contained in the memory 211 and the code of at least one computer program. Here, the processor 212 causes the electronic device 1 (110) to perform steps 910 to 960 included in the file protection method according to the embodiment of FIG. 9 according to control instructions provided by the code stored in the electronic device 1 (110). Electronic device 1 (110) may be controlled to execute.

段階910で、電子機器1(110)は、実行可能な原本圧縮ファイルをサーバに要請してよい。ここで、サーバは、上述したサーバ150に対応してよい。上述したように、サーバ150は、原本圧縮ファイルに基づいて新たな圧縮ファイルを生成してよく、新たな圧縮ファイルのファイル名を原本圧縮ファイルのファイル名に変更して格納してよい。サーバ150は、電子機器1(110)の要請にしたがって新たな圧縮ファイルを電子機器1(110)に送信してよい。 At step 910, the electronic device 1 (110) may request the executable original compressed file from the server. Here, the server may correspond to the server 150 described above. As described above, the server 150 may generate a new compressed file based on the original compressed file, change the file name of the new compressed file to the file name of the original compressed file, and store the new compressed file. The server 150 may send the new compressed file to the electronic device 1 (110) at the request of the electronic device 1 (110).

段階920で、電子機器1(110)は、要請にしたがってサーバから実行可能な新たな圧縮ファイルを受信してよい。上述したように、サーバ150は、原本圧縮ファイルに対する要請にしたがって原本圧縮ファイルの代わりに新たな圧縮ファイルを送信してよく、電子機器1(110)は、サーバ150からネットワークを介して送信された新たな圧縮ファイルを受信してよい。 At step 920, electronic device 1 (110) may receive a new executable compressed file from the server upon request. As described above, the server 150 may send a new compressed file instead of the original compressed file according to the request for the original compressed file, and the electronic device 1 (110) receives the You may receive new compressed files.

段階930で、電子機器1(110)は、新たな圧縮ファイルの実行と関連して伝達される因子を抽出してよい。ここで、因子は、原本圧縮ファイルの実行時に原本圧縮ファイルとして伝達される因子を含んでよい。上述したように、JARファイルは、ローカル(local)上における便利な管理はもちろん、ジャバ(Java)プログラムの実行中に遠隔地でHTTP(Hyper Text Transfer Protocol)などを通じてダウンロードして直ぐに使用可能であるという特徴がある。このとき、既に実行中であるジャバプログラムは、JARファイルによる機能の実行時に初期パラメータとなり得る因子をJARファイルとして伝達してよい。電子機器1(110)は、このような初期パラメータに対応する因子を抽出してよい。 At step 930, electronic device 1 (110) may extract the factors conveyed in connection with executing the new compressed file. Here, the factors may include factors transmitted as the original compressed file when the original compressed file is executed. As described above, the JAR file can be conveniently managed locally and can be used immediately after being downloaded remotely through HTTP (Hyper Text Transfer Protocol) while a Java program is running. There is a feature. At this time, the already-running Java program may pass in the JAR file factors that may be initial parameters when executing the function by the JAR file. The electronic device 1 (110) may extract factors corresponding to such initial parameters.

段階940で、電子機器1(110)は、新たな圧縮ファイルが含む復元情報を利用して新たな圧縮ファイルがさらに含む変更されたクラスファイルをメモリ上で復元してよい。 At step 940, the electronic device 1 (110) may restore the modified class file further included in the new compressed file on the memory using the restoration information contained in the new compressed file.

段階950で、電子機器1(110)は、復元されたクラスファイルをメモリ上に積載してよい。このように、クラスファイルの復元はメモリ上でなされ、復元されたクラスファイルもメモリ上に積載されて利用されるため、復元されたクラスファイルは、新たな圧縮ファイルが実行されるときにだけ得られるようになる。復元されたクラスファイルが揮発性格納所であるメモリ上だけに存在するということは、復元されたクラスファイルの分析をより難しくできるということを意味する。また、上述したように、新たな圧縮ファイルが実行されるときにだけクラスファイルが復元されるということは、新たな圧縮ファイルに追加保護モジュールを挿入することで復元されたクラスファイルを追加的に保護できるということを意味する。 At step 950, electronic device 1 (110) may load the restored class file onto memory. In this way, class files are restored in memory, and since the restored class files are also loaded in memory and used, the restored class files are obtained only when a new compressed file is executed. will be available. The fact that the restored class files reside only in memory, which is a volatile storage, means that analysis of the restored class files can be made more difficult. Also, as noted above, the fact that the class files are only decompressed when the new compressed file is executed means that inserting an additional protection module into the new compressed file makes the decompressed class files additionally It means that you can protect

段階960で、電子機器1(110)は、メモリ上に積載された復元されたクラスファイルに含まれたメインクラスのメイン関数を呼び出して抽出された因子を伝達することにより、原本圧縮ファイルによる機能を実行してよい。 In step 960, the electronic device 1 (110) calls the main function of the main class included in the restored class file loaded on the memory and transmits the extracted factor, thereby executing the function according to the original compressed file. may be executed.

このように、新たな圧縮ファイルは、原本圧縮ファイルが圧縮解除あるいは実行されたり、またはソースコードが抽出されて分析されたりすることを遮断することができ、変更された原本圧縮ファイルの復元を新たな圧縮ファイルの実行中に制限することができるため、追加的な保護が可能となる。 In this way, the new compressed file can block the original compressed file from being decompressed or executed, or the source code extracted and analyzed, and restore the modified original compressed file. can be restricted during execution of uncompressed compressed files, providing additional protection.

以下では、原本圧縮ファイルをより複雑に変更することにより、悪意のあるユーザが復元情報を取得したとしても、復元方式の分析を難しくするための方法と、復元情報自体をより安全に保護するための方法について説明する。 In the following, by modifying the original compressed file in a more complicated way, even if a malicious user obtains the restoration information, we will explain how to make it difficult to analyze the restoration method, and to protect the restoration information itself more safely. I will explain how to

図10は、本発明の一実施形態における、解体方式で原本圧縮ファイルを変更する例を示した図である。図10の段階1010~1040は、図3を参照しながら説明した段階310に含まれ、サーバ150によって実行されてよい。 FIG. 10 is a diagram showing an example of changing an original compressed file by dismantling in one embodiment of the present invention. Steps 1010 - 1040 of FIG. 10 may be included in step 310 described with reference to FIG. 3 and performed by server 150 .

段階1010で、サーバ150は、原本圧縮ファイルに対する圧縮解除によって原本圧縮ファイルが含む内部ファイルを抽出してよい。上述したように、JARファイルのような圧縮ファイルは、複数のファイルを圧縮して生成されるファイルであって、圧縮解除によって含まれた内部ファイルを抽出してよい。 At step 1010, the server 150 may extract internal files contained in the original compressed file by decompressing the original compressed file. As noted above, a compressed file, such as a JAR file, is a file created by compressing multiple files and may extract the contained internal files by decompressing.

段階1020で、サーバ150は、抽出された内部ファイルのうちの少なくとも1つのクラスファイルを認識不可能な形態に変更して原本圧縮ファイルを変更してよい。サーバ150は、すべてのクラスファイル(一例として、拡張子が「.class」であるファイル)を確認し、確認されたすべてのクラスファイルのうちの少なくとも1つのクラスファイルを変更してよい。例えば、サーバ150は、変更しようとするクラスファイルを認知することができないように、予め設定されたキー(対象キーまたは非対称キー)を利用して変更しようとするクラスファイルを暗号化するか、または予め設定された方式にしたがって変更しようとするクラスファイルを符号化することによって原本圧縮ファイルを変更してよい。 At step 1020, the server 150 may modify the original compressed file by modifying at least one class file of the extracted internal files into an unrecognizable form. The server 150 may check all class files (as an example, files with the extension “.class”) and modify at least one class file among all the checked class files. For example, the server 150 encrypts the class file to be modified using a preset key (symmetric key or asymmetric key) so that the class file to be modified cannot be recognized, or The original compressed file may be modified by encoding the class files to be modified according to a preset scheme.

段階1030で、サーバ150は、変更されたクラスファイルを圧縮してよい。このような変更されたクラスファイルの圧縮により、クラスファイルのサイズを減らすことができると同時に、クラスファイルに対するより複雑な変更を可能にする。 At step 1030, server 150 may compress the modified class files. Compression of such modified class files can reduce the size of the class files while allowing more complex modifications to the class files.

段階1040で、サーバ150は、段階1020および段階1030を予め設定された回数だけ繰り返し実行してよい。例えば、暗号化されたクラスファイルを復号化するために必要となるキーをクライアントが取得したとしても、このような暗号化と圧縮の過程が繰り返された回数が分からなかったり、または変更されたクラスファイルの圧縮方式が分からなかったりする場合には、変更されたクラスファイルを復元することができない。このような変更と圧縮の回数、さらに圧縮方式などに関する情報は、復元情報に基づいてクライアントに提供されてよいが、以下で説明するように、復元情報は多様な方法によって保護されてよく、または復元情報を取得できたとしても、その意味の分析は難い。例えば、特定の項目として提供される上述した予め設定された回数が何を意味するかを知るためには、クライアントで復元情報がどのように利用されるかを確認しなければならないが、このような復元情報がどのように利用されるかに関する情報は、新たな圧縮ファイルが実行されるときにだけ得ることができる。ファイル自体を分析してコードを分析することとファイルの実行中にメモリを分析することはまったく異なる問題であり、本発明の実施形態によれば、原本圧縮ファイルの圧縮解除や実行、または原本圧縮ファイルのソースコードの取得および分析が遮断可能であることが分かる。 At step 1040, the server 150 may repeat steps 1020 and 1030 a preset number of times. For example, even if a client obtains the key needed to decrypt an encrypted class file, it does not know how many times this encryption and compression process has been repeated, or if the class file has changed. If you don't know how the file was compressed, you can't restore the modified class file. Information regarding the number of such modifications and compressions, as well as the compression scheme, etc. may be provided to the client based on the decompression information, which may be protected by a variety of methods, as described below, or Even if restoration information can be obtained, it is difficult to analyze its meaning. For example, in order to know what the above preset number of times provided as a specific item means, it is necessary to check how the restoration information is used in the client. Information about how the decompression information is used is only available when the new compressed file is executed. Analyzing the code by analyzing the file itself and analyzing the memory while the file is running are entirely different problems, and embodiments of the present invention can decompress or execute the original compressed file, or It turns out that the acquisition and analysis of the source code of the file can be blocked.

図11は、本発明の一実施形態における、コンテナ方式で原本圧縮ファイルを変更する例を示した図である。図11の段階1110~1130は、図3を参照しながら説明した段階310に含まれ、サーバ150によって実行されてよい。 FIG. 11 is a diagram showing an example of changing an original compressed file using a container method in one embodiment of the present invention. Steps 1110 - 1130 of FIG. 11 may be included in step 310 described with reference to FIG. 3 and performed by server 150 .

段階1110で、サーバ150は、原本圧縮ファイルを予め設定されたキーによって暗号化するか、または予め設定された方式にしたがって符号化することにより、原本圧縮ファイルを認識不可能な形態に変更してよい。上述したように、コンテナ方式は、原本圧縮ファイル自体を認識することができないように変更するための方式であり、この場合、変更された原本圧縮ファイルは、圧縮解除自体の実行が不可能となる。 In step 1110, the server 150 encrypts the original compressed file with a preset key or encodes the original compressed file according to a preset scheme, thereby making the original compressed file unrecognizable. good. As described above, the container method is a method for changing the original compressed file itself so that it cannot be recognized. In this case, the modified original compressed file cannot be decompressed itself. .

段階1120で、サーバ150は、変更された原本圧縮ファイルを圧縮してよい。このような変更された原本圧縮ファイルを圧縮することにより、圧縮ファイルのサイズを減らすことができると同時に、圧縮ファイルに対するより複雑な変更が可能となる。 At step 1120, the server 150 may compress the modified original compressed file. By compressing such a modified original compressed file, the size of the compressed file can be reduced while at the same time allowing more complex changes to the compressed file.

段階1130で、サーバ150は、段階1110および段階1120を予め設定された回数だけ繰り返し実行してよい。上述したように、クライアントが圧縮方式や上述した予め設定された回数が分からない場合には、暗号化された原本圧縮ファイルを復号化するためのキーを取得したとしても、原本圧縮ファイルを得ることはできない。 At step 1130, the server 150 may repeat steps 1110 and 1120 a preset number of times. As described above, if the client does not know the compression method or the preset number of times, even if the client obtains the key for decrypting the encrypted original compressed file, it cannot obtain the original compressed file. can't.

このような場合でも、悪意のあるユーザが、新たな圧縮ファイルの実行中にメモリを分析して原本圧縮ファイルを取得できてしまうこともある。 Even in this case, a malicious user may still be able to analyze the memory and retrieve the original compressed file while the new compressed file is running.

図12は、本発明の一実施形態における、復元情報を保護する方法の例を示した図である。復元情報1210は、上述した多様な実施形態における復元情報に対応してよい。 FIG. 12 is a diagram illustrating an example method of protecting restoration information in one embodiment of the present invention. Recovery information 1210 may correspond to recovery information in various embodiments described above.

一実施形態において、復元情報1210は、変更された原本圧縮ファイルを本来の原本圧縮ファイルに復元するための復元コード、または原本圧縮ファイルの変更方式に対応する復元方式を説明する復元方式情報を含んでよい。このとき、復元情報1210は、暗号化および/または符号化によって変更されてよく、暗号化および/または符号化された状態で新たな圧縮ファイル1220に含まれてよい。例えば、復元情報は、新たな圧縮ファイル1220が含むクラスファイル内部のコードの一部分として含まれてよい。他の例として、復元情報は、ファイルの形態で生成されて、新たな圧縮ファイル1220内部の別のファイルとして含まれてもよい。このとき、暗号化および/または符号化された復元情報を復元するための関連情報は、クライアント、新たな圧縮ファイル1220、またはサーバ1230に格納されてよい。このような関連情報がクライアントや新たな圧縮ファイル1220に格納されていたとしても、悪意のあるユーザによる原本圧縮ファイルの取得がより困難になるということは、当業者であれば容易に理解することができるであろう。また、関連情報がサーバ1230に格納される場合、クライアントは、提供された新たな圧縮ファイル1220がクライアントで実行されるときに、サーバ1230に暗号化および/または符号化された復元情報を復元するための関連情報を要請してよい。このとき、サーバ1230は、新たな圧縮ファイル1220または新たな圧縮ファイル1220が含む保護モジュールが現在実行中であるかを判断し、新たな圧縮ファイル1220または保護モジュールが現在実行中の場合にだけ関連情報をクライアントに提供してよい。ここで、サーバ1230は、上述したサーバ150や、サーバ150とは異なる他のサーバであってよい。 In one embodiment, the restoration information 1210 includes a restoration code for restoring the modified original compressed file to the original original compressed file, or restoration method information describing a restoration method corresponding to the modification method of the original compressed file. OK. At this time, decompression information 1210 may be modified by encryption and/or encoding, and may be included in new compressed file 1220 in an encrypted and/or encoded state. For example, the decompression information may be included as part of the code inside the class files that the new compressed file 1220 contains. As another example, the decompression information may be generated in the form of a file and included as a separate file inside the new compressed file 1220 . At this time, relevant information for decompressing the encrypted and/or encoded decompression information may be stored on the client, the new compressed file 1220, or the server 1230. FIG. Even if such relevant information is stored in the client or the new compressed file 1220, it will be more difficult for a malicious user to obtain the original compressed file, as those skilled in the art will readily understand. would be possible. Also, if the relevant information is stored on the server 1230, the client restores the encrypted and/or encoded decompression information to the server 1230 when the provided new compressed file 1220 is run on the client. You may request relevant information for At this time, the server 1230 determines whether the new compressed file 1220 or the protection module it contains is currently running, and only if the new compressed file 1220 or the protection module is currently running. Information may be provided to the client. Here, the server 1230 may be the server 150 described above or another server different from the server 150 .

他の実施形態において、復元情報1210は、サーバ1230への接続情報だけを含んでもよい。例えば、上述した復元コードや復元方式情報は、サーバ1230にそのままあるいは暗号化および/または符号化されて格納されてよい。このとき、クライアントは、復元情報1210として新たな圧縮ファイル1220に含まれた接続情報を利用してサーバ1230に接続して上述した復元コードや復元方式情報を要請してよく、サーバ1230は、新たな圧縮ファイル1220または保護モジュールの実行有無に基づいて復元コードや復元方式情報をクライアントに提供してよい。復元コードや復元方式情報が暗号化および/または符号化されている場合、サーバ1230は、暗号化および/または符号化されている復元コードや復元方式情報をクライアントに送信してよく、クライアントは、サーバ150と予め設定されている方式にしたがって復元コードや復元方式情報を復元してよい。例えば、サーバ150とクライアントが安全な方法にしたがって共有した対称キーによって暗号化された復元コードが、クライアントで共有された対称キーとして復号化されてよい。 In other embodiments, restore information 1210 may only include connection information to server 1230 . For example, the recovery code and recovery method information described above may be stored in server 1230 as is or after being encrypted and/or encoded. At this time, the client may connect to the server 1230 using the connection information included in the new compressed file 1220 as the restoration information 1210 and request the restoration code and restoration method information. A decompression code or decompression method information may be provided to the client based on whether or not the compressed file 1220 or the protection module is executed. If the recovery code or recovery scheme information is encrypted and/or encoded, the server 1230 may send the encrypted and/or encoded recovery code or recovery scheme information to the client, and the client may: The restoration code and restoration method information may be restored according to a method preset with the server 150 . For example, a recovery code encrypted by a symmetric key shared by server 150 and a client according to a secure method may be decrypted as the symmetric key shared by the client.

このように、本発明の実施形態によると、JARファイルのように実行可能な圧縮ファイルに対する保護技術を適用するにあたり、保護しようとする実行可能な圧縮ファイルを再びビルドする必要がなく既存にビルドされた実行可能な圧縮ファイルに容易に適用することができ、実行可能な圧縮ファイルの内容が把握された後にクラスファイルが抽出されてデコンパイルされるという一連の過程の試行を不可能にし、最初から実行可能な圧縮ファイル自体の内容を把握できないように遮断することができる。 As described above, according to the embodiment of the present invention, when applying the protection technology to an executable compressed file such as a JAR file, there is no need to re-build the executable compressed file to be protected. It can be easily applied to any compressed executable file, making it impossible to attempt a series of steps in which the class files are extracted and decompiled after the contents of the executable compressed file are known, and It can be blocked so that the contents of the executable compressed file itself cannot be grasped.

悪意のあるユーザは、新たな圧縮ファイルからは復元された状態の原本圧縮ファイルを直ぐに得ることはできない。言い換えれば、原本圧縮ファイルを得ようとする悪意のあるユーザが、新たな圧縮ファイルが実行である状態でメモリを分析することによって原本圧縮ファイルの取得が可能となるように強制することができる。しかし、新たな圧縮ファイルは、ファイルの実行中に保護モジュールを実行することでメモリやファイルの保護を可能にする周知の多様な従来技術によって保護されることができるため、悪意のあるユーザが原本圧縮ファイルにアクセスすることを遮断できるようになる。 A malicious user cannot immediately obtain the restored original compressed file from the new compressed file. In other words, a malicious user trying to obtain the original compressed file can be forced to be able to obtain the original compressed file by analyzing memory while the new compressed file is running. However, newly compressed files can be protected by a variety of well-known prior art techniques that allow protection of memory and files by running protection modules while the files are running, thus preventing malicious users from You can now block access to compressed files.

上述したシステムまたは装置は、ハードウェア構成要素、ソフトウェア構成要素、またはハードウェア構成要素とソフトウェア構成要素との組み合わせによって実現されてよい。例えば、実施形態で説明された装置および構成要素は、例えば、プロセッサ、コントローラ、ALU(arithmetic logic unit)、デジタル信号プロセッサ、マイクロコンピュータ、FPGA(field programmable gate array)、PLU(programmable logic unit)、マイクロプロセッサ、または命令を実行して応答することができる様々な装置のように、1つ以上の汎用コンピュータまたは特殊目的コンピュータを利用して実現されてよい。処理装置は、オペレーティングシステム(OS)および前記OS上で実行される1つ以上のソフトウェアアプリケーションを実行してよい。また、処理装置は、ソフトウェアの実行に応答し、データにアクセスし、データを格納、操作、処理、および生成してもよい。理解の便宜のために、1つの処理装置が使用されるとして説明される場合もあるが、当業者は、処理装置が複数個の処理要素および/または複数種類の処理要素を含んでもよいことが理解できるであろう。例えば、処理装置は、複数個のプロセッサまたは1つのプロセッサおよび1つのコントローラを含んでよい。また、並列プロセッサのような、他の処理構成も可能である。 The systems or devices described above may be realized by hardware components, software components, or a combination of hardware and software components. For example, the devices and components described in the embodiments may include, for example, processors, controllers, ALUs (arithmetic logic units), digital signal processors, microcomputers, FPGAs (field programmable gate arrays), PLUs (programmable logic units), microcontrollers, It may be implemented using one or more general purpose or special purpose computers, such as a processor or various devices capable of executing instructions and responding to instructions. A processing unit may run an operating system (OS) and one or more software applications that run on the OS. The processing unit may also access, store, manipulate, process, and generate data in response to executing software. For convenience of understanding, one processing device may be described as being used, but those skilled in the art will appreciate that the processing device may include multiple processing elements and/or multiple types of processing elements. You can understand. For example, a processing unit may include multiple processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

ソフトウェアは、コンピュータプログラム、コード、命令、またはこれらのうちの1つ以上の組み合わせを含んでもよく、思うままに動作するように処理装置を構成したり、独立的または集合的に処理装置に命令したりしてよい。ソフトウェアおよび/またはデータは、処理装置に基づいて解釈されたり、処理装置に命令またはデータを提供したりするために、いかなる種類の機械、コンポーネント、物理装置、仮想装置、コンピュータ格納媒体または装置に永久的または一時的に具現化されてもよい。ソフトウェアは、ネットワークによって接続されたコンピュータシステム上に分散され、分散された状態で格納されても実行されてもよい。ソフトウェアおよびデータは、1つ以上のコンピュータで読み取り可能な記録媒体に格納されてもよい。 Software may include computer programs, code, instructions, or a combination of one or more of these, to configure a processor to operate at its discretion or to independently or collectively instruct a processor. You can Software and/or data may reside permanently in any kind of machine, component, physical device, virtual device, computer storage medium or device for interpretation on or for providing instructions or data to a processing device. may be embodied permanently or temporarily. The software may be distributed over computer systems connected by a network so that they are stored and executed in a distributed fashion. The software and data may be stored on one or more computer readable media.

実施形態に係る方法は、多様なコンピュータ手段によって実行可能なプログラム命令の形態で実現されてコンピュータで読み取り可能な媒体に記録されてよい。前記コンピュータで読み取り可能な媒体は、プログラム命令、データファイル、データ構造などを単独でまたは組み合わせて含んでよい。前記媒体に記録されるプログラム命令は、実施形態のために特別に設計されて構成されたものであってもよいし、コンピュータソフトウェア当業者に公知な使用可能なものであってもよい。コンピュータで読み取り可能な記録媒体の例としては、ハードディスク、フロッピー(登録商標)ディスク、および磁気テープのような磁気媒体、CD-ROM、DVDのような光媒体、フロプティカルディスク(floptical disk)のような光磁気媒体、およびROM、RAM、フラッシュメモリなどのようなプログラム命令を格納して実行するように特別に構成されたハードウェア装置が含まれる。プログラム命令の例は、コンパイラによって生成されるもののような機械語コードだけではなく、インタプリタなどを使用してコンピュータによって実行される高級言語コードを含む。 The method according to the embodiments may be embodied in the form of program instructions executable by various computer means and recorded on a computer readable medium. The computer-readable media may include program instructions, data files, data structures, etc. singly or in combination. The program instructions recorded on the medium may be those specially designed and constructed for an embodiment, or they may be of the kind known and available to those of skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and floptical disks. and magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include high-level language code that is executed by a computer, such as using an interpreter, as well as machine language code, such as that generated by a compiler.

以上のように、実施形態を、限定された実施形態と図面に基づいて説明したが、当業者であれば、上述した記載から多様な修正および変形が可能であろう。例えば、説明された技術が、説明された方法とは異なる順序で実行されたり、かつ/あるいは、説明されたシステム、構造、装置、回路などの構成要素が、説明された方法とは異なる形態で結合されたりまたは組み合わされたり、他の構成要素または均等物によって対置されたり置換されたとしても、適切な結果を達成することができる。 As described above, the embodiments have been described based on the limited embodiments and drawings, but those skilled in the art will be able to make various modifications and variations based on the above description. For example, the techniques described may be performed in a different order than in the manner described and/or components such as systems, structures, devices, circuits, etc. described may be performed in a manner different from the manner described. Appropriate results may be achieved when combined or combined, opposed or substituted by other elements or equivalents.

したがって、異なる実施形態であっても、特許請求の範囲と均等なものであれば、添付される特許請求の範囲に属する。 Accordingly, different embodiments that are equivalent to the claims should still fall within the scope of the appended claims.

110、120、130、140:電子機器
150、160:サーバ
170:ネットワーク
110, 120, 130, 140: electronic equipment 150, 160: server 170: network

Claims (9)

コンピュータ装置によって実行されるファイル保護方法であって、
前記コンピュータ装置により、実行可能な原本圧縮ファイルを変更して中間ファイルを生成する段階、
前記コンピュータ装置により、前記中間ファイルから前記原本圧縮ファイルを復元するための復元情報を生成する段階、
前記コンピュータ装置により、前記中間ファイルおよび前記復元情報を含む実行可能な新たな圧縮ファイルを生成する段階、および
前記コンピュータ装置により、前記新たな圧縮ファイルのファイル名を前記原本圧縮ファイルのファイル名に変更する段階
を含み、
前記中間ファイルを生成する段階は、
前記コンピュータ装置により、前記原本圧縮ファイルに対する圧縮解除によって前記原本圧縮ファイルが含む内部ファイルを抽出する第1段階、
前記コンピュータ装置により、前記抽出された内部ファイルのうちの少なくとも1つのクラスファイルを認識不可能な形態に変更する第2段階、
前記コンピュータ装置により、前記変更されたクラスファイルを圧縮する第3段階、および
前記コンピュータ装置により、前記第2段階および前記第3段階を予め設定された回数だけ繰り返し実行する第4段階
を含み、
前記新たな圧縮ファイルを生成する段階は、
前記変更されたクラスファイルが圧縮されたファイル、前記復元情報、および前記内部ファイルのうちの前記第2段階、前記第3段階および前記第4段階の対象のクラスファイルを除いた残りのファイルを含む新たな圧縮ファイルを生成することを特徴とする、ファイル保護方法。
A file protection method performed by a computer device, comprising:
generating an intermediate file by modifying the original executable compressed file by the computer device ;
generating restoration information for restoring the original compressed file from the intermediate file by the computer device ;
generating , by the computing device, a new executable compressed file containing the intermediate file and the decompressed information; and
changing the file name of the new compressed file to the file name of the original compressed file by the computer device ;
The step of generating the intermediate file includes:
a first step of extracting internal files contained in the original compressed file by decompressing the original compressed file by the computer device;
a second step of modifying at least one class file of the extracted internal files into an unrecognizable form by the computing device;
a third step of compressing, by the computing device, the modified class files; and
A fourth step of repeatedly executing the second step and the third step by the computer device for a preset number of times
including
The step of generating the new compressed file includes:
The modified class file includes the compressed file, the restoration information, and the remaining files of the internal files excluding the target class files of the second step, the third step, and the fourth step. A file protection method characterized by generating a new compressed file .
前記コンピュータ装置により、前記変更されたクラスファイルが圧縮されたファイルおよび前記復元情報を含む新たな圧縮ファイルを、予め設定されたキーを利用して暗号化するか、または予め設定された方式にしたがって符号化して変更する段階、
前記コンピュータ装置により、前記変更された新たな圧縮ファイルを復元するための追加復元情報を生成する段階、および
前記コンピュータ装置により、前記変更された新たな圧縮ファイルおよび前記追加復元情報を含む追加圧縮ファイルを生成する段階
をさらに含み、
前記新たな圧縮ファイルのファイル名を前記原本圧縮ファイルのファイル名に変更する段階は、
前記新たな圧縮ファイルのファイル名の代わりに、前記追加圧縮ファイルのファイル名を前記原本圧縮ファイルのファイル名に変更することを特徴とする、請求項に記載のファイル保護方法。
The computer device encrypts the file in which the modified class file is compressed and a new compressed file containing the restoration information using a preset key or according to a preset scheme. encoding and modifying;
generating , by the computer device, additional decompression information for decompressing the modified new compressed file; and
generating , by the computing device, an additional compressed file containing the modified new compressed file and the additional restoration information;
changing the file name of the new compressed file to the file name of the original compressed file;
2. The file protection method according to claim 1 , wherein the file name of said additional compressed file is changed to the file name of said original compressed file instead of the file name of said new compressed file.
前記コンピュータ装置により、前記原本圧縮ファイルに対するクライアントの要請にしたがって前記新たな圧縮ファイルを前記クライアントに提供する段階
をさらに含み、
前記クライアントで前記新たな圧縮ファイルの実行に応答し、前記クライアントのコンピュータ装置が、
前記新たな圧縮ファイルの実行と関連して伝達される因子を抽出し、
前記新たな圧縮ファイルが含む前記復元情報を利用して前記変更されたクラスファイルを前記クライアントのメモリ上で復元し、
前記復元されたクラスファイルを前記クライアントのメモリ上に積載し、
前記メモリ上に積載された前記復元されたクラスファイルに含まれたメインクラスのメイン関数を呼び出して前記抽出された因子を伝達することにより、前記原本圧縮ファイルによる機能を実行すること
を特徴とする、請求項に記載のファイル保護方法。
providing the new compressed file to the client by the computer device according to the client's request for the original compressed file;
In response to executing the new compressed file on the client , the client computing device :
extracting factors that are transmitted in connection with execution of the new compressed file;
restoring the modified class file on the memory of the client using the restoration information contained in the new compressed file;
loading the restored class file onto the memory of the client;
A function according to the original compressed file is executed by calling a main function of a main class included in the restored class file loaded on the memory and transferring the extracted factor. A file protection method according to claim 1 .
前記コンピュータ装置により、前記原本圧縮ファイルに対するクライアントの要請にしたがって前記新たな圧縮ファイルを前記クライアントに提供する段階
をさらに含み、
前記クライアントで前記新たな圧縮ファイルの実行に応答し、前記クライアントのコンピュータ装置が、
前記新たな圧縮ファイルの実行と関連して伝達される因子を抽出し、
前記新たな圧縮ファイルが含む前記復元情報を利用して前記中間ファイルから前記原本圧縮ファイルを復元し、
前記復元された原本圧縮ファイルを実行して前記抽出された因子を伝達することにより、前記原本圧縮ファイルによる機能を実行し、
前記機能の終了後に前記復元された原本圧縮ファイルを除去すること
を特徴とする、請求項1に記載のファイル保護方法。
providing the new compressed file to the client by the computer device according to the client's request for the original compressed file;
In response to executing the new compressed file on the client , the client computing device :
extracting factors that are transmitted in connection with execution of the new compressed file;
restoring the original compressed file from the intermediate file using the restoration information contained in the new compressed file;
executing the restored original compressed file and transferring the extracted factor to perform a function according to the original compressed file;
2. The file protection method according to claim 1, wherein said restored original compressed file is removed after said function is finished.
前記復元情報を生成する段階は、
前記中間ファイルを本来の原本圧縮ファイルに復元するための復元コードを生成するか、前記原本圧縮ファイルの変更方式に対応する復元方式を説明する復元方式情報を前記復元情報として生成することを特徴とする、請求項1に記載のファイル保護方法。
The step of generating the restoration information includes:
A decompression code for decompressing the intermediate file into the original compressed file is generated, or decompression method information describing a decompression method corresponding to a modification method of the original compressed file is generated as the decompression information. The file protection method according to claim 1, wherein
前記新たな圧縮ファイルを生成する段階は、
前記復元情報を、キーを利用して暗号化するか、予め設定された方式にしたがって符号化して前記新たな圧縮ファイル内部の別のファイルに含ませるか、前記新たな圧縮ファイル内部のクラスファイル内部に含ませることを特徴とする、請求項1に記載のファイル保護方法。
The step of generating the new compressed file includes:
The decompression information is encrypted using a key, encoded according to a preset scheme and included in another file inside the new compressed file, or inside a class file inside the new compressed file. 2. The file protection method of claim 1, wherein the file protection method comprises:
前記復元情報を生成する段階は、
前記コンピュータ装置により、前記中間ファイルを本来の原本圧縮ファイルに復元するための復元コードを生成するか、前記原本圧縮ファイルの変更方式に対応する復元方式を説明する復元方式情報を生成する段階、
前記コンピュータ装置により、前記復元コードまたは前記復元方式情報を予め設定されたサーバに格納する段階、および
前記コンピュータ装置により、前記新たな圧縮ファイルの実行時に前記予め設定されたサーバに接続して前記復元コードまたは前記復元方式情報を取得するための接続情報を前記復元情報として生成する段階
を含むことを特徴とする、請求項1に記載のファイル保護方法。
The step of generating the restoration information includes:
generating a decompression code for decompressing the intermediate file into the original compressed file, or generating decompression method information describing a decompression method corresponding to a modification method of the original compressed file, using the computer device ;
storing the recovery code or the recovery method information in a preset server by the computing device ; and
generating, as the restoration information, connection information for connecting to the preset server and acquiring the restoration code or the restoration method information by the computer device when the new compressed file is executed. File protection method according to claim 1, characterized in that.
請求項1~のうちのいずれか一項に記載の方法をコンピュータに実行させるためのプログラムが記録されていることを特徴とする、コンピュータで読み取り可能な記録媒体。 A computer-readable recording medium, characterized in that a program for causing a computer to execute the method according to any one of claims 1 to 7 is recorded. コンピュータと結合して請求項1~のうちのいずれか一項に記載の方法をコンピュータに実行させるためのコンピュータで読み取り可能な記録媒体に格納された、コンピュータプログラム。 A computer program stored in a computer-readable recording medium for causing a computer to execute the method according to any one of claims 1 to 7 in combination with a computer.
JP2018133758A 2017-07-20 2018-07-13 File protection method and system for protecting executable compressed files Active JP7140581B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2017-0091867 2017-07-20
KR1020170091867A KR102009419B1 (en) 2017-07-20 2017-07-20 Method and system for protecting executable compressed file

Publications (2)

Publication Number Publication Date
JP2019021310A JP2019021310A (en) 2019-02-07
JP7140581B2 true JP7140581B2 (en) 2022-09-21

Family

ID=65276924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018133758A Active JP7140581B2 (en) 2017-07-20 2018-07-13 File protection method and system for protecting executable compressed files

Country Status (2)

Country Link
JP (1) JP7140581B2 (en)
KR (1) KR102009419B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102559290B1 (en) * 2020-01-06 2023-07-26 주식회사 아미크 Method and system for hybrid cloud-based real-time data archiving

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259456A (en) 1999-03-05 2000-09-22 Nec Corp File revision management system
JP2002351709A (en) 2001-05-28 2002-12-06 Yamaha Corp Method/program/system for converting input data
US20040039926A1 (en) 2000-10-11 2004-02-26 Lambert Martin Richard Methods of providing java tamperproofing
JP2006350829A (en) 2005-06-17 2006-12-28 Nec Corp Apparatus and method for managing file version, and program
JP2009104250A (en) 2007-10-19 2009-05-14 Mitsubishi Electric Corp Execution system, program, and execution method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3590582B2 (en) * 2000-12-14 2004-11-17 株式会社コネクトテクノロジーズ Application distribution system and application distribution device
JP2008040853A (en) * 2006-08-08 2008-02-21 Matsushita Electric Ind Co Ltd Application execution method and application execution device
KR102433011B1 (en) * 2015-04-04 2022-08-19 홍동철 Method of apk file protection, apk file protection system performing the same, and storage medium storing the same
KR101749209B1 (en) * 2015-05-22 2017-06-20 한양대학교 산학협력단 Method and apparatus for hiding information of application, and method and apparatus for executing application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259456A (en) 1999-03-05 2000-09-22 Nec Corp File revision management system
US20040039926A1 (en) 2000-10-11 2004-02-26 Lambert Martin Richard Methods of providing java tamperproofing
JP2002351709A (en) 2001-05-28 2002-12-06 Yamaha Corp Method/program/system for converting input data
JP2006350829A (en) 2005-06-17 2006-12-28 Nec Corp Apparatus and method for managing file version, and program
JP2009104250A (en) 2007-10-19 2009-05-14 Mitsubishi Electric Corp Execution system, program, and execution method

Also Published As

Publication number Publication date
KR20190009910A (en) 2019-01-30
JP2019021310A (en) 2019-02-07
KR102009419B1 (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN111143869B (en) Application package processing method and device, electronic equipment and storage medium
US20170235963A1 (en) Method, apparatus, system and non-transitory computer readable medium for code protection
CN111262889B (en) Authority authentication method, device, equipment and medium for cloud service
US8959659B2 (en) Software authorization system and method
WO2021114614A1 (en) Application program secure startup method and apparatus, computer device, and storage medium
US9158902B2 (en) Software modification for partial secure memory processing
CN103607452B (en) Acquisition methods, the apparatus and system of virtual machine terminal data
CN102469080A (en) Method for pass user to realize safety login application client and system thereof
US10516649B1 (en) High-performance computer security gateway for cloud computing platform
US20130212259A1 (en) Service scripting framework
US11509469B2 (en) Methods and systems for password recovery based on user location
CN105893093A (en) Application program upgrading method and device
US20130097425A1 (en) Providing Consistent Cryptographic Operations Across Several Applications
JP7140581B2 (en) File protection method and system for protecting executable compressed files
CN111432013A (en) Configuration item issuing method, configuration item acquiring method, equipment and readable storage medium
CN112464068B (en) Data processing method and device and electronic equipment
US10216941B2 (en) Method of distributing application with security features and method of operating the application
CN113535263A (en) Dynamic library calling method and device, computer equipment and storage medium
KR101823226B1 (en) Method and system for code protection
US10785030B2 (en) System for decrypting encrypted data based upon acquired visual representation of encrypted data and related methods
US20210006634A1 (en) Secure and private web browsing system and method
CN114692121A (en) Information acquisition method and related product
JP2017220236A (en) Client alteration determination system and method
CN114143197A (en) OTA (over the air) upgrading method, device and equipment of Internet of things equipment and readable storage medium
KR101745821B1 (en) Method and system for secure booting

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20210128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20210209

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20210412

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20210706

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210708

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220518

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220830

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220908

R150 Certificate of patent or registration of utility model

Ref document number: 7140581

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350