ngrok
ngrok copied to clipboard
Killed: 9 - ngrok exe deleted after running once.
Whether I install with
brew cask install ngrok
or
npm install -g ngrok
in the terminal, my first command of
which ngrok
returns
/usr/local/bin/ngrok
but then if I attempt to execute the binary with
ngrok http 3000
the process is killed and returns
Killed: 9
and then it appears the exe is deleted. I can't find support around this anywhere - has anyone else experienced this or have a solution???
Was there a resolution to this?
I found the issue. In my case Bitdefender was deleting the ngrok executable. It identified the threat as Trojan.MAC.Generic.117739.
I found the issue. In my case Bitdefender was deleting the ngrok executable. It identified the threat as Trojan.MAC.Generic.117739.
How did you solve the issue? Seems like it's happening to me and team as well.
Unfortunately I didn't solve it. I just stopped using ngrok. I suspect the next build of ngrok will eliminate this problem because a new executable will be produced with a different byte sequence. My theory is that the ngrok executable had a specific byte sequence that triggered Bitdefender. I could be completely wrong here but it's my theory. I figured once a new release was distributed I could try it again. As you can see I'm not a heavy user of ngrok.
Unfortunately I didn't solve it. I just stopped using ngrok. I suspect the next build of ngrok will eliminate this problem because a new executable will be produced with a different byte sequence. My theory is that the ngrok executable had a specific byte sequence that triggered Bitdefender. I could be completely wrong here but it's my theory. I figured once a new release was distributed I could try it again. As you can see I'm not a heavy user of ngrok.
I see.. thanks for your answer though!!
I was having the same problem. I've worked around it by using the docker container docker run -p 4040:4040 -it -e NGROK_AUTHTOKEN={token} ngrok/ngrok:latest http host.docker.internal:5000
.
Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.
This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.
Hi all, if the ngrok binary is getting deleted, then it is most likely some sort of company antivirus sweeper that has incorrectly flagged the ngrok binary as malware. We try to proactively submit our binaries as false positives, but are struggling to get re-classified. If you have the option to submit one of the ngrok binaries as a false positive with your antivirus software, please do.
Hi all, if the ngrok binary is getting deleted, then it is most likely some sort of company antivirus sweeper that has incorrectly flagged the ngrok binary as malware. We try to proactively submit our binaries as false positives, but are struggling to get re-classified. If you have the option to submit one of the ngrok binaries as a false positive with your antivirus software, please do.
That was the case for us. We ended up sending samples to Bitdefender so they would remove it from their lists.
I'm also having this issue and gets deleted by Microsoft Defender in MacOS:
Title: HackTool:MacOS/Ngrok!MTB
I fixed it by doing the following:
- open Microsoft Defender > Manage settings > Exclusions > Add or Remove Exclusion
- click Add New > Process (I tried Folder or File but I can't select this path
/opt/homebrew/bin/ngrok
): - type
ngrok
:
Hi all, if the ngrok binary is getting deleted, then it is most likely some sort of company antivirus sweeper that has incorrectly flagged the ngrok binary as malware. We try to proactively submit our binaries as false positives, but are struggling to get re-classified. If you have the option to submit one of the ngrok binaries as a false positive with your antivirus software, please do.
That was the case for us. We ended up sending samples to Bitdefender so they would remove it from their lists.
An update on this:
They allowed it then blocked it again.