Tuesday, March 20, 2018

Fortigate v5.6.x issues with

The 5.6.x fortiOS version seems to have a host of various issues. In this case we found out traffic-log is not logging  .



It was also found that  local-in-policy traffic is record


Also  check out this  cli awkwardness  ( both enabled and disabled  are  set ) ?





Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

Ken Felix


Monday, March 19, 2018

SSL certificate issuer mistake with private-keys

I saw this posted  that a certificate issuer mailed private-keys for over 20K certificate.



I have no comments , but  a lot of  organizations have poor  security practice when delivering  private-keys.


Unless the private-key where secured via  AESencryption and a strong passphrase, than they did a very wrong  action with sending private-keys via EMAIL.







Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

 

Monday, March 12, 2018

forcepoint vpn profile Ikev1/2

The forcepoint NGFW  appliances supports both ikev1 and ikev2 within it's  vpn-profile. The vpn profiles also  support blowfish and  AES128/256 , but not AES192.





So automatic  selection is allowed and you can use the log browser with a filter for VPN to see what was used for phase1 after  debug diagnostic for ipsec


note  barracuda-firewalls are the only other  firewall that I know of  that supports blowfish from a commercial vendor.

Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

Wednesday, March 7, 2018

FortiOS log brief explained

The FortiGate  { FTNT } security firewall offers a brief log format that available. This reduces certain fields in the log output.


The command to  enable this function is highlighted below.




fortinet  has a posted KB on what fields are deleted within the  brief-log-format.







You can inspect the log data output. Here's a tcpdump  output of brief & normal. The brief  mode will contain less payment and draw less amount of  bandwidth in heavy  log/per-sec environments.





Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

Monday, March 5, 2018

F5 LTM SSL client-ssl for PCI compliances

In order to be  PCI-DSS  compliance by June 30 2018, you need to  have disable  TLS v1.0 and any older SSL protocols ( !!which you should have already done btw!! ).

To do this  in a F5-LTM, it's quite simple. Just set the  disable  options for no tls1 and no ssl2 and no ssl3. You can also   trim down the cipher suite that you will accept.




You can use  SSLLAB or  HTBrigde to double  check that the ltm virtual-server does not  allow  those protocols.


Alternative you can monitor the  connections using sslscan or openssl or even  curl.

e.g







You can use  a online ASV  service also for PCI compliance checks and to ensure no glaring holes are left in your PCI compliance.


https://www.serverscan.com/PCI-Compliance-Scanning-Solutions-for-Your-Business

or comodo Hackerguardian

https://www.hackerguardian.com


( e.g comodo )








Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

F5 APM Watch Out for lack of ipv6-pool


When configuring a f5-apm for ssslvn, if you  define a ipv4+ipv6 access and have  have no ipv6 lease-pool configured, the client will fail the network_access  & be automatically  kicked out.


The event logs will display a error similar to below. Take note of the error before the session is terminated.





So the quick take away, do not define ipv6-access & without  applying a ipv6 pool.


Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

Friday, February 2, 2018

Validate TLS session-ID reuse

With TLS,  we have the ability to  reuse session-ID aka know as ssl-session resumption.

SSL re-usage is either ID or  Ticket base. In this example I will show you have to save  the "Session-ID" and cal it back using openssl and s_client  function.

1st you have to understand the Session-ID is a unique ID & establish by the server and client during  the SSL/TLS hello.

In this example, I'm building a save session-id file for google website by using the sess_out option




In this next example, I'm calling up  a saved Session-ID from  a file for the website  www.wwt.com and running it thru a loop. If the  server honors the  Session-ID it will be used thru-out the TLS setup and will not change.



So in this example the session-ID is  being honored and used during out future sessions.


The save Session-ID file contains data similar to the below



If session reuse was not honored, each newly established session will contain a new-session-ID

You can use the s_time function with   openssl to validate performance.


Notes;

  1. Session reuse  can decrease the  TLS  setup time
  2. allow for more connections in a give period
  3. reduce Server CPU computations by reducing the number of steps in the SSL handshakes
  4. Session reuse  can compromise  forward_secrecy  
  5. With Session-ID this ID is cache at the server
  6. Session-Tickets are stored on the client
  7. In regards to #6, if the session-id are compromised, a attacker can potential hijack a session by knowing  the Session-ID
  8. By doing any of the following 1> reduce the cache size or 2> cache-lifetime, you  can reduce  item#7 from above

review  one of my   previous posting about ssl flooding without actually  touch the application layer

http://socpuppet.blogspot.com/2013/04/ssl-negotiation-flooder-via-curl.html



Ken Felix




NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \