Monday, November 23, 2015

howto submit files for analysis via WildFire

The Palo Alto  wildfire portal allows for you to submit files for analysis using the WildFire Analysis within the security policy. The process requires you to have a PA firewall  license and portal access & reachability.



The firewall can also submit suspect files also. In this post we will look at a manual process. You have upto 1K submittals that you can do per-day. The hard coded default size limits is 10MB or less. Not all files are supported.

 

 

After submittal , you can use both the dashboard or summary to get  status on file verdicts.

Ensure tcp-port 443 is allowed to  wildfire.paloaltonetworks.com  if you are behind a upstream filter or firewall.


 





 




The WildFire reports are detailed and can provide insight with it's findings.

 


If you fear the public cloud approach, you can purchase a  WildFire Appliance and perform localize analysis on the appliance. This approach along with the  fireEye appliance,  is widely accepted in SOC environments.


A good source for  malware samples are available at the zoo  http://ytisf.github.io/theZoo/

Sunday, November 22, 2015

Palo Alto M-100 modes

The M-100 appliance from  PaloAlto can run in 1 or 2 modes

  •  Panorama 
  •  log-collector

You can change the mode from default Panorama to log collector by issuing the following cli cmd;

request system logger-mode logger  . Once your in log-collector mode your access is only accepted via ssh ( no WebGUI )

Which mode you take depends on your security needs. Keep these thoughts in mind.

  • Panorama mode can collect logs & conduct  management
  • The log-collector  can collects for  more  than one firewall
  • If you ever wanted to  restore a log-collector appliance back to panorama mode, you will loose your logs unless you back them up
  • You can forward specific logs types ( i.e traffic or system or threats, or configs , or wildfire ,etc.....  )

  •  Don't forget to enable log_forwarder for the fwpolicies you want to log for
  • Have a plan on what you want to accomplish with logging and how much logging you need 

NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Tuesday, November 10, 2015

PANOS and FortiOS differences by soc puppets

In this blog, I will like to list 26 differences that one might encounter between these 2 firewall appliances  Palo Alto PA series and the Fortinet Fortigate.


1st

PAN-OS  has better event  logging & numerous logging options. You also have multiple logging servers to add with custom syslog profiles per server. You can also deploy more custom filters for logging. PAN-OS also support tcp/udp and ssl for logging requirements which is a nice plus. The Fortiagtes are nowhere close in function and relies on a 2nd appliance fortianalyzer to even offer half of this feature.

#2

The smaller series of  the PaloAlto appliance,  also has a auto or manual fan controls which is  great  if your in a smaller office and concerned over generating excessive noises.

#3

Regular log export ( aka rollup ) exist within  PAN-OS 7.x that helps with  gathering logs from off the appliance. Your choices of protocols are scp/ftp

#4

FortiOS has DHCPv6 support,  but you have to configure this via the cli. PAN-OS has no such thing outside of DHCP for ipv4 services. IPv6 network and systems feature are growing in  the PaloAlto.

#5

FortiOS pppoe support is very good, but  (pppoe) is sill missing within PaloAlto PAN-OS series and nothing on the TBD roadmap.

#6

RBACs support under PAN-OS is light-years ahead of FortiOS. You can offer and control roles much better,  and with greatly flexibility within your administrator profiles.

#7

OPSFv3 support has been included since  6.1 and with AH/ESP security in PAN-OS lineup. FortiIOS has OSPFv3 protocol support but without security

#8

Application awareness and controls is present in both, but PAN-OS leads the market in this area and has better and accurate user and app-identifications.  Both of these are highly developed and provide drill-down insite to  both the "who" and  "what" is doing anything on the network. This is a selling point for PAN-OS in general ! So a infected hosted could easily be ID'd and the same for applications regards of tcp/udp port services.

#9

Fortinet has more available  models of security appliances for your security needs. PAN-OS is limited to maybe 10-12 (including virtual  ) models and just recently add a manager-appliance.

#10

PaloAlto are not cheap,  and not easy to buy without going thru a dealer/re-seller and a time consuming process.

#11

Application and Traffic monitor is so much better in PAN-OS.  PaloAlto has improve this function to peel back multi-layers to provide the security admin information on what's happening under the sheets so to speak.

#12

PaloAlto uses the juniper  "commit/revert"  like function that allows you to preview or peer review changes. IN the same breath we can also revert and run diff in the same fashions like JunOS. Fortinet relies on the fortimanager ( a off appliance tool ) to accomplish the same thing and yes that means more $$$$.$$

#13

The packet capture and packet viewer is simpler in function,  and with numerous verbose show levels within PAN-OS .

#14

Reporter and exportation off the PaloAlto appliance is light-years ahead of fortinet. It's hard not to run a report and not find out what's going on &  in your network.

#15

Fortinet has better support for smaller users models. This leading issues make it a great and affordable firewall  for covering  the bottom and top-end users. The PA-200 is the smallest unit currently, lacks wifi, and is limited to 4 user traffic ports with 100mbits for the PaloAlto series and it comes with a bigger price tag ( $$$$ ).

