30 seconds with Google found:
https://www.ic.gc.ca/eic/site/smt-gst.nsf/eng/h_sf01775.htmlBasically if you operate a Canadian flagged vessel *exclusively* within Canadian territorial waters and your radar and radio transciever equipment is type approved and meets the frequency limits and power level restrictions defined within ' Regulation by Reference RBR-2' (linked from that page), the vessel does not require a radio or radar licence.
Internationally, its usual for one's ship's radio licence issued by one's national authority, to be endorsed with the radar equipment type and operating band.
Sorry, cant help you with local or international land based or aviation radar licencing requirements, its not something I've ever studied.
If you don't give a shit to the law, you can buy virtually anything on eBay, rest of a nuke.
And if you use a radio equipment wisely (not continuously, not in crowded, enforced areas, not intentionally maliciously), chances of being caught is next to non existent.
.... unless, in most developed countries, you are inadvertently or deliberately operating in a band used by the cops or monitored by your national aviation authority, or used by mobile phone companies, in which case if your signal is detected, they will go above and beyond to identify and locate you, and they can and will throw the book at you, including confiscation of all equipment, any vehicle or vessel its mounted in or connected to, draconian fines and a possible prison sentence if they deem it to have been potentially interfering with emergency communications or safety of navigation.
If you are going to break the law then you are an idiot if your usage is from a fixed location, or if it stands out from the usual legitimate usage of that band in that area. e.g. if you are operating 'kitchen coastal' on the marine VHF band, use a callsign that's plausible for a small sailboat, follow proper radio procedure, and don't operate far from the water's edge!