Cryptography, Data Exfiltration, Downloads, golang, Hacking Tools, Network, Pulsar, Tunnel

Pulsar – Data Exfiltration And Covert Communication Tool

Pulsar is a tool for data exfiltration and covert communication that enable you to create a secure data transfer, a bizarre chat or a network tunnel through different protocols, for example you can receive data from tcp connection and resend it to real destination through DNS packets.

Make sure you have at least Go 1.8 in your system to build Pulsar

First, getting the code from repository and compile it with following command:

$ cd pulsar
$ export GOPATH=$(shell pwd)
$ go get
$ go build -o bin/pulsar src/main.go

or run:

A connector is a simple channel to the external world, with the connector you can read and write data from different sources.

  • Console:
    • Default in/out connector, read data from stdin and write to stdout
  • TCP
    • Read and write data through tcp connections

  • UDP
    • Read and write data through udp packet

  • ICMP
    • Read and write data through icmp packet

       icmp: (the connection port is obviously useless)
  • DNS

You can use option –in in order to select input connector and option –out to select output connector:

 --in tcp:

A handler allows you to change data in transit, you can combine handlers arbitrarily.

  • Stub:

    • Default, do nothing, pass through
  • Base32

    • Base32 encoder/decoder

       --handlers base32
  • Base64

    • Base64 encoder/decoder

       --handlers base64
  • Cipher

    • CTR cipher, support AES/DES/TDES in CTR mode (Default: AES)

       --handlers cipher:<key|[aes|des|tdes#key]>

You can use the –decode option to use ALL handlers in decoding mode

 --handlers base64,base32,base64,cipher:key --decode

In the following example Pulsar will be used to create a secure two-way tunnel on DNS protocol, data will be read from TCP connection (simple nc client) and resend encrypted through the tunnel.

[nc 9000] <--TCP--> [pulsar] <--DNS--> [pulsar] <--TCP--> [nc -l -p 9900]

$ ./pulsar --in tcp: --out dns:[email protected]:8989 --duplex --plain in --handlers 'cipher:supersekretkey!!'
$ nc 9000

$ nc -l -p 9900
$ ./pulsar --in dns:[email protected]:8989 --out tcp: --duplex --plain out --handlers 'cipher:supersekretkey!!' --decode

All contributions are always welcome

Source : KitPloit – PenTest Tools!

Previous ArticleNext Article
Send this to a friend