#16

PAN-OS  has a superior global object find, which speeds up locating where a object are configured at. This could be a name, ip_address or just about anything. FortiOS has no such beast outside of maybe a fortimanager. The old method of  the slow "show w/grep" is all that you have.

#17

Config/Committal lock outs. This is a feature stole from the Juniper junos that PAN-OS make available in the  PaloAlto series. FortiOS has nothing similar. so multiple administrators could collide and bump heads when performing configuration tasks.

#18

Fortigate offers 1 or 2 USB port for backup interface, usb-3gmodem, local backups, etc... The PaloAlto series has a usb slot present , but currently is not available to the OS.

#19

FortiOS has netflow and sflow, but PAN-OS is limited to just netflow and not all models support bi-directional netflow ( btw the same issues exists with cisco ASAs)

#20

The FortiOS has support for HA within almost all models, but PAN-OS supports HA and HA-Lite on the smaller PA-200, the latter does not sync-sessions and provide a active<->standby only that 's semi-warm. ( If the active dies, all sessions dies with the active firewall )


#21

The Palo Alto wildfire is far advance with  malware detection and the in cloud threat intelligence is superior and probably 2nd to let's say Fire Eye and that's a very close 2nd.

#22

The PaloAlto offer  virtualsystems ( aka vsys )  which are like  Fortigate vdoms but you can share objects within mutltiple virtualsystems.  One issue within this area, not all chassis support vsys. Inter-vsys traffic controls are better handled & controlled than vdom-interlinks  & the shared gateway and eliminate overhead with multiple vsys and sNAT.

#23

Fortinet has been around for a while and IPO a few years ahead of PaloAlto, but the final stand out review, PaloAlto takes network security more seriously and more precised in identifying threats.

#24

Fortinet support has been lacking imho. PaloAlto does so much better in ticket pickup and response.

#25

Fortinet fortigard AV subscriptions has more dynamic updates than the Palo Alto database. You could go 2-3 days before a dynamic-update for AV is provided.

#26

Subscriptions are better handle in  PANOS but also cost more than in FortiOS. You basically have everything in PaloAlto but at a cost & with a price tag ( Virtual System , App-ID, threats, AV, wildfire,etc.. )

#27

FortiOS vdom resource limits has more option with  limits set per vdom. Vsys and vsys-limits are quite new in PANOS


#28

PANOS  Large Scale VPN allows for quick remote configurations for  spoke to hub(s) design. FortiOS has no such feature.

 
In a nutshell, these 2 vendors but has a great firewall product & with many whistle and bells. In regard to selecting your NGFW, you need to have a goal in mind and determine what's your needs. PaloAlto is the object to watch and is a leader by all means but the price comes as heavier bill.



I could go on and on with  many differences, but PAN-OS has always been weaker with network features & overall thru-put  with higher latency,  but it is light-years ahead of the pack in pure firewall UTM threat detection, and applications controls.

Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Friday, November 6, 2015

How to change fortinet email support account

I was looking at something for a site and how to change the email profile account and like PaloAlto it's easy as  1 2 3.

Just login and go to your user profile by clicking your username in the upper right corner.

https://support.fortinet.com/




The menu at the right will have a change email. Populate and confirm  the new email and submit.


Yes it's that easy!




Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Thursday, November 5, 2015

EV certificate and how do we know if one is installed

EV ( extended validation ) certificate are all SSL/TLS web-based certificate that are issued by a CA that does "extended validation " of the requester.

What this means to me and you?

The requester is vetted to ensure that they are who they are and has a higher degree of criteria  to meet to ensure they are in the business that claim to present. This helps ensure fraud & phishing attacks are reduced.

To acquire a EV cert take slightly more time, since the signing CA has a few additional steps, checks and requests to under take. It can take anywhere from  3-10 days to acquire these types of certificates.

If your bored,  the CAforum has a EV guideline that you can search & read for the latest revisions and requirement. This breaks down the guideline that the CAs must execute and what's involved in the process.

Who uses EV certificates? 

Most banks, online markets , any sites  where electronic  commerce & the potential for crime or fraud are higher.

Here's a few website that demo in firefox that are  protected by a EV certs ( notice the green bar   ?? )






So the sites that have the greenbar are protected by a EV certificate and the end browser makes a visual clue to you that the site has been validate.


So what browsers support this this level of check? Most modern browsers from Firefox / Chrome and IE10, Opera.


You can use  openssl to view certificate and match the oid for the x509 extensions for EV. In this example here's the a EV certificate for USAA-BANK which also happens to be a multiple Subject Alternate Name certificate is being displayed.







OID check website
 
http://www.oid-info.com/cgi-bin/display?oid=2.16.840.1.113733.1.7.23.6


A if you haven't figure it out, a EV type of certificate cost slightly more.
e.g


Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \



Subject Alternative Names mutilpe hosts domains

A certificate can be used for multiple hosts and domains.  I believe there's no #limit on many can be installed but some  CAs will set limits during signing. I figure they are concerning with making money ;)

