Agents from the Federal Bureau of Investigation’s New York office have been investigating an attempt by international hackers to break into computers at the Trump Organization, according to three people with knowledge of the matter.

Early this month, at a meeting at the bureau’s offices in Lower Manhattan, some of the agents briefed President Trump’s two grown sons, Eric Trump and Donald J. Trump Jr., about the attempted intrusion, the people said. All spoke on the condition of anonymity because they were not authorized to discuss the matter.

Mr. Trump’s sons began running the Trump Organization after their father became president.

A spokeswoman for the F.B.I. declined to comment on the investigation, which was first reported by ABC News, or to comment on the briefing.

Eric Trump confirmed in a telephone interview on Thursday evening that he had spoken with the F.B.I. about matters related to computer security, but declined to elaborate, other than to say there had been no successful intrusion into the company’s computer system.