= JAR slideshow
{c}
{title2=376 / 387 classes}
This UI style contains a JAR-powered image slideshow.
Sample domain: https://web.archive.org/web/20110203000411/http://mynepalnews.com/[mynepalnews.com].
Reverse engineered code: https://github.com/cirosantilli/media/blob/master/cia-2010-covert-communication-websites/comms-reverse/jar/slideshow
\Image[/cia-2010-covert-communication-websites/screenshots/mynepalnews.com-reconstruction-arrow.jpg]
{title=<Comms reconstruction> of https://web.archive.org/web/20110203000411/http://mynepalnews.com/[mynepalnews.com] showing the initial Java applet slideshow image}
\Image[/cia-2010-covert-communication-websites/screenshots/mynepalnews.com-reconstruction-login.jpg]
{title=<Comms reconstruction> of https://web.archive.org/web/20110203000411/http://mynepalnews.com/[mynepalnews.com] showing the login prompt}
{description=For this particular page, it opens after the user enters `q`, `azsx` and `p`. Codex managed to brute force reverse the `azsx` password for this one from it hash embedded in the archived JAR, so we are certain this is the actual sequence the asset would have entered. Such "geometric QWERTY keyboard mnemonics" were common.}
\Image[/cia-2010-covert-communication-websites/screenshots/mynepalnews.com-reconstruction-ui.jpg]
{title=<Comms reconstruction> of https://web.archive.org/web/20110203000411/http://mynepalnews.com/[mynepalnews.com] showing the messaging interface}
{description=This UI style had some cute elements, such as progress meters and the font size selectors. Despite progress meters, <Codex>' reverse engineering suggests it could not live load replies, you'd still have to refresh the page and re-login to see messages.}
The first image is present in the JAR and is accurate. Further images would have been sent from the server and have been lost to time. We have picked random-on-theme images for our <comms reconstructions> of some sites, while on the rest the server just keeps sending the same archived image so you don't see anything move.
The login fields are not visible in this type of UI, and require specific sequence of keypresses to be revealed. It's a cute piece of spycraft. The sequence is as follows, hardcoded and different for each JAR:
* click the applet with the mouse to give it focus. Focus seems to be given by default when you open the page on most cases, but can be lost if you click elsewhere.
* enter one start character stored plaintext in the JAR
* enter a usually short UI-reveal password. This is stored <hashed> in the JAR for the majority of JARs. But because they are so short <Codex> manged to brute-force guess many of them correctly, we maintain a list at https://github.com/cirosantilli/media/tree/master/cia-2010-covert-communication-websites/jar-activation-sequences.json[jar-activation-sequences.json].
* the finish key is stored in plaintext in the JAR
* for the large majority of examples, you just press it after typing the UI-reveal password
* some slideshow JARs however require holding it while typing. E.g. on half-court.net you would need to tap `x`, press down `a` and hold, type `court` while holding `a`, then release `a`.
The password cannot contain the start of finish characters.
Once the correct sequence is entered, the login UI opens after about 10 seconds on our default reconstruction settings. This slowness is a result of the fact that according to Codex' reverse engineering, the UI open speed is be tied to the speed at which the slideshow switches slides. The server tells the client for how long each slide should show. Therefore this speed can be configured by a server sent parameter, exposed as `--jar-slideshow-interval` on our `reconstruction.py` CLI, but our default felt like a reasonable slideshow update rate.
This UI seems not to open directly on Wayback Machine even with the <CheerpJ browser extension> with due to some browser incompatibility issues which increased browser security measures.
The slideshow works by the app sending POST requests to `/servlet/release` on the server each time it wants a new slide. The server then replies by sending back an `application/octet-stream` which sends back a Java-specific object serialization format as bytes. Therefore it is overwhelminly likely that this type of server was written in <Java>.
The following command:
``
jq -r 'map(select(.sequence != "")) | group_by(.mnemonic_type)[] | (.[0].mnemonic_type | if . == "" then "unknown" else . end), (group_by([.domain, .sequence])[] | " \((.[0].domain + (" " * 34))[:34])\(.[0].sequence)\(if length > 1 then " (\(length) captures)" else "" end)"), ""' jar-activation-sequences.json
``
produces a quick list of the currently known UI reveal passwords with a classification by Codex:
``
(blank)
cellar-notes.com uknh
first-tee-golf.com csi
hydradraco.com ile
newsandsportscentral.com lac
the-news-scene.com mar
world-news-online.net adrlatlcc
domain_fragment
golf-on-holiday.com golf
half-court.net court
rastadirect.net rasta
geometric
awfaoi.org bnm
dk-dcinvestment.com oiu
echessnews.com vbg
inews-today.com zxcv
mynepalnews.com azsx
segomonews.com poki
sunrise-news.com njki
zafernews.com asd
number
azerinews.org 5768
lesummumdelafinance.com 346
newsintheworld-ru.com 63274
willtoworship.com 0818
number_pattern
fightwithoutrules.com 384756
lanoticiasdehoyelinforme.com 234
sixty2media.com 135
stara-turistick.com 864579
repeated_key
avoilurefixe.com 000
newsandweathersource.com sss (2 captures)
word_en
bcenews.com begin
dayenews.com tree
everythingcricket.org ball
financial-crisis-news.com start
icwb-news.com bill
mynewscheck.com football
news-and-sports.com lotus
newsresolution.net start
ride-captain.com tuna
stickshiftnews.com cars
theentertainbiz.com airforce
themvconnection.com fruit
whirlybirdinflight.com helo
word_es
surya-brahma.com cheque
``
The server endpoint path for this type of website is of the form `/servlet/*`, e.g. `/servlet/release` for `mynepalnews.com`.
Much like for <JAR password-only >, this setup also uses public key encryption, but it instead uses <Diffie-Hellman key exchange> and then encrypt further communcation with <International Data Encryption Algorithm>.
Four of the 78 known slideshow domains have 376 classes: https://web.archive.org/web/20110201130722id_/http://especialesmonedas.com/[especialesmonedas.com], https://web.archive.org/web/20101229100006/http://half-court.net/[half-court.net], https://web.archive.org/web/20110201181047id_/http://inkfreenews.com/break.jar[inkfreenews.com], and https://web.archive.org/web/20110131054130/http://segomonews.com/[segomonews.com]. These four use literal activation sequences. The other 74 use hashed sequences.
Back to article page