Created
February 23, 2023 09:09
-
-
Save thebabush/1e588672a5f253f97975373b9fb67f01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob | |
import os | |
import lief | |
def main(drivers_path): | |
drivers = sorted(glob.glob(os.path.join(drivers_path, '*.sys'))) | |
for driver in drivers: | |
pe = lief.parse(driver) | |
if 'VmbChannelInitSetProcessPacketCallbacks' in pe.imported_functions: | |
print(driver) | |
if __name__ == '__main__': | |
main('C:/Windows/System32/drivers/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment