DETECTION DEVICE, DETECTION METHOD, AND DETECTION PROGRAM
A detection device includes processing circuitry configured to acquire position information and a file size of a falsification detection target file, and determine a change in the position information or the file size acquired, and detect falsification of the falsification detection target file in a case where there is a change in the position information or the file size.
1 . A detection device comprising:
processing circuitry configured to:
acquire position information and a file size of a falsification detection target file; and
determine a change in the position information or the file size acquired, and detect falsification of the falsification detection target file in a case where there is a change in the position information or the file size.
2 . The detection device according to claim 1 , wherein the processing circuitry is further configured to:
generate a determination criterion including the position information or the file size acquired and store the determination criterion,
acquire position information and a file size of a falsification detection target file in a case where falsification detection is performed, and
compare the position information and the file size included in the determination criterion stored with the position information and the file size acquired in a case where the falsification detection is performed, and in a case where any of the position information and the file size does not match, detect falsification of the falsification detection target file assuming that there is a change in the position information or the file size.
3 . The detection device according to claim 1 , wherein the processing circuitry is further configured to:
acquire a digest value and a file size of position information of a falsification detection target file, and
determine a change in the digest value of the position information or the file size acquired, and detect falsification of the falsification detection target file in a case where there is a change in the digest value of the position information or the file size.
4 . The detection device according to claim 1 , wherein the processing circuitry is further configured to determine, in a case where there is a change in the position information or the file size, whether there is a change in a digest value of a file content, and in a case where there is a change in the digest value of the file content, detect falsification of a falsification detection target file.
5 . A detection method executed by a detection device comprising:
acquiring position information and a file size of a falsification detection target file; and
determining a change in the position information or the file size acquired, and detecting falsification of the falsification detection target file in a case where there is a change in the position information or the file size.
6 . A non-transitory computer-readable recording medium storing therein a detection program that causes a computer to execute a process comprising:
acquiring position information and a file size of a falsification detection target file; and
determining a change in the position information or the file size acquired, and detecting falsification of the falsification detection target file in a case where there is a change in the position information or the file size.