Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defender detects file copy pasted, avred doesnt #9

Open
muhyuddin opened this issue Sep 8, 2024 · 3 comments
Open

Defender detects file copy pasted, avred doesnt #9

muhyuddin opened this issue Sep 8, 2024 · 3 comments

Comments

@muhyuddin
Copy link

muhyuddin commented Sep 8, 2024

AvRed logs show that file isnt detected by antivirus, but if i copy paste the executable onto AV machine it gets detected instantly. Any guidance ?

@dobin
Copy link
Owner

dobin commented Sep 9, 2024

Thats probably the AV emulator. Avred checks against/with AMSI, there may be more checks being done by the AV when actively on the system.

If what you scan is a shellcode loader, you can try adding an anti-AV-emulation technique. See my slides , 24-44.

@muhyuddin
Copy link
Author

muhyuddin commented Sep 10, 2024

Thanks for help. Yes it is shellcode loader, i have added the anti-av techniques. It has been working great for a couple of months, now every av is detecting it in static analysis. I have tried garble, packers, even obfuscating function calls and AST.

Can you please guide me to some project or modifying AVRed where file should be scanned either if its detected by AMSI or not, really appreciate the details and working this project has.

@dobin
Copy link
Owner

dobin commented Sep 11, 2024

I recommend to add an anti-emulation to your loader, like from supermega

And i talked about it in My first and last shellcode loader,
and blog article how edr works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants