WASHINGTON — Frustrated and impatient, fed up with waiting and eager to fight back, President Trump has embarked on what amounts to a two-prong strategy to contain the threat and undercut the credibility of the escalating investigations targeting him and his associates.

The blizzard of Twitter messages combined with a string of public statements by his lawyer, Rudolph W. Giuliani, in recent days seemed aimed at turning the focus away from the conduct of the president or his team to that of their pursuers while laying out a series of red lines to limit the reach and duration of the primary inquiry.

“I think we’re finally seeing some semblance of a strategy emerge,” said Alan M. Dershowitz, the Harvard Law School professor emeritus who speaks with the president from time to time but has declined to join his legal team. “They have now decided that they need to be more proactive, more aggressive and more anticipatory and I see that happening.”

While he has assailed the investigations for a year, Mr. Trump’s latest assertion of bad faith by the Justice Department and the F.B.I. went beyond talk and resulted in an extraordinary meeting on Monday at the White House, where the president pressured intelligence and law enforcement officials to allow congressional Republicans to view highly classified information related to the Russia investigation that they had previously refused to divulge.