I'm very new to the topic of penetration testing, and I was curious: Is it possible to create a viable C2 server in Java? Or is this something best created in a language such as C?
I guess it being in C makes it more lightweight? (i.e. the JRE wouldn't need to be packaged in the executable)
Ultimately, the C2 Server ultimately needs to be stealthy / undetectable.