enkomio / AlanFramework

A C2 post-exploitation framework
Other
461 stars 72 forks source link

Default proxy for C2 #9

Open mashaGC opened 1 year ago

mashaGC commented 1 year ago

Hi,

Is there a way to configure for the client to use the default machine proxy (org proxy), or set proxy configurations (dest + port)? Otherwise the client cannot communicate with the server that is outside the org network if direct access to the internet from the machine is blocked. As I understand, the proxy that exist in the framework doesn't allow such functionality and used for pivoting inside the network.

enkomio commented 1 year ago

Hi, Currently, the only supported proxy type is SOCKS5. Implementing an HTTP proxy requires a little bit more work since I don't use Windows API but socket functions. This implies that I have to implement an HTTP proxy from scratch. I'll put this feature for the next Alan release.