kevoreilly / CAPEv2

Malware Configuration And Payload Extraction
https://capesandbox.com/analysis/
Other
1.89k stars 402 forks source link

Calc / Notepad detonation fail #547

Closed gcmoreira closed 1 year ago

gcmoreira commented 3 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

Current Behavior

None of them seems to work.

Failure Information (for bugs)

As per the Behavioral Analysis they finish within the second it was executed. I tested them in a local (updated) environment but also double-checked that the same results happen in your environment, see the following results:

Steps to Reproduce

  1. Take calc.exe and notepad.exe from c:\windows\sytem32 on the same win7 or win10 guest machine. Both .exe are PE 32 bit so it doesn't matter.
  2. Submit them using the web default settings. I only forced the "Machine" just to make sure it will execute there.

Context

I tested them in a local updated environment but also double-checked that the same results happen in yours.

Local setup

Question Answer
Git commit 5d5ba06d8788ac561b267b20eec49e437decdf88
Community package Updated using $ python3 utils/community.py -waf
HOST OS version Ubuntu 20.04.2 LTS
GUEST OS versions win7x86, win7x64, win10x64

Failure Logs

Please check the result links above.

kevoreilly commented 3 years ago

Thanks for the heads up - will look into it.

doomedraven commented 2 years ago

MUI problem - https://twitter.com/hasherezade/status/1558841246944317441

kevoreilly commented 1 year ago

doomed is right - this is a mui issue not a cape issue. hasherezade offers a nice explanation: https://github.com/hasherezade/libpeconv/issues/44

To prove this, instead of submitting notepad or calc, try submitting a batch file that launches them. Then cape has no problem monitoring these exes run from their proper location:

https://capesandbox.com/analysis/354918 https://capesandbox.com/analysis/354919