interesting read **it works too**

Cable modem hackers conquer the co-ax
Kevin Poulsen, SecurityFocus 2004-02-05

A small and diverse band of hobbyists steeped in the obscure languages of embedded systems has released its own custom firmware for a popular brand of cable modem, along with a technique for loading it – a development that’s already made life easier for uncappers and service squatters, and threatens to topple long-held assumptions about the privacy of cable modem communications.
Click here for Core Impact! The program, called Sigma, was released in its final version last month, and has reportedly been downloaded 350 to 400 times a day ever since. It’s designed to be flashed into the non-volatile memory of certain models of Motorola’s Surfboard line, where it runs in parallel with the device’s normal functionality. It gives users almost complete control of their cable modem – a privilege previously reserved for the service provider.

The project is the work of a gang of coders called TCNiSO. With about ten active members worldwide, the group is supported by contributions from the uncapping community – speed-hungry Internet users who rely on TCNiSO’s research and free hackware to surmount the bandwidth caps imposed by service providers, usually in violation of their service agreement, if not the law. To them, Sigma is a delight, because it makes it simple to change the modem’s configuration file – the key to uncapping, and, on some systems, to getting free anonymous service using “unregistered” modems. “I’ve known TCNiSO for two years now and I’ve done a lot of things with their techniques,” wrote a Canadian uncapper in an e-mail interview. “Sigma is the greatest one I’ve seen.”

To make Sigma work, uncappers most commonly use a hardware hack developed by TCNiSO that tricks the Surfboard into accepting the custom code. Under an industry standard called DOCSIS (Data Over Cable Service Interface Specification), cable modems only permit changes to their internal programming that are sent down the pipe by the service provider – users are prevented, Xbox-style, from running unapproved code, even on a modem they own.

But TCNiSO discovered that the Surfboard modem contains an undocumented vestigial console port, through which the boot process can be controlled. The group published a detailed tutorial for tapping into the serial port, which involves opening the modem and connecting two wires at particular points on the circuit board, then routing them through an inexpensive chip that converts the signal to RS-232 levels-- allowing the user to plug in a PC running a terminal program. Users less handy with a soldering iron can purchase a special conversion cable from TCNiSO’s website to simplify the process.

From there, the user simply reboots the modem. A stream of text comes down the port describing the boot process, which the user can interrupt with a keystroke, then redirect by typing in a new boot string. The modem can be told to boot from any FTP server – in this case, one running on the user’s own PC, and serving up Sigma. Once the new firmware is loaded, it becomes part of the modem, and the process need not be repeated.

With Sigma installed, the cable modem lays exposed for what it really is: a versatile computer in its own right. Built on a powerful MIPS processor, the modem’s native operating system is VxWorks, the same OS used by the Mars rovers. Sigma unlocks that hidden capability – users can “rlogin” to the modem and interact with a VxWorks shell, or browse to a custom Web interface that sports easy-to-use buttons and form fields for executing commands, or changing parameters normally controlled remotely by the service provider.

Eavesdropping Risks

While it’s a boon to uncappers, the security implications of firmware hacking go beyond mere bandwidth-boosting and theft-of-service. The topography of cable modem networks typically puts between 500 and 1,000 homes in a neighborhood on the same circuit, their Internet traffic all mingled on the same co-ax cable. Subscribers are prevented from eavesdropping on their neighbors’ traffic by their own modem, which is programmed to only pass packets destined for them. By building on TCNiSO’s hacking technique, a malefactor could write custom code to forward all the raw network traffic to their PC.

Outside security experts have generally dismissed any eavesdropping threat on modern cable systems based on a belief that cable companies are encrypting customer traffic, a capability built into all DOCSIS-certified modems since 1999. But while encryption would indeed thwart any eavesdropping attempt, in the most commonly-deployed version of the DOCSIS standard, version 1.0, the encryption option is just that – an option, and one that’s turned off by default. “The security has to be there” in the modem, says Oscar Marcia, chief security architect at for CableLabs, the industry group responsible for DOCSIS. “But the [service provider] can decide when to turn it on.”

And turning it on they are, Marcia says, but slowly, and in bits and pieces, even five years after the option became available. “It’s kind of a gradual process… They want to make sure that they have all the kinks worked out of their system.” He adds that he expects the process to accelerate as cable companies migrate to newer versions of the DOCSIS specifications, where encryption is “on” by default, instead of off.

