F@st3864 (Optus): Telnet, Serial, Root Access & Firmware Fun
F@st3864 (Optus): Telnet, Serial, Root Access & Firmware Fun
Originally posted March 2016 — massively expanded. Techniques now cover every firmware generation from 7.x through the current 10.x AC models.The Optus-branded Sagemcom F@st3864 hides its administration tools behind a locked web UI, but the box underneath is wide open once you know where to look. This post covers the full toolkit: hidden admin access, password recovery on every firmware version, flipping telnet on via the config file, the serial pinout, firmware extraction, and the still-unsolved `fast` utility that can restore unbranded Sagem firmware.
The techniques below depend heavily on your **software version** — check it at `http://192.168.0.1/main.html?loginuser=1` before you start.
| Software version | What's open |
| pre `8.353.1_F@ST5350_Optus` (e.g. `7.253.2_F3864V2_Optus`) | everything below |
| `8.353.1_F@ST5350_Optus` | config decrypt works, pwdAdmin leak patched |
| `8.353.21_OptusBootloader`, `8.379_F@ST3864AC_Optus`, `10.x_F@ST3864V3AC_Optus` | no known software route — serial/hardware only |
Quick admin access
Skip the normal login flow entirely:
http://192.168.0.1/main.html?loginuser=0
Known factory default admin passwords (Optus changes them per model/firmware — try each):
| user | password | status |
| admin | Y3s0ptus | old, patched out on newer firmware |
| admin | 0ptU%1M5 | untested |
| admin | 8PTu5W@C | **confirmed working on latest 3864v1 firmware** |
| optus (not admin) | optus | untested |
Important: these passwords get **re-randomised the first time the modem connects to the internet**. Pull them off a factory reset with the WAN/DSL port disconnected.
Getting the admin password on older firmware (< 8.353.1)
The Access Control page leaks it in plaintext. Browse to Management / Access Control, view the source of the right-hand frame, and near the top you'll find:
pwdAdmin = "XXXXXXX";
That's the admin password. Plug it into `main.html?loginuser=0` and the advanced menus unlock.
Getting the admin password on 8.353.1+
The `pwdAdmin` leak was patched, but the config file is only encrypted — and the crypto is broken (reverse engineering credit: **Matty123123** on the plus.net forums).
Shortcut if you already have the password: the router will dump its running config in the clear at `http://192.168.0.1/dumpcfgdynamic.cmd` (found by Paul 88888 on Whirlpool).
Enabling telnet
Same trick as the original post, with one update: **on newer firmware Optus patched out plaintext config uploads**, and the AES IV/key have changed — so the decrypt tool no longer works there and re-encrypting is required. On firmware that still accepts plaintext:
— either flip `FALSE` to `TRUE`, or add the line right after `
Then:
telnet 192.168.0.1
Log in with `admin` + your recovered password, then:
The samba servers can be shut down through the menus once you're in.
**A note on passwords:** changing the admin password does not stop a normal user from reading it back. The credentials sit in plaintext and are retrievable through the password-change utility — load the page, press F12, and read the password straight out of the cgi response that populated the form. Assume anything on this box is readable by anyone who can reach the web UI.
**Closing telnet:** re-upload the config with telnet back to `FALSE`, or simply power-cycle — it resets to disabled.
Serial access
Four pins on the mainboard, 115200 8N1:
The board is self-powered, so no VCC needed — though a 3.3V supply to the main chip alone works if you want the CPU without the accessories.
stty output once attached:
speed 115200 baud;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D;
-brkint ixoff -imaxbel
Sometimes you get a shell **without logging in at all** — a serious failure on Optus/Sagemcom's part. Still pinning down the exact trigger, but after the bootloader finishes, tapping `^D` or just hitting Enter at the login prompt with the web admin credentials gets you in.
Firmware extraction & the 3864OP
For the newer v3 (F@ST3864OP) there's an OpenWrt port, which means the full flash layout is documented and the box can be liberated entirely: wipe stock firmware and create a clean JFFS2 with `flash_erase -j /dev/mtd6 0 982` (`mtd6` is the `wfi` partition — check `cat /proc/mtd` on your unit). For the older units, or when software routes are dead, the classic hardware path applies: interrupt the bootloader over UART, drop to the U-Boot shell, and `nand dump` / `md` the flash out — or read the chip directly with a programmer. Any of these gets you the full image for binwalk.
The `fast` utility — still unsolved
`~/bin/fast` on the router is Optus's own maintenance binary. It needs a password, but it's capable of restoring the firmware to unbranded Sagem stock:
fast
Usage:
singled command:
fast unlock-next-reboot -p password
It also exposes commands for factory info, serial number, psi-config R/W/clear, backup config R/W, hw-version, base-mac, SW version, config id, customer name, scratchpad R/clear, LED commands, factory-test [enable|disable|status], factory eth test, flash-lastKB R/W, and flash-data read (`-a` address hex, `-l` length dec).
I've picked the binary apart in IDA: the password isn't stored anywhere — it's derived dynamically at runtime from several memory locations that only exist once the system is up. If anyone has worked out how the password is generated (or found a bypass), I'd love to hear it — drop a comment.
Bridge mode
Once you have admin, bridging for a BYO router is straightforward. For NBN FTTN/VDSL: remove the existing WAN row (`ptm0.1` / `ipoe_0_1_1.0`) under Advanced Setup / WAN Service, add a new one on `ptm0/(0_1_1)` with service type **Bridging**, then disable DHCP (Advanced Setup / LAN) and wireless, and reboot. Your real router's WAN then DHCPs a public IP straight from Optus. Fair warning from experience: don't test bridging by plugging a computer straight in — it'll be scanned and owned within minutes.
Comments
Post a Comment