This is the moment that madman Grafton Thomas stormed into a rabbi’s house in Monsey with a machete before allegedly knifing five Hanukkah celebrants on Saturday night.

The surveillance photo shows the suspect carrying the weapon in his left hand while ascending the steps leading up to a door of Rabbi Chaim Rottenberg’s Shul around 10 p.m.

He can also be seen concealing his face with a scarf and wearing a hood before the bloody attack, which Gov. Andrew Cuomo has labeled “an act of terrorism.”

One of the victims in the stabbing was left critically wounded.

Following the alleged stabbing spree on the Hanukkah’s seventh night, Thomas fled from the scene in a car and drove to Harlem, where he was found by cops covered in blood, authorities have said.

He was then taken back north to Rockland County for his arraignment on charges of attempted murder and burglary.

He pleaded not guilty. His bail was set at $5 million.