I was looking into the idea of port spoofing, and I came across this GitHub repository. I'm mainly looking to disguise my computer as something else, whereas this program opens every TCP port and emulates a service on it. Could I use something similar to say, only emulate a printer service?
2Yes, just pull out the code from the repo and create your own script.– Lucas KauffmanFeb 24, 2022 at 2:56
"Is it possible to...?" should prompt the inverse question "What is stopping me from ...?"
And in this case: Nothing.
You can set up your system to accept a TCP handshake on every port and perform some sort of printing service, without actually printing anything.
Tools like nmap can't tell whether or not there is really anything printing - only that the program behind acts like printing service.
Thank you for clarifying. Is there a method of setting this up you would recommend? I've tried searching for something to work like this but kept ending back to that same repository.– sketch54Feb 24, 2022 at 19:59
@sketch54 tcp-wrappers is a good way to start– user163495Feb 25, 2022 at 14:14