SecurityFocus asked four U.S. cable modem service providers if they protected their customers with the encryption option. Comcast, Adelphia, and CableVision’s Optimum Online declined comment; a spokesman for Time Warner’s Road Runner service didn’t return repeated phone calls on the question. Comcast’s terms of service, however, acknowledges a risk of eavesdropping by “other subscribers,” and Optimum Online’s bluntly admits the company doesn’t utilize encryption: “All Subscriber’s ethernet traffic … will be reflected by the cable Modem in an unencrypted form onto the cable network and be subject to eavesdropping.”

The architecture of cable modem networks likely prevents eavesdropping of upstream traffic, liked typed passwords and credit card numbers, and websites using SSL would be immune from passive monitoring. “But downstream traffic is certainly visible to lots of people if crypto isn’t used,” said AT&T security researcher Steve Bellovin, in an e-mail interview.

The potential for spying and other mischief based on TCNiSO’s research is not lost on “DerEngel” – the 23-year-old unemployed programmer who heads the group. In an effort to be responsible, the group programmed Sigma to block execution of the VxWorks functions that change the modem’s MAC address, a capability that could otherwise wreak havoc on a network in the wrong hands. And on the group’s website, DerEngel offers to provide cable companies with a tool to detect Sigma in use. “If you’re going to make the crack, might as well sell the glue,” he says. So far, no one’s taken him up on the offer.

International Team

DerEngel says he and a friend began hacking cable modems three years ago. Since then, the number of coders and researchers working on TCNiSO projects has grown to ten, each with specialized skill sets, hand-picked by DerEngel with the care of the roguish ringleader in a caper movie assembling a team for a big score. He has a C coder and a Windows programmer in Australia, a programmable memory expert in the U.K., testers in Europe and Canada, and an assembly language coder in Kentucky.

The latter is “Isabella,” a 31-year-old programmer who coded Sigma from her home near Louisville. Isabella scratches out a living doing odd software and hardware jobs, like designing an electronic light toy, or writing the embedded code that operates the ghosts and goblins in a local haunted house attraction every Halloween. DerEngel approached her online last year, after hearing she was good with an assembler and might be interested in helping.

Underemployed and intrigued by the possibilities, Isabella wrote Sigma in three months of days-long spurts of creativity. She doesn’t have cable modem service. “Everybody, it seems like, messes with PC-based stuff, but nobody that I know does the embedded thing,” she says, explaining her interest in the project. “And Der is really nice. Some people think he’s kind of crazy, but I figured out how to deal with it.”

How crazy? When Isabella mentioned to DerEngel that she was looking for a better MIPS assembler for the job, she expected him to suggest one of the free programs already available. Instead, he wrote a new one from scratch, filling it with features particularly useful to firmware hacking. “He wrote a good assembler,” she says. “Der was determined to do it.”

Indeed, the accumulated talent of the group’s members has begun to dwarf their raison d’être, and the coders seem to know it. DerEngel is barely interested in discussing uncapping, and speaks instead of the possibilities of writing plug-ins for Sigma – extensible by design – that would transform the capabilities of the Surfboard, turning it into a NAT box and a firewall. Isabella thinks they can program the modem to tune to the channels used by the cable companies’ digital music feeds, which – like TV programming – share the co-ax with the cable modem service. The hack might let the modem send music to the user’s PC, where it could be streamed in real time.

Ultimately, DerEngel and Isabella would even like to go legit, and turn the group into a research shop for cable system providers, or at least make a deal that allows TCNiSO to test their techniques in a sanctioned laboratory setting. But after three-years as the preeminent underground think tank for cable modem uncappers, DerEngel is realistic about the future. “In this industry you can’t be the good guy and the bad guy,” he says. “So I guess we have to hide for now, for that reason, because everyone will perceive us as the bad guys… I think they look at us as hacking something that we shouldn’t, instead of just interested in electronics and trying to get better at what we do.”

Of course, the cable industry has its own impossible dreams, which include preventing smart coders with lots of time and restless passion from hacking the next generation of cable modems. “What you’re talking about only affects the DOCSIS 1.0 modems,” says CableLabs’ Marcia of the Surfboard hack. The DOCSIS 1.1 and 2.0 specifications only accept firmware that’s been digitally signed by the cable company. “Once you move to a DOCSIS 1.1, and we already have some cable operators deploying 1.1, this hack is not a viable hack any more… One mistake, and it turns the modem into a brick.”

