There was an error while loading. Please reload this page.
1 parent 0e566c6 commit 24708bcCopy full SHA for 24708bc
README.md
@@ -2,9 +2,15 @@
2
Webshell scanner using deep learning method;
3
4
Method:
5
-1. 对webshell 统计6个特征(压缩比、最长单词、危险函数、恶意特征、信息熵、恶意表达式);(需要调整比例)
6
-2. 将webshell 转化为n-gram向量,输入全连接网络 mlp_net(20,10,10,1)
+1. 对webshell 统计6个特征(压缩比、最长单词、危险函数、恶意特征、信息熵、恶意表达式);
+2. 将webshell 转化为n-gram向量,输入全连接网络 mlp_net(每层节点数依次为:20,10,10,1)
7
3. 在 mlp_net 的倒数第二层,拼接步骤1的6个特征,然后这16维特征连接到输出层
8
9
+模型训练代码:mlp_feature.py
10
+训练好的模型参数:mlp_feature_model.h5
11
+词袋模型: models文件夹
12
+扫描器:scan_shell.py
13
+数据集:webshells.zip
14
+
15
基于深度学习的webshell扫描器,测试集准确率高于99%
16
这项工作基于以下代码,鲁棒性和准确率得到了提升,具有一定抵御对抗扰动(bad words)的效果: https://github.com/duoergun0729/2book/blob/master/code/webshell.py
0 commit comments