SlideShare uma empresa Scribd logo
1 de 23
Firewall
Penetration Testing
In Computer
Chirag JainScience
Presented by:
INTRODUCTION
• A firewall is a device that controls what gets in and comes out of
our network. The firewall is placed between an organization
network and the outside world.
• We may want to protect information inside our network from
being accessed by building internal firewalls. The outside world
can be the Internet or another (untrusted) corporate network.
• If we want to provide access to the general population to a part of
our services then
we have to establish a
demilitarized zone DMZ.
Types of Firewalls
Packet filtering gateways use
Packet filtering gateways use
the source or destination host
the source or destination host
to determine if the packet is
to determine if the packet is
allowed to pass the gateway.
allowed to pass the gateway.

Application level gateways (Proxies) do
Application level gateways (Proxies) do
not rely on general purpose
not rely on general purpose
mechanisms to allow traffic to pass but
mechanisms to allow traffic to pass but
use special purpose code for each
use special purpose code for each
desired service.
desired service.

Packet filtering
Packet filtering
gateways
gateways

Application level
Application level
gateways
gateways
LIMITATIONS OF FIREWALLS
While firewalls have their undeniable advantages in
providing network security, they have also their
limitations.
We are connected to the outside world by a router,
which is our typical single point of failure.
Limitation
1. Quite costly
2. Traffic flow on the Internet is high today
3. Transmission rates are falling
EVALUATING A FIREWALL’S
SECURITY

• Before we buy a firewall or at least after we
install one, we want typically to evaluate the
security this device provides. To do so, we
have principally the following options.
EVALUATING A FIREWALL’S SECURITY
o
o
o
o

Vendor information
Design analysis
Examine Logs
Firewall testing

Block

The firewall vendor can provide us information on the level of
trust that can be expected from a firewall.
1. It is true, that they know their creation best but they also will never be
objective.
2. At one hand, they will not be too thrilled to point you to a potential
weakness in a highly competitive market.
3. They will maybe not flexible enough to objectively rate the dangers
posed to this design.
EVALUATING A FIREWALL’S SECURITY
o
o
o
o

Vendor information
Design analysis
Examine Logs
Firewall testing

Block

The second possibility would be a design analysis. We get as much
design information on a particular product and preferably the source
code and you begin to dig for security problems.
1. Time consuming.
2. Requires considerable knowledge on firewall
implementations.
Example, to have a look how the firewall is handling buffers and buffer
overflows would be surely one of the many points to check.
EVALUATING A FIREWALL’S SECURITY
o Vendor information
o
Design analysis
o Examine Logs
o Firewall testing

Block

For this, we install the firewall and set up the filter rules according to
our policy. After a certain amount of time,we examine the logs in detail.
By examine the logs, we can detect and correct it.
There are principally two problems
1.When we find a security problem by examining the logs it can be
already too late and an intruder can already have broken into our
systems.
2.Second, logging will never discover all attempts that have been made,
and if we had a “smart” intruder, logs may have been altered.
EVALUATING A FIREWALL’S SECURITY
o
o
o
o

Vendor information
Design analysis
Examine Logs
Firewall testing

Block

With this technique, we perform tests to attempt to penetrate
the firewall as well as to bypass it.
Technical problems such as known vulnerabilities as well as
misconfiguration and badly implemented security
policies are exploited, if possible.
Principally, we challenge the firewall from a hackers
standpoint.
PROBLEM OF FIREWALL
PENETRATION TESTING

• The problems begin when you want to find information on this
topic.
• There is not really much publicly available.
• In addition to the limited amount of information, [tools].
• Another problem that we face with firewall testing is, that it is
not as advanced as the design of firewalls.
• who performs the penetration testing.
o Testing by the vendor
o Hiring hackers
o Do it ourselves
o Third party
o
o
o
o

Testing by the vendor
Hiring hackers
Do it ourselves
Third party