But DerEngel doesn’t believe any cable modem is going to be immune from customization, and he says his team is ready to prove it. “If you have to, you can just change the [programmable memory chip] – desolder it, put it back on there,” he says. “As long as the customer has the actual hardware in their hands, the customer will always be able to change what he has.”

terryon FTL…

Googling Now.

:tup: BGN

:eek:

PM linky?

haha terryon, can u say junk

tcniso.net

i finally got it all set up this weekend, not fun since shitdelphia uses tftp enforce and md5

truer words never spoken.

I cant get them to give a surfboard. I’d tried this past spring.

i did, what i did was called them 5 times, they refused, so i took my modem, unplugged everything, put it in microwave for 5 seconds, then they had no choice to bring me a new one.

since its leased they have to replace it.

lol, it worked like a charm, but i just bought a new modem anyways, leasing one sucks, plus u can do anything u want to it without breaching the TOS

i just bought another surfboard 4200 on ebay for 30 bucks. best modem for uncapping.

I’d purchased a cable modem @ the time and said “take this esn (?)” and was denied…

That’s not to say that the cust serv rep I was speaking with knew wtf I was talking about.

Leasing it does suxoR… fuck. Now I have to call them again.

they are idoits at adelphia, a friend of mine was the CM manager and he knew shit, no wonder why they layed him off.

Scientific Atlanta FTL :mad:

HAHAHHAHA, Quote of the year!!

Nice find, Kevin…

hahahahaha

I’d probably get fired if I looked up what parts I need to do that. I’ll look into it later would be fun to play with. Also I noticed the older SB3100 series does have a serial port on it already, not sure if you could do the same thing with it. Not like it would help much though given the inherent limits of the modem.

lol

if you check that website out, it gives you all the modems that it can be done on, i had to solder 4 pins in mine then use the rs232 port to change my firmware, thats the only thing you need it for is to change the firmware on it, i had a great firmware on mine for about a week, then they changed it to the one that cant be touched, so this port came in handy allowing me to change it to what i wanted, after that i just disconnected it, since the only other time you would use it is if you fucked ur shit up and needed to reflash it.

A simple scan of my node with cmsniff give me this (only partial)

000E5C0D2BF0 res-hsi-1-2.0_d.cfg 10.169.196.207
00080E564AD0 res-plink-1.cm_s.cfg 10.169.184.207
0012C99C9C00 res-hsi-1-2.0_d.cfg 10.169.196.40
0012C9A1EBF8 pre-hsi-1-2.0_d.cfg 10.169.216.35
0014E8293AE8 res-hsi-1-2.0_d.cfg 10.169.200.45
000E5C67DFA6 res-hsi-1-2.0_d.cfg 10.169.187.83
0004E2D2A9DE res-hsi-1-1.0_d.cfg 10.169.209.86
0004BDCC4D04 res-hsi-1-1.0_d.cfg 10.169.180.26
0012C9092494 res-hsi-1-2.0_d.cfg 10.169.181.250
000B06C96352 res-hsi-1-2.0_d.cfg 10.169.181.184
009096120F9A res-plink-1.cm_s.cfg 10.169.208.127
0090960D1974 res-hsi-1-1.0_d.cfg 10.169.203.18
008037BA9AB1 res-plink-1_d.cfg 10.169.198.13
001371B2E72C res-hsi-1-2.0_d.cfg 10.169.182.142

MAC addy cloning kicks ass!!!

First test on my new setup

Welcome to BBR! Run more tests! see forums
2005-12-28 13:24:56 EST: 8251 / 864
Your download speed : 8251 kbps or 1031.4 KB/sec.
Your upload speed : 864 kbps or 108 KB/sec.

lol i think its working huh, gotta play with the up a bit more tho.

they dont supposrt the 5101 damn it

yes they do, its docsis2 but you need a different setup, you need to get the blackcat cable for the 5000 series modems.

Do you think the meatheads at Adelphia can figure out that you are getting cable at a high amount of speed or is it buried deep enough that only a netmon or some network diagnostics are going to find?

DAMN!!
this is the report at my office on adelphia business

2005-12-28 13:44:26 EST: 1321 / 422
Your download speed : 1321 kbps or 165.1 KB/sec.
Your upload speed : 422 kbps or 52.8 KB/sec.

How long did it take you to do the flash, and tweak the settings? and 1-5 how hard would it be for someone who knows a little something to do this?