They waited until shortly before the $5 million winning ticket in a scratch-off lottery game would have been worthless. Then, when two brothers from the Syracuse area went to claim the prize, they made an unusual offer: They told state lottery officials that they would be happy to take home less than the full amount if they could avoid a news conference.

The officials made them wait some more, saying a security check had to be completed before the big payday.

But “security check” turned out to be another name for an investigation that ultimately led to the brothers’ arrest on Tuesday on larceny and other charges. The authorities said the two brothers had tricked the actual winner, a customer at their parents’ convenience store.

The brothers — Andy Ashkar, 34, and Nayel Ashkar, 36 — were charged with attempted grand larceny and conspiracy. The Onondaga County district attorney, William J. Fitzpatrick, said in a statement that Andy Ashkar was also charged with criminal possession of stolen property, the ticket in the “$500 Million Extravaganza” game, sold in October 2006.