Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I picked through the source code.

The decode() function is simply a Base64 decoder. Most of its arguments and local variables serve no purpose at all.

Likewise, the ratifyvWk() function, which decrypts a string by performing Base64 decoding (using the above function) followed by a Vigenère-style XOR decryption step with the key VtiEH9DlpPnDjlsD.

The only useful thing that nexusQLE() does is return an object that can be used to access the ActiveX WScript.CreateObject() function. Finally the anonymous function uses this to download and run a .exe file from either of two sites. Here's the de-obfuscated source code (converted to an image because the two download locations still seem to be active):

De-obfuscated JS malware

This will only work on Windows computers with incorrect security settingsincorrect security settings, but I guess this still happens.

I picked through the source code.

The decode() function is simply a Base64 decoder. Most of its arguments and local variables serve no purpose at all.

Likewise, the ratifyvWk() function, which decrypts a string by performing Base64 decoding (using the above function) followed by a Vigenère-style XOR decryption step with the key VtiEH9DlpPnDjlsD.

The only useful thing that nexusQLE() does is return an object that can be used to access the ActiveX WScript.CreateObject() function. Finally the anonymous function uses this to download and run a .exe file from either of two sites. Here's the de-obfuscated source code (converted to an image because the two download locations still seem to be active):

De-obfuscated JS malware

This will only work on Windows computers with incorrect security settings, but I guess this still happens.

I picked through the source code.

The decode() function is simply a Base64 decoder. Most of its arguments and local variables serve no purpose at all.

Likewise, the ratifyvWk() function, which decrypts a string by performing Base64 decoding (using the above function) followed by a Vigenère-style XOR decryption step with the key VtiEH9DlpPnDjlsD.

The only useful thing that nexusQLE() does is return an object that can be used to access the ActiveX WScript.CreateObject() function. Finally the anonymous function uses this to download and run a .exe file from either of two sites. Here's the de-obfuscated source code (converted to an image because the two download locations still seem to be active):

De-obfuscated JS malware

This will only work on Windows computers with incorrect security settings, but I guess this still happens.

Source Link
r3mainer
  • 875
  • 7
  • 10

I picked through the source code.

The decode() function is simply a Base64 decoder. Most of its arguments and local variables serve no purpose at all.

Likewise, the ratifyvWk() function, which decrypts a string by performing Base64 decoding (using the above function) followed by a Vigenère-style XOR decryption step with the key VtiEH9DlpPnDjlsD.

The only useful thing that nexusQLE() does is return an object that can be used to access the ActiveX WScript.CreateObject() function. Finally the anonymous function uses this to download and run a .exe file from either of two sites. Here's the de-obfuscated source code (converted to an image because the two download locations still seem to be active):

De-obfuscated JS malware

This will only work on Windows computers with incorrect security settings, but I guess this still happens.