These certificates are also referred as Multiple Domain or  UCC and can be a mix of wildcards and Multi-Domains. So the Subject Alternate Name field could have multi sites or even with multiple wildcards.

e.g

  site1.domainname.com
  site2.domainname.com
  site3.domain.org
  site.domain2.com
  *.yourdomain.com
 *.someotherdomain.com
 myname.domainxyz.com
  site1.domain1.net
  info.domainnamehere.com
 asite.mydomain.biz


The Subject alternate Names field in the certificate will always show you  he hosts that it can protect  & regardless if they are wildcards or not.


e.g ( using openssl to read a x509 certificate details  for multi domains)


And by picking a few hosts outs, we can match the  certificate serial # to know that the same certificate is being used for the sites listed.

e.g ( using openssl to validate cert serials # )



This goes back to certificate chain of trust and anywhere along that chain  that compromised can impact host(s). A attacker that compromise this certificate  by gaining access to the private-key could in fact gain access to encrypted data for any of the domains list in the Subject Alternate Name.

  • The advantage; of multiple Subject Address Names, you can protect multiple sites with just one certificate ( great for a webhosting business )

  • The price could be better from a web-hosting or a enterprise  corp that has multiple satellite DBA and where a "*" wildcard is not applicable  

  • From a SSL decryption the  multiple names allows for a 1 configuration or ssl-decryption-policy for X amount of sites
  • The dis-advantage, if the certificate is compromised and revoke, you can effect multiple sites from a risk , time or cost factor

  • Any of the foreign  website that uses this private-key for the certificate and has access , could potential have access to your data if they where MiTM ( man in the middle )


Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \

Tuesday, November 3, 2015

OSPFv3 AH authentication IOS-XR

Five ospf routers goes to Kalbin McCormick's bar.  Who get's the car keys?  The designated router !

Okay a lame joke  : )


OSPFv3 supports either Authentication or Encryption for OSPFv3.  OSPFv3 supports both unicast address families for ipv4 and ipv6. If you recall theses earlier posts of mine where I discuss a simple OSPFv3 configuration.

http://socpuppet.blogspot.com/2013/12/ipv4-ospf-routing-with-ospfv3.html

http://socpuppet.blogspot.com/2012/11/exploring-ipv6-ospf-routing-on-cisco-asa.html



In this blog I will show you just how easy it is to  craft a SPI and ipsec for IOS-XR using authentication. Here's a basic OSPFv3 configuration with no authentication.



1st you will need to define a SPI values. Here's I'm using a SPI #256 with the password defined.



trick: use  the unix md5 hasher  to build a string if you don't want to count out the characters. This can save a lot of time and you can easily define a value if you define not enough character the command will failed when you try to commit.


 Now the show command will net the  details for the interface and you can see the  SPI# and that authentication is enabled.



A tip;  the ospfv3 protocol requires a  defined ipv4  "router-id" value. So that means it will select a ipv4 address and if a loopback access, it will use that address. But what if you have a ipv6 only network, and no ipv4 interface? You can "define" any ipv4 address regardless if it's a real in-use address on the router.



Now by using  tshark and by displaying a packet.capture, here's how your ospf header looks like now. Notice the value are not encrypted because we have authentication-header enabled.


And here's a ospf  header with no authentication-header attached;



note: the use of authentication header  #51 will increase the packet size by 24bytes.

If you want to use SHA1, the cfg is similar just the hash needs to be 40 characters. You can use a sha1 generator if it helps with crafting the  hash value.

In all setups, the OSPFv3 with AH  will allow you inspect the OSPF_header and you can trouble-shooting 99% of the neighbor_adj issues by looking at the AH and OSPF headers.


Just like with ipv4 and OSPF you will need to ensure the following;

  •    OSPF timer match hello/dead
  •    router-id are set and unique for all ospfv3-speakers
  •    SPI# number match ( for Authentication ipsec )
  •    AH authentication type matches ( all devices need to be  the same algo md5 or sha1)
  •    AH hash ( aka password value is the same across all OSPFv3 speakers )
  •     and finally the same OSPF area type ( stub , backbone, NSSA, etc.......) 

 keep in mind if you use encryption you can't  see these issues since the packets are encrypted. With IPSEC-AH you can easily diagnose most OSPFv3 issues with ease & without access to the router/firewall.


With in cisco IOS/IOS-XR all OSPFv3 log messages are listed with the ipv4 router-id. So IMHO if you don't run  ipv4 natively you want to ensure your router-id matches the ipv6 address to same degree

e.g
ipv6 == 2001:db8:199::1   ipv4 == x.x.x.1
ipv6 == 2001:db8:199::2   ipv4 == x.x.x.2
ipv6 == 2001:db8:199::3   ipv4 == x.x.x.3

It's hard enough trying to match devices  to what router went down/up  by the log messages when you have a ipv4 address that's not carried or known readily .


A sample  show neighborship command ASR9001;


Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com

     ^      ^
=(  @  @ )=
         o 
        /  \