Skip to content

Install and roll out

Network requirements and proxies

The hosts and ports the agent connects to, how it works through a proxy, and how to find where a connection stops.

Anyone in the workspace can do this.

Steps

  1. Allow outbound TCP 443 from every computer that runs the agent to agents.blackshard.com and updates.blackshard.com.
  2. Exempt both hosts from TLS inspection. The agent pins the certificate of the agent host and checks the signature of every update, and it refuses a connection that something on the path has opened.
  3. Allow outbound TCP 80 to www.microsoft.com and oneocsp.microsoft.com. Windows reads there that the Black Shard Pty Ltd signature on the installer and on each update has not been revoked.
  4. On a network where a direct connection does not reach the agent host, the agent uses the proxy Windows is set to use: the machine WinHTTP proxy, then the proxy of the Internet settings, then each proxy the proxy script of the network lists. It opens a tunnel through the proxy and keeps its own TLS inside.
  5. To send every agent connection through one proxy, pass -Proxy http://host:port to Install-Jetstone.ps1 from a deployment pack, or set the property on the MSI. Running the script again with -Proxy sets it on a computer where the agent is already installed:
    msiexec /i <file>.msi /qn JET_PROXY_URL=http://proxy.example:8080
  6. To see where a connection stops, run the check on the computer as an administrator. It walks the name lookup, the connection, the proxy tunnel, TLS and one request for each host, and names the hop that failed:
    "%ProgramFiles%\Jetstone\jet-agent-win.exe" check-connection
What the agent connects to
HostPortUsed forTLS inspection
agents.blackshard.comTCP 443Enrolment, telemetry and response commandsExempt this host
updates.blackshard.comTCP 443The installer download and agent updatesExempt this host
www.microsoft.comTCP 80Certificate revocation lists for the installer signaturePlain HTTP
oneocsp.microsoft.comTCP 80Certificate status for the installer signaturePlain HTTP

A proxy that asks for a user name and password is set as proxy_url in agent.toml on the computer, in the form http://user:password@host:port, so the password is on no command line. An upgrade keeps the setting.

Still stuck

Email support@blackshard.com.au with your workspace name and the guide you were following. For an attack happening now, call the 24/7 incident line on 1800 370 270.