BlackHat EU 2011 Hedfors Owning The Datacenter-Slides
BlackHat EU 2011 Hedfors Owning The Datacenter-Slides
BlackHat EU 2011 Hedfors Owning The Datacenter-Slides
George Hedfors Working for Cybercom Sweden East AB (http://www.cybercomgroup.com) 12 years as IT- and information security consultant
Previously worked for iX Security, Defcom, NetSec, n.runs and Pinion
2011-03-18
Topics
Short intro to Cisco NX-OS History of research Overview of underlying Linux Disclosure of vulnerabilities
Undocumented CLi commands Command line interface escape Layer 2 attack Undocumented user account 2nd CLi escape (delayed) IDDQD
FAQ
2011-03-18 2 Black Hat Europe 2011
What is NX-OS?
Based on MontaVista (http://www.mvista.com) embedded Linux with kernel 2.6.10 VDC Virtualization, Virtual Device Context
Nexus 4000 (for IBM BladeCenter) Nexus 5000 Nexus 7000 MDS 9500 FC Directors MDS 9222i FC Switch MDS 9100 FC Switches
2011-03-18
2011-03-18
Cisco 7000-series
Typical environment Banking/finance Other large data centers Impact Full exposure of interconnected networks and VLANs Possibility to eavesdrop and traffic modification Switch based rootkit installation?
2011-03-18
Overview
LINUX
2011-03-18
Teh Linux
root?!?
2011-03-18
Hidden commands
DC3 Shell the regular Cisco cli Configurations contain hidden commands
2011-03-18
Escaping CLi
2011-03-18
/usr/bin/gdbserve
2011-03-18
10
Br0ken architecture
... ?? e
2010-07-06
11
Company presentation
CDP has become demonized and is now running under the root user context
2011-03-18
12
2011-03-18
13
2010-07-06
14
Company presentation
);
0x 57 8 0x 57
(int) 1400 (byte) 87 Anything larger than 255 is truncated causing a consecutive HEAP overflow
2010-07-06
15
Company presentation
2011-03-18
17
IDDQD?
God Mode!!
2011-03-18
18
Bug tracking
CSCti03724 CLI escape in NX-OS using GDB
Workaround: None Fixed in NX-OS 4.1(4)
Thanks
Special thanks to Juan-Manuel Gonzales, PSIRT Incident Manager <juagonza@cisco.com>
2011-03-18
20
FAQ
Questions?
Contact george.hedfors@cybercomgroup.com
2011-03-18 21 Black Hat Europe 2011