• We don’t install firewalls solely by ourselves; the vendor is
involved with it as well. Therefore during installation, they
should already consider all the security problems.
• If vendor can come up with new threats during the testphase that they did not think of during the design or
installation of their product.
• Another thought is that the vendor of a product is maybe
less creative when testing it as they know too well what is
working on their firewall.
o
o
o
o

Testing by the vendor
Hiring hackers
Do it ourselves
Third party

• Hackers may have the technical knowledge to test a firewall,
but we can’t believe that they can maintain integrity to
ensure that your company’s secrets are safe with them.
• They probably obtained their knowledge with attempts to
break into foreign systems (maybe yours).You will never be
sure that hackers won’t make any security holes they find
available to other hackers and/or download access or alter
your proprietary information and data.
o
o
o
o

Testing by the vendor
Hiring hackers
Do it ourselves
Third party

• Third, firewall testing can be done by the company’s employees
themselves. Here, we have to make sure that the people that are
involved with installing or arranging/ updating the firewall are not
doing the testing.
• Tests have to be performed by an independent group. Principally,
what we are looking for is integrity, independence, and experience.
• Another important rule is that the technical capability exists to
perform the testing and last but not least that the testers have the
ability to formulate the test results in a report in an understandable
(also by non technicians) way.
FIREWALL POLICY
An internet firewall policy should contain the following points:
 Security Requirements
 Access control
 Assurance
 Logging
 Alarming
 Availability
 Required Functionality
 Outgoing services
 Incoming services
 Services provided to the internet
METHODOLOGY
The firewall testing is structured in the following four steps:
1.Indirect information collection
2.Direct information collection
3.Attack from the outside
4.Attack from the inside
1. INDIRECT INFORMATION
COLLECTION

• First, we want to find out as much as possible about our
target. To do so, we collect information first in a way that can
not be detected by any logging or alarming system.
• Use publicly available information from sources outside the
network.
• These are services like nslookup or whois to get an idea
about the structure of the targeted network.
2. DIRECT INFORMATION
COLLECTION

• We would typically begin with looking for additional information
that the company’s name server could have been stored on
the network topology.
• Valuable information can also be discovered in bounced mail
headers.
• If we want to get more information on vital systems in our target
network, we can send an email message to a non-existent user.
To get other topological information, we use automated tools like
SATAN that perform this task for us.
3. ATTACK FROM THE OUTSIDE
• Our targets are on one hand the firewall but also other designated
systems like WWW server or hosts that seems to have a
connection to the outside world.
• This can give us additional advantages if the firewall trust these
hosts or there were also examples that the file system of the
firewall was mounted to the WWW server for easier maintenance.
• Packet Filtering Firewalls
– Blind IP Spoofing Attack
– Non blind IP Spoofing Attack
– Source Porting And Source Routing

• Proxy Firewalls
4. ATTACK FROM THE INSIDE OF
THE NETWORK
• Before the firewall was installed, an employee could telnet into its
computer during non office hours and check the mail or send his
newest papers to a friend using FTP. Even worse, access to the
internet (surfing) can be disabled (or audited) for a group of users.
There are a lot of reasons that someone is not too happy with this
firewall and he (or she) can try to disable it to gain back the old
capabilities. In this case, the target is the firewall or probably more
often the operating system on which the firewall is running. This
belongs now not any more to network security but more to host
security as this specific host (the firewall) is attacked. There are a
few quite good tools that you (and anyone else!) can use to test
for OS vulnerabilities (SATAN, ISS).
TESTING TECHNIQUES/TOOLS
• Until now, I have described the methodology on firewall
testing and how we are doing it in theory now we look how to
perform an actual test.
There are four approaches:
o Manual probing
o Interactive testing
o Security Scanners
o Hacking tools
CONCLUSIONS
• In addition, it’s quite hard to get valid information on how to
do the testing. However, if a penetration test is done
properly by experienced people it can give us a valuable
feedback on the effectiveness of a firewall.
• These penetration tests have to be conducted regularly as
firewalls are “eroding” with time.
• Repeated firewall testing gives us a feedback if the firewall
is maintained properly and no holes are punched through
that could be exploited by hackers.
REFERENCES
[1] Boran Sean, IT Security Cookbook, Draft V0.84 1996
[2] Cheswick / Bellovin, Firewalls and Internet Security,Addison-Wesley, 1994
[3] daemon9 / route/ infinity, IP-spoofing demystified, Phrack Magazine 48,
http://www.fc.net/phrack/files/p48/p48-14.html
[4] Peter Stephenson (interview), Cracking an Internet Firewall,
http://www.venida.com/file/white/infosec1.htm
[5] Schultz, E.E. (1996) Effective Firewall Testing. Computer Security Journal
[6] Philip R. Moyer, A Systematic methodology for firewall Penetration testing
Thank You
Chirag Jain
about.me/chiragjain
twitter.com/iChiragJain

