As usual folks here are going to extremes.
Common sense,stay out of city centers, keep you vehicle fueled up so you don't need gas in a sketchy area. While you are sleeping keep the ignition key in the ignition. No fumbling and searching in an emergency. If possible always back into a parking area facing out. Do not overnight in a pinch or limited maneuverability area.
In the infitisimal chance that you are attacked, remember you are driving a 6000# battering ram weapon, use it if there is no other recourse. You can drive with flat tires and dash warning lights to save your life.
Get yourself a laptop and a hot spot. Couple hours before you stop pick an area on google maps,go to street view and check out the surrounding area. Look for a couple of clear direct escape routes to a populated area.
I don't know where some Canadians get the ideas the do. In almost 60 years of life in the northeast US I have never been a victim or even a witness to violent crime.
Some of us may be a bit clannish and scruffy around the edges, but I have met some sketchy Canadians also.