I am having some trouble with the development of relevance that will query all instances of a specific process name and output the SHA1 of the exe tied to that process.
For example, lets pick SVCHOST.exe.
running applications whose ((name of it) starts with "svchost")
For every instance of SVCHOST, how would I output the SHA1?
My end goal is to query particular processes and compare with the known good hashes. Then flag those files that do not have some other unexpected hash. Hashing known files and locations is easy. It is hashing files of unknown locations that is difficult.
if
(sha1 of it) of running applications whose (name of it starts with "svchost") equals "49083ae3725a0488e0a8fbbe1335c745f70c4667"
then
"FALSE"
else
"TRUE"