I was trying a small project. I am building something similar to GRR but agentless. I dont want an agent running on the target machine.
I want to deploy a standalone rekal.exe on the target, run plugins remotely, and get back the output files, and cleanup after. I am using impacket's wmiexec to transfer the exe and run commands remotely, since my targets are primarily going to be windows machines.
This is how i am doing it.
1. connect to remote machine over WMI.
2. transfer standalone version of rekall.
3. take a memdump on the remote computer.
4. run a few plugins on the image.
5. zip and download the output files.
6. delete everything on the target.
It does take a long time to complete. around 15 mins if the target is a win 8.1 with around 4 gb ram.
What would be a more efficient way to achieve this? How do i improve the performance? Any suggestions would be really helpful.
Hi Michael,
Thanks for your reply.
As you suggested, ill run the plugins on the live memory, that's a very good idea. Thanks.
Also, i have heard of rekall agent. but the whole purpose of what i am doing here is to avoid polling on the target. So i still prefer not using the agent.
Artifact collector sounds interesting but i couldn't find much about it. It will be great if you can point me towards some documentation.
Thanks,
Aditya Shinde