Skip to content

Comments

The detection of BAT to PE-EXE script-compilers.#761

Merged
s3rvac merged 3 commits intomasterfrom
improvement-bat2exe-detection
May 5, 2020
Merged

The detection of BAT to PE-EXE script-compilers.#761
s3rvac merged 3 commits intomasterfrom
improvement-bat2exe-detection

Conversation

@tamaroth
Copy link
Contributor

@tamaroth tamaroth commented May 4, 2020

This pull request adds the detection of the following BAT to PE-EXE compilers:

These programs are not strictly compilers, they are quite difficult to categorise. They never compile the BAT to a VM or intermediate language, but rather the store the script file in the executable file (resources, read-only data, overlay, etc.) and execute them (by either dropping them to a file or seldomly directly from memory).

If required, I could change their categorization from Compiler to Packer, despite the fact they rarely use compression on the batch files.

The corresponding tests have been added to retdec-regression-tests.

tamaroth added 3 commits May 4, 2020 14:09
It's a simple BAT to PE-EXE script compiler from the German company F2KO.
It is yet another BAT to PE-EXE script compiler.
It is a discontinued but still prevalent BAT script compiler to EXE form.
@s3rvac
Copy link
Member

s3rvac commented May 5, 2020

Let's run TeamCity tests.

Copy link
Member

@s3rvac s3rvac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If required, I could change their categorization from Compiler to Packer, despite the fact they rarely use compression on the batch files.

The current categorization is fine by me. Thank you for adding the detection 👍

All tests are passing, so I am merging this.

@s3rvac s3rvac merged commit fab8f3e into master May 5, 2020
s3rvac added a commit that referenced this pull request May 5, 2020
@s3rvac s3rvac deleted the improvement-bat2exe-detection branch May 5, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants