Scarlett Johansson's lawyer is on the attack -- warning a bunch of websites that Scarlett owns the copyright to her HACKED nude pics and anyone who doesn't take 'em down will FACE HIS WRATH!!!!
TMZ has learned ... Scarlett's attorney -- legal pit bull Marty Singer -- has fired off threatening letters to various sites including TheDirty.com... demanding that the sites remove the "stolen copyright protected private photographs" immediately ... or face legal action.