Tuesday, March 5, 2019

Securing DNS with HTTPS

DNS is one of oldest protocol on the internet. It has been around ever since mail,  and has to be 35+ years old if I had to guess.

Over 35+ years ago, the internet was a much safer environment. So now DNS based attacks are still being used & and is a  big problem for some organizations.


With an unreliable protocol  such as UDP for transport,  you opening the door for spoof'd flood attacks to a victim network.









Next, UDP/TCP is support for  DNS over port 53 but no privacy. Anybody can peek at your traffic and analyze your traffic patterns  based on just  DNS query/response between client-server.







DNScrypt and DNSSEC was two attempts to secure DNS but these dropped from popularity. DNScurve was also an alternative. I wrote about this over 5 years ago.



Two current method that's available & that address both issues comes up as ;


DoH or DoT ( DNS Over HTTP or DNS Over   TLS)

Cloudflare / Google  and a few others have support for bothservices and these can  prevent and protect dns-data traffic. 

You can  make a simple  dns query to cloudflare over http for testing.



Both { DoH| DoT }  uses TLS for encryption , the over head would be much higher but at the benefit of security and protection from  spoof attacks. It's nice to know with cloudflare and GooG they only handle HTTPS and not HTTP.


A DNS-2-DoH  server could allow you to integrate these functions  with little impact to internal hosts as far as integration since DoH is  a simple HTTP.GET

example



For cloudflare;  you must set application type of JSON for proper response if not they will deliver a 4XX response. Goog does not enforce that requirement and ignore that header.


FWIW: Google seems to be much simpler for DoH queries





quad9 ( 9.9.9.9 ) has been supporting  DNSoverHTTP





NOTE:     I'm very disappointed  that OpenDNS   now { Umbrella };  does not support DoH or DoT and has no plan to do so !








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

Tuesday, February 12, 2019

sidewinder pkg list download site

The following  link will allow you to query the  pkg.list for the sidewinder firewalls and download the packages.

http://pkg.sidewinder.downloads.forcepoint.com/pub/commandcenter/autoDiscovery.xml

You can use curl and download the xml data to a file & for later review.

NOTE: you do not  any user/login info

e.g



You can  call up any version by finding the URL

e.g


https://pkg.sidewinder.downloads.forcepoint.com/packages/sidewinder/8.3/






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

Wednesday, January 30, 2019

PCNSE


Image result for congratulations


Image result for congratulations

For my latest PCNSE the completion  gift is a polo shirt


In order to get shirt you need to set you shirt size in the fullfillment portal. I didn't not realize that, so I sat an waited for ever before I realized I had to  submit a short size .



Here's the shirt that was sent for the passing of the latest  exam



Image result for congratulations









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

VPN tunnel mtu issues

Standard vpn-tunnels and  GRE over IPSEC will encompass differences in the available path-MTU. In this  screenshot I will demo a simplest impact that these two tunnel encapsulation can makes over a basic 1500 byte path-MTU

1436 vrs 1400 bytes  over ruffly speaking 5%  reduction the standard ethernet  1500 bytes MTU.

So any tcp based application that has no  means for detecting PMTU can be greatly impacted.





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

Friday, January 25, 2019

How to find out sg-commands that was issued on a Forcepoint NGFW

To find out a basic wildcard  search for commands issues on a NGFW you can use a "*" during the a log browser query.

The  filter type is "Information Message:" . In this example I've inserted the following sg-*

See screenshot;


Log browser querying is very easily execute and audit tracing is simple as 1-2-3






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

Friday, January 11, 2019

Mcafee sidewinder health monitors are kicked out typically every min. You can query these values to  gather  over  system status at that time_interval, and by using the acat ( audit cat )  tool locally on the sidewinder appliance.

Here's a few samples of the execution of the  cli-cmd & the expected output


acat -ae "area hmon and type top"



Since these are  on a 1min interval, you could  query any "top" status at that minute interval to find out performance indicators at that time-range

acat -ae "area hmon and type top and  stime 20190111160000 and etime 20190111160000" /var/log/audit.* 


To get  sessions counts we have a similar  check that we can call up from the  audit logs

acat -ae "area hmon and type geninfo and  stime 20190111160000 and etime 20190111160000" /var/log/audit.* 



Remember to use  /var/log/audit.*  to ensure you   query all logs if your not reading the most current  logs details.

The Sidewinder acat is a powerful audit tool





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

Thursday, January 10, 2019

Mcafee  sidewinder  reports types

Here's  a few reports that are available in the sidewinder firewall appliance



You can use the man cf_usage to get an ideal of what reports that can be executed

Each reports type has a time measurement of hours or days as shown in the following screen shot



You can only use hour or day but not both at the same time and anything out of range will be meet with a error and the expected range



 cf usage show type=traffic_by_destination-ips 
 cf usage show type=traffic_by_source-ips 
 cf usage show type=traffic_by_access-control-rules 
 cf usage show type=report_name
 hours=<X>

 cf usage show type=report_name
days=<X>

man cf_usage for more information






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