Saturday, July 30, 2011

Long Time, No Post

It's been a few years since I've updated this blog, and I've got a ton of projects that I've finished and photographed but haven't done writeups on yet, so I'll start writing over the next week or so hopefully.

Completed projects (roughly in order, what I can remember off the top of my head at the moment) that I need to do writeups on:

-Wired network tap v2.0
-Dry ice overclocking
-Long range omnidirectional WiFi
-Long range directional WiFi (I've got a few more ideas now and am going to see if I can break my old record (1.2 miles, if I recall correctly) with another revision
-DIY Macro lens for DSLR
-14TB Server build, config, performance testing (~400MB/sec sustained read, 2.2GB/sec burst!)

Projects in-progress:
-Droid 2 Root + 4th Gen iPod Touch Jailbreak + Google Voice + ? = WiFi calling on iPod Touch
-ASUS T101MT Multitouch netvertible FL Studio 8 + KORG KP3 = dual touchscreen audio processing rig

... as well as a few projects that are still in the concept stage.

I've gotta work over the next two nights, but have most of next week off so I should have time to write then. Check back!

Saturday, October 18, 2008

Wired and Wireless Network Taps!

The idea of a network tap is to stealthily re-route all of a given network's packets through your own machine in order to log the said packets and mine data from the network.

There are several ways to accomplish this. The first two ways are fairly standard, but I devised the third way on my own. If someone has made a wireless network tap to be used in this way before I have, that's fine. But to my knowledge, it's never been done before. Please let me know if it has :)

1. Passive Wired Network Tap: Physically separate the Tx/Rx pairs of wires and run them to separate NICs in the host computer (the computer that's logging the packets and mining the data). One NIC recieves data on the Rx pair (which is normal), the other recieves data on the Tx pair, which is where data that's being transmitted on the network is intercepted. Thus we need two pairs of recieving pins, thus we need two NICs.

For more info, check out Hack A Day's post on passive network taps.


2. Wired Hub: Simply patch a wired hub into the network, then plug into the hub. Problem: you're visible on the network! Note that I haven't tried it with a hub (I don't even own one that works), but in theory it should work. Not recomended, though.

3. Wireless Network Tap: This gets a little more complicated. In a wireless network, all data doesn't travel through all hosts, so the logical solution is to hardwire into the access point... but what if you can't get to it? The solution: Bridge the wireless network, then patch the bridge to a wired/wireless access point. As long as the SSID, channel, encryption, and password are the same (note: this assumes you have access to the wireless network... if not, encryption isn't hard to crack... google it), wireless clients will connect to it. The wireless clients will connect to the WAP (wireless access point) with the best signal, though. So use an open router with DD-WRT (or another open firmware) to crank up the broadcast power, and use a high-gain antenna... now all of the wireless clients will connect to your access point! Now, plug your host PC into the access point. Everything from the wireless network will be repeated onto the wired network, so you can now sniff through all of the packets on the network. Note that using a wired network tap between the access point and the host PC isn't absolutely necessary, but would be a good idea.

I built wired and wireless network taps recently and have been testing them out (with great success rates). Here are some pictures from my network tapping expedition:

The wired network tap all wired up. Note that I used wire from about 6" of Cat5e cable.












































Now, to monitor a network with it, we need to wire it in.

So here is our target network. The white cable on #9 is our WAN connection, in this case, so all data entering and leaving the network will go through it. This is the cable we need to tap.




















We'll need to unplug it, run another cable to one of the fully wired jacks, and plug the original cable into the other fully wired jack. Then we'll plug another pair of cables into the Tx and Rx jacks to run to the NICs in our host PC.























And we're set! You can leave it connected like that if you want (if you own the network or have permission to leave it there), as it won't interfere with anything.

Now you can install a sniffer program (Wireshark is good if you use Windows, otherwise refer to the post on Hack a Day for more programs), and start sniffing for data. If you don't know what you're looking for in your collected data, do some googling and figure out what to do. Hint: Look for "POST", then follow the stream. You'll find lots of credentials (as long as they aren't encrypted).

That's it for the wired network tap... here's how I did it with wireless.

I started with a Linksys WRT54G for the bridge and a Buffalo WHR-HP-G54 for the access point. I chose to use the WHR-HP-54G for the WAP because it has internal and external antennas for a wide range of wireless clients (indoors, outdoors, moving, stationary, etc). I wouldn't need that for the bridge, as it's connected to a stationary WAP.

To make this slightly more useful, I set it up so I could run the entire setup from within my car. The WRT54G runs on 12vdc, which I can get from my car battery, and the WHR-HP-G54 runs on 5vdc, which I can pull from the host PC's USB port. So I did a bit of splicing and now have a USB powered WAP.























After bridging the networks and hooking it all up, here's the finished product!























And that's how to tap networks! If you've got any questions, feel free to email me or ask in the comments, below. I'll reply either way.

Thanks for reading! Let me know what you think of the projects!

Wednesday, October 15, 2008

Current Projects

Wow. It's been a long time since I've updated this blog. It kinda died...

Here's the scoop:

I've got a few projects I've been working on. The first of which is a series of miniature planted aquariums under 500cc each (the largest of which is a 4" cube). So far I've got one tank complete, and 15 more in progress, with some really cool ideas for aquascapes/plumbing/planting.

Here's a link to the tanks' log: http://www.fishprofiles.com/files/threads/38180.1.htm?11#

My other project is a wireless network tap. WIRED network taps aren't too complicated, but to encompass the wireless aspect, I must take things up a few notches. I'll post up more details on this later...

At the moment, I'm trying to get a 2nd job (welding) so I can afford to move closer to my beloved girlfriend, Bri. I'm not looking forward to the move itself, but I'll be able to spend more time with Bri, so that makes it more than worthwhile :)

Wednesday, January 2, 2008

New Blog!

Well, I've decided to start a new blog as part of my new year's resolution. My other resolution was to get a head start and do things early. Um, as you can see, it's the 2nd, so I've already messed up on it :p

This blog is going to be kind of photo and project oriented, with a few details of what's going on in my life thrown in here and there.

For starters, here's a link to my photobucket. Most of my photos (including the ones that I've taken/uploaded before the start of this blog) are there.
http://s2.photobucket.com/albums/y22/PoisonWaffle/

So I guess that's it for this blog entry...