So, here's the quick and dirty. We'll download the sample, rename it, copy it to system32 dir and edit a useless service to load it on startup.
- Grab the file here.
- Rename it to "booyah.dll"
- Copy "booyah.dll" to "C:\Windows\System32\"
- Open Regedit and navigate to \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Nla\Parameters
- Right click on "ServiceDll", click "Modify", change the current DLL to point to "booyah.dll", and click OK
- Close Regedit and Reboot.
What's next? If you've done malware analysis before, you know you should have been capturing ALL network traffic from this host. Continue sniffing and looking for interesting things. Capture all of the traffic to disk with tcpdump, tshark or daemonlogger. Then run it through Snort with the Emerging Threats ruleset or ngrep looking for interesting strings. The possibilities are endless.
Oh yeah, don't forget to put this behind some kind of firewall or filtering device so you can keep a handle on it. I've got mine sitting behind a Vyatta-based bridging firewall that is working quite well for this use. I'm also sniffing directly on the bridged interface.
7 comments:
Did you work this out in the virtulmachine?
thanks!
I didn't bother trying this out in a virtual machine since I had physical hardware handy. The infected machine, which is still infected, is on a small Dell desktop and the firewall is a tiny 1U server with dual NICs running Vyatta.
It's not working for me. i have tried this on a newly installed Vista Ultimate machine. I dont even have any anit-virus running on my machine. Any idea, why its not working?
-Bachi
Hey Bachi,
This was done on a Windows XP system. I don't know if it works under Vista and I don't have a Vista system handy. You wouldn't happen to have XP available to test with, would you?
Hi John,
Thanks for the quick response. For the work i am doing, i have to test it with Vista only.
-Bachi
To be more specific, I am getting the error "Error 1114: A dynamic link library(DLL) initialization routine failed". Have u ever faced the same issue?
works like charm for me on a XP SP2 box. I can see the UDP traffic going out like crazy. Microsoft, Kapersky, Mcafee, Symantec are all blocked. Thanks !
Post a Comment