CGI comms (source code)

= CGI comms

= CGI
{synonym}

CGI comms are communication mechanisms which show a login page in HTML and use <HTTPS> to communicate with the server securely. I.e., like any proper modern website would.

But because this was some early and weird version of the web, <HTTPS> was not yet in widespread use, so the main website was in HTTP and the HTTPS was used only for the login page in a subdomain. Also the login page would have a .cgi extension. This makes them particularly <fingerprintable>.

Some subdomain names were much more common than others, further helping to <fingerprint>:
* `secure.`: most common
* `ssl.`: also common
But various other more creative subdomains also exist which were linked to the website theme itself, e.g.: `musical-fortune.net` has a `backstage.musical-fortune.net`.

This is what allowed us to find our first two non Reuters ranges! <secure subdomain search on 2013 DNS Census>{full}

At first we had some doubt if this was the actual comms mechanism or not, partly because CGI comms are relatively rare. But because:
* they occur often in known IP ranges
* they are so stylistically similar between on another
* citizenlabs specifically mentioned a "CGI" comms method
* on many of these websites the CGI login is the only known <comms> mechanism
it feels overwhelmingly likely that they are.

The CGI responses on altworldnews.com, commercialspacedesign.com, fgnl.net, globalnewsbulletin.com and round-trip-travel.com use a `document.write` in a hardcoded `<script>` to insert the login form, a probable obfuscation measure.

If we could do a crawl search for `secure.*com/cgi-bin/*.cgi` that might be a good enough fingerprint, maybe even `*.*com/cgi-bin/*.cgi`. Edit: it is not perfect, but we kind of did it: <secure subdomain search on 2013 DNS Census>{full}.

\Image[/cia-2010-covert-communication-websites/screenshots/familyhealthonline.net-arrow.jpg]
{title=2011 <Wayback Machine> archive of https://web.archive.org/web/20110106035241/http://familyhealthonline.net/[familyhealthonline.net] indicating "FORUM" login page link}

\Image[/cia-2010-covert-communication-websites/screenshots/secure.familyhealthonline.net.png]
{title=2013 <Wayback Machine> archive of https://web.archive.org/web/20130729093000/https://secure.familyhealthonline.net/cgi-bin/health.cgi[secure.familyhealthonline.net/cgi-bin/health.cgi]}
{description=This is one of the few preserved CGI login pages that we have.}