Mais conteúdo relacionado

Mais procurados

Derinlemesine Paket İnceleme (Deep Packet Inspection)
Derinlemesine Paket İnceleme (Deep Packet Inspection)Derinlemesine Paket İnceleme (Deep Packet Inspection)
Derinlemesine Paket İnceleme (Deep Packet Inspection)
BGA Cyber Security
 
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewalls
Castleforce
 

Mais procurados (20)

Temel Linux Kullanımı ve Komutları
Temel Linux Kullanımı ve KomutlarıTemel Linux Kullanımı ve Komutları
Temel Linux Kullanımı ve Komutları
 
Metasploit El Kitabı
Metasploit El KitabıMetasploit El Kitabı
Metasploit El Kitabı
 
Firewall
FirewallFirewall
Firewall
 
Derinlemesine Paket İnceleme (Deep Packet Inspection)
Derinlemesine Paket İnceleme (Deep Packet Inspection)Derinlemesine Paket İnceleme (Deep Packet Inspection)
Derinlemesine Paket İnceleme (Deep Packet Inspection)
 
Firewall
FirewallFirewall
Firewall
 
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewalls
 
Siber Guvenlik ve Etik Hacking -1-
Siber Guvenlik ve Etik Hacking -1-Siber Guvenlik ve Etik Hacking -1-
Siber Guvenlik ve Etik Hacking -1-
 
Port scanning
Port scanningPort scanning
Port scanning
 
Pen test methodology
Pen test methodologyPen test methodology
Pen test methodology
 
Firewall and Types of firewall
Firewall and Types of firewallFirewall and Types of firewall
Firewall and Types of firewall
 
Cisco Security Presentation
Cisco Security PresentationCisco Security Presentation
Cisco Security Presentation
 
WEB ve MOBİL SIZMA TESTLERİ
WEB ve MOBİL SIZMA TESTLERİ WEB ve MOBİL SIZMA TESTLERİ
WEB ve MOBİL SIZMA TESTLERİ
 
Types Of Firewall Security
Types Of Firewall SecurityTypes Of Firewall Security
Types Of Firewall Security
 
Açık kaynak kodlu uygulamalar ile adli bilişim labaratuarı kurma son
Açık kaynak kodlu uygulamalar ile adli bilişim labaratuarı kurma   sonAçık kaynak kodlu uygulamalar ile adli bilişim labaratuarı kurma   son
Açık kaynak kodlu uygulamalar ile adli bilişim labaratuarı kurma son
 
Ethical Hacking n VAPT presentation by Suvrat jain
Ethical Hacking n VAPT presentation by Suvrat jainEthical Hacking n VAPT presentation by Suvrat jain
Ethical Hacking n VAPT presentation by Suvrat jain
 
