How to add more dlls?
Hi icchy,
Thanks a lot for your great work here. I'm quite interested in this project and I tried a locky ransomware sample, and came across an error:
File "/tracecorn/example.py", line 17, in
IOError: MPR.dll does not exist
The sample has the following DLLs imported:
['MPR.dll', 'urlmon.dll', 'WININET.dll', 'GDI32.dll', 'SHELL32.dll', 'KERNEL32.dll', 'NETAPI32.dll', 'ADVAPI32.dll', 'USER32.dll']
Could you give me some instructions on how to add DLLs. It seems like the project has 3 DLLs imported by default (kernel32, advapi32, urlmon).
Thanks!
Hello patrafter1999,
Thank you for your comment! First this project is under development, so I am not sure the tracecorn will be able to analyze real-world malware.
Of course you can import your DLLs by adding dll path to unitracer.Windows.dll_path (list object).
Just create directory dll and add following code to your script:
uni = unitracer.Windows()
...
# add search path for dll
uni.dll_path.insert(0, "dll")