Attach API

A collection of 1 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Dec 2, 2018 security Attach API JMX JConsole

Beware the Attach API

A post brought to light an interesting feature of the JDK I didn’t know about: the ability to update a code running in a JVM. The referenced post shows how to apply a bugfix using that feature. The devious white hat JVM hacker in me started to think how one could apply that trick for other less beneficial purposes. And of course, how to prevent that. Hack overview Let’s imagine a banking application based on the familiar Spring Boot stack. A TransferService class is dedicated to

Nicolas Fränkel
A Java geek © 2008-2019
v. 026a3fe88685ee693c2d48dfac2e5cdba00fd32d/162792397
Latest Posts