Packet Sender

© 2016 Dan Nagle - @NagleCode


In collaboration with

BSides Huntsville

Feb 6 at Dynetics

BSidesHuntsville.org

$10 Ticket includes lunch

Packet Sender

2011 - Present


PacketSender.com
GitHub.com/DanNagle/PacketSender

Packet Sender is GPL v2

Same as Linux!

With GPL v2, am I allowed to...
redistribute Packet Sender?
Yes
use this tool commercially?
Yes
modify the code?
Yes
use it for free?
Yes
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.

PacketSender.com

GitHub.com/DanNagle/PacketSender-Website

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
vs
User Datagram Protocol

"Guaranteed" vs "best effort"

TCP UDP
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 example.com 22 "Hello\nWorld"

TCP (54747)://91.189.94.40:22 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 www.qt.io



Build steps

1. InstallQt Online Installer
2. DownloadGitHub.com/DanNagle/PacketSender/archive/vX.Y.zip
3. Extract
4. OpenPacketSender.pro
5. Build

Build steps

  sudo apt-get update
  sudo apt-get install qt5-default
  wget GitHub.com/DanNagle/PacketSender/archive/vX.Y.tar.gz
  tar -xzvf vX.Y.tar.gz
  cd PacketSender-X.Y/src
  qmake
  make

Live Demo

Hacking Raspberry Pi Player

GitHub.com/DanNagle/PiPlayer (GPL v2)

Questions?


DownloadPacketSender.com
SourceGitHub.com/DanNagle/PacketSender
Twitter@NagleCode
LinkedInlinkedin.com/in/dannagle