Mobile side: Based on Application of Android system development, surface application is based on Baidumap Route planning app
Service side: Based on The Python web Development Framework Django implementation.
communication channels: Based on third-party SDK jpush Push message + own set of encryption system
Push principle:
1. Polling mode (pull): Implementing Message Queuing polling frequency issues
2.SMS(push): High cost of intercepting message parsing intent
3. Persistent link (push): Troubleshoot polling performance issues
XMPP Protocol:
based on Xml
Core: Shard Publishing on the network Streaming protocol for XML
Android Client essentials:
1. Passing Information
(1) The transmission of information refers to the zombie application can obtain the basic information of mobile terminal, such as : location, service provider information, number and personal basic information;
(2) Send heartbeat packet, the service side through the packets sent to determine the online host and status.
2. parsing Commands
The WEB server sends commands to some zombie clients through the relevant channel, and the data sent by the client-side parsing service is translated into corresponding instructions.
3. Execution of commands
According to the instructions sent by the server, point to the related operation.
Service side:
1. Connection process: The connection process is a connection established between the Web server and the Android client to ensure that the service side can monitor whether the zombie phone is online or not.
2. command Push process: the process of pushing commands to an Android phone when an attacker wants to perform an operation .
3. answer process: The answer process is when the command pushesthe process, the Android phone executes a command to return to the client the result of the execution of the response process.
4. Disconnect procedure: The process of disconnecting the Web server and Android phone After the response process is complete .
Project code subsequent upload GitHub: Https://github.com/myjack please follow
Design and implementation of botnet simulation tool based on Android mobile platform