<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kirt Cathey, NH2GX, JG1FXZ &#187; Prototype</title>
	<atom:link href="http://www.sysrisk.com/?feed=rss2&#038;tag=prototype" rel="self" type="application/rss+xml" />
	<link>http://www.sysrisk.com</link>
	<description>Security, Electronics, and Tech from Japan</description>
	<lastBuildDate>Sat, 04 Sep 2010 01:38:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Keyboards &#8211; Serial Analysis Using FTD232RL</title>
		<link>http://www.sysrisk.com/?p=147</link>
		<comments>http://www.sysrisk.com/?p=147#comments</comments>
		<pubDate>Fri, 20 Nov 2009 22:36:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rogue Devices]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[keylogging]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Prototype]]></category>

		<guid isPermaLink="false">http://www.sysrisk.com/?p=147</guid>
		<description><![CDATA[The reason this kind of pin-to-pin connection works is because the computer (USB host) identifies the device as a PS2 device when it is plugged into the computer, and the computer speaks serial to the device. ...  What all this means is that if you run a straight wire tap into a USB-to-USB keyboard connection, you are going to get a lot of garbage from other devices running through the same host controller, you are going to have timing problems, and it will be virtually impossible for a PIC, AVR, or any micro controller to keep up with analysis and filtering due to computing limitations. ...  How about running a straight wire tap from a USB-to-USB connection into an FTDI USB to serial conversion chip that is powered by the USB bus itself and analyzing the serial exchange? ...  The first thing of concern when reviewing this is whether the USB host (computer) will try to enumerate the FTDI chip and load the driver, which is what we don't want - so may have to install some diodes or something to make sure the communication on goes one way from keyboard to FTDI chip and out the serial port. ]]></description>
			<content:encoded><![CDATA[<p>First, for those friends at work and personal, you cannot just tap into a USB bus connection of any type and analyze like you can a serial connection. If you have to ask why with a condescending voice as if you could make it happen, then keep to yourself and study USB protocol.<br />
Now that is out of the way, let me take a sentence or two to explain. USB is not serial and does not even compare to serial in a couple of areas. Timing on a USB bus is determined by the protocol version, hence 10 Mbs, 100 Mbs and faster all depending on whether you are using 1.0, 2.0 or whatever version. In serial communications, the implementer sets the timing to a baud rate. Next, what is on the bus is on the bus, so the exchange is not one-to-one in USB as it is with serial. The device identification (HID) is established by the host, and the USB host determines which traffic is for which device that is communicating over the bus. In other words, the USB host (computer) controls all communication, not the implementation of the device.<br />
So one would ask why does a USB to PS2 converter just consist of the four pins of a USB connector tied into four pins of a PS2 connector? I too asked this question and performed a bit of analysis, including busting apart a couple of these adapters to see if a tiny &#8216;conversion&#8217; chip was inside. This is very, very funny now that I understand better. The reason this kind of pin-to-pin connection works is because the computer (USB host) identifies the device as a PS2 device when it is plugged into the computer, and the computer speaks serial to the device. When the USB plug is used to connect the keyboard, the computer recognizes the keyboard as a USB device and the USB device chip in the keyboard talks to the PC accordingly.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4000949765639059";
google_ad_slot = "8537874966";
google_ad_width = 180;
google_ad_height = 90;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
What all this means is that if you run a straight wire tap into a USB-to-USB keyboard connection, you are going to get a lot of garbage from other devices running through the same host controller, you are going to have timing problems, and it will be virtually impossible for a PIC, AVR, or any micro controller to keep up with analysis and filtering due to computing limitations. If this has not made things clear, and you want to know more, I suggest a visit to <a href="http://www.picbasic.co.uk/forum/showthread.php?t=5806" target="_blank">this forum</a>.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4000949765639059";
google_ad_slot = "2030459268";
google_ad_width = 120;
google_ad_height = 240;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Now, onto the next step. How about running a straight wire tap from a USB-to-USB connection into an FTDI USB to serial conversion chip that is powered by the USB bus itself then analyze the serial exchange? Here is a quick mash up thrown together in Eagle late last night. Will spend some time this morning on the breadboard putting this together. The first thing of concern when reviewing this is whether the USB host (computer) will try to enumerate the FTDI chip and load the driver, which is what we don&#8217;t want &#8211; so may have to install some diodes or something to make sure the communication on goes one way from keyboard to FTDI chip and out the serial port. Another area of concern is whether the FTDI chip will perform the serial conversion without being enumerated by the computer. Stay tuned. Or, comment with some suggestions, because I really do need all the help I can get.<br />
<img src="http://www.sysrisk.com/wp-content/uploads/2009/11/USBtoSerialAnalysis.png" alt="USBtoSerialAnalysis.png" width="480" height="450" /></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=147" target="_blank"><img src="http://www.sysrisk.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=147" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sysrisk.com/?feed=rss2&amp;p=147</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Morsing&#8230;.</title>
		<link>http://www.sysrisk.com/?p=96</link>
		<comments>http://www.sysrisk.com/?p=96#comments</comments>
		<pubDate>Sun, 05 Jul 2009 23:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Japan]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[radio]]></category>

		<guid isPermaLink="false">http://www.sysrisk.com/?p=96</guid>
		<description><![CDATA[ Late last year I had an idea about a gadget that would be a GPS trail/path logger and an emergency locator.   There are a plethora of circuit diagrams and DIY project blogs on the web that cover a GPS logger based on a PIC microchip, but few offer an option to send of a Lo-Jack type of signal that sends the current location.   This could be a low power CW signal sent on a certain frequency that identifies the exact GPS coordinate of the device.   There are a few snags from a testing perspective that concern some of the technicalities of remote automatic control, however, there are also some great possibilities here. ]]></description>
			<content:encoded><![CDATA[<p>Late last year I had an idea about a gadget that would be a GPS trail/path logger and an emergency locator. There are a plethora of circuit diagrams and DIY project blogs on the web that cover a GPS logger based on a PIC microchip, but none offer an option to send of a Lo-Jack type of signal that sends the current location. This could be a low power CW signal sent on a certain frequency that identifies the exact GPS coordinate of the device. There are a few snags from a testing perspective that concern some of the technicalities of remote automatic control, however, there are also some great possibilities here. Kind of like a Lo-Jack for hikers&#8230;. which I know already exists.<br />
If anybody out there knows why Lo-Jack has not been implemented in Japan, please comment.&nbsp;&nbsp;</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=96" target="_blank"><img src="http://www.sysrisk.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=96" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sysrisk.com/?feed=rss2&amp;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PIC 18F4550 Prototyping Board</title>
		<link>http://www.sysrisk.com/?p=44</link>
		<comments>http://www.sysrisk.com/?p=44#comments</comments>
		<pubDate>Sat, 07 Mar 2009 22:52:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[18F4550]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[Prototype]]></category>

		<guid isPermaLink="false">http://www.sysrisk.com/?p=44</guid>
		<description><![CDATA[In a first step to start creation of the  KeyJack  , I found this  link  while Googling for ideas. <img src="http://www.sysrisk.com/wp-content/uploads/2009/03/21.jpg" width="480" height="360" alt="写真 21.jpg" /> This photo was a snapshot from PhotoBooth, so please excuse the reflection, but most of the components are visible.   Instead of using the sexy surface mount devices, I used what was available on a rainy day. ...  All of the empty holes are for mounting headers that can connect other devices or jumper across onto another prototyping board or a breadboard.   Here is the circuit side of the PCB: <img src="http://www.sysrisk.com/wp-content/uploads/2009/03/22.jpg" width="480" height="360" alt="写真 22.jpg" /> As you can see, have not sat down to solder the parts yet.... that's going to start in just a few minutes.]]></description>
			<content:encoded><![CDATA[<p>In a first step to start creation of the <a title="Rolls Royce Keylogger" href="http://www.sysrisk.com/?p=36" target="_blank">KeyJack</a> , I found this <a title="18F4550 Protoboard" href="http://eegeek.net/content/view/50/32/" target="_blank">link</a> while Googling for ideas.</p>
<div style="text-align: left;"><img src="http://www.sysrisk.com/wp-content/uploads/2009/03/21.jpg" alt="写真 21.jpg" width="288" height="216" /></div>
<p>This photo was a snapshot from PhotoBooth, so please excuse the reflection, but most of the components are visible. Instead of using the sexy surface mount devices, I used what was available on a rainy day. Of course the micro controller is not mounted yet, but soon enough. All of the empty holes are for mounting headers that can connect other devices or jumper across onto another prototyping board or a breadboard. Here is the circuit side of the PCB:<br />
<img src="http://www.sysrisk.com/wp-content/uploads/2009/03/22.jpg" alt="写真 22.jpg" width="291" height="218" /><br />
As you can see, have not sat down to solder the parts yet&#8230;. that&#8217;s going to start in just a few minutes. When complete and running, will come back for a follow-up post. Stay tuned.</p>
<p>Follow-up&#8230; a couple hours later.<br />
Here is the (sloppy) soldered up back side of the board complete with jumpers and connection headers. Had a couple of soldering mishaps along the way, so had to solder a wire into one part of the run. It all tests positive for conductivity. All that is left are two components I don&#8217;t have in the parts collection &#8211; push buttons for the reset and bootloader.</p>
<div style="text-align: left;"><img src="http://www.sysrisk.com/wp-content/uploads/2009/03/23.jpg" alt="写真 23.jpg" width="287" height="215" /><img src="http://www.sysrisk.com/wp-content/uploads/2009/03/24.jpg" alt="写真 24.jpg" width="286" height="214" /></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=44" target="_blank"><img src="http://www.sysrisk.com/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.sysrisk.com/?p=44" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sysrisk.com/?feed=rss2&amp;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
