“She told me everything was all settled; I don’t have to worry about anything,” Miss McClelland said. “All I had to worry about was getting the rest of the money to her.”

According to a suit brought by the Illinois attorney general in November, Foreclosure Solutions Experts does little or nothing to help consumers, and when it does take action, the result is often a repayment plan unsuited to the borrower’s ability to pay. The suit alleges that the company never contacted Miss McClelland’s lender, HSBC.

Illinois is one of the states that bans upfront payments to foreclosure rescue companies. The attorney general’s office has received “thousands” of complaints about such companies, said Michelle Garcia, an assistant attorney general, and the suit against Foreclosure Solutions Experts is one of 22 filed by the state.

Stacy Strong, who runs Foreclosure Solutions Experts, did not return calls for comment.

Advocates say foreclosure rescue scams are particularly insidious because they prey on people’s desperation and because they victimize those who can least afford it.

Borrowers seeking loan modification are often frustrated that they cannot reach the right people at their lender or that the lender insists on a repayment plan they cannot keep, said Ira Rheingold, executive director of the National Association of Consumer Advocates.

“When you’re desperate, that’s when the crooks come out,” Mr. Rheingold said. “You’ve tried everything, and a guy calls you up on the phone or there’s an ad on TV, and you have no other options, what do you do? You go to those guys.

Image One company told Maria Martinez that for $1,000, they would negotiate with her mortgage company to lower her interest rate. Credit... Heidi Schumann for The New York Times

“People probably know in their heart of hearts that they may be getting ripped off, just like most people understood on their mortgages that they were getting in too deep, but bankers said yes, so it must be O.K. It’s the same thing. The real problem is that we continue to fail to have systems in place that help people.”