Wouldn't it be better to use HTTPS and add an additional layer of encryption, or to write your own socket server and create a more private structure even make these connections with SSL/TLS? Can you explain the differences between having HTTP or HTTPS on the server or using Socket or Socket + SSL/TLS instead? I think a socket program and custom encryption would be the cleanest. What is the best way?
Why do almost all botnets use HTTP protocol? |
(May 20, 2025 09:28 AM)SIM-5411207 Wrote: Wouldn't it be better to use HTTPS and add an additional layer of encryption, or to write your own socket server and create a more private structure even make these connections with SSL/TLS? Can you explain the differences between having HTTP or HTTPS on the server or using Socket or Socket + SSL/TLS instead? I think a socket program and custom encryption would be the cleanest. What is the best way? First of all, there's no HTTPS or SSL/TLS to be clear. HTTPS is HTTP over SSL/TLS. Applications use sockets to communicate on a network. Second, botnets should use encryption, but they might be old, or the developers might be lazy. (May 20, 2025 12:19 PM)DramaKing Wrote: First of all, there's no HTTPS or SSL/TLS to be clear. HTTPS is HTTP over SSL/TLS. Applications use sockets to communicate on a network. Second, botnets should use encryption, but they might be old, or the developers might be lazy. This is a very high quality answer, I'm not upgraded, so I can't donate or give quick love, but I can at least TELL you I appreciate this. Good on you! (May 20, 2025 12:19 PM)DramaKing Wrote: First of all, there's no HTTPS or SSL/TLS to be clear. HTTPS is HTTP over SSL/TLS. Applications use sockets to communicate on a network. Second, botnets should use encryption, but they might be old, or the developers might be lazy. First of all, thank you for your comment. You said that every botnet should use encryption. For example, should we create our own custom encryption system in a TCP socket program, or would it be correct to via SSL/TLS with a self-signed certificate? Or we can do both. Which one would be better? (May 20, 2025 09:13 PM)SIM-5411207 Wrote: First of all, thank you for your comment. You said that every botnet should use encryption. For example, should we create our own custom encryption system in a TCP socket program, or would it be correct to via SSL/TLS with a self-signed certificate? Or we can do both. Which one would be better? Using an existing SSL library would be the usual method, I think. (May 20, 2025 11:12 PM)DramaKing Wrote: Using an existing SSL library would be the usual method, I think. I have seen in some examples that self-signed 100-year certificates are created. Is this how it should be done? (May 21, 2025 12:16 AM)SIM-5411207 Wrote: I have seen in some examples that self-signed 100-year certificates are created. Is this how it should be done? use openssl if you want to generate a self-signed cert |
|
|


