How would the attacker use netcat to encrypt information before transmitting it on the wire?

An attacker runs netcat tool to transfer a secret file between two hosts.

Machine A: netcat -1 p 1234 < secretfile

Machine B: netcat 192.168.3.4 > 1234

He is worried about information being sniffed on the network.

How would the attacker use netcat to encrypt information before transmitting it on the wire?

An attacker runs netcat tool to transfer a secret file between two hosts.

Machine A: netcat -1 p 1234 < secretfile

Machine B: netcat 192.168.3.4 > 1234

He is worried about information being sniffed on the network.

How would the attacker use netcat to encrypt information before transmitting it on the wire?

A.
Machine A: netcat -1 �p �s password 1234 < testfile
Machine B: netcat <machine A IP> 1234

B.
Machine A: netcat -1 �e magickey �p 1234 < testfile
Machine B: netcat <machine A IP> 1234

C.
Machine A: netcat -1 �p 1234 < testfile �pw password
Machine B: netcat <machine A IP> 1234 �pw password

D.
Use cryptcat instead of netcat.

Explanation:
Cryptcat is the standard netcat enhanced with twofish encryption with ports for WIndows NT, BSD and Linux. Twofish is courtesy of counterpane, and cryptix. A default netcat installation does not contain any cryptography support.



Leave a Reply 0

Your email address will not be published. Required fields are marked *