34
Extending Security of your AWS Infrastructure with OpenSource Tools Applicable to Azure and mostly other clouds.

Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Embed Size (px)

Citation preview

Page 1: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Extending Security of your AWS

Infrastructure with OpenSource Tools

Applicable to Azure and mostly other clouds.

Page 2: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 3: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Swiss Army Knife

Page 4: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 5: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

About pfSense Appliance

●pfSense® - World's Most Trusted Open Source Firewall

●Available as Virtual Appliance in AWS & Azure.

●Get it from Marketplace.

Page 6: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 7: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 8: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Single Entry Point for Administration with

SSH or Control over SSH

Access

Page 9: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

PfSense As JumpBox

●Another ready-made solution.●NAT + Firewall Capabilities●Support Inbound NAT with Port

Forward.

Page 10: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Responsibilities●NAT Gateway+ Port NAT

Monthly Price Advantage : $25

Yearly Price Advantage: $300

●Bastion Host

Page 11: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Typical Aws ELB Infra

Page 12: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Limitations with ELB● No HTTP ACLs ● No HTTPS redirect from ELB ● No SSL Client Auth● No SSL SNI Support.

(Got introduced in ALB)

Page 13: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Elastic LB or HA Proxy●ELB is a great product. still with limitations.

Page 14: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

ELB replaced with HAProxy

Page 15: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

IF we use HAProxy.●ACL with various regular expressions, Black listing.●More Frontend and Backend Options.●Better Monitoring Options.●Re-Configurability./Customisations.● HTTPS redirection from HAProxy itself.●SSL Termination with SNI.( Multiple SSLs and Multiple IPs)

● SSL Client Authentication.

Page 16: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 17: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Responsibilities●NAT GW + Port NAT + Network FW

+ Bastion Host + Load Balancer + Web Application Firewall

Price Advantage Monthly : $50/-Price Advantage Yearly : $600/-

Page 18: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Remote Access VPN●In AWS, No Ready Solution.●Marketplace has many options

●PfSense works as the most Cost effective.

Page 19: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

WoW ! It is worth the money

Cisco Cloud Router $2233/year + AWS Instance Charges

Fortinet Firewall with VPN $1992/year + AWS Instance Charges

PaloAlto Firewall with VPN $4500/year + AWS Instance Charges.

Sophos UTM $788/year + AWS Instance Charges.

Netgate pfSense Firewall with VPN $600/year

You can run a t2.nano pfSense for $75/year

Page 20: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Responsibilities●NAT GW + Network FW●Bastion Host●Load Balancer + Web Application

●Remote Access VPNPrice Advantage Monthly : $50 +$116 = $166Price Advantage Yearly : $600+ $1392 = $1992

Page 21: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Site-Site VPN●Extends your Office network securely.

●No need to have endpoint client softwares.

Page 22: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Options.●AWS Managed VPN Gateways.

●pfSense VPN Gateway for Site-Site Access.

Page 23: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

AWS VPN Gateway

Page 24: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Replace with pfSense

Page 25: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Advantages of pfSense over AWS Managed

Solution.●AWS is restricted with only ipSec option.

●PfSense has more options like ipSec, OpenVPN, Tinc, etc.

●No Added price for additional Tunnel.

Page 26: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Responsibilities● NAT GW + Network FW●Bastion Host●Load Balancer + Web Application ●Remote Access VPN●Site-Site VPN ( OpenvVPN / ipSec)

Price Advantage Monthly: $166 +$73 = $239

Price Advantage Yearly: $1992 + $876= $2868

Page 27: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

IPS Solutions● No Ready Made Solutions.● Market place has options like

Alert Logic / McAfee

Page 28: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

PfSense Options.● Snort IDS / IPS● Suricata IDS/ IPS

Can use it as Host/Network IDS

Rule Sets are available for HTTP/SMTP/POP3S/IMAPS/ Apache etc.

Page 29: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort
Page 30: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Responsibilities●NAT Gateway●Bastion Host●Load Balancer + Web Application ●Remote Access VPN●IDS/ IPS Functionalities

Price Advantage Monthly: $239 +$198 = $437

Price Advantage Yearly: $2868 +$2376 = $5244

Page 31: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Redundancy and Failover

Possible to Setup Failover of pfSense Instance With Carp.

Round-robin DNS Records

Page 32: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Now your AWS Infra is more Secure and fit more to your Pocketwith Single Device.

[email protected] FCOOS

Page 33: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Questions. ?

Thank You

Page 34: Extending Security of your AWS Infrastructure with ... · of your AWS Infrastructure with OpenSource Tools ... PaloAlto Firewall with VPN $4500/year + AWS Instance Charges. ... Snort

Other OpenSource Tools

●Fail2ban:

Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc

●Scout2:

Scout2 is an open source tool that helps assessing the security posture of AWS environments. Using the AWS API, the Scout2 Python scripts fetch CloudTrail, EC2, IAM, RDS, and S3, configuration data