Link to home
Start Free TrialLog in
Avatar of kaosmadness
kaosmadness

asked on

Remove some stubborn items ignored by Cisco PIX ACL firewall PCI

Hi,

I am not a Cisco guy but previously, ports 1433 and 1434 were open to allow SQL from our management company. Needless to say I put a stop to it since it was on machines in the card holder emviroment.However I'm not sure how he did it but he added them in a way that  they're being ignored by pics however when I run  are settings in the plain text I can see those lines are still there I'll post brief piece of our logs and  if someone could be so kind and point out anything in their that just seems horribly wrong it would be greatly appreciated. By the way, all of our machines are connected to this security appliance and is our only gateway at the time, it has two interfaces  so I plan to segregate or isolate those in the payment card holder environment. Should I based on the logs below also put a secondary security appliance I was thinking of one running in the next such as clearOS or centOS.  any insight in the logs you can give me would be greatly appreciated and any other best practices used  open source software for security management purposes would be greatly appreciated as well.

Thanks,



Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 10baset
interface ethernet1 10baset
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XXXXXXXXXXXXX encrypted
passwd 8/XXXXXXXXXX ncrypted
hostname cisco-pix
domain-name bs-one.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list 100 permit icmp any any
access-list 100 permit tcp any any eq 1433
access-list 100 permit tcp any any eq 1434
access-list 100 permit udp any any eq 1434
access-list 100 permit udp any any eq 1433
access-list any permit tcp any any eq 1433
access-list any permit udp any any eq 1434
access-list 300 permit ip any any
access-list inbound permit tcp any any eq 82
access-list inbound permit tcp any any eq 15962
access-list inbound permit tcp any any eq 9000
pager lines 20
logging on
logging buffered warnings
mtu outside 1500
mtu inside 1500
ip address outside XX.XX.113.2 255.255.255.240
ip address inside 10.63.104.11 255.255.0.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.63.104.253 255.255.255.255 inside
pdm location 10.63.104.0 255.255.255.0 inside
pdm location 10.63.104.227 255.255.255.255 inside
pdm location 10.63.104.69 255.255.255.255 inside
pdm logging debugging 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group inbound in interface outside
access-group 300 in interface inside
route outside 0.0.0.0 0.0.0.0 XX.X.113.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.63.104.253 255.255.255.255 inside
http 10.63.104.227 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh 10.63.104.0 255.255.255.0 inside
ssh 10.63.104.69 255.255.255.255 inside
ssh timeout 60
console timeout 0
username aperez password XXXXXXXXXXXXXXXX encrypted privilege 15
terminal width 80
Cryptochecksum:7576007370f717fa6d5970111f5595a8
: end
[OK]
Avatar of Les Moore
Les Moore
Flag of United States of America image

The only pieces you need to be concerned with are these:

>access-group inbound in interface outside
This is the name of the access-list that is applied for traffic coming IN from OUTSIDE

access-list inbound permit tcp any any eq 82
access-list inbound permit tcp any any eq 15962
access-list inbound permit tcp any any eq 9000

These are the only 3 ports allowed in from outside to internal hosts

You can safely delete acl "100" and acl "any" because they are not applied anywhere
no access-list 100 permit icmp any any
no access-list 100 permit tcp any any eq 1433
no access-list 100 permit tcp any any eq 1434
no access-list 100 permit udp any any eq 1434
no access-list 100 permit udp any any eq 1433
no access-list any permit tcp any any eq 1433
no access-list any permit udp any any eq 1434
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kaosmadness
kaosmadness

ASKER

thanks!