The invention discloses a multi-type HTTP (
Hyper Text Transport Protocol) coding
feature extraction method and
system and a medium. The method comprises the following steps: constructing a multi-type HTTP coding
data set; sample data of URL codes, Base64 codes,
Unicode codes, Hex codes,
HTML codes and combined codes and nested codes of the URL codes, the Base64 codes, the
Unicode codes, the Hex codes and the
HTML codes are collected respectively, and corresponding type labels are marked; the method comprises the following steps: reading a multi-type HTTP coded
data set, sequentially reading samples, and carrying out
feature extraction; constructing a multi-type coding
feature matrix; constructing a coding sample
feature vector, constructing and standardizing a
feature matrix of the multi-type HTTP coding
data set, constructing a coding type vector matrix according to type values in the multi-type HTTP coding data set, and performing transverse splicing operation on the coding type vector matrix and the standardized
feature matrix to construct a multi-type coding feature matrix; according to the method, a multi-type coding data set which can be used for coding learning training,
verification and testing is constructed,
feature extraction is performed through unique features of multi-type coding, and the accuracy and efficiency of feature extraction are improved.