当前位置:网站首页>Nexus 5 phone uses Nexmon tool to get CSI information
Nexus 5 phone uses Nexmon tool to get CSI information
2022-08-02 05:22:00 【CS research GO】
一、实验工具
1. Google Nexus5智能手机(系统:Android 6.0.1,固件:M4B30Z,权限:ROOT ,可参考Nexus 5刷机(Android 6.0.1,M4B30Z 固件)和ROOT教程);
2. 安装Xubuntu 18.04The computer or virtual machine of the system:Xubuntu 下载地址,You can download the corresponding version according to your needs;Xubuntu 使用教程;Students who use virtual machines can refer to this tutorial,VMware安装Ubuntu18.04教程;
3. ASUS-AC86U路由器.
二、操作步骤
注意:The steps here are only correct Nexus5智能手机和Xubuntu 18.04系统有效.
- 进入Xubuntu系统,打开终端,获取超级用户权限,进入根目录下,执行如下命令安装dependencies;
apt-get install git gawk qpdf adb flex bison
- 如果是64位操作系统,还需要安装i386库,若不是,可忽略此步骤;
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
- 获取nexmon项目;
git clone git://github.com/seemoo-lab/nexmon.git
- 下载安装Android NDK r11c(Only this version is supported),并配置环境变量,参考教程;
- 进入nexmon文件夹,Execute the following command to automatically configure environment variables;
source setup_env.sh
- 完成后执行 make 命令,并进入utilities文件夹,继续执行 make 命令;
- Pass the prepared mobile phone with the computerUSB进行连接,并执行如下命令;
make install
- 进入pathes/bcm4339/6_37_34_43/路径下,获取nexmon_csi项目;
git clone https://github.com/seemoo-lab/nexmon_csi.git
- 进入nexmon_csi路径,执行如下命令,Install the patch for the phone;
make install-firmware
- 进入utils/makecsiparams/路径,执行 make Commands are used to configure the extractor;
- 调用makecsiparamsExecute the following command to generate a parameter string,以备后面使用,
# 其中,157指信道,80指带宽,00:11:22:33:44:55指路由器MAC地址
makecsiparams -c 157/80 -C 1 -N 1 -m 00:11:22:33:44:55 -b 0x88
执行后,Generate the following parameters:m+IBEQGIAgAAESIzRFWqu6q7qrsAAAAAAAAAAAAAAAAAAA==;
12. Run the following command to turn on the wireless network card of the mobile phone,This command does not need to be executed if the network card is turned on;
ifconfig wlan0 up
- 执行如下命令配置CSI提取器,vThe following parameters are steps11生成的参数;
nexutil -Iwlan0 -s500 -b -l34 -vm+IBEQGIAgAAESIzRFWqu6q7qrsAAAAAAAAAAAAAAAAAAA==
- 执行如下命令,开启监控模式;
nexutil -Iwlan0 -m1
- 执行如下命令,获取CSI信息并存储.
tcpdump -i wlan0 -vv dst port 5500 -w /sdcard/csi.pcap
- 下载utils/matlab,编译unpack_float.c为unpack_float.mexw64文件,使用 Matlab软件执行utils/matlab/csireader.m文件,观察图像.
三、结果展示
参考:nexmon项目教程
内容靠得住,关注不迷路.
边栏推荐
猜你喜欢
随机推荐
QT之实现斗鱼直播PC客户端
openssl-1.1.1g 交叉编译注意事项
JPA自定义SQL Column ××× not found.
七分钟深入理解——卷积神经网络(CNN)
v-model修饰符
科研笔记(八) 深度学习及其在 WiFi 人体感知中的应用(上)
两端是圆角的进度条微信对接笔记
CC1101魔幻的收发切换机制
科研笔记(六) 基于环境感知的室内路径规划方法
位居榜首 | 未来智安荣登CCIA「2022年中国网安产业潜力之星」榜单
LVS+Keepalived实现高可用的负载均衡
生物识别学习资源推荐
SLSA 框架与软件供应链安全防护
Zabbix删除一些大表历史数据脚本
树莓派4B安装OPENCV遇到ffmpeg库版本太高的问题【后续更新】
ffmpeg推流USB到rtsp
工作过程中问题汇总
jni中jstring与char*互转
未来智安XDR及核心组件产品上榜《嘶吼2022网络安全产业图谱》
SCI写作攻略——附带常见英语写作句式