Those are .100 spacing 2-pin connectors like the ones used to connect a PC case to the pins on the motherboard. A CD-ROM 4-pin cable that connects the analog audio out to the sound card would be a similar cable.
You can buy the connectors, pins, and wire, but putting them together is a PITA. If anyone has a good source for these connectors with bare wires sticking out (probably at least 12"), then please let me know as I would also like to buy some.