Paul Weiss has secured a $4.2 million contract with the Treasury Department to respond to a recent cyber attack at one of its bureaus.