- The RPi will be connected to a managed switch with a single ethernet connection. The ethernet connection will be limited to tagged packets on several vlans only. The vlans that will be considered involve a vlan for Media, for Experimentation, for Personal services, and for Extra-network connection (i.e., to the ActionTec router). Non-tagged traffic on the switch port will not be allowed.
- The RPi will provide dhcp services to the Media vlan.
- The Tor Proxy will provide a firewall to the Extra-network connection; all Tor related traffic will be on this vlan. Access to the Tor Proxy lan will be via a WPA2 wireless (per the Onion Pi setup).
- The Tor Proxy lan should be isolated from the RPi itself.
- The Personal services vlan will be allowed to connect to the Tor Proxy and then to the Extra-network vlan. The general Tor Proxy lan will not be allowed to access the Personal services vlan.
- After analysis of the connection to the managed switch, I have come to the conclusion that the only possible problem with the hardware setup is that the wireless connection (for the Tor Proxy) might be able to be compromised. Perhaps I should think of implementing a RADIUS server of some sort. I could host it on the RPi but that might be a security issue.
- I would also like to add a separate wireless access port setup with a separate wireless dongle and ethernet-usb connector. I would make that one subscribe to one specific vlan.
- Implement an LCD panel control for all of this?
This is a blog mostly about techie things, what I am doing to my apartment network on the cheap, IOT, 3D Printing, Raspberry Pis, Arduinos, ESP32, ESP8266, Home Automation, Personal Weather Stations, Things That Go Bump in the Night, and some side issues that need discussing. Remember, sometimes the journey to an end is as much fun as the goal achieved!
Showing posts with label Pen Testing. Show all posts
Showing posts with label Pen Testing. Show all posts
Monday, July 15, 2013
Implementing a 1-Port Router
Now that I have a somewhat better handle on the Tor Proxy, I am back to thinking about a 1-Port Router. One of my next experiments will be to plug the RPi Tor Proxy into a tagged vlan port. I am hoping that I can use Shorewall and some vlan libraries to make a one port router. It would appear that this will be safe since there is no physical access to the cable that goes from the managed switch to the RPi ethernet port. My idea is to use Shorewall as the main routing mechanism to isolate separate vlans from each other (except in certain cases), but still provide dhcp services to a couple of the vlans. So now I am thinking the following:
Monday, May 20, 2013
Carved out a subnet in my home network for PwnPi tests
It was raining this weekend so I decided to finish up putting together a subnet in my home network for testing the Raspberry Pi. This will also serve as an enclave for using PwnPi to do some penetration testing. I have decided to get back into the swing of things security wise since I am taking another certification class. I have been wanting to learn how to do penetration testing in preparation for going after a CEH (Certified Ethical Hacker) certification. This is outside of the ISC2 certification domain; where I already have a CISSP (Certified Information Systems Security Professional). I have a multifold purpose for wanting to do this:
A secondary ethernet port was added to the Mac Mini by plugging in a USB to ethernet cable. By setting up the router between two ports on the RPi experimenter managed switch, I am able to use the router to move between two separate Vlans. Vlans (IEEE 802.1Q) are virtual lans and can have the property that more than one vlan traffic can be moving down the same wire but yet not have packets that interfere with each other. In my case the 1GB wire between the two managed switches have tagged vlan packets that are logically isolated from each other. This wire carries information from the VMs running on the Mac Mini through the separate Vlan to the router (LAN side). This in turn is mixed in with the information on the RPis. The router provides isolation between the Vlans and in a pinch can be disconnected from the main home network; for extra security. The RPi managed switch and router are in close proximity and I can unplug the unmanaged switch (connecting the RPis together and plug it into the managed switch on a port which is in the home network as necessary. This is not the only separated Vlan running through my house but I need the isolation in order to continue PwnPi experiments. Should be fun.
- I want to have a separate (logically and physically) network for penetration testing using PwnPi.
- Doing penetration testing will not only help me to learn but will also let me know where the weaknesses are in my network.
- I want to have a separate network setup to support development work on the RPi.
- I want to have a network setup to test out the new OpenWRT package that runs on the RPi; therefore, I need to be able to place the RPi in a router like position easily.
A secondary ethernet port was added to the Mac Mini by plugging in a USB to ethernet cable. By setting up the router between two ports on the RPi experimenter managed switch, I am able to use the router to move between two separate Vlans. Vlans (IEEE 802.1Q) are virtual lans and can have the property that more than one vlan traffic can be moving down the same wire but yet not have packets that interfere with each other. In my case the 1GB wire between the two managed switches have tagged vlan packets that are logically isolated from each other. This wire carries information from the VMs running on the Mac Mini through the separate Vlan to the router (LAN side). This in turn is mixed in with the information on the RPis. The router provides isolation between the Vlans and in a pinch can be disconnected from the main home network; for extra security. The RPi managed switch and router are in close proximity and I can unplug the unmanaged switch (connecting the RPis together and plug it into the managed switch on a port which is in the home network as necessary. This is not the only separated Vlan running through my house but I need the isolation in order to continue PwnPi experiments. Should be fun.
Thursday, February 14, 2013
Was able to get PwnPi up and running
I guess in the grand scheme of things, I am starting to get proficient at moving images over to SD cards on the Mac Mini. The latest one was for the PwnPi image. This is a penetration tester image containing about 200 tools for use in breaking into systems. Since I am interested in obtaining a CEH certification in the future, I thought that I might get ahold of this district and try,out a few of the tools on my own network. I downloaded the image through the http://PwnPi.net website.
I was home anyway because I threw out my back at the gym yesterday.
I was home anyway because I threw out my back at the gym yesterday.
Labels:
Pen Testing
Friday, February 8, 2013
Might Try My Hand at a Pentester
Last night when I was going through some Raspberry Pi stuff, I happened upon two Pentesting packages for the RPi:
http://sourceforge.net/projects/pwnpi/
http://pwnpi.net/
http://blog.pwnieexpress.com/post/24967860602/raspberry-pwn-a-pentesting-release-for-the-raspberry
https://github.com/pwnieexpress/Raspberry-Pwn
The first two urls are for the PwnPi distro which is self contained, the second url being the home page. The next two urls are for PwnieExpress which you have to build from the Debian Weezy distro (at http://www.raspberrypi.org/downloads). The instructions are at the github address to set it up.
This would be a good chance to try out a different use for the RPi and at the same time get some background info for the CEH which I have been studying for.
http://sourceforge.net/projects/pwnpi/
http://pwnpi.net/
http://blog.pwnieexpress.com/post/24967860602/raspberry-pwn-a-pentesting-release-for-the-raspberry
https://github.com/pwnieexpress/Raspberry-Pwn
The first two urls are for the PwnPi distro which is self contained, the second url being the home page. The next two urls are for PwnieExpress which you have to build from the Debian Weezy distro (at http://www.raspberrypi.org/downloads). The instructions are at the github address to set it up.
This would be a good chance to try out a different use for the RPi and at the same time get some background info for the CEH which I have been studying for.
Labels:
Pen Testing
Subscribe to:
Posts (Atom)
