This is the only type of JS comms which we are able to properly do a usable comms reconstruction of, because it contains all the client UI code nicely archived. The other types, JS polling XML and JS polling TXT receive their UI from the server, so we will never know how they looked like exactly.
Sample domain in English: classymotors.net.
Sample domain with an archived login button: iranfootballsource.com. This is the only domain so far which has an archived login OK button image, here a world cup. We see from this that the button is was intended to be just an image. Other archives so far just show the img alt fallback value as text, but it is just an archival limitation.
This type of JS comms uses the exact same encryption algorithm as JAR password-only , embedded into the JAR itself. Furthermore, it also has the same type of URL path for server endpoints /cgi-bin/*.cgi, e.g. http://www.classymotors.net/cgi-bin/car_rate.cgi. This strongly suggests a shared origin.
Figure 1.
2011 Wayback Machine archive of classymotors.net showing the password prompt
. The password field is viewable directly on the Wayback Machine archive. The field is not present in the HTML but injected into the HTML by the archived JS. The submit button shows as "OK" because of an unarchived image asset. For wesites what are short enough we may see the lost image on CQ Counter, e.g. wahidfutbol shows it. Details.
Figure 2.
Comms reconstruction of classymotors.net showing the messaging UI
. This UI shows up after you submit the correct password. It is is remarkably similar to the JAR password-only UI, except there was no file upload. That would be asking way too much of 2010's JS capabilities! Details.
This is very similar to JS polling XML, except that it uses a more plaintext communication format.
Keeping this here mostly for historical purposes. Codex just kicks ass for this.
There are two types of JavaScript found so far. The ones with SHA and the ones without. There are only 2 examples of JS with SHA:Both files start with precisely the same string:
var ms="\u062F\u0631\u064A\u0627\u0641\u062A\u06CC",lc="\u062A\u0647\u064A\u0647 \u0645\u062A\u0646",mn="\u0628\u0631\u062F\u0627\u0632\u0634 \u062F\u0631 \u062C\u0631\u064A\u0627\u0646 \u0627\u0633\u062A...\u0644\u0637\u0641\u0627 \u0635\u0628\u0631 \u0643\u0646\u064A\u062F",lt="\u062A\u0647\u064A\u0647 \u0645\u062A\u0646",ne="\u067E\u0627\u0633\u062E",kf="\u062E\u0631\u0648\u062C",mb="\u062D\u0630\u0641",mv="\u062F\u0631\u064A\u0627\u0641\u062A\u06CC",nt="\u0627\u0631\u0633\u0627\u0644",ig="\u062B\u0628\u062A \u063A\u0644\u0637. \u062C\u0647\u062A \u062A\u062C\u062F\u064A\u062F \u062B\u0628\u062A \u0635\u0641\u062D\u0647 \u0631\u0627 \u0628\u0627\u0632\u0622\u0648\u0631\u06CC \u06A9\u0646\u064A\u062F",hs="\u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0627\u062C\u0631\u0627. \u062E\u0637\u0627 \u062F\u0631 \u0627\u062A\u0651\u0635\u0627\u0644",ji="\u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0627\u062C\u0631\u0627. \u062E\u0637\u0627 \u062F\u0631 \u0627\u062A\u0651\u0635\u0627\u0644",ie="\u063A\u064A\u0631 \u0642\u0627\u0628\u0644 \u0627\u062C\u0631\u0627. \u062E\u0637\u0627 \u062F\u0631 \u0627\u062A\u0651\u0635\u0627\u0644",gc="\u0633\u0648\u0627\u0631 \u06A9\u0631\u062F\u0646 \u062A\u06A9\u0645\u064A\u0644 \u0634\u062F",gz="\u0645\u0637\u0645\u0626\u0646\u064A\u062F \u06A9\u0647 \u0645\u064A\u062E\u0648\u0627\u0647\u064A\u062F \u067E\u064A\u0627\u0645 \u0631\u0627 \u062D\u0630\u0641 \u06A9\u0646\u064A\u062F\u061F"
Good fingerprint present in all of them:
throw new Error("B64 D.1");};if(at[1]==-1){throw new Error("B64 D.2");};if(at[2]==-1){if(f<ay.length){throw new Error("B64 D.3");};dg=2;}else if(at[3]==-1){if(f<ay.length){throw new Error("B64 D.4")
Notably, the password is hardcoded and its hash is stored in the JavaScript itself. The result is then submitted back via a POST request to /cgi-bin/goal.cgi.
TODO: how is the SHA calculated? Appears to be manual.
The JavaScript of each website appears to be quite small and similarly sized. They are all minimized, but have reordered things around a bit.
First we have to know that the Wayback Machine adds some stuff before and after the original code. The actual code there starts at:
ap={fg:['MSXML2.XMLHTTP
and ends in:
ck++;};return fu;};
We can use a JavaScript beautifier such as beautifier.io/ to be abe to better read the code.
It is worth noting that there's a lot of <script> tags inline as well, which seem to matter.
Further analysis would be needed.

Articles by others on the same topic (0)

There are currently no matching articles.