No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Lua 53.3%
  • Python 46.7%
Find a file
2022-06-20 07:55:52 +00:00
.gitignore Initial commit 2022-06-02 15:51:39 +08:00
Count.py Initial commit 2022-06-02 15:51:39 +08:00
Dection.py Initial commit 2022-06-02 15:51:39 +08:00
PSK_LifeTime.py Initial commit 2022-06-02 15:51:39 +08:00
QQ_Mobile.lua Initial commit 2022-06-02 15:51:39 +08:00
QQ_Mobile.py Initial commit 2022-06-02 15:51:39 +08:00
QQ_Mobile.txt Initial commit 2022-06-02 15:51:39 +08:00
QQ_Windows.lua Initial commit 2022-06-02 15:51:39 +08:00
QQ_Windows.py Update readme.md, QQ_Windows.py 2022-06-20 07:55:52 +00:00
QQ_Windows.txt Initial commit 2022-06-02 15:51:39 +08:00
readme.md Update readme.md, QQ_Windows.py 2022-06-20 07:55:52 +00:00
Wechat.lua Initial commit 2022-06-02 15:51:39 +08:00
Wechat.py Initial commit 2022-06-02 15:51:39 +08:00
Wechat.txt Initial commit 2022-06-02 15:51:39 +08:00

实验三实验代码文件说明

环境Ubuntu。运行所需软件sudo apt install tshark lua lua-cjson。

实验原始流量

实验原始流量在 /pcaps/ 文件夹下。因实验原始流量较大30GB所以实验原始流量未在此处给出。 实验原始流量的位置存储在百度网盘中,链接: https://pan.baidu.com/s/1ZLrxy4mCQ1r12aEF7rnalA 提取码: c6im。

提取QQ、微信通信协议设备标识特征

  • QQ_Windows.py调用 QQ_Windows.lua提取QQ Windows客户端通信协议设备标识特征共提取了5641个在文件QQ_Windows.txt中
  • QQ_Moblie.py调用QQ_Moblie.lua提取QQ 移动客户端通信协议设备标识特征共提取了6097个在文件QQ_Moblie.txt中
  • Wechat.py调用Wechat.lua提取微信客户端通信协议设备标识特征共提取了15713个在文件Wechat.txt中

实验三实验代码

  • PSK_LifeTime.py: 打印流量中所有 MMTLS 协议PSK字段的生存期
  • Dection.py输出论文中表 5.3 所示的实验结果
  • Count.py输出论文中表 5.5 所示的实验结果

实验三代码运行说明

  • 运行 QQ_Windows.py QQ_Moblie.pyWechat.py 提取通信协议设备标识特征
  • 运行PSK_LifeTime.pyDection.pyCount.py