Hacking Linksys Wrt54g

5,767 views

Published on

ICTP, Trieste; February 13th, 2008

Tasks:
1. To configure a Linksys router as an Access Point using basic configurations.

2. To discover the settings of a Linksys router configured with unknown settings

3. To upgrade the firmware of a LinkSys router and consequently configure it as a client

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,767
On SlideShare
0
From Embeds
0
Number of Embeds
728
Actions
Shares
0
Downloads
66
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hacking Linksys Wrt54g

  1. 1. Hacking Linksys WRT54g Wireless Router Milan Milosevic Group Members: AJAYI Temitope Omotosho, BOYINBODE, Olutayo Kehinde, SALEHIN, Asif Gazi, Lajpat Dhingra, Maheshwari Hitesh Kumar, Timothy Chadza, Purna Bahadur Roka, Anna Zakrzewska, OLAJUYIGBE, Ebenezer Oluwaseun, Giorgi Gvianishvili ICTP. Trieste, Italy – February 13, 2008
  2. 2. Tasks: 1. To configure a Linksys router as an Access ● Point using basic configurations. Easy ! 2. To discover the settings of a Linksys router ● configured with unknown settings 3. To upgrade the firmware of a LinkSys router ● and consequently configure it as a client
  3. 3. Ideas: Try it regular way? ● Brute force? ● Use Google ! ● http://www.linksysinfo.org/forums/showthread.php?t=47259
  4. 4. Warning ! this WILL void your warranty ● you could make your WRT54G even deader ● than it already is
  5. 5. We can start: locate the flash chip ● at each corner of the chip is a large white ● number little white line every 5 pins that should help you ● count Do not plug the power in just yet ● Plug a patch cable into one of the 4 LAN ports ●
  6. 6. Configure your network IP: 192.168.1.2 ● NETMASK: 255.255.255.0 ● don't need a gateway address ● ping 192.168.1.1 ●
  7. 7. Do it ! Locate pin 15 ● Stick the point between pins 15 and 16 ● Plug in the power and watch your ping screen ● Pings starting to succeed theory ! ● Try it again... and again... and again...
  8. 8. Different solution? Unplug power ● Ground pin 16 ● Plug it again ● Try it again... and again... and again...
  9. 9. Dinner time :)
  10. 10. Forget everything ! ! ! and st Get back to the 1 idea ! ! !
  11. 11. The Solution: # /sbin/ifconfig eth0 # /sbin/dhcpclient eth0 or # ln -s /sbin/ifconfig ifconfig Do not plug the power in just yet – Plug a patch cable into one of the 4 LAN ports – Configure the network: – [root@localhost media]# dhcpclient eth0 Use DHCP – #dhclient eth0 [root@localhost media]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:6E:13:01:06 inet addr:192.168.1.188 Bcast:10.1.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:6eff:fe13:106/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:584152 errors:0 dropped:0 overruns:0 frame:0 TX packets:508898 errors:0 dropped:2 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:745903995 (711.3 MiB) TX bytes:44541763 (42.4 MiB) Interrupt:19 Base address:0x8800
  12. 12. So easy ! The default gateway is the IP address of the ● router it was 192.168.1.20 ● We logged in the router and changed the ● necessary configuration
  13. 13. Tasks: 1. To configure a Linksys router as an Access ● Point using basic configurations. Easy ! 2. To discover the settings of a Linksys router ● configured with unknown settings At the end EASY 3. To upgrade the firmware of a LinkSys router ● and consequently configure it as a client
  14. 14. Next Task To upgrade the firmware of a LinkSys router and consequently configure it as a client
  15. 15. DD-WRT is a typical free Linux- based firmware ● originally designed to work on Linksys WRT54G Download of the DD – WRT firmware: ● http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v23 There are several files – use dd-wrt.v23_sp2_vpn ●
  16. 16. Unzip ● You will discover 9 files; which one is required? ● Only need the bin file dd-wrt.v23_vpn_generic ● Use web interface ● Find option for upgrading ● Browse the folder you downloaded and click to ● the bin file and start the upgrade
  17. 17. now wait for about 5 or more minutes ● but how long? ● Note that any disturbance can blow off your ● router we closed the window ● using the previous IP address 192.168.1.20 we ● had our router upgraded
  18. 18. Finally we required user and admin password ● We simply did a hardware reset and obtained ● the default User: root with password: admin Now you are done and can move to the next ● step.
  19. 19. References http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads ● %2Fstable%2Fdd-wrt.v23+SP2/ http://en.wikipedia.org/wiki/DD-WRT ● http://www.dd-wrt.com/wiki/index.php/Installation ●

×