Engine speed wire should be tapped off of the ECU. Ravensblade WRX has the ECU pinouts on their website, here
The ignition is accessed under the driver's side dash. It's the set of blue plugs down there. Look up a turbo timer installation, as it involves both of the wires you're asking about. Here are some pics of a turbo timer install involving the ignition harness.