Saturday, February 9, 2013

ASA Questions


1.     What is the ssh version and cipher technique supported in ASA
a.     Ssh version 1 , 2 and cipher techniques des and 3des
2.     How many number of equal cost routes to same destination can be advertised in ASA.
a.     In a single interface of ASA we can advertise 3 equal cost routes to same destination. But there cannot be two routes to same destination with  equal cost on different interfaces of ASA
3.     How many routing protocols can be used at the same time in ASA
a.     You can use 2 OSPF process, one RIP process, one EIGRP process
4.     Based on the state of the packet what are the different connection paths ASA takes for stateful inspection?
a.     If the connection is a new type it takes “Session Management Path”
b.    If the connection is a established path then it takes “Fast Path”
5.     What routing protocol is supported in multiple context
a.     Static,default
6.     How to configure factory default setting in ASA
a.     Configure factory-default  { <ip addr> <mask>}
7.     What are the different actions takes place when a packet reaches stealth firewall.
a.     If the IP address, MAC address, and source interface match an ARP entry, the packet is passed
b.    If there is a mismatch between the MAC address, the IP address, or the interface, then it drops the packet
c.      If the ARP packet does not match any entries in the static ARP table, then you can set the adaptive security appliance to either forward the packet out all interfaces (flood), or to drop the packet
8.     What happens when a ARP packet reaches stealth firewall without any entry and there is a management interface too enabled.
a.     The dedicated management interface, if present, never floods packets even if this parameter is set to flood
9.     What kind of NAT’ing is not supported in Packet Classification in Security Context
a.     NAT-Exemption as it does not identify a mapped interface
10.                        What keyword is used to see physical properties of interfaces being allocated to different contexts (using “SHOW INTERFACE” command) even if we you set the mapped name.
a.     Keyword used in allocate-interface command is “visible”. Default is invisible to display the mapped detail for an interface
11.                        What are the different locations to save the context files?
a.     Disk0, ftp, http[s], tftp
12.                        Out of the following mac address correctly choose which mac address belongs to active unit and which mac belongs to standby unit in security context
a.     1200.0131.0001
b.    0200.0131.0001
Answer: Any MAC address starting with “12x.x.x” belongs to Active Unit and any MAC starting with “02x.x.x” belongs to Standby unit
13.                        How will you prevent SYN attack in Security Context
a.     Using TCP-Intercept
14.                        What are the different ways of assigning IP address for ASA
a.     Ip add <IP> [manual]
b.    Ip add dhcp [DHCP]
c.      PPPoE client [PPP]
15.                        What are the two common DDNS update configurations
a.     The DHCP client updates the A RR while the DHCP server updates PTR RR
b.    The DHCP server updates both the A and PTR RRs.
16.                        My ASA working in transparent mode, it wants to communicate System messages with AAA server, how will it communicate.
a.     ASA when it works in transparent firewall always uses IP address that has been allocated to Management Interface to communicate for any traffic that is originating from ASA
17.                        What are the different types of Class maps in MPF
a.     Layer 3/ 4 class map
b.    Layer 7 (appl. Level inspection class map)
c.      Regex type class map
18.                        Which service policy works unidirectional and which service policy is having higher priority.
a.     Service policy when applied globally works unidirectional whereas service policy when applied on interface basis works in bidirectional.
b.    Service policy when applied on interface basis takes more priority than global service policy.
19.                        In what order, actions are performed in ASA for any traffic that matches the class map
a.     Qos input policing
b.    TCP Normalization, TCP and UDP connection limits, connection timeout
c.      CSC
d.    Application inspection
20.                        What are the different types of ACL’s that can be used in ASA
a.     Standard ACL
b.    Extended ACL
c.      Ether Type ACL
d.    WebType ACL
e.      IPv6 ACL
21.                        In order to filter certain IP address in a network from being accessed in case of WebVPN what you need to implement.
a.     In order to filter certain range of IP address in case of Web VPN we need to implement Webtype ACL’s
22.                        What will be the default level for system log message when you use the keyword LOG at the end of ACE?
a.     The log level is “Informational” and log message ID is 106100
23.                        In order to implement time-based ACL in ASA, what are the different variety of Time-Based feature available in ASA
a.     Periodic
b.    Absolute
24.                        Which Layer-2 traffic is allowed by default without any ACL in case of transparent Firewall
a.     ARP traffic
25.                        When you are using failover , what traffic has to be allowed through Ether Type ACL to avoid Bridging loops
a.     BPDU’s should be allowed to avoid bridging loops
26.                        When a packet reaches ASA, how ASA will select the Egress interface for that packet.
a.     If destination IP translating XLATE already exists, the egress interface for the packet is determined from the XLATE table, but not from the routing table.
b.    If destination IP translating XLATE does not exist, but a matching static translation exists, then the egress interface is determined from the static route and an XLATE is created, and the routing table is not used
c.      If destination IP translating XLATE does not exist and no matching static translation exists, the packet is not destination IP translated. The adaptive security appliance processes this packet by looking up the route to select egress interface, then source IP translation is performed
27.                        When you need to track a static route in ASA what feature will you use to implement it and how it works.
a.     ASA uses static route tracking using sla monitor feature, where it sends ICMP type echo request messages to the IP address which we monitor and if there is no reply comes from that IP, then ASA updates the routing table by selecting next available route to the same destination
28.                        ASA supports which RIP, if so which version?
a.     ASA supports RIP and both version 1 and 2
29.                        ASA supports which kind of multicast routing and at which layer
a.     ASA supports both Stub and PIM-SP multicast routing and only UDP transport layer is supported for routing
30.                        When you want to implement policy NAT what type of ACL is not supported in policy NAT?
a.     Time-Based ACL is not supported in policy NAT
31.                        I am using private IP address for both my DMZ1 and DMZ2 zones which are configures with same security level 50. To protect the IP address from being hacked from outside, I have enabled NAT-Control on my ASA. What happens when any IP from DMZ1 zone tries to communicate any IP in DMZ2 zone?
a.     In case of same security traffic even if nat-control is enabled there is no need to do NAT’ ing for any communication from DMZ1 to DMZ2 zone as they are at same security traffic. [But if we implement dynamic nat, then any traffic that is going to any lower security or same security has to be NAT’ed ]
32.                        I am using private ip address range behind my ASA and I have enabled nat-control in my ASA. For some IP address alone I don’t require nat to be implemented, so how can I bypass the NAT for those IP’s alone?
a.     Identity NAT (NAT 0)
b.    Static Identity
c.      NAT-Exemption
33.                        What is NAT-Overloading?
b.    PAT (or overloading) is a feature of Cisco IOS NAT that is used to translate internal (inside local) private addresses to one or more outside (inside global, usually registered) IP addresses. Unique source port numbers on each translation are used to distinguish between the conversations.