Beyaz Şapkalı Hacker CEH Eğitimi - Bölüm 1, 2, 3
Beyaz Şapkalı Hacker CEH Eğitimi - Bölüm 1, 2, 3Beyaz Şapkalı Hacker CEH Eğitimi - Bölüm 1, 2, 3
Beyaz Şapkalı Hacker CEH Eğitimi - Bölüm 1, 2, 3
 
Zararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab KitabıZararlı Yazılım Analizi Eğitimi Lab Kitabı
Zararlı Yazılım Analizi Eğitimi Lab Kitabı
 
12 palo alto app-id concept
12 palo alto app-id concept12 palo alto app-id concept
12 palo alto app-id concept
 
7 palo alto security zones & interfaces concepts
7 palo alto security zones & interfaces concepts7 palo alto security zones & interfaces concepts
7 palo alto security zones & interfaces concepts
 
Zafiyet tespiti ve sizma yöntemleri
Zafiyet tespiti ve sizma yöntemleriZafiyet tespiti ve sizma yöntemleri
Zafiyet tespiti ve sizma yöntemleri
 

Semelhante a Firewall Penetration Testing

Semelhante a Firewall Penetration Testing (20)

Firewall
FirewallFirewall
Firewall
 
Vapt life cycle
Vapt life cycleVapt life cycle
Vapt life cycle
 
The Art of Penetration Testing in Cybersecurity.
The Art of Penetration Testing in Cybersecurity.The Art of Penetration Testing in Cybersecurity.
The Art of Penetration Testing in Cybersecurity.
 
Firewall ppt.pptx
Firewall ppt.pptxFirewall ppt.pptx
Firewall ppt.pptx
 
DEF CON 23 - Wesley McGrew - i hunt penetration testers
DEF CON 23 - Wesley McGrew - i hunt penetration testersDEF CON 23 - Wesley McGrew - i hunt penetration testers
DEF CON 23 - Wesley McGrew - i hunt penetration testers
 
What is Penetration Testing?
What is Penetration Testing?What is Penetration Testing?
What is Penetration Testing?
 
An overview of network penetration testing
An overview of network penetration testingAn overview of network penetration testing
An overview of network penetration testing
 
What Suppliers Don't Tell You About Security?
What Suppliers Don't Tell You About Security?What Suppliers Don't Tell You About Security?
What Suppliers Don't Tell You About Security?
 
Penentration testing
Penentration testingPenentration testing
Penentration testing
 
Firewalls
FirewallsFirewalls
Firewalls
 
fire walls
fire wallsfire walls
fire walls
 
Securing the Cloud
Securing the CloudSecuring the Cloud
Securing the Cloud
 
internet-firewalls
internet-firewallsinternet-firewalls
internet-firewalls
 
black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...
 
A Brief Introduction to Penetration Testing
A Brief Introduction to Penetration TestingA Brief Introduction to Penetration Testing
A Brief Introduction to Penetration Testing
 
Security Testing.pptx
Security Testing.pptxSecurity Testing.pptx
Security Testing.pptx
 
Firewall Security Definition
Firewall Security DefinitionFirewall Security Definition
Firewall Security Definition
 
NETWORK PENETRATION TESTING
NETWORK PENETRATION TESTINGNETWORK PENETRATION TESTING
NETWORK PENETRATION TESTING
 
Understanding Penetration Testing & its Benefits for Organization
Understanding Penetration Testing & its Benefits for OrganizationUnderstanding Penetration Testing & its Benefits for Organization
Understanding Penetration Testing & its Benefits for Organization
 
