CPC G06F 21/563 (2013.01) | 13 Claims |
1. A method of extracting file feature information, the method being performed by a computing device including at least one processor, the method comprising:
converting input data in a form of a binary file into data with a preset size, wherein the converting of the input data in the form of the binary file into the data with the preset size comprises:
recognizing the input data in units of bytes;
counting the number of each of the recognized plurality of bytes; and
converting the input data into the data with the preset size based on the number of each of the plurality of bytes;
extracting feature information of the input data from the data with the preset size; and
training a network model using the feature information as training data to detect a malicious code from the input data in the form of the binary file,
wherein the converting of the input data into the data with the preset size based on the number of each of the plurality of bytes comprises:
calculating an appearance probability of each of the plurality of bytes in total data based on the number of each of the plurality of bytes; and
converting the input data into the data with the preset size based on the appearance probability.
|