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

Marked as malware by anti malware (false positive) #131

Closed
Dantasstic opened this issue Nov 27, 2022 · 46 comments
Closed

Marked as malware by anti malware (false positive) #131

Dantasstic opened this issue Nov 27, 2022 · 46 comments
Assignees

Comments

@Dantasstic
Copy link

Dantasstic commented Nov 27, 2022

As per the title, the latest update is being flagged by Window Defender as a severe trojan. The previous version (1.15.1) was not flagged, and no previous version has either.

You may want to look into this and change whatever you did that made it start to flag on this version only.

Win32/Bearfoos.B!ml

2022-11-27 - 0153-08

@ElPumpo
Copy link
Owner

ElPumpo commented Nov 27, 2022

Yea each freaking update keeps having false positives #124 it started happening after I added an extension that made so I don't have to also ship dll files. They are inside the executable instead.

Feels like this is going to keep happen I might have to remove this and readd all the dll files

@ElPumpo ElPumpo self-assigned this Nov 27, 2022
@ElPumpo ElPumpo pinned this issue Nov 27, 2022
@ElPumpo ElPumpo unpinned this issue Nov 27, 2022
@Dantasstic
Copy link
Author

Interesting, I went back to 1.15.1 because it was not being false detected. I wonder why some people get detections on certain versions but others don't. I also never got a detection on 1.15.0 as listed in that posted.

@ElPumpo
Copy link
Owner

ElPumpo commented Nov 29, 2022

No both 1.15.1 and 1.15.0 were also false positives

@Technetium1
Copy link

How about having CI to get VirusTotal results on release?

@ElPumpo
Copy link
Owner

ElPumpo commented Nov 29, 2022

Well would that help that defender keeps flagging it positive?

@Dantasstic
Copy link
Author

No both 1.15.1 and 1.15.0 were also false positives

Strange, they aren't flagged on my system. I just re-scanned them both specifically and Defender didn't make a peep.

@ElPumpo
Copy link
Owner

ElPumpo commented Nov 30, 2022

Well they were on release

@DMT4all
Copy link

DMT4all commented Nov 30, 2022

No both 1.15.1 and 1.15.0 were also false positives

Strange, they aren't flagged on my system. I just re-scanned them both specifically and Defender didn't make a peep.

same here. only latest update gets detected

@Dantasstic
Copy link
Author

Same issue with 1.15.3

@Technetium1
Copy link

Well would that help that defender keeps flagging it positive?

@ElPumpo Probably not, BUT it would hopefully stop people from opening issues about false positives when they can click to see the scan results. Maybe consider using their Monitor service that's intended to catch false positives early: https://developers.virustotal.com/reference/monitor

@ElPumpo
Copy link
Owner

ElPumpo commented Dec 21, 2022

Interesting. I will take a look into this and implement some auto upload thing

@ElPumpo
Copy link
Owner

ElPumpo commented Dec 31, 2022

Possibly fixed with new .NET single file thing.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 3, 2023

Hi and happy new years. I have migrated from .NET Framework to .NET now which has a "Produce single file" feature. I am just guessing that it will solve the false positives that Costura.Fody previously introduced.

TinyNvidiaUpdateChecker 1.15.5 beta 1.zip

Please try this new version out I am thankful for the feedback

@Dantasstic
Copy link
Author

Hi and happy new years. I have migrated from .NET Framework to .NET now which has a "Produce single file" feature. I am just guessing that it will solve the false positives that Costura.Fody previously introduced.

TinyNvidiaUpdateChecker 1.15.5 beta 1.zip

Please try this new version out I am thankful for the feedback

Hmm, it just flashes momentarily on the screen and then is gone for me.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

Yea this beta requires .NET Runtime 7. Try running the tool in a command prompt such as CMD to see the error

@Dantasstic
Copy link
Author

I installed 7.0.1 .NET Runtime and still just a flash pops up. I can't get the app to run in CMD or Powershell either, it doesn't like it.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

Yes but did you install both x86 and amd64 Runtime?

@Dantasstic
Copy link
Author

Dantasstic commented Jan 5, 2023

Ummm no, you didn't mention that XD. Do you mean x86 and x64? I installed x64.

Are you sure you don't mean the full SDK? Now it's freaking out about framework, which runtime doesn't come with hahahaha

Best to link to the exact installer you think I should run, since we are having some miscommunication here.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

No dont install the SDK just the runtime I belive haha. I will probably publish framework independent..

Yes install both x64 and x86. The tool is built for x86 but you prob need both

@Dantasstic
Copy link
Author

No dont install the SDK just the runtime I belive haha.

I tried that, but it still doesn't run. Like I said, it then mentions a missing framework.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

