Welcome!

Industrial IoT Authors: Dalibor Siroky, Liz McMillan, William Schmarzo, Elizabeth White, Stackify Blog

Blog Feed Post

Cisco Security Routers

Below is a list of suggested commands to be implemented on your Cisco Security Routers at the global configuration level. These are not meant to secure your network, however, they are meant to help secure your network equipment from the network.

  • no service pad
      – This disables the packet assembler/disassembler commands and connections between PAD devices.
  • service tcp-keepalives-in/service tcp-keepalives-out
     – This allows the VTY lines to maintain upkeep on active network connections to the router.
  • service timestamp debug datetime msec localtime show-timezone
     – This allows date and time verbosity while running a debug on the router.
  • service timestamps log datetime msec localtime show-timezone
     – This allows date and time verbosity on log files sent to a syslog server.
  • service password-encryption
     – This enables level 5 encryption on all non-encrypted stored passwords. We do recommend using level 7 encryption (e.g. enable secret) on all passphrases.
  • service sequence-numbers
     – This enables counters on system logs.
  • security authentication failure rate 3 log
     – This will log using syslog any unsuccessful login attempts attempted after 3 authentication failures.
  • security passwords min-length 6
     – This sets the minimum password length.
  • aaa new-model
     – We recommend using this form of user authentication database on the router for both; storing a local user database as well as using a remote TACACS+ or Radius server, allowing for more verbose syslog messages when a user attempts authentication.
  • aaa authentication login local_auth local
     – This will enable a local user database to be stored on the router for authentication purposes. We recommend creating at least one account on this device in the event of a network outage that may cause a remote authentication server to become unreachable.
  • aaa session-id unique
     – We recommend this feature as it allows for unique session-ids when pertaining to service access-requests and accounting-requests. The default functionality allows them to share a common session-id.
  • no ip source-route
     – This command will have the router ignore source-routed packets and have it utilize the routing infrastructure put in place.
  • no ip gratuitous-arps
     – This will force the router to ignore any gratuitous-arp packets and only accept arp-replys from arp-requests it had previously sent.
  • no service finger
     – This disables the equivalent of a remote show-users command.
  • no ip bootp server
     – This will disable the Bootstrap service by replying to an incoming request with an ICMP unreachable packet.
  • no ip domain lookup
     – If you do not have a DNS server configured on your device, we recommend disabling the DNS lookup functionality.
  • login block-for 30 attempts 5 within 30
     – This slow down continuous failed login attempts, block for 30 minutes when 5 failed authentication attempts have occurred within 30 minutes. We use five in concurrence with the ‘security authentication failure rate 3 log’ command to allow for verbosity in syslog.
  • memory reserve critical 4096
     – This will reserve 4096 Bytes of memory for the console pane of the router, allowing console access to it when it is under a high load that would normally overtake all of the system resources.
  • archive
     – Global configuration that leads to system log configuration
  • log config
     – Step down into the system log configuration details
  • logging enable
     – This will enable the logging of configuration changes.
  • logging size 500
     – This is the maximum amount of logged commands kept in the configuration log.
  • content type plain-text(notify syslog contenttype plaintext)
     – This will forward syslog in plain-text format. The other available option is XML. By default, plain-text is chosen.
  • notify syslog
     – This enables the sending of logged commands to target applications and in a syslog format.
  • hidekeys
     – This will disable the sending of logged passwords being sent in clear-text.
  • ip ssh time-out 60
     – This is the time-out period for SSH connections in seconds.
  • ip ssh authentication-retries 5
     – This is used in concurrency with our previous authentication and logging architecture.
  • ip scp server enable
     – An encrypted form of file transfer for device backups and IOS upgrades.
  • no ip forward-protocol nd
     – This disables an older service that is used to forward Network Disk packets from Sun workstations.
  • no cdp run
     – This disables the Cisco Discovery Protocol.
  • no ip http server
     – This disables http access to the router. This may conflict with DSM management.
  • no ip http secure-server
     – This disables https access to the router. This may conflict with DSM management.
  • logging trap debugging
     – This will output syslog from the router for all 8 levels of message severity. This is the most verbose syslog option.
  • logging facility syslog
     – This will have the router send all logging messages to syslog.
  • logging A.B.C.D
     – This designates the ip address of the remote syslog server.
  • Suggested commands to be implemented at the local and remote management line configuration.
  • line con 0
     – This is the configuration interface for local console connections to the router.
  • exec-timeout 2 55
     – Command execution timeout for console connections that will timeout after 2 minutes and 55 seconds of inactivity.
  • login authentication local_auth
     – Authentication database to be called when logging into the console of the router. This also enables a username and password prompt upon console connection. This may also be used in concurrence with a TACACS+ or Radius server, but we recommend using a local database in the event of network outages.
  • transport output none
     – This disables the ability to use the console as a form of network transportation. We recommend leaving this as an administration access point only.
  • line aux 0
     – Auxiliary port for remote data communications and administration. This may be used as a backup phone connection into the router for remote access.
  • exec-timeout 2 55
     – Command execution timeout for console connections that will timeout after 2 minutes and 55 seconds of inactivity.
  • login authentication local_auth
     – Authentication database to be called when logging into the console of the router. This also enables a username and password prompt upon console connection. This may also be used in concurrence with a TACACS+ or Radius server, but we recommend using a local database in the event of network outages.
  • transport output none
     – This disables the ability to use the console as a form of network transportation. We recommend leaving this as an administration access point only.
  • line vty 0 4
     – The network management connection instances(5 maximum)
  • access-class in
     – An access list applied to the vty lines of administration. We recommend granularly defining the specific ip addresses or networks that are used as administration stations that will only be allowed to remotely access the router.
  • exec-timeout 2 55
     – Command execution timeout for console connections that will timeout after 2 minutes and 55 seconds of inactivity.
  • login authentication local_auth
     – Authentication database to be called when logging into the console of the router. This also enables a username and password prompt upon console connection. This may also be used in concurrence with a TACACS+ or Radius server, but we recommend using a local database in the event of network outages.
  • transport input ssh
     – This enables the usage of ssh only when administering the router over the network, ensuring encrypted network communication.
  • transport output ssh
     – This enables you the ability to ssh out of the router to other devices on the network.

 

