Closed juste-bob closed 2 years ago
Hi !
You were almost there, you were missing the input
element: https://dfir-orc.github.io/wolf_config.html#input-element
Try something like this:
param([String]$ProcessName)
Get-Process -Name $ProcessName | ConvertTo-Csv -NoTypeInformation
<file name="process_ps1" path=".\%ORC_CONFIG_FOLDER%\process.ps1" />
<command keyword="Process" winver="6.0+" >
<execute name="powershell" run="%SystemRoot%\System32\WindowsPowerShell\V1.0\powershell.exe"/>
<argument>-NonInteractive -WindowStyle Hidden -NoProfile</argument>
<input name="process.ps1" source="res:#process_ps1" argument="{FileName}" />
<output name="process.csv" source="StdOut" />
<output name="process.log" source="StdOutErr" />
</command>
Hello,
I'm trying to execute a wolflauncher command that will launch a single powershell scripts. I succeeded with binary but not with scripts. I would like to know if it is possible to add scripts to the tools embedded in DFIR-ORC?
Below is some wolflauncher configuration I tried:
Or
And the part related to the embed.xml file :
When DFIR-ORC.exe is runing, the error obtained is:
[E] Failed to CreateFile for '' [0x80070003: Le chemin d'accès spécifique est introuvable.]
Did I miss something?In addition to this, is it possible to add / link a configuration file to a tool embed? Or do I have to package the whole thing in a binary (and then embed it)?
I tried to declare the config file in differents ways:
with
Or,
with,
I got issues during the configuration or the following error during runtime:
[E] Failed to CreateFile for '' [0x80070003: Le chemin d'accès spécifique est introuvable.]