34.                        What cases PAT does not work well?
a.     IP protocols that do not have a port to overload, such as GRE version 0
b.    Some multimedia applications that have a data stream on one port, the control path on another port, and are not open standard
35.                        What is static PAT?
a.     Static PAT translations allow a specific UDP or TCP port on a global address to be translated to a specific port on a local address. That is, both the address and the port numbers are translated
b.    Give sample example
36.                        What is the difference between identity nat and nat-exemption
a.     Identity nat means nat 0 (not static identity nat)
b.    Identity nat (nat 0) is unidirectional for traffic initiation, so traffic has to be initiated from inside network, in case of nat-exemption the nat’ing is bidirectional, so both sides can initiate traffic.
37.                        Is nat-exemption a policy nat?
a.     Nat-exemption is not a policy nat, because it does not exempt the nat based on port numbers as we do in policy nat, it exempt the nat based on source and destination address.
38.                        In what failover scenario can we implement ipsec vpn?
a.     In case of active/standby failover we can implement ipsec vpn to pass through ASA
39.                        I have implemented failover between ASA1 and ASA2 in my company. The two units in failover pair are constantly exchanging operating status of each other through failover link. So what are all the messages they will exchange to determine the operating status of each other?
a.     The unit state (active or standby)
b.    Hello messages (keep-alives)
c.      Network link status
d.    MAC address exchange
e.      Configuration replication and synchronization
40.                         I am terminating my IPSec VPN in my ASA. To provide backup I have implemented failover by adding one more ASA and have implemented stateful failover. Since there is a vpn connection being terminated at ASA, it is so much important that any traffic that is being exchanged between both ASA contains pre-shared key info, username and passwords being used for my VPN. So my task is to protect the communication between both ASA so that this information of VPN should not be exchanged in plain-text.  How will you secure the communication messages being transferred between two failover units so that communication messages are not in clear text.
a.     We will use failover key to protect the communication messages between failover units, so that message is not sent in clear text format
41.                        What is the problem in implementing failover by connecting failover links of both ASA using single crossover cable directly?
a.     When you use a crossover cable for the LAN failover link, if the LAN interface fails, the link is brought down on both peers. This condition may hamper troubleshooting efforts because you cannot easily determine which interface failed and caused the link to come down
42.                        How will you configure active/standby failover when ASA is in multiple context mode
a.     When ASA is in multiple context mode, if we need to define failover then put both contexts in same failover group (by default all context will be in same failover group-1)
43.                        In case of active/active failover, Failover is triggered at the failover group level when one of the following events occurs:
a.     Too many monitored interfaces in the group fail
b.    The no failover active group group_id or failover active group group_id command is entered
44.                        What is a regular failover?
a.     When a failover occurs, all active connections are dropped. Clients need to reestablish connections when the new active unit takes over. It is also said to be stateless failover
45.                        What are the different criterias based on which failover health is being monitored?
a.     Unit health monitoring
b.    Interface health monitoring
46.                        What are the different tests being conducted in case of interface monitoring?
a.     Link Up/Down test: A test of the interface status. The purpose of these tests is to generate network traffic to determine which (if either) unit has failed
b.    Network Activity test—A received network activity test. The unit counts all received packets for up to 5 seconds. If any packets are received at any time during this interval, the interface is considered operational and testing stops, if not next test
c.      ARP test—A reading of the unit ARP cache for the 2 most recently acquired entries
d.    Broadcast Ping test—A ping test that consists of sending out a broadcast ping request
47.                        What are the different status of interfaces that is being monitored in case of failover?
a.     Unknown—Initial status
b.    Normal—The interface is receiving traffic
c.      Testing—Hello messages are not heard on the interface for five poll times
d.    Link Down—The interface or VLAN is administratively down
e.      No Link—The physical link for the interface is down
f.      Failed—No traffic is received on the interface, yet traffic is heard on the peer interface
48.                        What are the two different failover criteria that is being used to decide whether failover is said to occur or not?
a.     You can specify a specific number of interface or a percentage of monitored interfaces that must fail before failover occurs. By default, a single interface failure causes failover
49.                        How will rectify the problem of asymmetric traffic in case of active/active failover?
a.     By configuring ASR group (asr-group command) we can rectify the asymmetric traffic problem in active/active failover. When a packet reaches an ASA for which there is no session, it checks the other interface in the same group and if there is any session through other interface of another ASA, it will route that packet to that ASA thus preventing the packet from being dropped
50.                        In which case can you telnet to ASA to the outside interface?
a.     When vpn connection is terminated at ASA outside interface, through vpn tunnel we can telnet to outside interface of ASA
51.                        What are the different fall back mechanisms supported by ASA using LOCAL database?
a.     Console and enable password authentication
b.    Command authorization
c.      VPN authentication and authorization
52.                        When implementing filtering of java contents in your ASA, which kind of traffic is not filtered by ASA?
a.     Filter java command does not filter Web VPN traffic
53.                        What is the protocol and port number used by ASA to communicate with Secure computing smartfilter server?
a.     ASA uses either tcp/udp port number 4500 to communicate with filtering server.
54.                        What is the use of inspecting FTP in STRICT mode?
a.     When FTP is inspected in strict mode, it increases the security of protected networks by preventing web browsers from sending embedded commands in FTP requests.
55.                        What are the two types of threat detection statistics that is offered by ASA for detecting threats?
a.     Basic threat detection (detects system as a whole)
b.    Advanced threat detection (tracks statistics based on several criteria like individual hosts, ports, protocols, access lists
56.                        What kind of information does scanning threat detection uses to find out worm infected hosts?
a.     When compared to IPS which uses signatures to filter the traffic, scanning threat detection uses HOST DATABASE to track suspicious activities such as connection with no return activity, access of closed ports, vulnerable TCP behaviors.
57.                        ASA has detected a suspicious activity inside the network, in order to stop that attack what should we configure on ASA apart from access-lists.
a.     We can implement SHUN which is used to block the connection based on source address, destination address, port numbers instead of using access-lists to do the same
58.                        Which features are not supported while we implement TCP state By pass in ASA?
a.     Application Inspection
b.    AAA authenticated sessions
c.      TCP max embryonic, TCP sequence number randomization
d.    TCP normalization
e.      Ssm and ssc
f.      Dynamic NAT
59.                        Which technique is used to stop syn flooding attack on the network using ASA and what algorithm is used to implement the same
a.     Tcp intercept is used to stop or limit the number of embryonic connections by resetting the connection. It uses SYN cookies algorithm to implement this by acting as Proxy. It detects the half open connections and resetting them by sending the request for the connection from the destination from ASA when the threshold reaches, if there is a reply then it finds out that someone is making syn attack and resets all the half open connections
60.                        What technique is used by ASA to prevent against malware attack?
a.     To prevent against malware, ASA uses a filtering technique called Botnet Traffic filter. The Botnet traffic filter checks incoming and outgoing connections against the database used by ASA containing known bad domains and IP addresses so that to stop any malware from contacting that websites.
61.                        What are the different addresses being monitored by Botnet Traffic Filter?
a.     Known malware addresses—These addresses are on the “blacklist”
b.    Known allowed addresses—These addresses are on the “whitelist.”
c.      Ambiguous addresses—These addresses are associated with multiple domain names, but not all of these domain names are on the blacklist. These addresses are on the “graylist.”
d.    Unlisted addresses—These addresses are unknown, and not included on any list.
62.                        In what context of ASA does QOS works?
a.     ASA supports QOS only in single context mode
63.                        What are the different Qos features supported by ASA?
a.     Policing
b.    Priority Queuing
c.      Traffic shaping
64.                        When applying Qos policies for IPSec traffic based on what factors can we apply Qos policies?
a.     Based on DSCP and Precedence values we can implement Qos for IPSec traffic
65.                        It is found that there are some traffic that is entering in to network through ASA with source IP address which are not true. How will you stop this packets from being entering in to network and what is the command used to do same?
a.     Normally, ASA only looks at the destination address when determining where to forward the packet. Unicast RPF instructs ASA to also look at the source address.
b.    ip verify reverse-path interface interface_name
66.                        you have ASA with AIP/SSM module built in to it, how will IPS block unwanted connections when there is an attack
a.     IPS instructs ASA to shun the connections
67.                        What are the different types of signatures supported by ASA for audit signatures
a.     INFO signature
b.    ATTACK signature
68.                        What are the different ways of sending traffic to AIP/SSM module for detecting intrusion activities?
a.     Promiscuous mode
b.    Inline mode
69.                        What are the different features supported in AIP/SSM module?
a.     Virtual Sensors
b.    Anomaly Detection
c.      Unretirement of default retired signatures
70.                        How will you assign the IPS for any traffic that needs to be monitored by AIP/SSM module in ASA
a.     By using class-map to match the traffic
b.    While defining the policy map for that traffic, we will allocate the ips to that traffic using the command: ips {inline | promiscuous} command inside policy-map
71.                        What module need to be used with ASA to scan the traffic for any viruses, worms to stop it from being  transmitted through ASA
a.     CSC/SSM module [content security and control]
72.                        How will you enable SNMP logging in ASA?
a.     Logging history
73.                        How will you secure the logging information in ASA
a.     Using the keyword secure in logging command, it secures the connection to remote logging host with tls/ssl.
b.    Eg: logging host interface inside 1.1.1.1 secure
74.                        what are the different interface types that is supported for SNMP traffic monitoring
a.     Logical
b.    Physical
c.      VLAN only
75.                        What are the unsupported features of multiple context
a.     Dynamic routing protocols
b.    VPN
c.      Multicast routing. Multicast bridging is supported
d.    Threat Detection
76.                        How will ASA classifies any packet that is entering ASA while forwarding it to appropriate context?
a.     Unique interfaces
b.    Unique mac-address
c.      NAT
77.                        What are the unsupported features of Transparent Firewall?
a.     Dynamic DNS
b.    DHCP Relay
c.      Dynamic routing protocols (Can be passed through ASA with the help of access lists)
d.    Multicast IP routing ( can be passed with help of access lists)
e.      QOS
f.      VPN Termination (Except for VPN Terminating at ASA for management purpose)
78.                        I need to send the traffic from outside for http running on port 80,8080 and telnet running on 23 for the inside IP 10.1.1.1 using a single object group. What kind of object can be used to implement the same
a.     Service-object can be used for the above case. In ASA 8.x a new feature has been included for service-object where we can define the protocol and port number in same object group.
79.                        What are the three main methods of configuring ASA?
a.     CLI
b.    ASDM
c.      CSM (Cisco security manager)
80.                        What are the different CLI modes in ASA?
a.     USER EXEC mode
b.    Privilege EXEC mode
c.      Configuration mode
d.    ROMMON mode
81.                        What are the different types of Banner in ASA?
a.     asdm Displays a post-login banner for ASDM access
b.    exec Displays a banner before the CLI prompt is displayed
c.      login Displays a banner before the username and password prompts
d.    motd Displays a message of the day (MOTD) banner
82.                        what are the different addressing techniques not supported in case of FAILOVER?
a.     DHCP client
b.    PPPoE client
c.      IPv6 addressing
83.                        What is NAT on a stick?
 The term “on a stick” usually implies the use of a single physical interface of a router for a task. Just as you can use subinterfaces of the same physical interface to perform Inter-Switch Link (ISL) trunking, you can use a single physical interface on a router in order to accomplish NAT

84.                        Who is the greatest
a)    Saddam Riyaz 

No comments:

Post a Comment