How to scan for log4j on Windows Server

Solution 1:

That is definitely insufficient. You need something to open up war/jar/etc files and inspect inside there. Further, depending on the filename to match isn't guaranteed to work. Finally, you're not checking on the version with that, so you'd also need to determine if you're running a vulnerable version.

This page has a link to a github project that does claim to do these things.