I open a ticket with TAC on where to find the backup options within the ASDM & found out the backup option is not available within the ASDM & firewalls running in multi-contexts modes.So
one Prerequisite for using the ASDM backup is for the firewall to be in a single-context operating mode.
http://www.cisco.com/c/en/us/td/docs/security/asa/asa84/configuration/guide/asa_84_cli_config/admin_swconfig.html#wp1380620
Also one other thing that I found that was interesting, there's no means for a cli command to backup up a context while in the admin context or any other defined context. So if you had a admin defined for a context, he/she could not use a backup/restoral commands unless he/she changed to the system context. This goes back to the "limited" to no access to the disk0: storage & from within a none "system" contexts.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Wednesday, January 7, 2015
Tuesday, January 6, 2015
Spammers send mail with no installed MX record
I found out something interesting a few days ago. I have a mail-gateway configure for a older domain that I don't use any more. The domain was posted at one time for sale, so I changed the NS entries and delete my original MX entries. The new registrar was populated for the NS of the domain reseller nameservers
I was bit surprised that when I logged into my mail gateway, that I was still collecting hundreds of emails, but yet the MX record had been removed months ago.
So what this tells me;
1: the spammer builds a mail delivery mapping that's not using a dns MX record
2: or they cache the last success delivery by mail-gateway ip_address and cache this address
So in my case, the only why to stupid receiving this spam mail, was for me to shutdown the gateway or remove the domain from the accept-mail-for domain xyz
Before I go that far, I'm going to harvest a few sender addresses, and build a pie chart of the GEO locations that these senders sits at. This would be a great project for a honeyspot
Stay tune.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( * * )=
o
/ \
Monday, January 5, 2015
Fortigate switch controller
The following models of Fortigates firewalls support a integral vlan switch controller.
What this means, " you can now group ports into a virtual switch ( layer2 partition ) and assigned a layer3 routed interface within the vlan ".
The above models have numerous local ports that facilitates this with ease. So you can create multiple vlans and groups ports within that vlan.
In this example, we will create 3 named vlans , apply our ports, and a virtual-switch-interfaces into each defined vlan. The latter gives us our layer3 routing gateway for the vlan.
1st let's define a managed vlan admin;
config switch-controller managed-switch
edit FS324P3W11000634
set fsw-wan1-admin enable
end
2nd define the named vlans ( here's our 3 named vlans; main/DATA/PHONES ) ;
3rd define the ports to the vlan mapping;
The ports on the PoE models, can be used for phones, but keep track of total instrument wattage usage.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( * * )=
o
/ \
FortiGate100D/140D/200D/240D FortiGate600C/800C/1000C
The above models have numerous local ports that facilitates this with ease. So you can create multiple vlans and groups ports within that vlan.
In this example, we will create 3 named vlans , apply our ports, and a virtual-switch-interfaces into each defined vlan. The latter gives us our layer3 routing gateway for the vlan.
1st let's define a managed vlan admin;
config switch-controller managed-switch
edit FS324P3W11000634
set fsw-wan1-admin enable
end
2nd define the named vlans ( here's our 3 named vlans; main/DATA/PHONES ) ;
3rd define the ports to the vlan mapping;
And lastly, we place some layer3 SVI interfaces into the vlans;
This is very similar to some cisco ASA, Juniper SRX and PaloAltos. The layer3 interfaces can now be used from everything such as packet sniffer, assigned dhcp-servers, vpn end-points and firewall policies applied.
The ports on the PoE models, can be used for phones, but keep track of total instrument wattage usage.
KeyPoints
- interfaces in the same vlan can communicate, there's no layer2 security-zone concept as what's is available in PaloAlto
- traffic between vlans, need a L3 SVI and firewall policies
- vlan contains broadcast and builds collision domains
- a limited fortigate models supports vlans
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( * * )=
o
/ \
Get in Sync with bitorrent sync
In this blog I wanted to comment on my evaluations of the bitorrent sync application. When we heard the words "torrent", we automatically start to think of bad things. In reality, bitTorrent is used for very good purposes from; cloud/p2p a syncing, building a dead drop, for linux distribution deliveries, and legal content deliveries. It's a very effective protocol for data delivery & very fast.
Basically this all started with me looking for a free or opensourced sync alternative verse the common unix rsync. My goals was a encrypted sync program , & to sync a few directory between a few hosts. I wanted a way to keep my music files sync between a few handful of devices. At the same time, it needed to be so simple that my parents could figure it out.
I end up using the bitorrent sync application due to ease , simplicity & the availability across a multiple of platforms.
The applications has various methods for controlling keys and the uses of external relay servers. The mobile application has power-savings and auto-sync setting.
( android )
The sync program gives simple status updates when a sync operation is underway. Any changes within the files in the added-sync folder, will kick-off a syncing event between peers with the same key.
The following link explains how this program works and about the key structure.
http://www.getsync.com/how-it-works
http://sync-help.bittorrent.com/
http://sync-help.bittorrent.com/customer/portal/articles/1628254-key-structure-and-flow
BitTorrent is not a bad thing & if used correctly.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Basically this all started with me looking for a free or opensourced sync alternative verse the common unix rsync. My goals was a encrypted sync program , & to sync a few directory between a few hosts. I wanted a way to keep my music files sync between a few handful of devices. At the same time, it needed to be so simple that my parents could figure it out.
I end up using the bitorrent sync application due to ease , simplicity & the availability across a multiple of platforms.
The applications has various methods for controlling keys and the uses of external relay servers. The mobile application has power-savings and auto-sync setting.
( android )
The sync program gives simple status updates when a sync operation is underway. Any changes within the files in the added-sync folder, will kick-off a syncing event between peers with the same key.
The following link explains how this program works and about the key structure.
http://www.getsync.com/how-it-works
http://sync-help.bittorrent.com/
http://sync-help.bittorrent.com/customer/portal/articles/1628254-key-structure-and-flow
BitTorrent is not a bad thing & if used correctly.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Saturday, January 3, 2015
PANOS config display options ( set or xml )
( TIP )
The PAN-OS config output can be display with either xml or set format by execution of these commands.
set cli config-output-format xml
or
set cli config-output-format set
This is similar to display-set for juniper JunOS ( e.g show | display set or show | display set relative ) . So if you don't want the PANOS default display output, your two other choices are to use set or xml format.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Friday, January 2, 2015
A look at inter links betweens SRX vr-instances ( logical tunnel interfaces )
In this post, I will demonstrate simple but effective interlinks for VirtualRouter-Instance traffic. Just like with my earlier meshed vdom and intervdom links posts for fortigates, the juniper method is just as simple.
1st here's my setup;
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
1st here's my setup;
So we have a inter-link between two Virtual-Router Instances
known as SOC01 and SOC02.
Since I was lazy and
didn’t want to tear down my SRX for this post, I built 2 loopback
interfaces; one in each virtual-router
instance ( SOC01 and SOC02 ).
These will be in our zone known as trust, where the
interlink are my outside untrust zone. In reality, these could have been a real
physical interface for the lan or a 802.1q interface for the lan access.
I will set a static route in each VR-instance for the
remote-loopback address and we will test our reach via the appropriate
VR-instance to the opposite VR-instance with a
simple ping request.
SecurityZones:
SOC01-untrust
SOC02-untrust
SOC01-trust
SOC02-trust
Interfaces:
LT-0/0/0 unit 1 1.0.0.1/30 ( VR-instance SOC01 )
LT-0/0/0 unit 1 1.0.0.2/30 ( VR-instance SOC02 )
Lo0.10 10.10.10.10/32 ( VR-instance SOC01 )
Lo0.20 10.10.10.20/32 ( VR-instance
SOC02 )
NOTE: The LT interface is known as a logical tunnel and is a virtual interface by all means.
- all interfaces in a SRX must be in a named security-zone including the LogicalTunnels intf
- you have to define the VR instance and apply the interfaces into that instance
- the interfaces are defind ( LogicalTunnel ) as a ethernet family so it has all the characteristics of a ethernet frame and uses arp
- all interfaces are in the default instance and route-table ( by default )
Okay let 's look at the cfg;
Finally we will test
from each VR-instance to the opposite loopback with icmp pings. If we had real
lan interfaces, we could have fwpolicies to allow traffic to the local network
hosts.
The Logical Tunnel interfaces helps us, by not requiring an
external router or wasting precious real interfaces on our SRX with carrying traffic between VirtualRouter-Instances. The traffic is carried
locally within the SRX fabric.
I hoped you found this post useful and witness how easily you can configure intra VirtualRouter-Instance links between multiple VRs. You could easily configured a dynamic
routing protocol such as bgp/ospf between the various peers if required.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Ken
Proposal selection for AES & fortigate
1st off , have a happy 2015 year.
This will be a interesting year for security vendors. It should be a great year to say the least. Mobility and Cloud security services will be the biggest thing watched for this year imho.
Now,
Within IPSEC vpn-tunnels & with the peers configured for multiple proposals, how can you really tell what proposal was used for the negotiated ipsec-SAs? Will I will show demonstrate a simple means on how you can determine what was finally negotiated , by just looking at the show vpn tunnel list output.
Take this vpn tunnel configured for aes 128/192/256 on a fortigate 100D.
Ken Felix
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
This will be a interesting year for security vendors. It should be a great year to say the least. Mobility and Cloud security services will be the biggest thing watched for this year imho.
Now,
Within IPSEC vpn-tunnels & with the peers configured for multiple proposals, how can you really tell what proposal was used for the negotiated ipsec-SAs? Will I will show demonstrate a simple means on how you can determine what was finally negotiated , by just looking at the show vpn tunnel list output.
Take this vpn tunnel configured for aes 128/192/256 on a fortigate 100D.
So this interface vpn has 3 possible choices configured for the remote-peer . The remote peer ( cisco ASA ) will be configure for aes256 aes192 and finally aes128 and I will show how the diag cmd output will reflect what was negotiated with this fortigate. This helps you in determining what the remote-firewall administrator actually configured & without the need to bother the remote firewall administrator.
Take a look at the key length in the following snapshot for the final ipsec-SAs.
( look at the red underlines and key-lengths )
Yes it's that simple. Key-length 32/24/16 reflects AES256/192/128 respectively for AES encryption.
So now you can determine what was used between peers that have multiple proposal configured. What I found out with cisco products. The strongest cipher is not always picked, the ordering of the proposals & first matched is what will determine what's finally selected.
take a typical cisco ASA crypto map configuration;
crypto map EXTERNAL_map0 10 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-256-SHA ESP-AES-192-SHA
AES128 will always be selected over aes256 or aes192, due to the ordering of the proposals. So if you wanted to ensure the highest probability, arrange the ordering to match your requirements. The same goes for hash-authentication method ( md5 vrs sha1 sha256 etc... ).
So if you run any debug and see you SAs failing remember the multi=proposals & always evaluate the pecking order.
NSE ( Network Security Expert) and Route/Switching Engineer.
kfelix -----a----t---- socpuppets ---dot---com
^ ^
=( @ @ )=
o
/ \
Subscribe to:
Posts (Atom)






















