GithubHelp home page GithubHelp logo

lv6lv / dmzexploitation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3 KB

# DMZ Exploitation This week, you will apply the techniques you learned in class to pivot across subnets and attack a DMZ. ## Background on DMZs Most commonly, machines on a LAN send requests to the public Internet through a router, which forwards requests to the web after performing NAT, and forwards responses back to the requesting host on the LAN. This router typically has a firewall that only allows connections to/from certain ports, such as 80 and 443 (HTTP and HTTPS) . Network engineers can add an additional layer of protection to the network by installing a **DMZ (demilitarized zone)**, which acts as an additional layer of protection in front of an existing network. Only a _single_ machine separates the LAN pictured above from the public Internet: the `pfSense` router. In a DMZ, a whole _network sits in between. Recall that when machines on a LAN communicate on the Internet, they _all_ forward packets straight through the **default gateway**. When data comes back from the Internet, the gateway filters and forward it to the proper host on the LAN. Data passes through two gateways on its way through a DMZ. First, it passes through a router from the Internet into a network called the DMZ. This router typically runs a firewall that filters out all traffic that the organization doesn't expect—e.g., it may only allow connections to HTTP/HTTPS, email, and SSH ports into the DMZ. ![Dual-firewall DMZ](https://upload.wikimedia.org/wikipedia/commons/thumb/6/60/DMZ_network_diagram_2_firewall.svg/960px-DMZ_network_diagram_2_firewall.svg.png) **Note**: This is Creative Commons: https://commons.wikimedia.org/wiki/File:DMZ_network_diagram_2_firewall.svg From there, machines on the DMZ can forward requests to machines on the internal network. Sensitive data is typically stored only in the internal network, _not_ on machines in the DMZ. Clients on the public Internet interact with that data by sending requests to the machines Interaction with that data is done _through_ machines in the DMZ, which act as proxies. This means that attackers who compromise a machine in the DMZ do _not_ immediately own the machines in the internal network, and because it gives network administrators fine control over _exactly_ how services from the internal network are exposed to the outside world. One well-motivated use case for a DMZ is that of public web servers in a DMZ communicating with databases in an internal network.

dmzexploitation's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.