A man is lucky to be alive after a bullet grazed behind his ear in a random shooting while he was driving to work with colleagues in Melbourne's north-west.

Police are hunting a number of people over the shooting, which occurred on the Melton Highway in Taylors Lakes about 1.30am on January 22.

The two cars can be seen in the background of CCTV footage, driving along the Melton Highway in Taylors Lakes. Credit:Victoria Police

The victim, a 25-year-old man from Kurunjang, was on his way to work with several colleagues in the car when they noticed a silver sedan with at least three people on board start to speed up and drive alongside them.