Hi!
That should be pretty easy, well, given that the area around your car isn't changing too much on its own. Compared to standard machine vision applications where you have a great deal of control over the illumination of your object, in surveillance you usually do not have that luxury. Wheather may change (rain, snow, wind moving leaves and twigs etc.). Also the sun is moving its position (yeah, yeah I knows it's actually the earth

).
So usually you'll use a camera with a built in auto-iris to compensate for changes in illumination. Or, if you can spend some more money, you'll use a
Thermal/Night Vision Camera.Anyway, to get back to your question. You could use a region of interest (ROI), or multiple to observe the surrounding of your car. What you are interest in is, if the pixel values are changing significantly within that ROI or the ROIs.
You could use a histogram function and look at the mean value of all pixels within that region, or you could use a pattern match function as well. The pattern match function has a "match count" with a range from 0 to 1000, 1000 being a 100% match. You could use that match count as a threshold for intrusion detection.
There are other ways, but they get more complicated.
We have built many intgelligent surveillance systems.
I hope that helps a bit.
Best,
Markus Tarin