The lawyer for Hollywood filmmaker Peter Rodger said that the "family believes the child was the perpetrator".
Alan Shifman said the son had Asperger's syndrome, had trouble making friends and had been receiving professional help.
Mr Shifman added that the family had contacted police about "recent posts on YouTube" by Elliot "regarding suicide and the killing of people". The family is "devastated" and co-operating with police, he said.
More top news
The 12th series of X Factor kicks off on ITV this Saturday but which previous winners went on to make it big?
A mother and her four young children who are feared to be travelling to Syria are being sought by police.
Hangovers cannot be prevented, even by drinking water or eating after boozing, scientists have concluded.