MGM is developing a remake of the 1988 comedy classic “Dirty Rotten Scoundrels” with Rebel Wilson attached to star.

Steve Martin and Michael Caine teamed up in the original “Dirty Rotten Scoundrels,” which follows two con men trying to swindle a heiress out of her money. The 1988 film was itself a remake of the script for Marlon Brando and David Niven’s 1964 film “Bedtime Story.”

The updated remake brings con artistry to the 21st century — two female scam artists, one low rent and the other high class, compete to swindle a naive tech prodigy out of his fortune.

Wilson is also attached to star in a remake of the Goldie Hawn movie “Private Benjamin.”

Roger Birnbaum and Wilson are producing. The former will produce through his Pin High Productions. Jac Schaeffer penned the screenplay.

Wilson was last seen in “How to Be Single” for New Line Cinema/MGM and “Pitch Perfect 2” for Universal. She is represented by WME and Slone, Offer, Weber, and Dern, LLP.

Schaeffer most recently wrote the science-fiction comedy “The Shower” starring Anne Hathaway for Warner Bros. She is repped by Verve and Writ Large.