home *** CD-ROM | disk | FTP | other *** search
/ H4CK3R 14 / hacker14.iso / exploits / cisco / cisco_decrypt_tech_info_by_mudge.txt < prev    next >
Encoding:
Text File  |  2002-10-22  |  1.6 KB  |  61 lines

  1.             File Information
  2.  
  3.             Verifying link...
  4.  
  5.             Register Your DAP
  6.  
  7. Subject: 
  8.         Re: [seg-l] Passwords en Cisco (fwd)
  9.    Date: 
  10.         Mon, 3 Nov 1997 11:28:30 -0500
  11.    From: 
  12.         "We got Food - Fuel - Ice-cold Beer - and X.509 certificates" <mudge@L0PHT.COM>
  13.      To: 
  14.         BUGTRAQ@NETSPACE.ORG
  15.  
  16.  
  17.  
  18. The Shell script that was posted was originally written by Hobbit
  19. (hobbit@avian.org) and is available from ftp://avian.org.
  20.  
  21. The C code I believe originally came from SPHiXe and has been floating
  22. around for some time.
  23.  
  24. Yes, they both should work on 11.x.
  25.  
  26. For those who want to save the time here's what cisco is doing (just so
  27. you can do a lot of it in your head):
  28.  
  29. Assume the following :
  30.  
  31. Password 7 08204E
  32.  
  33. The encrypted string is 08204E. It must be an even length of digits and
  34. the first two digits are used as a base 10 index into the XOR string. The
  35. length of the plaintext password is strlen(enc_pw) -2 / 2. In this case 2
  36. chars.
  37.  
  38. 08 is the index into the xor string.
  39.  
  40. 2 is multiplied by 16 (or left shifted 4 times) then the next digit (0) is
  41. added to it. [ == 32]
  42.  
  43. 32 XOR xorstring[08] = 'a'
  44.  
  45. Move to the next two digits and repeat -
  46.   4 * 16 = 64
  47.   64 + 14 (E) = 78
  48.   increment the index into the xor string
  49.   78 XOR xorstring[08] = 'b'
  50.  
  51. In a couple of days you should be able to download a PalmPilot version of
  52. this and a FORTH interpretation with instructions to put it into your
  53. OpenBoot prom on SPARCs from the l0pht (www.l0pht.com).
  54.  
  55. Just figured I'd point out where those two pieces of code came from since
  56. attribution was lacking in the previous posts.
  57.  
  58. .mudge
  59.  
  60.  
  61.