We have identified a few different types of JAR UIs. The underlying implementation/obfuscation details might be different across them, probably templated to mix and match, but the final UIs are the same.
This UI style contains just a password box, no username, suggesting each domain was intended for a single agent at a time.
Sample domain: europeannewsflash.com.
We have noticed that we don't know the IP range for most websites which use this UI style are, suggesting that they are possibly older and predate a massive later IP range rollout.
The server endpoint for this type of comms is /cgi-bin/*.cgi, e.g. http://www.europeannewsflash.com/cgi-bin/home.cgi, except for technologypresstoday.com which uses /cgi/technology.cgi.
Client code contains it's own litle RSA public key cryptography implementation. It uses it to establish a shared key, and encrypts further communication with AES. The exact same algorithm is used for JS comms, suggesting a shared design.
Figure 1.
2011 Wayback Machine archive of europeannewsflash.com on Chromium 156 with CheerpJ enabled and login prompt highlighted
. With CheerpJ extension it is possible to see the password field directly on the Wayback Machine without the need for the server reconstruction. The MSN Web Search going out of bounds is just some incompatibility between old web and Chromium 156. Firefox 158 shows it better. But the CherrpJ extension is not available on Firefox. Details.
Figure 2.
Comms reconstruction of europeannewsflash.com showing the messaging interface
. Details.
Actually opening up the comms interface requires of course the server to reply, so this is only possible in reconstruction.
There was no live refresh, you'd need to refresh the page and re-login to see your handler messages.
Figure 3.
Comms reconstruction of europeannewsflash.com showing the file selector UI
. Nice feature! Very handy to upload those top secret PDFs back to the CIA. Note that in our comms reconstruction, file upload only works if you run CheerpJ as the browser extension, --cheerpj injection does not work well for it. Details.
Figure 4.
Comms reconstruction of europeannewsflash.com showing the "Upload complete" message
. This message shows up after you finish either sending a message or making a file upload. Details.
Figure 5.
Comms reconstruction of europeannewsflash.com showing the "Bad login. Refresh the page to try again" message
. This message shows if your stupid asset puts the wrong password in the password box. Details.
This UI style contains a JAR-powered image slideshow.
Sample domain: mynepalnews.com.
Figure 2.
Comms reconstruction of mynepalnews.com showing the login prompt
. 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. Details.
Figure 3.
Comms reconstruction of mynepalnews.com showing the messaging interface
. 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. Details.
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 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: especialesmonedas.com, half-court.net, inkfreenews.com, and segomonews.com. These four use literal activation sequences. The other 74 use hashed sequences.
This is a small variant of JAR slideshow. Rather than a slideshow of images, it just shows one scrolling message. Other than that, the UI is identical: click applet, harcoded first char, hardcoded hashed password, hardcoded last char, then identical login prompt and UI opens.
Sample domain: 2011.
Video 1.
Comms reconstruction of inews-today.com showing the JAR scroller
.
These applets display a bandwidth test and contain a bw.properties configuration.
See worldofonlinenews.com and its archived world.jar.
Similar to JAR bandwidth meter but has no bw.properties.
See factorforcenews.com and its archived factorspeed.jar.
These applets use Client.properties to configure an encrypted content channel. Some display a slideshow. The applets classified as JAR slideshow have a keyboard-activated login.
See worldfinancetoday.net and its archived slides.jar.
The applet requests display content from the server and calls JavaScript on the page to update what the visitor sees. On aeronet-news.com, applet.configs points the applet to /servlet/News and names the JavaScript callbacks. The page's preld function preloads images and divchck inserts the supplied HTML into a page element.
See aeronet-news.com and its archived aeronet.jar.

Articles by others on the same topic (0)

There are currently no matching articles.