First of all, I apologize for my bad English.
This is my problem:
I created my own Crypter and Stub in C #. The encrypted file is Timescan. When I start the Server file. It is not detected by Antivirus. but its counterpart created in Temp is detected. the file in Temp is removed and quarantined. instead the execution file is not touched by the antivirus. but by blocking the file in Temp, the Rat is not executed.
how can I solve this problem? Thank you
The temporary folder is more than likely one of the #1 monitored folders by anti-virus solutions
how can I make the file created in Temp clean? through Runpe?
(Dec 27, 2017 03:43 PM)autisticilab Wrote: how can I make the file created in Temp clean? through Runpe?
Not necessarily, most anti-virus solutions are capable of scanning the detected file in memory
try putting it in recycle bin
(Dec 27, 2017 03:43 PM)autisticilab Wrote: how can I make the file created in Temp clean? through Runpe?
I've seen only MalwareBytes detecting files put in directories by their names. Make sure the name doesn't look suspicious. If you are sure it's not that, it means that your file is detected or you could try Application Data.
(Jan 3, 2018 03:10 AM)cicko Wrote: try putting it in recycle bin
🤣 🤣 🤣
I’m positive almost all of the antiviruses have a filewatch system with like high priority folders such as appdata and temp
(Jan 6, 2018 07:32 AM)gigajew Wrote: I’m positive almost all of the antiviruses have a filewatch system with like high priority folders such as appdata and temp
i never had probs with Appdata, idk about temp though
Sounds like it's only a scantime crypted TBH, you need a runtime one
OP's crypt probably just decrypts the malware and then writes it to a file in TEMP, resulting in a non-crypted file
being dropped. Ofcourse any AV will register this and directly remove them at runtime, even if its not flagged at scantime.
If you want to bypass runtime protection, you will have to find a way to load your code into the memory without dropping to disc. There are many ways to do it, including the RunPE like you mentioned (even though those standard ways get detected aswell nowadays so you will probably have to toy around with different techniques before you find something that will bypass most majors).
Basically, a RunPE allocates memory in an existing process (lets say svchost.exe for now). It will then copy the code to the allocated memory in the thread of the other process and afterwards start the thread, causing the code inside the thread to execute and thus running your (malicious) code from another process.
< ̄`ヽ、 / ̄>
ゝ、 \ /⌒ヽ,ノ /´ we r anomalous
ゝ、 (( ͡° ͜ʖ ͡°) / forgive and forget
> ,ノ expecto patronum
∠_,,,/´”
DO NOT DEAL WITH THIS MEMBER
Jan 10, 2018 03:06 PM
(This post was last modified: Jan 10, 2018 03:06 PM by kirkkoz.)
(Jan 6, 2018 01:21 PM)kevy42 Wrote: i never had probs with Appdata, idk about temp though
AppData gets detected all the time in my experience. I use folders such as MyVideos or MyMusic all day 😁
It's not recommended to drop files to disk, instead run them from memory
(Jan 10, 2018 03:06 PM)kirkkoz Wrote: AppData gets detected all the time in my experience. I use folders such as MyVideos or MyMusic all day 😁
weird, i use random and it bypasses just fine
DO NOT DEAL WITH THIS MEMBER
(Jan 11, 2018 08:03 AM)inyourmemory Wrote: It's not recommended to drop files to disk, instead run them from memory
This.
Here is some more info:
https://stackoverflow.com/questions/5797...t-assembly
|