Intel(r) switches backdoor

I recently got an Intel(r) Express 530T switch from eBay. It’s a “Manageable” switch, this means that you can connect to the switch through a null modem cable, telnet or a web interface to modify the switch configuration (Change MAC address filtering, create/delete VLANs, change ports speeds an priority, …).

But when I tried to connect to the switch, I discovered that the switch hadn’t been reseted, and that the seller didn’t gave me the username and password needed to manage the switch.

After trying to find any reset button around, under, and even inside the switch, I sent a mail to the seller and contacted the Intel support.
As the seller wasn’t responding and the Intel support wasn’t able to give me a reset procedure, I crawled the web, and managed to find a little Intel(r) utility “that does not exists”, according to the russian website that was distributing it (sorry, I can’t remember the address).
This utility compute a backdoor password depending of your switch’s MAC address.

The documentation that can be found with this Intel(r) utility, says that it works with :
* Intel(R) Express 330T Hub with Management Module
* Intel(R) NetStructure(TM) 470T/470F Switches
* Intel(R) Express 460T Standalone Switch
* Intel(R) Express 530T/535T Stackable Switches
It also says that you must let the usename blank, and just enter the password and that the backdoor password only works from the management port on the switch (It will not work through telnet nor the web interface).

So, after getting a password for my switch, I started to look at the password generation algorithm.
Here is the code of the password generation function :
Intel(r) Backdoor password generation function

After reading this code, I managed to draw this little diagram of the generation algorithm:
(Saying M1 to M6 are the 6 MAC address bytes; xor is an exclusive or between two bytes; ! is a bit swapping of all bits eg: all 0s become 1s and all 1s become 0s; shl1 is a left shift of 1 bit; shr7 is a right shift of 7 bits)

intel-backdoor-algo-img1.png

After running this transformations two times on the buffer originally containing the switch MAC address, the password is the hexadecimal representation of M4,M5,M6.
Thus, for example, if M4=0xA0, M5=0×55 and M6= 0xEF, the password will be : A055EF.
Note: letters are always in uppercase.

Here you can find an implementation of this algorithm :
intel_backdoor.c (C source code)
intel_backdoor.gz (Linux x86 binary)
intel_backdoor.exe(Windows binary)
Just for fun : a demo :)
I hope you enjoyed this post as much as I enjoyed writing it ;)

