Menu

Post image 1
Post image 2
1 / 2
0

How to triage Java memory-shell clues without unsafe default heap dumps

DEV Community: java·Qimin Zhao·3 days ago
#hTdUt2cH
#dev#java#evidence#open#investigator#service
Reading 0:00
15s threshold

Disclosure: I maintain Open Investigator at Arvanta Cyber. A suspected Java memory shell is an awkward incident-response starting point. You may not have a clean IOC. You may only have a strange request path, a servlet that should not exist, a web process that opened an unexpected connection, or a Java service that suddenly behaves differently after a deploy window. The risky move is to jump straight to heavy production diagnostics. Heap dumps and flight recordings can be useful, but they can also be large, sensitive, and disruptive if a team treats them as the first button to press. For a first pass, I want a safer question: What read-only evidence can I collect before asking for heavier JVM inspection? The first-pass Java triage loop I would start with low-impact context: Identify Java processes and service owners. Look at process command lines, working directories, users, service managers, and how the JVM was launched. Review JVM flags and attach-style clues.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More