In continuation of this post - https://www.ozbargain.com.au/node/158849, I'm having an idea to block all ports of my PC except the ones used by regular and trusted programs such as Remote desktop, Internet browser etc.
Is there any way to block the ports manually?
Is there any app that will tell me that X software uses Y number port?
Through your modem. But you might want to be sure about what ports you are blocking as different programs require different ports and programs such as P2P ones use a lot of different ports.
That said, if stuff doesn't work, its not hard to undo a port block so go nuts!