cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.56k stars 1.7k forks source link

Injecting inputs through source code during analysis #2534

Open shafaqat1 opened 6 years ago

shafaqat1 commented 6 years ago

My issue is:

I'm analyzing .exe files of C language in Cuckoo. For any file having user inputs, Cuckoo stops on the first input and keeps waiting until hits timeout. I want to inject the required inputs through source code during analysis in the guest machine. Is it possible in Cuckoo? Does Cuckoo provides any package for that?

My Cuckoo version and operating system are:

Cuckoo: 2.0.6 Virtualbox: 5.2.20 Host OS: Ubuntu-16.04

RicoVZ commented 6 years ago

Hi shafaqat1,

Thanks for posting an issue.

Cuckoo currently does not support providing input to stdin. Arguments are supported for the exe analysis package. You can provide the arguments option when submitting a new task.

Example: If your exe would require the argument -r stuff. The option to submit would be "arguments=-r stuff"