Wednesday, September 14, 2016

My PCNSE7 exam review

I finally took and pass the Palo Alto PCNSE7  exam  this AM. It like the PCNSE6 straight forward  questions.




Since I could't find any PaloAlto  PCNSE7 study materials, I used the following;



  • re-study PANOS6 and 7 cli commands
  • review the PCNSE7 blueprint material from PaloAlto
  • look at the various ACC tabs
  • remember the hard to forget test commands
  • re-read a lot of paloalto live notes on panorama


The combination and experience with  PANOS6 was what let me   get a passing score on the PCNSE7. It's challenging exam but not very hard if you have experience and put a few hours aside to read and study up on PANOS.



I used the pearsonvue exam-test center in  NE Austin off Dessau ridge road & Howard ln.


The challenging issues with PaloAlto are;


  •  no press books
  •  very limit  study forums or community forums information available ( I start posting PANOS blog information here in the next few months )
  •  very little collaboration amongst  security engineers


The positives;


  •    nexgewnfw  with cool application decoders
  •    great videos



 



PANW
https://www.paloaltonetworks.com/services/live-community





Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Friday, September 9, 2016

CRL certificate revocation checks

Here's a quick tutorial on how manually look &  query a CRL list for a certificate revocation status.

http://www.entrust.net/customer/crl_form.cfm

If you used Entrust  to sign a  certificate and you need to revoke it. You  can retrieve the  certificate serial# and the CA details from the certificate , and use the above link to query the certificate status.

Here's a certificate installed on a F5-LTM,  ( take note of the hex serialnumber  and the CA issuer  )



Next, we pop the serial# in the query input  ( after  selecting l1k ) and if it's revoked, you will get the status which includes the date/time of revocation







the openssl  utility is a good means also for gathering the certificate serial#,






eg

openssl x509 -in < certificatename.crt> -noout -serial




Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Thursday, September 1, 2016

GNUtls serv for testing certficates and keys

openssl has s_client and s_server support for testing  certificates. Within GNUtls   { gnutls-serv }  we have the serve option which mimic the  s_server function in openssl

Here's an example for load a server.certificate and key


 you will need   sudo  if you want to bind to a address below 1024





Even if we have a bad key or mismatch of the key+certificate , gnutls-serv  will complain on the certificate  and will not launch.




The GUNtls server is great for SSL/TLS checks pre-launch and give you great diagnostics. If you use a -d option and specify a integer you can give verbose information.







Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Tuesday, August 30, 2016

SNI checks for F5 VirtualServers

Using SNI ( server name indicator )  for a virtual-server in a host web environment that requires  TLS connections , is not un-heard feature.


The combined use of layer7 host header and SNI allows for one single address to host dozens or hundred of websites. To learn more about SNI review here.

https://en.wikipedia.org/wiki/Server_Name_Indication

A quick means for testing  support  for SNI support or no-SNI ,  is to use the common  GNUtls utility gnutls-cli without or with the --disable-extensions option.

Check out a Virtual-Server that was enabled for support in the client-side-ssl profile;



In this case my way port wifi provider intercepted my request for www.wwt.com, here's a direct request to the same size without and with SNI in the initial client-ssl hello.




If you happen to  initiate a ssl-session with the SNI extension disable the end-node does not support SNI & the clientssl profile defined for the default SNI is incorrectly set for "required", you will get a  ssl fatal error.



Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \


Sunday, August 28, 2016

F5 self address and the floater confusion

Confusion always comes up with a self address types. You typically have  a "real assigned" ipv4-address per-interface

A floater is another type of address that's "floats ( hence the word  floater ) between the active  F5 in a cluster

The reasons for the floater is required   for "inline" function where the clients or servers are routed using the  floater as a next-hop.

The other advantage for the floater is for the  determine which unit is actually active ( you can ssh and/or  HTTPS  ) and see the hostname of the  of the active unit

It's can also not be used for any configsync operations

And finally the floater address does offer any  http health checks or  even in-use for client-side SNAT.


Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \





Friday, August 26, 2016

Fortigate HA link uses telnet ( no-ENC )

When setting up a  HA link you need to be aware that with out  the encryption enabled, your HA traffic is in the clear.

What this means, anybody who creative can sniff traffic and gather  information. Here's what the cli cmd  diag sniffer packet port_ha "port 23"  shows







 You would think a security outfit would never use  telnet 



Enabling encryption for the  ha configuration is a must & is available from the CLI only.


Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \

Thursday, August 25, 2016

FQDN address policies fortigate FortiOS

I was using a  FQDN policy object in a firewall and want to share some simple tips that could come in handy. To review if the  FQDN is mapped & found,  you can use the following  cli command

    diag firewall  fqdn  list 

To purge ALL objects the following cli cmd

    diag firewall  purge

To set  specific TTL for caching, set the  TTL in the object  directly.

e.g

config firewall address
    edit  dns1
         set type fqdn
         set fqdn www.example.com 
         set cache-ttl 10
   end

In the above, "The firewall will conduct a  DNS lookup and refresh the local-cache ever 10secs if it has changed.

If the objects has multiple A records, it will  display all records attached;

FGT310C (root) # diag firewall  fqdn  list | grep www.etrade.com
www.etrade.com: ID(117) REF(1) ADDR(65.196.177.42) ADDR(12.221.217.42)
 

FGT310C (root) # diag firewall  fqdn  list | grep www.twitter.com
www.twitter.com: ID(19) REF(1) ADDR(199.59.149.198) ADDR(199.59.148.82) ADDR(199.59.150.7) ADDR(199.59.148.10)





A firewall object of type fqdn will use the   firewall local dns-servers settings to resolved the  FQDN.

 A FGT firewall will ALWAYS resolve a FQDN object regardless if it used in a firewall-policy 


A fqdn firewall address object that does NOT exist, will still be cached but with no  resolved address;

   diag firewall  fqdn  list
   List all FQDN:
   nohost.socpuppets.com: ID(140) REF(1)





be carefull  of bad FQDNs or no-such hosts, traffic will be blocked.




The firewall fqdn firewall-objects are ONLY applicable for ipv4 address, hosts with both A and AAAA resources will only display the A record. You can't do  fqdn type in address6



I haven't checked in FortiOS 5.4 to see if this feature has change




Ken

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

     ^      ^
=(  @  @ )=
         o 
        /  \