📄 sigscr101.html
字号:
678/1200 2 Virtual Exec<BR> 28 L E 10581C8
28 20 1400
824/1000 0 UDP Echo<BR> 5 M E 10581C8
0 52
0 898/1000 0 BOOTP Server<BR> 6 H E 1010ABA
485848 74667 6506 536/900
0 IP Input<BR> 7 M E 1062DA6
68 21114 3 804/1000
0 TCP Timer<BR> 8 L E 1063FA4
164 161 1018 766/1000
0 TCP Protocols<BR> 9 L E 101E646
1568 2321 675 854/1000 0
ARP Input<BR> 10 L E 1010ABA
0 1 0
938/1000 0 Probe Input<BR> 29 L E 10581C8
24 20 1200
824/1000 0 UDP Echo<BR> 12 M E 1035092
0 2
0 968/1000 0 Timers<BR> 13 H E 1010ABA
19472 54616 356 412/500
0 Net Input<BR> 14 M T 100E474
336 104907 3 790/1000
0 TTY Background<BR> 15 L E 10E2722
0 1
0 896/1000 0 IP SNMP<BR> 30 L E 10581C8
0 20
0 946/1000 0 UDP Discard<BR> 31 L E 10581C8
0 20
0 946/1000 0 UDP Discard<BR><BR>With the command
“show stacks” you’ll get more information about the
daemons.<BR><BR>CiscoRouter#show stacks<BR><BR>Minimum process
stacks:<BR>Free/Size Name<BR>734/1000 Init<BR>970/1000 Pakmon
Init<BR>962/1000 MOP Protocols<BR>934/1000 UDP
Discard<BR>678/1200 Virtual Exec<BR>786/1000 TCP
Discard<BR>782/1000 TCP Echo<BR>820/1000 UDP Echo<BR><BR>Interrupt
level stacks:<BR>Level Called Free/Size Name<BR> 3
417 964/1000 Serial interface state
change interrupt<BR> 4 580538 886/1000
Network interfaces<BR> 5 46
968/1000 Console Uart<BR><BR><BR>
<DIV align=left><BIG><B>Securing IGS-CR</B></BIG><BR></DIV><BR>We need the
combination of the remote and locally gathered information to stop the
unnecessary daemons… We have several ways to do this:<BR><BR>The simplest way is
to use the program ‘setup’. Here we can say for example, do not load the SNMP
daemon by simple entering ‘yes or no’ by the options. <BR>I know not many people
will try this way to unload the unnecessary daemons, because: one it’s not easy
to find; and two you really have to know what you’re doing. But it’s possible to
read out the whole memory stack and find the right offset of a daemon and
rewrite the memory so the daemon will be killed. <BR>As far I know the IGS
series do not have an internal (network) firewall or such, properly the newer
ones does have it. I will not discuss how to set-up the firewall, because simply
said I don’t know how to do this right now. What I do want to mention is with
this type of firewall you have the option to filter the daemons for unwanted
connections. You can create rules like, 169.254.0.11 may connect to the telnet
daemon but 169.254.0.20 may not. Well you get the idea, don’t you? <BR><BR>To
completely secure the IGS-CR we have to use the first two ways, first we use way
one and if then not all unnecessary daemons are stopped we’re using way two too.
It’s possible that you want to kill different daemons then I’m going to do… most
likely were talking about daemons who can’t be stopped with the ‘setup’ menu.
And daemons that can’t be stopped with way one have to be stopped with way two,
and that requires a lot of search-time by yourself.<BR><BR>Way one is rather
simple, just type in “setup” and walk through the menu. To verify afterwards you
have stopped some unnecessary daemons type, “show processes” before and after
you have walked through the setup. Compare both outputs with each other, and see
for yourself if something has changed.<BR><BR>I know that you cannot stop all
unnecessary daemons with this setup program, but I try to show you how to stop
them ‘the second way’…<BR><BR>I’m going try to stop the daemon listed
below…<BR><BR> “15 L E 10E2722
0 1 0
896/1000 0 IP SNMP”<BR><BR>With the command “show memory”, you’ll get a
stack dump from the whole memory. This could come in handy if we want to
overwrite a specific location of the memory… We can (re)-write the memory with
the command “write memory or erase [start stack – end stack] [new
data]”.<BR><BR>Address Bytes Prev. Next
Ref PrevF NextF Alloc PC
What<BR><BR>58850 112 587E0 588C0
1 *
* 1057FA8 IP SNMP<BR><BR>
PID Q T PC Runtime (ms) Invoked uSecs
Stacks TTY Process<BR> 15 L
E 10E2722 0
1 0
896/1000 0 IP SNMP<BR><BR>We could also kill
the so called PID address, because this depends which router you’re have I’m not
going to explain this any further. Just find the appropriate command in your
Cisco Router manual.<BR><BR>After you have killed some daemons check if they are
really stopped. I know that rewriting the stack is a tricky operation, and it
could be that your Cisco Router will stop functioning. To reset all data in the
NVRAM (where all configuration is being stored) type in the enabled mode “erase
startup config” and “reload”. Remember while doing so, you loose all your
configuration and such. The first time the Cisco Router is booting from flash
memory, consult your Cisco Router manual for specific
information.<BR><BR><BR>Ok, so far for this time… I have to spend my other hours
at learning myself more about Cisco Systems products.<BR><BR>Some
links:<BR><BR>http://freshmeat.net/projects/nmap/<BR>http://www.cisco.com/<BR>http://www.netterm.com/<BR><BR><BR>If
you have any questions or other comment related to this paper you can drop a
mail at mailpop3@crosswinds.net<BR><BR><BR><BR><BR><BR><BR>
<DIV align=center>Copyright (C) 2001, Data Wizard, The
Netherlands.<BR></DIV><BR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -