Research Article

Webshell Detection Based on Executable Data Characteristics of PHP Code

Table 6

The evaluation index results.

Model nameClassification algorithmEvaluation index
AccuracyPrecisionRecallF1 score

Model 1Random forest0.99660.98970.99540.9926
Support vector machine0.99420.98410.99080.9874
Multilayer perceptron0.99530.98630.99310.9897

Model 2Random forest0.99260.98960.97820.9839
Support vector machine0.97920.98530.92330.9533
Multilayer perceptron0.98710.97250.97140.9719

Model 3Random forest0.99420.98190.99310.9875
Support vector machine0.98840.96210.98850.9751
Multilayer perceptron0.99180.98060.98400.9823

Comparing the same algorithm in different models, the maximum value of the indicator.