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
A campaign demanding an end to the taxation of sanitary items will be presented to George Osborne after reaching almost 200,000 signatures.
Listen to music for under an hour a day and always wear earplugs to nightclubs and sport events to protect your hearing, health experts say.
Father Anthony McSweeney, 68, was found guilty of sexually abusing a teenage boy at a children's home in Hounslow between 1979 and 1981.