The law firm Cooper Levenson is accused of violating federal and state cybersecurity laws after the now-disbarred chairman of its family practice group allegedly orchestrated a scheme to hack a rival lawyer’s client in a messy divorce proceeding.

The lawsuit says attorney Richard Klein misappropriated confidential information that his client obtained after installing a malware program called a keylogger on the client’s wife’s computer while the couple was in divorce proceedings. The program gave Klein’s client the ability to intercept virtually all of his wife’s online activity, including emails with her lawyer and draft pleadings.