There are gazillions of internet resources discussing how to use Frida
to hook and otherwise mess around with SSL connections of Java programs running under Android, but seemingly (as far as my google-fu allows at least?) not a single one discussing how to do this same successfully for Java programs running under Windows (which I would really need to do!).
Even the go-to ssl_logger Frida-based Python script in the Google Github repository lacks support for Windows (without mentioning why), but rather only contains hooks for Linux and macOS, which makes me wonder even more - is this "impossible" (== very hard) on Windows, contrary to on most other platforms, and in that case why?
If not, what would be the recommended way to do it with Frida?
PS.
This Oracle resource hints of a DLL named "njssl8.dll" being used as a back-end for the Java SSL functionality on Windows, but frida-trace
does not detect any modules containing the substring "ssl" at all when running with option -I "*ssl*"
on my test target Burp Suite Community Edition (which I used because I had it handy and because it is very fitting for these kinds of tests).