Hacking the Cable Modem: Building A Console Cable

November 4, 2009, 05:42 PM —  No Starch Press — 

The device shown in Figure 17-1 is an RS-232–to–TTL converter board, designed to allow a PC with a serial (RS-232) port to communicate with a device that has a console (TTL) port. External converters such as this are common, and you can purchase one from many online electronics stores. Or, with the right parts, you can build your own inexpensive RS-232–to–TTL converter, known as a console cable.

The Console Port

Many embedded devices (such as switches, routers, cable modems, and so on) have an internal communication port known as a console port. This type of port is typically used for configuring the device and issuing commands with root-level access. If the device is offline, this port can also be used to reconfigure the device locally. However, if it is online, other administration protocols can also be used, such as telnet or rlogin.

Figure 17-1: A professionally developed RS-232 console port

Many cable modems have a clandestine console port left over from debugging during the manufacturing process. This port can sometimes be utilized to access the device's bootloader program or operating system, allowing the user to change many of its internal settings (MAC address, serial number, and so on) or its firmware, and/or execute system commands. Because having the ability to communicate using this port may by itself be enough to hack a cable modem, it is important to know how to communicate using this type of port.

What Is TTL?

Transistor-Transistor Logic (TTL) is an interface often used to communicate between integrated circuits. If a cable modem has an unused console port, that port will most likely be accessible using a TTL-compatible interface. While your computer probably does not have ports that support TTL signals, you can build a port converter from scratch or purchase one from many electronics stores.

The easiest way to connect your computer to a TTL console port is with a serial (RS-232 or DB9) port on your computer. If your computer does not have such a serial port, you can purchase a USB-to-serial adapter for around $20. The cable modem's TTL port will not usually have a connector, so you will most likely have to build one and solder it in. Then, once your computer's serial port is connected to the modem through the RS-232 converter, you can communicate with it through the port using any terminal emulation software, such as HyperTerminal or EtherBoot.

________________________

Hacking the Cable Modem: What Cable Companies Don't Want You to Know
by DerEngel
September 2006, 320 pp
ISBN 9781593271015, $23.95 US
order@oreilly.com
1-800-998-9938
1-707-827-7000

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Close

On Twitter now

hardware hacking

Powered by Twitter
You are logged in | Sign out
Sign in and post to Twitter

What are you thinking?

Cancel Tweet sent

On Twitter now

Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace