She was hardly a model Muslim before she became an ISIS suicide bomber — drinking booze, hanging out with drug dealers and posing for naked photos in a bubble bath.

Before-and-after photos of Paris terrorist Hasna Aitboulahcen, 26, show her radical transformation from a hard-partying clubgoer nicknamed “Cowgirl” into a violent Muslim extremist.

In one picture obtained by DailyMail.com, she is seen soaking nude in a tub, covered by only a necklace and bubbles.

Another shows her lounging in a tank top wearing heavy makeup while pouting at the camera.

Her brother, Youssouf Aitboulahcen, said his estranged sister preferred the Internet to Islam — and first put on a veil just a month ago.

“She was living in her own world. She was not interested in studying her religion. I never saw her open the Koran. She was permanently on her phone, looking at Facebook or WhatsApp,” Youssouf Aitboulahcen told DailyMail.com.

Neighbors told the Times of London that Aitboulahcen was considered a bad Muslim, and a female friend said she once caused a scene while wasted in a German nightclub.

“She got very drunk and sprayed tear gas around the whole place,” the pal said.

“Basically, she just got angry with a guy who was trying to chat her up and became furious.”

“I think she had a very disturbed childhood, and she had a lot of problems. She really did drink a lot,” the woman added.

Another friend, Amin Abou, 26, described her as a “party animal who loved clubbing.”

“She drank alcohol and smoked and went around with lots of different guys,” he said.

“She had a bad reputation. She had lot of boyfriends, but nothing serious.”

On Wednesday morning, Hasna Aitboulahcen tried to lure French cops to their deaths by screaming, “Help me! Help me!” as more than 100 anti-terror forces stormed an apartment building north of Paris in pursuit of Abdelhamid Abaaoud, the mastermind behind Friday’s terror attacks.

The two have been identified as cousins, and the Times reported that “it is believed that she was also married to him.”

When a cop yelled out, “Where’s your boyfriend?” she answered, “He’s not my boyfriend!” according to a recording that also captured the sound of roaring gunfire.

Aitboulahcen then emptied the magazine of a Kalashnikov assault rifle before blowing herself up and becoming Europe’s first female suicide bomber.

The explosive vest she triggered killed a police dog named Diesel and ripped her to shreds, sending her head and spine hurtling out a window.

“After a long firefight, we heard a loud explosion,” French police chief Jean-Michel Fauvergue told the Daily Mirror.

“The windows of an apartment were shattered, blown from inside to out . . . That’s when we saw a human body, a woman’s head, fly through the window and land on the pavement — on the other side of the street.”

Abaaoud, who had mounted several failed terror plots prior to the coordinated strikes that killed 129 people last week, also died during the seven hours of fighting, during which cops fired 5,000 bullets.

Eight other people suspected of plotting a second wave of attacks were arrested, including a man who was hauled away naked from the waist down.

Aitboulahcen’s parents immigrated to France in 1973, and she was born in 1989 in the Parisian suburb of Clichy-la-Garenne.

She was raised by a foster family, her brother said, and a neighbor described her to the Times as a “tomboy” who was “not afraid of anyone.”

Aitboulahcen had been put under “triple surveillance” by French intelligence, judges and police for drug- and terror-related activities, according to the Telegraph.

Meanwhile, NYPD Commissioner Bill Bratton admitted that his cops may not be able to stop a Paris-style attack on the Big Apple, saying, “The whole city is a soft target.”

“Even with 35,000 cops, we cannot be everywhere,” he said during a Manhattan Institute luncheon at 7 World Trade Center.

“The reality is that we’re a huge city. We can’t protect everything all the time with the significance that we do at Times Square or here at the World Trade Center.”

Additional reporting by Yoav Gonen