It's actually pretty easy in the US.
There are special protections for illegal immigrants so it's reasonably easy to invent a family of them to collect benefits.
In addition, various US govts or even agencies within the same govt, often don't talk to one another.
So, when an old person dies, friends/family can keep collecting benefits.
See https://www.theguardian.com/money/2015/mar/16/social-securit...
"Social Security records show that 6.5 million people in the US have reached the ripe old age of 112. In reality, only few could possibly be alive. As of last fall, there were only 42 people known to be that old in the entire world."
It's not just dead people.
"One Social Security number was used 613 times. An additional 194 numbers were used at least 50 times each."