JP2006106956A

Falsification detection device and falsification detection method for software

Abstract

Problem to be solved.To detect tampering with a dynamic storage area.

Solution.The address information stored in a dynamic storage area 202b for storing information that may be changed by executing a process related to a program code is referred to, and is based on the information stored in the static storage area 202a. When shifting to control, the second tamper detection unit 204 checks whether the address information referenced from the dynamic storage area specifies the range of the static storage area. Referenced address information If does not specify the range of the static storage area, it is judged that the address information stored in the dynamic storage area has been tampered with, and the dynamic storage is performed only by a simple comparison of the address information. Make it easy to detect tampering with the information stored in the area. [Selection diagram] Fig. 2

JP2006106956A, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 1 October 2024, 2 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

5 claims: 2 independent, 3 dependent

  1. 1
    少なくともプログラムコードを含む当該プログラムコードに係る処理を実行する前に確定した情報が記憶され当該情報の改竄が定期的に検査される静的記憶領域と、プログラムコードに係る処理の実行に伴って変更され得る情報が記憶される動的記憶領域とを有する記憶手段と、 上記記憶手段における静的記憶領域の範囲を示すアドレス情報を記憶する領域情報記憶手段と、 上記動的記憶領域に記憶されたアドレス情報を参照して、上記静的記憶領域に記憶された情報に基づく処理を実行する場合に、上記動的記憶領域から参照したアドレス情報が上記領域情報記憶手段に記憶されたアドレス情報で示される静的記憶領域の範囲内を指定するものであるか否かを判定し、上記動的記憶領域に記憶された情報の改竄を検出する検出手段とを備えることを特徴とするソフトウェアの改竄検出装置。
  2. 2
    上記検出手段は、上記動的記憶領域から参照したアドレス情報と、上記領域情報記憶手段に記憶されたアドレス情報とを比較する比較手段と、 上記比較手段による比較結果に基づいて、上記動的記憶領域から参照したアドレス情報が上記静的記憶領域の範囲内を指定するものであるか否かを判定する判定手段とを備えることを特徴とする請求項1記載のソフトウェアの改竄検出装置。
  3. 3
    上記動的記憶領域に記憶されたアドレス情報は、上記プログラムコードに係る分岐処理における分岐先アドレス及び復帰処理における復帰アドレスの少なくとも一方であることを特徴とする請求項1又は2記載のソフトウェアの改竄検出装置。
  4. 4
    上記プログラムコードに係る分岐処理又は復帰処理を実行する前に、上記動的記憶領域に記憶されたアドレス情報を参照して、当該アドレス情報が上記静的記憶領域の範囲内を指定するものであるか否かを判定することを特徴とする請求項3記載のソフトウェアの改竄検出装置。
  5. 5
    少なくともプログラムコードを含む当該プログラムコードに係る処理を実行する前に確定した情報が記憶され当該情報の改竄が定期的に検査される静的記憶領域と、プログラムコードに係る処理の実行に伴って変更され得る情報が記憶される動的記憶領域とを有する記憶部を備える情報処理システムでのソフトウェアの改竄検出方法であって、 上記動的記憶領域に記憶されたアドレス情報を参照して、上記静的記憶領域に記憶された情報に基づく処理を実行する場合に、上記動的記憶領域から参照したアドレス情報が、上記静的記憶領域の範囲を示すアドレス情報により予め規定した静的記憶領域の範囲内を指定するものであるか否かを判定する判定工程と、 上記判定工程での判定結果に基づいて、上記動的記憶領域に記憶された情報の改竄を検出する検出工程とを有することを特徴とするソフトウェアの改竄検出方法。
Independent claims5