Just another CCIE

CCIE #20728

Cisco IOS Rootkit

Maybe you already read about the Cisco IOS Rootkit which was developed by Sebastian Muniz of CORE Security. EUSecWest did an interview with him about his proof of concept Rootkit.

Cisco also responded with a Security Response about the IOS Rootkit, which mainly says that no new vulnerability has been found and is recommending to follow the best-practices to harden the network devices. A Cisco guide on how to harden their network devices can be found here. To be able to install the Rootkit the attacker needs to have privilege access to the device so hardening the devices should be sufficient to avoid the installation of an IOS Rootkit.

Nicolas Fischbach from Colt Telecom wrote a review at the Cisco Mailinglist [c-nsp] which can be found here. The whole issue can be summarized with a part of his post:

So what’s the impact today ? Topo’s proof of concept doesn’t bypass ACLs (rACLs,VTY ACLs), AAA, etc [yet], requires enable rights, a new image and a reload (or enable only if you do gdb-on-the-fly patching). In summary it’s “noisy” and unless you bought the router on an auction site and/or download IOS from “alternative” sources) you should notice (or probably deserve to get owned :)

May 27, 2008 Posted by pashtuk | Security | , | No Comments Yet

Cisco IOS Secure Shell Denial of Service Vulnerabilities

Cisco announced a Cisco Security Advisory concerning a vulnerability in their SSH Server implementation.

“The Secure Shell server (SSH) implementation in Cisco IOS contains multiple vulnerabilities that allow unauthenticated users the ability to generate a spurious memory access error or, in certain cases, reload the device.”

Read the Advisory

May 23, 2008 Posted by pashtuk | Misc | , | 1 Comment

Get the Cisco configuration over SNMP

Saving the configurations from Cisco Devices is normally done by a tool (CW2k, Solarwinds Cirrus or whatever) but if you do not want to buy a tool here’s a way to do it yourself.

Cisco has a SNMP MIB called CISCO-CONFIG-COPY-MIB.oid which allows to save the configurations from Cisco devices over SNMP. If you also know your way around scripting (Shell, Perl or whatever you prefer) this is how you could save your devices automatic.

Read more »

May 20, 2008 Posted by pashtuk | NMS | , , , , | 10 Comments

Matching Address Classes with Prefix-Lists

Instead of using ACLs to match address classes like Class A, B or C ip prefix-lists can do the trick too.
Lets first start with the class definitions:

Class A: 1.0.0.0 – 127.255.255.255
Class B: 128.0.0.0 – 191.255.255.255
Class C: 192.0.0.0 – 223.255.255.255

The reserved addresses are all in the definition above since they still belong into the definitions even though they are only used for their special function. To show how to calculate the correct ip prefix-list statement they have to be taken into the calculation.

Read more »

May 19, 2008 Posted by pashtuk | Misc | , , | 3 Comments

IE Blog: understanding redistribution

If you want to have a good read about understanding redistribution, you should check out the Internetwork Experts Blog. Petr Lapukhov wrote an excellent guide about the topic providing rules of thumb, informations about problems with redistribution and on how to solve them. The document is split in three parts linked below. Have fun :)

Part I
Part II
Part III

May 18, 2008 Posted by pashtuk | Routing | | No Comments Yet

Summarizing discontinuous networks

The summarization of discontinuous networks is a neat feature, but I doubt that chances are high to find a situation where those IPs are the matching ones in a real environment. But anyhow its something you should keep in mind during preparations for Cisco exams.

So lets say we have the following Addresses and we have to summarize them and no other addresses using a standard ACL:

116.1.162.33
116.1.162.37
116.1.170.33
116.1.170.37
116.1.178.33
116.1.178.37
116.1.186.33
116.1.186.37

Read more »

May 15, 2008 Posted by pashtuk | Misc | , , , | No Comments Yet

Context Based Access-Lists

How CBAC works

Context Based Access-Lists (CBAC) open temporary openings into ACLs on a firewall interface. Those openings will be created if defined traffic from the internal network passes the router. The openings allow the backwards traffic to enter the network, which will normally be blocked by the existing ACLs on the router. The packets will only get accepted when they belong to the same sessions which opened the temporary opening. The ACLs and the ip inspect command have do be configured depending on which interface CBAC is to be set on. Basically there are two types of interfaces, the external and internal interface. External interfaces are the ones that point to the unsecured external network (such as the Internet) while the internal interfaces connect to the protected internal network.

Read more »

May 12, 2008 Posted by pashtuk | Security | , , | 3 Comments

Lab Challenge IGP (EIGRP, OSPF and RIP)

The first Lab challenge I wrote on the networking-forum. Its about the IGP protocols EIGRP, OSPF and RIP and got some little tricky stuff in it. There are several ways to solve most of the tasks/problems that arise during the lab. The final target is to have full reachability through the whole lab. If you want to do it and got questions, just drop me a line.

Update 04.27.2009 Changed the wording for the OSPF tasks Read more »

May 11, 2008 Posted by pashtuk | Lab Challenges | , , , , , | 8 Comments

IPv6 Link-Local Address

Link-local addresses only have a scope of the link they are used on, they will not be used or even reachable from another link.
The link-local address of an interface is a mix between the BIA (Burned In Address) and some static IPv6 stuff. The “dynamic” part is also know as modified EUI-64 addressing.
First of all, every link-local address in IPv6 is generated from FE80::/10, so if you ever see a address starting with FE80 you know thats a link-local address :)

Over a sh int you see your BIA:

R1#sh int fa 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is cc00.0bfc.0000 (bia cc00.0bfc.0000)

Read more »

May 11, 2008 Posted by pashtuk | IPv6 | , , | 8 Comments