应急响应 - 小技巧

2022-04-02 11:01:44 浏览数 (1)

通过PowerShell命令查找进程加载了DLL:

代码语言:javascript复制
ps | ? { $_.Modules.ModuleName -contains 'amsi.dll' }

通过WMI命令识别带有已加载 DLL 的进程:

代码语言:javascript复制
gcim CIM_DataFile -Filter 'Drive = "C:" AND Path = "\Windows\System32\" AND FileName = "amsi" AND Extension = "dll"' | gcai -Association CIM_ProcessExecutable

通过wmic.exe 获取具有特定DLL的进程列表

代码语言:javascript复制
wmic PATH CIM_DATAFILE WHERE "Drive='C:' AND Path=' \ Windows \ System32 \ ' AND FileName='amsi' AND Extension='dll'" ASSOC:list /ASSOCCLASS:CIM_ProcessExecutable

0 人点赞