43 Responses to “Intel(r) switches backdoor”

  1. Thomas Says:

    Nice illustration. You did it with latex or what ?

  2. xipe Says:

    Ahah so funny Thomas ;) But yes done with Latex.

  3. Manu Says:

    Simply wonderful.

    :)

  4. MalC0de Says:

    Hey, cool.
    thanks
    hopefully see another great posts like this laters …

    - MalC0de

  5. mohamed Says:

    tankssssssssssssssssssss

  6. Seb Says:

    Great work! :-)

    Just a tiny patch to avoid memory corruption: buffer should be 13 bytes long (don\’t forget the terminating \’\\’ ;-) ).

  7. xipe Says:

    Oh yeah, that’s true ;) done.

  8. tdk Says:

    hi:)

    my switch which is:

    Intel Express ES101TX 8-Port Modular Network Switch/Hub

    is not in yur listing which said can be open by yur script.

    how can i apply those script that u gave if ever i\’m using a HyperTerminal using its console port in accessing the said switch?

    and by the way, the OS in my PC is WIn XP.

    thanks ;->

    p.s. hope u can really assist me, i put here the link of my inquiries posted in intel site.

  9. dcybel Says:

    i’m french
    the backdord not run for me my mac address is 00 03 47 5F 50 5C it’s a intel express 530t

    i’m required help
    you have a solution??

  10. xipe Says:

    Hi dcybel,
    I am french too ;)

    Are you sure you are connecting from the serial (a.k.a management) port ?

    Here is what I get when run intel_backdoor with your MAC address:
    xipe@papamobil /tmp % ./intel_backdoor 0003475F505C

    Backdoor password generator for INTEL(R) Switches
    —————http://redstack.net—————
    More informations in the source code

    Your MAC : 0003475F505C
    Your Password : 7E48E3
    Enjoy !;)
    xipe@papamobil /tmp %

    If it still doesn’t work, just drop me a line by mail (my mail address is available on the blog main page, under the menu)

  11. Tonij Says:

    Hi, I got the original program from Intel from this website. http://makkintosshu.dyndns.org/

    I can send you the file if you want.

    Thanks.
    Tonij

  12. xipe Says:

    Great, the exact link is http://makkintosshu.dyndns.org/journal/intel-express-530t-switch-documentation-firmware-and-utilities. There is also firmwares.

    Anyway, the one here is open source and can run under linux/bsd/* ;)

  13. Dj Atlanta Says:

    Thx a lot for this soft!

    I can access to my old intel 460T !!

  14. dk Says:

    Excelllent, just reset 5 of our 530T

  15. Adrian Says:

    Hi,
    On WinXP the utility runs fine, and I get a password. My problem is connecting to the 530T… No matter what I do, my keyboard does not seem to register any keystrokes on the switch’ login screen (using HyperTerminal).
    I have a cursor flashing in “username” but I can’t go any further. I’ve tried different types of emulation – no luck so far.

    Any suggestions?

  16. xipe Says:

    Your terminal should be configured as follow:
    Speed: 9600
    Bits: 8
    Parity: N
    Stop Bits: 1
    Flow control : No

    With this configuration it should work.

  17. nk Says:

    Many thanks from me too!

  18. Mark Says:

    Hi,

    I have excactly the same problem as Adrian. I can get to the password screen through the serial interface, but it won’t let me type anything. I have tried both HyperTerminal under Windows and minicom under Linux, and I’m definitely using all the right settings. I can connect to the switch via telnet and this lets me type, but obviously the backdoor password doesn’t work. I’ve searched all over for a solution, and this is beginning to drive me crazy! Does anyone here have any ideas?

  19. xipe Says:

    Hi Mark,
    The backdoor password will only work using the serial port.
    Have you tried with another cable ?

  20. ek7pp Says:

    Hi, can anybody send me a last firmware for intel express 460t, Thanks.

  21. ek7pp Says:

    kgharibyan@gmail.com

  22. PhatB Says:

    I as well am in search of updated firmware for both my 16 and 24 port Intel 460T’s

  23. asf Says:

    so, you blog is dead?

  24. xipe Says:

    Hi asf :) no my blog is not dead, I only lacked of time during the last months, but I should have more free time starting on mid-august after moving to Denmark … btw I still need to find an interesting job in the IT security industry in DK … :)

  25. carbon14c Says:

    i was wondering the same, xipe! it has been added to my favorites ;D

  26. marcos Says:

    I need the firmware from intel 460t.
    if someone send me marcos.molina90@gmail.com

  27. lampson Says:

    Hi, can anybody send me a last firmware for intel express 460t, Thanks.

    lampsonlam@hotmail.com

  28. chywang Says:

    hi,guys,i failed ,please help me.
    the mac:009027395021 009027395166

  29. chywang Says:

    my email : wangiq@21cn.com

  30. Draxx Says:

    Hi,

    Got an 460T also… not working….

    Mac Adress is 00:90:27:39:48:F4
    result got: E64202…. not working
    thnx

  31. Sitnikov Blog » Взлом пароля Intel Express 530T Switch Says:

    [...] на оригинальную статью: http://redstack.net/blog/2008/05/19/intelr-switches-backdoor/ Categories: Uncategorized Tags: switch Comments are closed. Think Client [...]

  32. Visualev Says:

    Perfect, now I can use the Switch and Work! Thank you!!!

  33. momo Says:

    doesnt work for me. mac is 0003475F6CAA says passwod is 7EB83B but no go.

  34. learn ebay selling Says:

    learn ebay selling…

    [...]redstack » Blog Archive » Intel(r) switches backdoor[...]…

  35. motorola-atrix Says:

    redstack.net has a lot of good content
    motorola atrix 4g

  36. Best Review Camcorders Says:

    Hi my loved one! I want to say that this article is awesome, great written and come with almost all significant infos. I would like to peer more posts like this .

  37. Fushunsanty Says:

    I enjoyed viewing your blog and I will be back to check it more in the future so please keep up your good quality work.

  38. Dmetabraw Says:

    Systems for Unlock Iphone 4 you have g Anyone who has an apple iphone really should are generally shown for your needs and they also have to have unlock iPhone 4 gr ideas, commonly in connection with amazing software which is certainly all at once safe.Nevertheless, it may be very annoying as a way to open ones own my partner and i cell phone if you refuse to find very good brand-new iphone removing the fastener on utility.Web site in commercials everywhere you look, still, minus selected realizing in the market, truly stuck, consequently several options many massive revenue on the subject of next to nothing. korvax

  39. duramale Says:

    I should read redstack.net often
    duramale

  40. cgwtstg208 Says:

    1. First-class article it is actually. We’ve been looking for this update.

    2. Excellent story over again. I am looking forward for your next post;)

    profit.fm

  41. autoblog seller Says:

    I?ll right away clutch your rss as I can not find your email subscription link or newsletter service. Do you’ve any? Please allow me recognise so that I may subscribe. Thanks.

  42. activation nfs the run Says:

    activation nfs the run…

    [...]redstack » Blog Archive » Intel(r) switches backdoor[...]…

  43. Feebyspulse Says:

    Hi there, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam responses? If so how do you protect against it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any support is very much appreciated. ppi claiming

Leave a Reply

Security Code: