This file contains hidden or 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
rule GenericPowershell | |
{ | |
strings: | |
$a = "PS>function" | |
$b = "Invoke-Expression" | |
$c = "<MS><S N=" | |
$d = "</MS></Obj>" | |
$e = "CompileAssemblyFromSource" | |
$f = "Remoting.RemoteHostMethodId" | |
$g = "<resp:Arguments" |
This file contains hidden or 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
@staticmethod | |
def shimcache_xp(address_space): | |
"""Enumerate entries from the shared memory section | |
on XP systems.""" | |
seen = [] | |
shim = lambda x : (x.Tag == "Vad " and | |
x.VadFlags.Protection == 4) | |
for process in tasks.pslist(address_space): |
This file contains hidden or 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
# Get the Win10 branch of Volatility | |
git clone -b win10tp https://github.com/volatilityfoundation/volatility.git | |
# Get the memory dump | |
https://www.sendspace.com/pro/dl/0cte2h | |
# Run some commands |