Firewall (2)
Firewall (2)Firewall (2)
Firewall (2)
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Firewall Penetration Testing

  • 2. INTRODUCTION • A firewall is a device that controls what gets in and comes out of our network. The firewall is placed between an organization network and the outside world. • We may want to protect information inside our network from being accessed by building internal firewalls. The outside world can be the Internet or another (untrusted) corporate network. • If we want to provide access to the general population to a part of our services then we have to establish a demilitarized zone DMZ.
  • 3. Types of Firewalls Packet filtering gateways use Packet filtering gateways use the source or destination host the source or destination host to determine if the packet is to determine if the packet is allowed to pass the gateway. allowed to pass the gateway. Application level gateways (Proxies) do Application level gateways (Proxies) do not rely on general purpose not rely on general purpose mechanisms to allow traffic to pass but mechanisms to allow traffic to pass but use special purpose code for each use special purpose code for each desired service. desired service. Packet filtering Packet filtering gateways gateways Application level Application level gateways gateways
  • 4. LIMITATIONS OF FIREWALLS While firewalls have their undeniable advantages in providing network security, they have also their limitations. We are connected to the outside world by a router, which is our typical single point of failure. Limitation 1. Quite costly 2. Traffic flow on the Internet is high today 3. Transmission rates are falling
  • 5. EVALUATING A FIREWALL’S SECURITY • Before we buy a firewall or at least after we install one, we want typically to evaluate the security this device provides. To do so, we have principally the following options.
  • 6. EVALUATING A FIREWALL’S SECURITY o o o o Vendor information Design analysis Examine Logs Firewall testing Block The firewall vendor can provide us information on the level of trust that can be expected from a firewall. 1. It is true, that they know their creation best but they also will never be objective. 2. At one hand, they will not be too thrilled to point you to a potential weakness in a highly competitive market. 3. They will maybe not flexible enough to objectively rate the dangers posed to this design.
  • 7. EVALUATING A FIREWALL’S SECURITY o o o o Vendor information Design analysis Examine Logs Firewall testing Block The second possibility would be a design analysis. We get as much design information on a particular product and preferably the source code and you begin to dig for security problems. 1. Time consuming. 2. Requires considerable knowledge on firewall implementations. Example, to have a look how the firewall is handling buffers and buffer overflows would be surely one of the many points to check.
  • 8. EVALUATING A FIREWALL’S SECURITY o Vendor information o Design analysis o Examine Logs o Firewall testing Block For this, we install the firewall and set up the filter rules according to our policy. After a certain amount of time,we examine the logs in detail. By examine the logs, we can detect and correct it. There are principally two problems 1.When we find a security problem by examining the logs it can be already too late and an intruder can already have broken into our systems. 2.Second, logging will never discover all attempts that have been made, and if we had a “smart” intruder, logs may have been altered.
  • 9. EVALUATING A FIREWALL’S SECURITY o o o o Vendor information Design analysis Examine Logs Firewall testing Block With this technique, we perform tests to attempt to penetrate the firewall as well as to bypass it. Technical problems such as known vulnerabilities as well as misconfiguration and badly implemented security policies are exploited, if possible. Principally, we challenge the firewall from a hackers standpoint.
  • 10. PROBLEM OF FIREWALL PENETRATION TESTING • The problems begin when you want to find information on this topic. • There is not really much publicly available. • In addition to the limited amount of information, [tools]. • Another problem that we face with firewall testing is, that it is not as advanced as the design of firewalls. • who performs the penetration testing. o Testing by the vendor o Hiring hackers o Do it ourselves o Third party
  • 11. o o o o Testing by the vendor Hiring hackers Do it ourselves Third party • We don’t install firewalls solely by ourselves; the vendor is involved with it as well. Therefore during installation, they should already consider all the security problems. • If vendor can come up with new threats during the testphase that they did not think of during the design or installation of their product. • Another thought is that the vendor of a product is maybe less creative when testing it as they know too well what is working on their firewall.
  • 12. o o o o Testing by the vendor Hiring hackers Do it ourselves Third party • Hackers may have the technical knowledge to test a firewall, but we can’t believe that they can maintain integrity to ensure that your company’s secrets are safe with them. • They probably obtained their knowledge with attempts to break into foreign systems (maybe yours).You will never be sure that hackers won’t make any security holes they find available to other hackers and/or download access or alter your proprietary information and data.
  • 13. o o o o Testing by the vendor Hiring hackers Do it ourselves Third party • Third, firewall testing can be done by the company’s employees themselves. Here, we have to make sure that the people that are involved with installing or arranging/ updating the firewall are not doing the testing. • Tests have to be performed by an independent group. Principally, what we are looking for is integrity, independence, and experience. • Another important rule is that the technical capability exists to perform the testing and last but not least that the testers have the ability to formulate the test results in a report in an understandable (also by non technicians) way.
  • 14. FIREWALL POLICY An internet firewall policy should contain the following points:  Security Requirements  Access control  Assurance  Logging  Alarming  Availability  Required Functionality  Outgoing services  Incoming services  Services provided to the internet
  • 15. METHODOLOGY The firewall testing is structured in the following four steps: 1.Indirect information collection 2.Direct information collection 3.Attack from the outside 4.Attack from the inside
  • 16. 1. INDIRECT INFORMATION COLLECTION • First, we want to find out as much as possible about our target. To do so, we collect information first in a way that can not be detected by any logging or alarming system. • Use publicly available information from sources outside the network. • These are services like nslookup or whois to get an idea about the structure of the targeted network.
  • 17. 2. DIRECT INFORMATION COLLECTION • We would typically begin with looking for additional information that the company’s name server could have been stored on the network topology. • Valuable information can also be discovered in bounced mail headers. • If we want to get more information on vital systems in our target network, we can send an email message to a non-existent user. To get other topological information, we use automated tools like SATAN that perform this task for us.
  • 18. 3. ATTACK FROM THE OUTSIDE • Our targets are on one hand the firewall but also other designated systems like WWW server or hosts that seems to have a connection to the outside world. • This can give us additional advantages if the firewall trust these hosts or there were also examples that the file system of the firewall was mounted to the WWW server for easier maintenance. • Packet Filtering Firewalls – Blind IP Spoofing Attack – Non blind IP Spoofing Attack – Source Porting And Source Routing • Proxy Firewalls
  • 19. 4. ATTACK FROM THE INSIDE OF THE NETWORK • Before the firewall was installed, an employee could telnet into its computer during non office hours and check the mail or send his newest papers to a friend using FTP. Even worse, access to the internet (surfing) can be disabled (or audited) for a group of users. There are a lot of reasons that someone is not too happy with this firewall and he (or she) can try to disable it to gain back the old capabilities. In this case, the target is the firewall or probably more often the operating system on which the firewall is running. This belongs now not any more to network security but more to host security as this specific host (the firewall) is attacked. There are a few quite good tools that you (and anyone else!) can use to test for OS vulnerabilities (SATAN, ISS).
  • 20. TESTING TECHNIQUES/TOOLS • Until now, I have described the methodology on firewall testing and how we are doing it in theory now we look how to perform an actual test. There are four approaches: o Manual probing o Interactive testing o Security Scanners o Hacking tools
  • 21. CONCLUSIONS • In addition, it’s quite hard to get valid information on how to do the testing. However, if a penetration test is done properly by experienced people it can give us a valuable feedback on the effectiveness of a firewall. • These penetration tests have to be conducted regularly as firewalls are “eroding” with time. • Repeated firewall testing gives us a feedback if the firewall is maintained properly and no holes are punched through that could be exploited by hackers.
  • 22. REFERENCES [1] Boran Sean, IT Security Cookbook, Draft V0.84 1996 [2] Cheswick / Bellovin, Firewalls and Internet Security,Addison-Wesley, 1994 [3] daemon9 / route/ infinity, IP-spoofing demystified, Phrack Magazine 48, http://www.fc.net/phrack/files/p48/p48-14.html [4] Peter Stephenson (interview), Cracking an Internet Firewall, http://www.venida.com/file/white/infosec1.htm [5] Schultz, E.E. (1996) Effective Firewall Testing. Computer Security Journal [6] Philip R. Moyer, A Systematic methodology for firewall Penetration testing