{"id":3628,"date":"2014-11-29T03:11:23","date_gmt":"2014-11-28T19:11:23","guid":{"rendered":"https:\/\/www.darknet.org.uk\/?p=3628"},"modified":"2014-11-30T14:25:00","modified_gmt":"2014-11-30T06:25:00","slug":"isowall-completely-isolate-device-local-network","status":"publish","type":"post","link":"https:\/\/www.darknet.org.uk\/2014\/11\/isowall-completely-isolate-device-local-network\/","title":{"rendered":"isowall – Completely Isolate A Device From The Local Network"},"content":{"rendered":"

Isowall is a mini-firewall that allows you to completely isolate a device from the local network. This is for allowing infected machines Internet access, but without endangering the local network.<\/p>\n

\"isowall<\/p>\n

Building<\/h2>\n

This project depends upon libpcap, and of course a C compiler.<\/p>\n

On Debian, the following should work:<\/p>\n

# apt-get install git gcc make libpcap-dev\r\n# git clone https:\/\/github.com\/robertdavidgraham\/isowall\r\n# cd isowall\r\n# make<\/pre>\n

This will put the binary isowall in the local isowall\/bin directory.<\/p>\n

This should also work on Windows, Mac OS X, xBSD, and pretty much any operating system that supports libpcap.<\/p>\n

Running<\/h2>\n

First, setup a machine with three network interfaces.<\/p>\n

The first network interface (like eth0) will be configured as normal, with a TCP\/IP stack, so that you can SSH to it.<\/p>\n

The other two network interfaces should have no TCP\/IP stack, no IP address, no anything. This is the most important configuration step, and the most common thing you’ll get wrong. For example, the DHCP software on the box may be configured to automatically send out DHCP requests on these additional interfaces. You have to go fix that so nothing is bound to these interfaces.<\/p>\n

To run, simply type:<\/p>\n

# .\/bin\/isowall --internal eth1 --external eth2 -c xxxx.conf<\/pre>\n

Configuration<\/h2>\n

The following shows a typical configuration file<\/p>\n

internal = eth1\r\ninternal.target.ip = 10.0.0.129\r\ninternal.target.mac = 02:60:8c:37:87:f3\r\n\r\nexternal = eth2\r\nexternal.router.ip = 10.0.0.1\r\nexternal.router.mac = 66:55:44:33:22:11\r\n\r\nallow = 0.0.0.0\/0\r\nblock = 192.168.0.0\/16\r\nblock = 10.0.0.0\/8\r\nblock = 224.0.0.0-255.255.255.255<\/pre>\n

You can download isowall here:<\/p>\n

master.zip<\/a><\/p>\n

Or read more here<\/a> – the author can be found on Twitter here @erratarob<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Isowall is a mini-firewall that allows you to completely isolate a device from the local network. This is for allowing infected machines Internet access, but without endangering the local network. Building This project depends upon libpcap, and of course a C compiler. On Debian, the following should work: # apt-get install git gcc make libpcap-dev […]<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"isowall is a nifty tool if you are doing forensics, running a honeypot or just want to completely isolate a device from the local network.","_seopress_robots_index":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[12,28],"tags":[623,8872],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Darknet","author_link":"https:\/\/www.darknet.org.uk\/author\/darknet\/"},"_links":{"self":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts\/3628"}],"collection":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/comments?post=3628"}],"version-history":[{"count":0,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/posts\/3628\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/media?parent=3628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/categories?post=3628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darknet.org.uk\/wp-json\/wp\/v2\/tags?post=3628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}