This past May, in response to the growing sophistication of cyberattacks and application exploits, U.S. lawmakers (almost unanimously) passed the first-ever federal law concerning trade secret protection: the Defense of Trade Secrets Act. Under the DTSA, however, reverse engineering is protected and deemed 100 percent legal. Within weeks, the EU followed with their own directive increasing trade secret protection while protecting reverse engineering. This talk discusses how this new law impacts reverse engineering, the pros and cons of tying reverse engineering to the courts, best practices for code development, limitations on reverse engineering, counterattacks to those limitations, and counterattacks to the counterattacks.