#StopRansomware, #BianLianRansomwareGroup, #KQL, #MDE search in (*) Timestamp > now(-30d) | where InitiatingProcessFolderPath has_any (@"\AppData\",@"\Temp\") and FileName contains "cmd.exe" and ProcessCommandLine contains " del " and
1
2
5
369
ProcessCommandLine contains InitiatingProcessFileName | summarize uc = count() by ProcessCommandLine, InitiatingProcessFileName | sort by uc
1
2
223
#northkorea, #dprk, #korean, #mde, #kql let dprk = dynamic(["ㄱ","ㄴ","ㄷ","ㄹ","ㅁ","ㅂ","ㅅ","ㅇ","ㅈ","ㅊ","ㅋ","ㅌ","ㅍ","ㅎ","ㄲ","ㄸ","ㅃ","ㅆ","ㅉ","ㄱ","ㄲ","ㄴ","ㄷ","ㄸ","ㄹ","ㅁ","ㅂ","ㅃ","ㅅ","ㅆ","ㅇ","ㅈ","ㅉ","ㅊ","ㅋ","ㅌ","ㅍ","ㅎ","ㅏ","ㅑ","ㅓ","ㅕ", 1/3
1
1
308
2/3 "ㅗ","ㅛ","ㅜ","ㅠ","ㅡ","ㅣ","ㅐ","ㅒ","ㅔ","ㅖ","ㅚ","ㅟ","ㅢ","ㅘ","ㅝ","ㅙ","ㅞ","ㄱ","ㄳ","ㄴ","ㄵ","ㄶ","ㄷ","ㄹ","ㄺ","ㄻ","ㄼ","ㄽ","ㄾ","ㄿ","ㅀ","ㅁ","ㅂ","ㅄ","ㅅ","ㅇ","ㅈ","ㅊ","ㅋ","ㅌ","ㅍ","ㅎ","ㄲ","ㅆ"]); search in (DeviceFileEvents)
1
188
3/3 Timestamp > now(-30d) | where FileName has_any (dprk) | summarize uc = count() by FileName, FolderPath, ActionType, DeviceName | sort by uc
131
#russia, #russian, #mde, #kql let russia = dynamic(["Э","Ё","И","Л","Д","П","Ы","Б","Я","Г","Ч","Й","Ж","Ш","Ю","Ц","Щ","Ф","Ъ"]); search in (DeviceFileEvents) Timestamp > now(-30d) | where FileName has_any (russia) | summarize uc = count() by FileName, FolderPath | sort by uc
162
#iran, #persian, #mde, #kql let iran = dynamic(["آ","ب","پ","تی","ج","چ","خ","ز","آر","ز","اس","ش","پ","ز","من","ز","پ","اف","س","ک","ل","و"]); search in (DeviceFileEvents) Timestamp > now(-30d) | where FileName has_any (iran) | summarize uc = count() by FileName | sort by uc
1
3
372
#BrowserExtensions, #MDE, #KQL #ChatGPT union DeviceTvmBrowserExtensions,DeviceTvmBrowserExtensionsKB | where ExtensionId has_any ("kgnddmccicfibljeodejjmekeiilkfhk","coegmjlpjblmfpcnleenkhggdebdcpho","boofekcjiojcpcehaldjhjfhcienopme") | summarize uc = count() | sort by uc
1
1
5
358
#BrowserExtensions, #MDE, #KQL union DeviceTvmBrowserExtensions,DeviceTvmBrowserExtensionsKB | where ExtensionName contains "Chat GPT" | summarize uc = count() | sort by uc
1
1
183
#emotet, #mde, #kql search in (*) Timestamp > now(-30d) | where ProcessCommandLine matches regex "(regsvr32.exe \"C:\\Windows\\system32\\[a-zA-Z]+\\[a-zA-Z]+\\.dll\")$" | summarize uc = count() by ProcessCommandLine | sort by uc
6
473
#emotet, #mde, #kql search in (*) Timestamp > now(-30d) | where FolderPath matches regex "(Temp\\[0-9]{6}\\.tmp)$" | summarize uc = count() by FolderPath | sort by uc
1
5
350
#qakbot, #qbot, #kql union Device*Events | where InitiatingProcessFileName in~ ("chrome.exe","msedge.exe","firefox.exe","brave.exe","iexplore.exe","opera.exe") and FileName contains "CompPkgSrv.exe" and ProcessCommandLine contains "CompPkgSrv.exe -Embedding" | summarize count()
3
#qakbot, #qbot, #kql union Device*Events | where InitiatingProcessFileName in~ ("chrome.exe","msedge.exe","firefox.exe","brave.exe","iexplore.exe","opera.exe") and FileName contains "rundll32.exe" and ProcessCommandLine contains "shell32.dll,SHCreateLocalServerRunDll"
2
5
#qakbot, #qbot, #kql union Device*Events | where (InitiatingProcessFileName contains "regsvr32.exe" or InitiatingProcessFileName contains "rundll32.exe") and (FileName contains "WerFault.exe" or FileName contains "wermgr.exe") | summarize count()
1
2
#qakbot, #qbot, #kql union Device*Events | where InitiatingProcessFileName contains "cmd.exe" and FileName == "replace.exe" | summarize count()
1
//Execute DLL union DeviceEvents,DeviceProcessEvents | where ProcessCommandLine contains "rundll32" and ProcessCommandLine contains ".dll" and ProcessCommandLine has_any (",#1",",DllMain",",global") | summarize count() by ProcessCommandLine | sort by count_
1
1
1
//Execute DLL union Device*Events | where InitiatingProcessCommandLine contains "rundll32" and InitiatingProcessCommandLine contains ".dll" and InitiatingProcessCommandLine has_any (",#1",",DllMain",",global") | summarize count() by InitiatingProcessCommandLine | sort by count_
2