Okay yea I messed up there. Will release a new beta that is framework independent. But no false positives right?

@Dantasstic
Copy link
Author

No, no false positives! :)

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

Good!

@Dantasstic
Copy link
Author

I got it to run by installing the full SDK, which includes 3 runtimes (.NET Runtime 7.0.1, ASP.NET Core Runtime 7.0.1 and .NET Desktop Runtime 7.0.1), although the one it seemed to actually want was the ASP.NET Core and not the .NET Runtime.

I just installed only .NET SDK x86 version 7.0.1, so no need for the x64 currently.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

🙏😂 good. I will see about releasing framework independent. Good thing this beta was shared so this wouldnt appear later

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 5, 2023

Good but I belive this issue now can be closed as it no longer is an issue.

@ElPumpo ElPumpo closed this as completed Jan 5, 2023
@ElPumpo
Copy link
Owner

ElPumpo commented Jan 26, 2023

Still an issue...

@Virond
Copy link

Virond commented Feb 1, 2023

This is now being flagged for v1.16.3 too.

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 1, 2023

Can you show me

@Virond
Copy link

Virond commented Feb 1, 2023

Can you show me

image

@Technetium1
Copy link

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 2, 2023

Thanks for the website I did not know it existed! So my commented code With the credits for the github gists is the cause of all of this?!

Lol

@Technetium1
Copy link

Well if that's really the cause here, we can blame a bad YARA rule, and that would be a really stupid thing to trigger it. There are lots of sites for malware analysis, but not many free ones, especially that tell you exactly which rulesets trigger, instead of just a heuristic signature. H-A is one of the better ones in my opinion. Any.run is a good competitor, but only really decent to get a quick look at what malware is dropping and contacting, unless you pay.

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 2, 2023

Okay cool. I sent a new version I built without that gist url for analysis I'll post the results when they are in

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 2, 2023

image
image

accually its the nvidia-data metadata URL being flagged. But I can replace the URL with

  • https://github.com/ZenitH-AT/nvidia-data/raw/main/gpu-data.json for example instead of raw.githubusercontent.com

I have now built and uploaded for analysis. Let's wait and see the results. Because I belive this issue came when I added the metadata repo..

https://www.hybrid-analysis.com/sample/ea7c91946c6886f785fe7938071fbda0db3f001bad2d74233a12415464e974d4

UPDATE: Here's analysis for v1.16.4

@ElPumpo ElPumpo changed the title 1.15.2 is being detected as a trojan Marked as malware by anti malware (false positive) Feb 2, 2023
ElPumpo added a commit that referenced this issue Feb 2, 2023
@Technetium1
Copy link

It's still showing some false positives, but it's gone from 20% detection rate to 7%, wonderful!

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 2, 2023

Yes the MetaDefender still is at 7%. I have contacted both Bitdefender and Emsisoft about this to resolve the false positive.

@33b5e5
Copy link

33b5e5 commented Feb 3, 2023

Defender just flagged 1.16.4 for me. That's the first time any release has been flagged on this Win 11 machine, and I know I've installed versions 1.15.4, 1.16.1 and 1.16.3 without incident (and probably a few more, but those are the binaries I still have on hand).

Screenshot 2023-02-02 160144

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 19, 2023

The analysis for v1.16.4 is marked as clean "Anti virus results" by Hybrid Analysis

image

But still Falcon sandbox reports reports 1 virus indicator..

image

Which makes no sense at all!

@33b5e5
Copy link

33b5e5 commented Feb 22, 2023

I just tried downloading 1.16.4 again, via the prompt from 1.16.3, and this time it downloaded and installed without triggering Defender. 🎉

@Technetium1
Copy link

Technetium1 commented Feb 22, 2023

@ElPumpo that is telling you that it's not triggering directly, but that other AV engines still flagged it. If it sees even false positives, it will warn on it, just in case. It's better to be overzealous with scanning and warning when you're trying to hunt elusive malware.

@ElPumpo
Copy link
Owner

ElPumpo commented Feb 22, 2023

Ah okay but totally obfuscated code is not marked as malware by these sites? So if I just obfuscate it all then silly problem solved

So weird

@Technetium1
Copy link

Usually the obfuscation is picked up itself, and adds HUGE bulk to the program, but yeah that's the nature of hunting malware ._.

@ElPumpo
Copy link
Owner

ElPumpo commented May 13, 2023

@ElPumpo
Copy link
Owner

ElPumpo commented Aug 20, 2023

Perhaps the simple thing that the file is not signed is causing all of this? But I belive signing exe costs money right?

@ElPumpo
Copy link
Owner

ElPumpo commented May 4, 2024

Closing due to no activity

@ElPumpo ElPumpo closed this as completed May 4, 2024
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

6 participants