Hacking [Redacted] Routers
summary
Reverses VRP images (based on VxWorks v3/v5), obtains images by buying boxes and FTPing the system file, and finds default open services (SSH, HTTP, FTP, telnet, H.323) plus countless strcpy/printf reimplementations; web UI uses a weak 32-bit session id and a hardcoded substring check that triggers a stack buffer overflow enabling instruction-pointer control. Builds exploit with a small decoder+executor that calls VRP CLI functions as admin, finds an unauthenticated heap overflow in BIMS, abuses allocator metadata and overwrites the exception handler at 0x300, and proves full remote admin (exploit signals success by ping).
AI-written summary · about
chapters (30)
- 0:00Intro
- 1:04BACKGROUND AND MARKET
- 1:28PRODUCT RANGE
- 1:41ROUTING EQUIPMENT
- 2:41PRODUCT SECURITY
- 3:07RESPONSIBLE DISCLOSURE
- 4:01VERSATILE ROUTING PLATFORM
- 5:40MANAGING VRP
- 6:40HIDDEN COMMANDS
- 7:55IMAGE AVAILABILITY
- 8:35IMAGE FORMAT
- 9:09DEFAULT SERVICES
- 9:50CODE QUALITY
- 10:57THE WEB UI
- 11:30REMOTE SESSION HIJACK
- 11:58REMOTE HTTP PRE-AUTH
- 12:50JUMP TARGET
- 13:28ON BOARD FUNCTIONS
- 14:17STRATEGY
- 14:38SIMPLE VRP SHELLCODE
- 15:46THE BUG
- 17:02THE ALLOCATOR
- 22:22ATTACK OUTLINE
- 25:54INFLUENCING THE HEAP LAYOUT
- 26:39ABOUT ADDRESSES
- 27:31HEAP SPRAYING
- 28:04WHAT TO OVERWRITE?
- 28:45PPC INTERRUPT HANDLING
- 30:43THE BIMS VISITOR
- 32:22SUMMARY
