A man and woman are lucky to be alive after being targeted in an “opportunistic” drive-by shooting in a quiet street in suburban Sydney.

The couple were sitting in their Suzuki Swift on Victor Street in Greystanes when the occupants of a white BMW SUV drove past and opened fire just after midday on Friday.

Targeted and “opportunistic” attack: Two shots were fired at a Suzuki Swift in Greystanes.

Targeted and “opportunistic” attack: Two shots were fired at a Suzuki Swift in Greystanes.Credit: NSW Police

Police say two shots were fired but both bullets missed the pair, before the cars sped off.

Minutes after the shooting, at 12.13pm, fire crews were called to Targo Road in nearby Girraween where the BMW was found ablaze next to a block of units.

The male occupant of the white Suzuki returned to the scene shortly after the shooting, and is assisting police with their inquiries. Photographs show a bullet hole in the rear window.

The attack is the latest in a spate of public place shootings to have rocked Sydney in recent months. Police are now investigating links to organised crime.

“We believe this was a targeted attack … and potentially opportunistic,” Superintendent Simon Glasser, Cumberland Police Area Commander, told reporters.

“It’s very dangerous. It’s very lucky people weren’t killed in this attack. You know, people firing guns at each other in close distances to one another. It could have easily been a fatality.”