How would you design a piercing projectile (arrows, bullets, shurikens, etc) that can deliver a payload of malicious software to a computer that it is shot into?
Although it is rather silly and definitely very soft sci-fi, this is a type of weapon that shows up with surprising frequency (Avengers movies, XCOM games, etc). Essentially, this projectile weapon can hack a computer that it physically pierces through, immediately beginning the hack as soon as it becomes lodged inside the computer case proper.
Perhaps the main concern is its interaction with the physical internal components of the system. By its very nature, it needs be in very close proximity to specific internal components in order to deliver the data payload, yet it also risks physically damaging those same components. Requiring direct contact between the weapon and the components would be impractical, so one would probably need a method that can transmit wirelessly over at least an inch or two.
One must also consider which internal components would be interacted with. Different pieces of hardware speak different languages, so one might need to be prepared with multiple different types of viruses to hedge for which pieces of hardware can be reached.
What might the optimal physical design of such a weapon be? I would imagine that a long, narrow arrowhead would be ideal for piercing the outer casing of a machine while minimizing internal damage.
In order to be a proper "hacking arrow", the weapon must avoid destroying or shutting down the system with physical damage, at least immediately. There must be time for the software to be transferred and activated. The system might still break after some seconds or minutes due to mechanical issues or fire, and/or the software may destroy the system once it is finished, but the system must still temporarily survive being punctured.
What are the key aspects in designing a weapon that you can physically shoot into a computer in order to hack it?