Skip to content

Commit 24708bc

Browse files
authored
Update README.md
1 parent 0e566c6 commit 24708bc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22
Webshell scanner using deep learning method;
33

44
Method:
5-
1. 对webshell 统计6个特征(压缩比、最长单词、危险函数、恶意特征、信息熵、恶意表达式);(需要调整比例)
6-
2. 将webshell 转化为n-gram向量,输入全连接网络 mlp_net(20,10,10,1)
5+
1. 对webshell 统计6个特征(压缩比、最长单词、危险函数、恶意特征、信息熵、恶意表达式);
6+
2. 将webshell 转化为n-gram向量,输入全连接网络 mlp_net(每层节点数依次为:20,10,10,1)
77
3. 在 mlp_net 的倒数第二层,拼接步骤1的6个特征,然后这16维特征连接到输出层
88

9+
模型训练代码:mlp_feature.py
10+
训练好的模型参数:mlp_feature_model.h5
11+
词袋模型: models文件夹
12+
扫描器:scan_shell.py
13+
数据集:webshells.zip
14+
915
基于深度学习的webshell扫描器,测试集准确率高于99%
1016
这项工作基于以下代码,鲁棒性和准确率得到了提升,具有一定抵御对抗扰动(bad words)的效果: https://github.com/duoergun0729/2book/blob/master/code/webshell.py

0 commit comments

Comments
 (0)