Access-Control Lists

  • ip access-list extended Example-ACL
     – Transportation throughput, this is to be applied to every interface(ip access-group Example-ACL in). An access list defining what type of packets that we recommend be dropped when they reach a router interface. Also, adding a permit any rule at the end of this access-control list will be necessary to allow normal network traffic to flow through.
  • 10 deny tcp any any fragments
     – This will drop any fragmented tcp packet that reaches the router.
  • 20 deny udp any any fragments
     – This will drop any fragmented udp packet that reaches the router.
  • 30 deny icmp any any fragments
     – This will drop any fragmented icmp packet that reaches the router.
  • 40 deny ip any any fragments
     – This is a general cleanup that will drop all fragmented packets that may have gotten past the above rules.
  • 50 deny ip any any option any-options
     – This will drop any packets sent to the router that utilizes the options field of the tcp packet.
  • 2147483647 permit ip any any
     – This is a must for normal network traffic to pass through the router. It also is the last possible entry to the access-control list.
  • ip access-list extended Example-Mgmt
     – Device management access-control list. This is to be applied to the VTY lines(access-class Example-Mgmt in) of the router and are directed towards remote connections made to the router. This should only be configured to allow management stations and management network access.
  • 10 permit tcp 10.90.90.32 0.0.0.15 host 192.168.255.6 eq 22 log
     – This will allow ssh access from a specific example network into a specific example ip address. In this case, the example network is the subnet on which our management workstation and shell servers will sit. The example ‘host’ ip is the management ip of the router. Along with this access, we would also like to log incoming connections. This could also be written as follows: 10 permit tcp 10.90.90.32 0.0.0.15 192.168.255.6 0.0.0.0 eq 22 log
  • 2147483647 deny ip any host 192.168.255.6
     – This will kill all other attempts to connect to the management ip of the router. A note to add, routers will have more than one ip address. You will need to add all ip addresses to the end of this access-control list in order to display the denial of this traffic.

 

SNMP Configurations

  • snmp-server community sTr1nG RO 2
     – Whether you plan to use snmp or not, configuring the router as if you were to use snmp and without the default community string of ‘public’ is recommended. The only reason we bring this up is, with the many different releases to Cisco’s IOS, there can be a variety of different default configurations when it comes to snmp. Dissecting this command, this defines the community string as ‘sTr1nG’ and allows Read-Only(RO) access. The ’2′ at the end of the statement applies an access-control list to this Read-Only ability. At this point you can configure whatever devices you want to allow snmp access to the router. This will be described below:
  • access-list standard 2
     – This creates a basic ‘standard’ access-control list and designates it the counter of ’2′.
  • permit 127.0.0.1
     – This allows access from any ip sourced with a 127.0.0.1 address. In this instance, we essentially deny all snmp access to the router as that ip address is technically not routable.
  • deny all
     – This verbosely displays that you will drop all remaining traffic.
  • snmp-server location City, ST
     – This is the command for configuring the location information about the devices.

 

Interface Configurations

  • no ip redirects
     – Disables the ability of ICMP packets being redirected as sent from the router itself.
  • no ip unreachables
     – Disables the disclosure of information via the ICMP protocol.
  • no ip proxy-arp
     – Disable remote network arp-requests.
  • no mop enabled
     – Disable a service used for VAX remote management.
  • no ip directed-broadcast
     – Disable the forwarding of directed broadcast messages.

The post Cisco Security Routers appeared first on Hurricane Labs.

Read the original blog entry...

More Stories By Hurricane Labs

Christina O’Neill has been working in the information security field for 3 years. She is a board member for the Northern Ohio InfraGard Members Alliance and a committee member for the Information Security Summit, a conference held once a year for information security and physical security professionals.

@ThingsExpo Stories
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...