Repository navigation
Need help with PeSieve #123
Description
Activity
hi @WiltedDeath !
Few things should be kept in mind:- if the process was not detected as suspicious, no output directory will be generated
- by default, the directory where the output will be saved, is the current working directory (where PE-sieve was run). So, it is not necessarily the same directory as the one where PE-sieve binary is located. If the path to PE-sieve is
C:\\Users\\CapeUser\\Desktop\\pesieve\\pe-sieve64.exebut I run it fromC:\\Users\\tester\\Desktopthe result will be saved toC:\\Users\\tester\\Desktop
I don't know if you are familiar with the parameter
/dir- with the help of it, you can give to PE-sieve the exact path where you want your results to be stored, i.e./dir C:/dumps.
BTW, you may also consider using PE-sieve DLL instead of EXE, and the dedicated Python bindings:Hi @WiltedDeath,
I would like to point out that you might like to be using https://github.com/hasherezade/hollows_hunter instead maybe if you are not using the PE-sieve DLL for python binding ? It would allow you to run system wise if this is what you intend for the auxiliary.
https://github.com/hasherezade/pe-sieve/wiki/1.-FAQ#pe-sieve-vs-hollowshunter---what-is-the-differenceYou might want to look at the https://github.com/hasherezade/pe-sieve/wiki/3.3.-JSON-reports to see if you should be expecting results for you auxiliary when in doubt.
Also, you might want to add a check for 32 bits vs 64 bits PE-sieve/Hollowshunter if you are using it as an EXE.
Probably just a FYI as this is more specific to CAPE but there could be a problem with your auxiliary, make sure that you actually see the logs in the analysis.log for your module. The
/diroption should solve your issue on PE-sieve part.Alright, thanks for the reply, will definetely look into it.
one more thing: if i use the /dir parameter how should the overall command for running pe sieve be constructed?will it be : pe-sieve64.exe /pid 1234 /dir
or am i in the wrong?Alright, thanks for the reply, will definetely look into it. one more thing: if i use the /dir parameter how should the overall command for running pe sieve be constructed?
will it be : pe-sieve64.exe /pid 1234 /dir or am i in the wrong?
you need give your path after the
/dirparameter. For example,pe-sieve64.exe /pid 1234 /dir C:/dumpsif I want to save the output toC:/dumps.BTW, all the parameters are listed if you run PE-sieve without any parameters:
You can also ask more details about one particular argument of your choice, by running i.e.
pe-sieve.exe /dir ?.Check also Wiki for more info.


Hi, so I am doing a project with CapeV2 sandbox and I have a task to add PeSieve as an auxiliary module to join the analysis process on a PID.
Currently, I am able to make PeSieve execute on the PID, now all that is left is uploading the results.
My question is: after a scan, it generates a folder (process_{pid}) with the results. I am trying in my code after the scan to locate the folder in the Windows guest and basically upload every file in it to Cape Host but currently I have no luck. Am i missing something?