Kaspersky Endpoint Security saves the disk image in the RAW format. Files can also be compressed into an archive. A special Python script allows converting files from the RAW format to the EWF format. The script constantly looks for RAW files in the specified folder. If such files are detected, the script automatically converts the files to the EWF format.
convert_to_ewf_monitor.py script
For the script to work, the following software must be installed on the computer:
The libewf library is open source software.
It is recommended to place the library files and the script file in the same folder.
To enable the conversion of disk image files:
py convert_to_ewf_monitor.py --source <full path to the source files folder> [additional settings]
EWF conversion script parameters
Parameter |
Description |
---|---|
|
The full path to the folder in which the script looks for source files. The script also looks for files in subfolders at the specified path. This is a mandatory parameter. |
|
The full path to the folder where the script saves converted files. The folder structure is preserved. By default, the script saves converted files in the folder specified in the |
|
Delete source files after successful conversion. If the conversion fails, the script skips deleting the source files and you can try again. |
|
The full path to the ewfacquirestream.exe file. The path must include the file name. By default, the script attempts to locate the ewfacquirestream.exe file in the folder where the script is located. |
|
Regular expressions to find source files to convert. You can use this option if you need to convert individual files. By default, the script looks for files using the |
|
Find a single file to convert. After successful conversion of the single file, the script exits. |
|
The maximum number of source files that the script can convert at the same time. You can use this setting to optimize the performance of the script. By default, the script can convert up to four files at a time. |
|
Logging level. By default, the script uses the DEBUG logging level. |
|
The full path for saving log files. The path must include the file name of the log file. By default, the script displays events on the interpreter console. |
Example:
|