How to encrypt a reverse shell connection with socat
July 31, 20241 min read
socat can make encrypted connections, which foil after-the-fact network analysis and may circumvent IDS entirely.
The verify=0 directive turns off certificate validation, so this isn’t a “secure” connection in the sense that it’s been authenticated, but it is secure in the sense that it’s encrypted.