UnAutoIt
UnAutoIt copied to clipboard
Some AutoIt Binary just have empty return. - listing fails
Hi:
The UnAutoIt tool is cool, it do help my research and study a lot, really appreciate it.
recently I found there's some AutoIt Binary that UnAutoIt just return empty stdout
and empty stderr
, but the returncode
is 0
.
The binary hash is: 0D3987D155A6259422A13E11789E231EDD3653E12A591E00981804FDF8DF959A
When I list
this AutoIt binary, it return like this:
UnAutoIt list Downloads/bin-2/0D3987D155A6259422A13E11789E231EDD3653E12A591E00981804FDF8DF959A
+----+------+------+------+------+
| ID | NAME | PATH | SIZE | TYPE |
+----+------+------+------+------+
+----+------+------+------+------+
In [14]: command = [
...: bin_path,
...: 'extract-all',
...: '--output-dir',
...: out_path,
...: source_path]
In [15]: stdout = subprocess.run(command, timeout=90, capture_output=True)
In [23]: stdout
Out[23]: CompletedProcess(args=['PycharmProjects/autoit/UnAutoIt/UnAutoIt', 'extract-all', '--output-dir', 'Downloads/bin-2/output', 'Downloads/bin-2/0D3987D155A6259422A13E11789E231EDD3653E12A591E00981804FDF8DF959A'], returncode=0, stdout=b'', stderr=b'')
Is this a limitation? any way to debug it?
Thanks for the review You can debug from source using vscode. Or you can send me the binary, I will check if there's any bug in the tool that gets triggered by the binary
mli_sample.zip Hi, Thanks for the reply. Sorry so far my Golang's capabilities not good enough to debug your code.
Here is the binary, it's malicious, really appreciate you can take a look
Thanks //Johnny
@x0r19x91 Hi:
Do you have any finding? recently I have parsed some samples that have the same problem, if you need it, I can send it over here.
Thanks //Johnny
Thanks for identifying the bug! I will be fixing it shortly
The issue has been fixed. Please checkout the latest release
Thanks, I will check, do you still need some more samples?
Yes sure, I can look for if there are any other bugs
Hi I have tried, still lot's of empty extraction.
here I have packed around 160 samples: download here
some of them are malicious, please work in isolated env
Did you use extract-all
command. If yes, could you try using list
command to get the id's of the artifacts and then use the extract
command with id
Hi, actually I just use list
command to see the new fix works or not, I see it return an empty table, then I didn't process to extract-all
Hi I have tried, still lot's of empty extraction.
here I have packed around 160 samples: download here
some of them are malicious, please work in isolated env
It seems the link is not usable. Can you please use mega.nz
Try this mega.nz link
Hi Bro:
The link accessible? Any finding of the samples?
yes, Thanks. There are many samples. and some of them are non standard