Packet Sender

© 2016 Dan Nagle - @NagleCode

In collaboration with

BSides Huntsville

Feb 6 at Dynetics

$10 Ticket includes lunch

Packet Sender

2011 - Present

Packet Sender is GPL v2

Same as Linux!

With GPL v2, am I allowed to...
redistribute Packet Sender?
use this tool commercially?
modify the code?
use it for free?
use the code for a non-GPL project? Only internally

Some places redistribute Packet Sender with malware.

GPL v2 allows this.

Used publicly:

Atmel (Product User Guide)

Texas Instruments (Forums)

HARMAN Professional (Official Support/Training)

ArchStrike Linux (x86/x64/ARM Distros)

And many, many other places, internally.

~110 daily downloads

"Can you give this to me in Packet Sender format?"

Website is MIT licensed.

Abandoned mobile apps are MIT licensed.

Unsupported. Use only as a guide.

Xamarin-based version in development.

Common Packet Sender uses

  • Control devices beyond their original apps
  • Automation
  • Developing network APIs
  • Malware analysis
  • Testing network connectivity/firewalls
  • Tech support (portable Packet Sender)

Transmission Control Protocol
User Datagram Protocol

"Guaranteed" vs "best effort"

Device Control
File Download
Device Polling
http / ssh / telnet / ftp / git
Live Streaming Video
Broadcast / Multicast

With UDP, you are trading accuracy for speed.

Linux-style command line switches

packetsender -taw 500 22 "Hello\nWorld"

TCP (54747):// 48 65 6c 6c 6f 0a 57 6f 72 6c 64
Response Time:5:51:37.042 pm
Response HEX:53 53 48 2D 32 2E 30 2D 4F 70 65 6E 53 53 48 5F 36 2E 32 70 32 20 55 62 75 6E 74 75 2D 36 2E 31 2E 49 53 50 41 54 43 48 45 44 2E 31 32 2E 30 34 0D 0A
Response ASCII:SSH-2.0-OpenSSH_6.2p2 Ubuntu-6.1.ISPATCHED.12.04\r\n

Building the project

Only dependency is

Build steps

1. InstallQt Online Installer
3. Extract
5. Build

Build steps

  sudo apt-get update
  sudo apt-get install qt5-default
  tar -xzvf vX.Y.tar.gz
  cd PacketSender-X.Y/src

Live Demo

Hacking Raspberry Pi Player (GPL v2)