Category: Firewalls & Network Security

Cisco ASA, Fortinet, Juniper SRX and other firewalls, NAT, high availability, ISE and NAC, IPS and secure device configuration.

  • How to use OpenPuff steganography to send sensitive info securely

    How to use OpenPuff steganography to send sensitive info securely

    Video link: http://searchsecurity.techtarget.com/video/How-to-use-OpenPuff-steganography-to-send-sensitive-info-securely

    Former National Security Agency (NSA) contractor Edward Snowden’s revelations regarding the spying activities of the U.S. government and others dealta devastating blow to some of the bedrocks of information security, including the trustworthiness of encryption and virtual private networks (VPN). Now, organizations worldwide must deal with the reality of government entities viewing sensitive corporate secrets, and even the possibility of malicious actors uncovering the same backdoors used by the NSA to steal valuable data. What can enterprises do to protect data during transmission when encryption and VPNs aren’t bulletproof?

    The OpenPuff steganography tool, created by engineer Cosimo Oliboni, can add an extra layer of protection for those sensitive documents. In this SearchSecurity screencast, Keith Barker, a Certified Information Systems Security Professional (CISSP) and trainer for CBT Nuggets LLC, explains how to use OpenPuff to hide encrypted data in other files when being sent. OpenPuff is a free tool that gives practically any organization the ability to utilize steganography.

    Barker begins the OpenPuff tutorial with a useful overview of steganography and why it is used in addition to encryption. He then explains the process of encoding data in another file, known as the carrier. The sender simply fills in the information to form the key needed for decryption, which includes up to three passwords, the name of the carrier file and the bit option used to encode the data. In a matter of seconds, sensitive info can be hidden in an innocuous file such as .mp3, .jpg, Adobe documents and many other formats, with size being the only difference between the original and carrier files On the other end, the recipient only needs to know the same information used to form the key to unlock the hidden file. OpenPuff even provides the option of having multiple carriers so uncharacteristically large files can be hidden.

  • Understanding the Eight Basic Commands on a Cisco ASA Security Appliance

    There are literally thousands of commands and sub-commands available to configure a Cisco security appliance.  As you gain knowledge of the appliance, you will use more and more of the commands.  Initially, however, there are just a few commands required to configure basic functionality on the appliance.  Basic functionality is defined as allowing inside hosts to access outside hosts, but not allowing outside hosts to access the inside hosts.  Additionally, management must be allowed from at least one inside host.  To enable basic functionality, there are eight basic commands (these commands are based on software version 8.3(1) or greater).

    • interface
    • nameif
    • security-level
    • ip address
    • switchport access
    • object network
    • nat
    • route

    Sample Network Diagram

    Cisco ASA Configuration Basic Diagram

    interface

    The interface command identifies either the hardware interface or the Switch Virtual Interface (VLAN interface) that will be configured.  Once in interface configuration mode, you can assign physical interfaces to switchports and enable them (turn them on) or you can assign names and security levels to VLAN interfaces.

    nameif

    The nameif command gives the interface a name and assigns a security level.  Typical names are outside, inside, or DMZ.

    basic eight int nameif sec level ip add

    security-level

    Security levels are numeric values, ranging from 0 to 100, used by the appliance to control traffic flow.  Traffic is permitted to flow from interfaces with higher security levels to interfaces with lower security levels, but not the other way.  Access-lists must be used to permit traffic to flow from lower security levels to higher security levels.  The default security level for an outside interface is 0.  For an inside interface, the default security level is 100.  In the following sample configuration, the interface command is first used to name the inside and outside VLAN interfaces, then the DMZ interface is named and a security level of 50 is assigned to it.

    ciscoasa(config)# interface vlan1
    ciscoasa(config-if)# nameif inside
    INFO: Security level for “inside” set to 100 by default.
    ciscoasa(config-if)# interface vlan2
    ciscoasa(config-if)# nameif outside
    INFO: Security level for “outside” set to 0 by default.
    ciscoasa(config-if)# interface vlan3
    ciscoasa(config-if)# nameif dmz
    ciscoasa(config-if)# security-level 50

    ip address

    The ip address command assigns an IP address to a VLAN interface either statically or by making it a DHCP client.  With modern versions of security appliance software, it is not necessary to explicitly configure default subnet masks.  If you are using non-standard masks, you must explicitly configure the mask, otherwise, it is not necessary.

    In the following sample configuration, an IP address is assigned to VLAN 1, the inside interface.

    ciscoasa(config-if)# interface vlan 1
    ciscoasa(config-if)# ip address 192.168.106.1

    In the following sample configuration, an interface VLAN 2, the outside interface is configured as a DHCP client.  The use of the statement “setroute” tells the appliance to get its default route from the DHCP server.

    ciscoasa(config-if)# interface vlan 2
    ciscoasa(config-if)# ip address dhcp setroute

    Configuring interfaces on 55×0 appliances

    Notice on the screen capture from a Cisco ASA 5540 security appliance that the nameif command is used to name physical interfaces instead of VLAN interfaces.
    interface g01 configuration

    switchport access

    The switchport access command on the ASA 5505 security appliance assigns a physical interface to a logical (VLAN) interface.  In the next example, the interface command is used to identify physical interfaces, assign them to switchports on the appliance, and enable them (turn them on).  This command is not used on the ASA 55×0 appliances.

    ciscoasa(config-if)# interface ethernet 0/0
    ciscoasa(config-if)# switchport access vlan 2
    ciscoasa(config-if)# no shutdown
    ciscoasa(config-if)# interface ethernet 0/1
    ciscoasa(config-if)# switchport access vlan 1
    ciscoasa(config-if)# no shutdown

    object network net-192.168.106

    The object network net-192.168.106 statement creates an object called “net-192.168.106”.  (You do not have to name the object “net-192.168.106”; that is a descriptive name, but you could just as easily name it “Juan”.)  The network option states that this particular object will be based on IP addresses.  The subnet 192.168.106.0 255.255.255.0 command states that net-192.168.106 will affect any IP address beginning with 192.168.106.

    ciscoasa(config-if)#object network net-196.168.106
    ciscoasa(config-network-object)#subnet 192.168.106.0 255.255.255.0

    nat

    The nat statement, as shown below, tells the firewall to allow all traffic flowing from the inside to the outside interface  to use whatever address is dynamically (DHCP) configured on the outside interface.

    ciscoasa(config)#nat (inside,outside) dynamic interface

    route

    The route command, in its most basic form, assigns a default route for traffic, typically to an ISP’s router.  It can also be used in conjunction with access-lists to send specific types of traffic to specific hosts on specific subnets.

    In this sample configuration, the route command is used to configure a default route to the ISP’s router at 12.3.4.6.  The two zeroes before the ISP’s router address are shorthand for an IP address of 0.0.0.0 and a mask of 0.0.0.0.  The statement outside identifies the interface through which traffic will flow to reach the default route.

    ciscoasa(config-if)# route outside 0 0 12.3.4.6

    In place of the manual default route configuration, as mentioned previously, you could instead configure your outside interface as a DHCP client and include the “setroute” statement to obtain the default route from the ISP’s DHCP server.

    The above commands create a very basic firewall.  A sophisticated firewall such as the Cisco ASA Security Appliance is capable of much greater functionality than what is shown here.  These commands, however, will provide a solid foundation for configuring additional services on your appliance.

    Other commands you might use include hostname to identify the firewall, telnet or SSH to allow remote administration, DHCPD commands to allow the firewall to assign IP addresses to inside hosts, and static route and access-list commands to allow internal hosts such as DMZ Web servers or DMZ mail servers to be accessible to Internet hosts.  Of course, there are many more advanced commands that are explained in other how-to guides and in the book The Accidental Administrator: Cisco ASA Security Appliance: A Step-by-Step Configuration Guide.

    Sample Base Configuration #1 (Static IP Address on Outside Interface)

    ciscoasa(config)# interface vlan1
    ciscoasa(config-if)# nameif inside
    INFO: Security level for “inside” set to 100 by default.
    ciscoasa(config-if)# interface vlan2
    ciscoasa(config-if)# nameif outside
    INFO: Security level for “outside” set to 0 by default.
    ciscoasa(config-if)# interface ethernet 0/0
    ciscoasa(config-if)# switchport access vlan 2
    ciscoasa(config-if)# no shutdown
    ciscoasa(config-if)# interface ethernet 0/1
    ciscoasa(config-if)# switchport access vlan 1
    ciscoasa(config-if)# no shutdown
    ciscoasa(config-if)# interface vlan 2
    ciscoasa(config-if)# ip address 12.3.4.5 255.255.255.0
    ciscoasa(config-if)# interface vlan 1
    ciscoasa(config-if)# ip address 192.168.106.1
    ciscoasa(config-if)# route outside 0 0 12.3.4.6
    ciscoasa(config-if)#object network net-192.168.106
    ciscoasa(config-network-object)#subnet 192.168.106.0 255.255.255.0
    ciscoasa(config)#nat (inside,outside) dynamic interface
    ciscoasa(config)#exit

    Note in the above configuration that the outside interface address and default route are configured manually.  If your appliance’s outside interface is connected to a network with a DHCP server, such as an ISP, you could configured interface VLAN2 as a DHCP client with the command “ip address dhcp setroute”.  The use of the “setroute” statement also eliminates the need for the manual default route configuration (route outside 0 0 12.3.4.6).

    Sample Base Configuration #2 (DHCP-assigned IP Address on Outside Interface)

    ciscoasa(config)# interface vlan1
    ciscoasa(config-if)# nameif inside
    INFO: Security level for “inside” set to 100 by default.
    ciscoasa(config-if)# interface vlan2
    ciscoasa(config-if)# nameif outside
    INFO: Security level for “outside” set to 0 by default.
    ciscoasa(config-if)# interface ethernet 0/0
    ciscoasa(config-if)# switchport access vlan 2
    ciscoasa(config-if)# no shutdown
    ciscoasa(config-if)# interface ethernet 0/1
    ciscoasa(config-if)# switchport access vlan 1
    ciscoasa(config-if)# no shutdown
    ciscoasa(config-if)# interface vlan 2
    ciscoasa(config-if)# ip address dhcp setroute
    ciscoasa(config-if)# interface vlan 1
    ciscoasa(config-if)# ip address 192.168.106.1
    ciscoasa(config-if)#object network net-192.168.106
    ciscoasa(config-network-object)#subnet 192.168.106.0 255.255.255.0
    ciscoasa(config)#nat (inside,outside) dynamic interface
    ciscoasa(config)#exit

  • How to add ASA Firewall to GNS3

    1. Download GNS3, I accept all the defaults (I actually tick to install SuperPuTTy, as tabbed console windows can be handy when using GNS3). Launch the program, you will be greeted with the following setup wizard. Select Option 1.

    Note: You can do the same in future, by going to Edit > Preferences

    Setup GNS3

    2. Check that the path to the ‘projects’ and your ‘images’ folder are where you want them to be. The defaults are fine but if you run GNS3 on several machines you might want to choose something like Dropbox > Apply > OK.

    GNS3 Images

    3. Option 2.

    Setup GNS3 Step By Step

    4. Click Test Settings > Have patience, it can take a couple of minutes > Apply > OK.

    Test GNS3 Settings

    Adding Router Images to GNS 3

    5. Option 3

    Note: You can visit the same section in future by clicking Edit > IOS Images and Hypervisors.

    GNS3 Idle PC

    6. Image file > Browse to the image you want to import. Here on GNS3 8.6 you can select the filename.bin file, with older versions you need to extract that file to a filename.image file.

    Note: You need to legally download these images from Cisco. This means you need a CiscoCCO account, and a valid support agreement. DO NOT email me and ask for Cisco IOSimages, (I will just ignore you!).

    GNS3 Router Images

    7. As mentioned above, it will convert my filename.bin image to an extracted filename.image file > Yes.

    IOS Images for GNS3

    8. Set the Router platform and model > In the IDLE PC section click Auto calculation > This can take a while.

    Note: You can do this later from the main workspace, and test a range of settings. I you don’t do this your virtual network devices will eat all your CPU power!

    GNS3 IDLE PC calculation

    9. When complete click Close > Save > Close.

    IDLE PC

    10. You can now start that model router to the workspace and use it. Repeat for each model of router you want to add.

    Access Router in GNS3

    Adding a Host to GNS3

    Having a host machine for you labs is handy, usually you just need to be able to ping, or perform tracerts. So you can download a small Linux image from GNS3. There are a few options but I prefer linux-microcore.

    11. Edit > Preferences.

    nEdit GNS Properties

    12. Quemu > Quemu Guest > Give it an identifier name (can be anything) > Browse to, and select the image you downloaded.

    GNS 3 Setup Host

    13. Save > OK > Apply.

    Linux Microscore Qemu Guest Settings

    14. You can now drag a Quemu Guest machine onto the work space, and console into it.

    GNS 3 Host Cmd Window

    Adding a Cisco ASA to GNS3

    Yes you can add Cisco PIX as well, but there’s not many of them left in the wild.

    15. Edit > Preferences > Quemu > ASA > Give it an identifier name (can be anything) > Set the RAM to 1024 > Set the Qemu options to;

    -vnc none -vga none -m 1024 -icount auto -hdachs 980,16,32

    Set the Kernel cmd line option to;

    -append ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536

    GNS 3 Add ASA Firewall

    16. You need two files to run the ASA, an initrd file and a kernel file. You need to create these from a legally obtained copy of the asa843-k8.bin file.

    Should you wish to locate these files form a less reputable source you are looking for
    asa842-initrd.gz and asa842-vmlinuz, again don’t email me for them! If you are too stupid to use a search engine, then technical ninjary is not the correct career choice for you.

    Ad Virtual ASA to GNS3

    17. Finally select the vmlunuz file > Open.

    GNS3 ASA vmlinuz File

    18. Save > OK > Apply.

    ASA 8.4 Add to GNS3

    19. You can now drag an ASA onto the workspace and console into it (it takes a while, be patient). When the ASA starts it has all the licenses disabled, to add them you need to change the ASA’s activation key. An ASA Activation key is usually linked to the serial number of the ASA, in this case we don’t have a serial number, (that’s not strictly true, if you check, it’s something like 12345678). So I will publish a working activation key*

    *Disclaimer, this will only work on this virtual ASA, and it’s published elsewhere on the Internet, if I receive a request to remove it I will do so.

    Another ‘quirk’ is every time you add a new ASA to the workspace, you need to go through this process, if you enter the commands below you can issue a reload and also save the ASA, without the need to re-enter the activation key.

    activation-key 0xb23bcf4a 0x1c713b4f 0x7d53bcbc 0xc4f8d09c 0x0e24c6b6
    {This can take 5-10 minutes}
    copy running-config startup-config
    {Enter}
    copy startup-config disk0
    {Enter}

    ASA Activation Key

    20. When it comes back up, (again it will take a few minutes). Your can check your ASA’s licensed features.

    ASA Licences Features in GNS

    gns3 to asa internet steps

    To Allow ICMP (Pings) from the inside Workstation as it will be blocked by default: 

    ASA(config)# class-map icmp-class

    ASA(config-cmap)# match default-inspection-traffic

    ASA(config-cmap)# exit

    ASA(config)# policy-map icmp_policy

    ASA(config-pmap)# class icmp-class

    ASA(config-pmap-c)# inspect icmp

    ASA(config-pmap-c)# exit

    ASA(config)# service-policy icmp_policy interface outside

     

    To Permanently save the ASA config in GNS3: 

    copy running-config disk0:/.private/running-config
    copy disk0:/.private/running-config disk0:/.private/startup-config
    conf t
    boot config disk0:/.private/startup-config

  • BYOD security (ISE/Airwatch/Fixmo/LabTech) (MDM/MCM/NAC)

    Bring your own device (BYOD) (also called bring your own technology (BYOT), bring your own phone (BYOP), and bring your own PC (BYOPC) refers to the policy of permitting employees to bring personally owned mobile devices (laptops, tablets, and smart phones) to their workplace, and to use those devices to access privileged company information and applications.[1] The term is also used to describe the same practice applied to students using personally owned devices in education settings.[2]

    BYOD is making significant inroads in the business world, with about 75% of employees in high growth markets such as Brazil and Russia and 44% in developed markets already using their own technology at work.[3] In most cases, businesses simply can’t block the trend. Some[who?] believe that BYOD may help employees be more productive.[4]Others[who?] say it increases employee morale and convenience by using their own devices and makes the company look like a flexible and attractive employer.[5] Many[who?] feel that BYOD can even be a means to attract new hires, pointing to a survey that indicates 44% of job seekers view an organization more positively if it supports their device.[6]

     

    AirWatch

    Support Personal Devices in Your Enterprise Deployment

    With the consumerization of mobility, many enterprises are turning to Bring Your Own Device (BYOD) programs, or a hybrid approach including deployed corporate-owned devices and a BYOD program. By enabling a BYOD program, or taking a hybrid approach, enterprises allow employees access to corporate resources from anywhere, increasing productivity and driving employee satisfaction. Securing employee-owned devices and supporting different mobile platforms, however, can create complex issues for IT departments.

    AirWatch supports Bring Your Own Device (BYOD) programs by enabling unprecedented device choice and supporting the device ownership models you choose without compromising the security and management of your mobile fleet. AirWatch provides a flexible model for asset management, policy enforcement, and distributing profiles, apps and content, based on device ownership type.

    Device Choice

    Device Choice

    AirWatch supports all major mobile platforms, allowing you to implement a flexible BYOD program. Your employees can choose from the latest makes and models for their smartphones, tablets and laptops. Define devices eligible for enrollment with custom device whitelists and blacklists.

    Access to Corporate Resources

    AirWatch’s simple enrollment process provides a consistent agent-based flow for major platforms. Once users are authenticated, profiles, applications and content are configured automatically based on the user and device ownership type. AirWatch enables secure access to enterprise resources from employee-owned devices. Provide employees connections to intranet sites and corporate content, apps, Wi-Fi, VPN networks and more from their mobile devices by pushing profiles automatically or on-demand. AirWatch also empowers your employees and reduces the burden on IT with our self-service portal. From the portal, employees can enroll additional devices, view detailed device information and perform remote actions.

    Privacy Concerns

    AirWatch enables companies to separate corporate and personal data on devices through customizable privacy policies that can be based on device ownership type. Configure policies to prevent data collection from personal email, content or applications on an employee-owned device. GPS location, personal user information and telecom data can also remain private, and employee-owned devices can be protected from a full device wipe or remote control. AirWatch also allows businesses to mitigate risks that are presented when employee-owned devices are accessing corporate resources. With custom Terms of Use (TOU) agreements based on user role, organization group and device platform, users can be informed about data that will be captured and what they are allowed to do with the device.

    Security and Compliance

    Corporations need to enable BYOD without sacrificing the security needs of IT. WithAirWatch Workspace, provide enterprise-grade security for corporate resources and applications that are delivered to a device while preserving the separation of corporate and personal data. Create enrollment restrictions to limit the number of specific device types to ensure uniformity. Compartmentalize and manage enterprise applications and data without having to manage the entire device. AirWatch container solutions are designed to work together to deliver a seamless user experience with single sign on capabilities and cross-container integration. Provide enterprise-grade security for your applications with user authentication, data encryption, app-level policies, compliance monitoring and management.

    Removing Corporate Resources

    Administrators can remove access to corporate email, Wi-Fi and VPN when an end user un-enrolls or leaves the company. Remove internal apps and corporate content from devices upon end user departure. Finally, perform an enterprise wipe without affecting personal content on the device.

     

  • CCNA Security Labs

    Section 1 – Securing Layer 2

    Section 2 – Securing the Control Plane

    Section 3 – Securing the Forwarding Plane

    Section 4 – Cisco IOS Firewall Technologies

    Section 5 – Cisco IOS VPN Technologies

    Section 6 – Cisco IOS IPS/IDS

    Section 7 – Cisco Adaptive Security Appliances

    Section 8 – Cisco Access Control Server 5.x

     

  • Access Lists on Switches

    Access Lists on Switches

    PDF Document

    The switch supports the following four types of ACLs for traffic filtering:

    • Router ACL
    • Port ACL
    • VLAN ACL
    • MAC ACL

    Router ACL

    As the name implies, Router ACLs are similar to the IOS ACL discussed in Chapter 2, “Access Control,” and can be used to filter network traffic on the switched virtual interfaces (SVI). (SVI interfaces are Layer 3 interfaces on VLANs, on Layer 3 physical interfaces, and on Layer 3 EtherChannel interfaces.) Both standard and extended ACLs are supported.

    Port ACL

    Port ACLs are similar to Router ACLs but are supported on physical interfaces and configured on Layer 2 interfaces on a switch. Port ACL supports only inbound traffic filtering. Port ACL can be configured as three type access lists: standard, extended, and MAC-extended.

    Processing of the Port ACL is similar to that of the Router ACLs; the switch examines ACLs associated with features configured on a given interface and permits or denies packet forwarding based on packet-matching criteria in the ACL.

    When applied to a trunk port, the ACL filters traffic on all VLANs present on the trunk port. When applied to a port with voice VLAN, the ACL filters traffic on both data and voice VLANs.

    The main benefit with Port ACL is that it can filter IP traffic (using IP access lists) and non-IP traffic (using MAC access list). Both types of filtering can be achieved—that is, a Layer 2 interface can have both an IP access list and a MAC access list applied to it at the same time.

    VLAN ACL (VACL)

    VLAN ACL (also called VLAN map) provides packet filtering for all types of traffic that are bridged within a VLAN or routed into or out of the VLAN. Unlike Router ACL, VACL is not defined by a direction (input or output). All packets entering the VLAN (bridged or routed) are checked against the VACL. It is possible to filter traffic based on the direction of the traffic by combining VACLs and Private VLAN features.

    VACLs are processed in hardware, so there is no performance penalty in processing them. Therefore, they are also referred to as wire-speed ACLs. The forwarding rate remains unchanged regardless of the size of the access list because the lookup of VACLs is performed in hardware.

    VACL on a Bridged Port

    Figure 4-2 illustrates where the VACL is processed when VACL is applied on a bridged port for traffic from Host A in VLAN 5 that is communicating to Host B in VLAN 10 through the switch.

    VACL on a Routed Port

    Figure 4-3 illustrates how IOS ACL and VACL are applied on routed packets and Layer 3 switched packets. Following is the order of processing:

    1. VACL for input VLAN
    2. Input IOS ACL
    3. Output IOS ACL
    4. VACL for output VLAN

    Configuring VACL

    Perform the following steps to configure and apply a VACL (VLAN access map) on the switch:

    1. Define the standard or extended access list to be used in VACL.
    2. Define a VLAN access map.
    3. Configure a match clause in a VLAN access map sequence.
    4. Configure an action clause in a VLAN access map sequence.
    5. Apply the VLAN access map to the specified VLANs.
    6. Display VLAN access map information.

    Example 4-6 shows how to define and apply a VACL to drop packets matching access list 1 from network 192.168.1.0/24; all other packets matching access list 2 are forwarded. The VACL is applied to VLANs 5 through 10.

    Example 4-6. VACL Configuration Example

    Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255
    Switch(config)#access-list 2 permit any
    Switch(config)#vlan access-map mymap 10
    Switch(config-access-map)#match ip address 1
    Switch(config-access-map)#action drop
    Switch(config-access-map)#exit
    Switch(config)#vlan access-map mymap 20
    Switch(config-access-map)#match ip address 2
    Switch(config-access-map)#action forward
    Switch(config-access-map)#exit
    Switch(config)# vlan filter mymap vlan-list 5-10
    Switch(config-access-map)#end
    
    Switch# show vlan access-map
    Vlan access-map "mymap"  10                              
      Match clauses:                                         
        ip address: 1                                        
      Action:                                                
        drop                                                 
    Vlan access-map "mymap"  20                              
      Match clauses:                                         
        ip address: 2                                        
      Action:                                                
        Forward                                              
    
    Switch# show vlan filter
    VLAN Map mymap is filtering VLANs:                       
      5-10                                                   
    
    

    MAC ACL

    MAC ACL, also known as Ethernet ACL, can filter non-IP traffic on a VLAN and on a physical Layer 2 interface by using MAC addresses in a named MAC extended ACL. The steps to configure a MAC ACL are similar to those of extended named ACLs. MAC ACL supports only inbound traffic filtering.

    To define the MAC Extended ACL, use the mac access-list extended command. Several non-IP protocols are supported.

    After the MAC ACL is created, it can be applied to a Layer 2 interface using the mac access-group [acl-name] in command to filter non-IP traffic received on the interface.

    Example 4-7 shows how to define and apply a MAC ACL to drop all (non-IP) AppleTalk Address Resolution Protocol (AARP) packets, allowing all other types of traffic.

    Example 4-7. MAC ACL Configuration Example

    Switch(config)# mac access-list extended my-mac-acl
    Switch(config-ext-macl)# deny any any aarp
    Switch(config-ext-macl)# permit any any
    Switch(config-ext-macl)# exit
    Switch(config)# interface Fastethernet0/10
    Switch(config-if)# mac access-group my-mac-acl in
    Switch(config-if)# end
    Switch#