AFAIK SU-24M has less capability in night missions ? or it could be modernized with SVP-24 .
Su-24M is a fully night and all weather capable low flying strike aircraft... its radar and EW systems should have detected the location of the enemy SAM site and allowed missiles to be launched at standoff distances...
They just need night vision glaces, which are a common thing now on any battlefield, for night operations. Launching a missile at stand off range wigh no enemy air force makes it a very easy mission.
Not sure NVG would be of any use... Su-24M already has terrain following radar and what you could see at night at very low altitude at over 800km/h would not be very useful... I would doubt very much they got to within visual range of any of the systems they destroyed.