Bill Cosby has hired a battalion of private investigators to dig up dirt on his many accusers, The New York Post has learned.

The comedian, fighting an onslaught of accusations that he sexually assaulted more than two dozen women over many years, is paying six-figure fees to private investigators for information that might discredit his alleged victims.

Multiple sources confirmed that Cosby, through his Hollywood attorney Martin Singer, is implementing a scorched-earth strategy in which anything negative in his accusers’ pasts is fair game.

At least one Glendale, Calif.-based firm with a half-dozen former LAPD detectives on staff is muckraking for Cosby, a source said.

“If you’re going to say to the world that I did this to you, then the world needs to know, ‘What kind of person are you? Who is this person that’s saying it?’ ” Cosby told his legal and public-relations team at a recent meeting, according to an insider who was present.

Discussing supermodel Beverly Johnson’s claim that Cosby spiked her cappuccino during a visit to his home in the 1980’s the source said, “You mean you never reported it to the police? You never tell anyone?”

The source continued: “The strategy isn’t new and it’s quite simple: You say I’m a bad guy, well, let’s see what gives you the right to throw a stone at my house when your home is also made of glass.”

Another source confirmed the alleged legal strategy noting that it has already worked to some degree.

“They were able to find out information about Beverly Johnson’s boyfriend who said she only had good things to say about Cosby. We found out that Beverly never told her live-in lover of several years what she’s now telling the media and we found that to be strange,” the source noted.

The insider also said they’ve dug up information on another accuser – Katherine McKee, a onetime girlfriend of the late Sammy Davis Jr. who said Cosby raped her in the 1970's.Investigators uncovered internet posts in which McKee wrote glowingly of Cosby and an interview in which she said she is “used to lying.”

Singer would not address the hiring of private detectives.

“You [the media] don’t need private investigators to find out information about the accusers. A simple Google search will obtain the information,” he said.