Mythic/.env
has a special environment variable you can use to expose a range of ports at a time for this exact reason - MYTHIC_SERVER_DYNAMIC_PORTS="7000-7010"
. By default this uses ports 7000-7010, but you can change this to any range you want and then simply restart Mythic to make the changes.Mythic/.env
to have MYTHIC_DOCKER_NETWORKING="host"
, then Mythic’s core services will use host
networking instead of bridge
networking. This means that ports opened are automatically shared with the host. In this case, you can use UDPAssociate SOCKS functionality as well as not having to worry about which ports are exposed by Docker.proxychains curl https://www.google.com
)