I've used com0com - a serial port/null-modem emulator. See
http://sourceforge.net/projects/com0com/
or just google com0com.
Each null modem emulation creates 2 virtual serial ports - i.e. each end of a serial cable; you'll need a program on the other port to loopback/modify data as required. You may need admin access to install it.