GMinerRelease icon indicating copy to clipboard operation
GMinerRelease copied to clipboard

anti-hacking system detected modification of the miner memory

Open raven0931 opened this issue 4 years ago • 35 comments

Hello i am new on Gminer (RivenCoin) miner is giving this error:

anti-hacking system detected modification of the miner memory

i am tried new and old nvidia driver. I dont have Antivirus program.

How can i fix it?

raven0931 avatar Feb 19 '21 12:02 raven0931

I have the same problem!

"19:14:42 Anti-hacking system detected modification of the miner memory. If you using an antivirus, add miner to antivirus exceptions 19:14:43 Miner terminated, watchdog will restart process after 10 seconds"

What can i do ?

senski7 avatar Feb 23 '21 17:02 senski7

Hello. I have the same problem when I try to start GMiner from .net core app. Can I fix it or should I wait for new release?

Dasolo avatar Mar 05 '21 08:03 Dasolo

Hi,

same problem here when running it from a golang executable managing my mining services. Running on ubuntu 18.04 with definitely no anti-virus software installed/active.

eBuccaneer avatar Mar 05 '21 11:03 eBuccaneer

Same here, even with v2.46 that have just been launched

gabriel-milan avatar Mar 05 '21 14:03 gabriel-milan

v2.47 same issue here, i'm running on linux with nvidia, there's no way i have anti-virusminer,

i can mine with no problem with other miner

it says fixed in v1.52 almost 2 years ago, but still occured now https://github.com/develsoftware/GMinerRelease/issues/23

feels like this program require us to believe what it does with its closed source, but the program itself refuse to believe its user, how the user run the program and (bug) suspecting the user overriding shared library even though none is overriden

imakin avatar Mar 10 '21 09:03 imakin

may be you inject miner with LD_PRELOAD, check this environment variable

develsoftware avatar Mar 10 '21 10:03 develsoftware

before loading miner execute follow command: export LD_PRELOAD=

develsoftware avatar Mar 10 '21 14:03 develsoftware

Please disable this bug on linux. there's no anti-virus software at all, but still reporting this bug.

recolic avatar Mar 11 '21 12:03 recolic

it isn't bug, it's way to .so injection to hack miner

develsoftware avatar Mar 11 '21 12:03 develsoftware

Bug or not this program does not work as described on linux. I am on ubuntu 18.04, with an RTX 2080s and I get this issue when I run the miner script. Is there additional setup required for linux? export LD_PRELOAD= does nothing since it doesn't assign a value to that variable. Is there a value this variable is supposed to have? If so, that should either be added to the README or to the error statement

AaronMcDaniel avatar Mar 13 '21 21:03 AaronMcDaniel

I must have the freedom to be injected, just like that I should have the freedom to shoot my foot. that's why we're on linux.

this feature is ridiculous even if it doesn't cause a problem. there must be a easy switch to turn it off by design.

recolic avatar Mar 14 '21 06:03 recolic

export LD_PRELOAD= did not work for me. I try start miner from .net app and still get same error.

Dasolo avatar Mar 24 '21 13:03 Dasolo

Same here. Ubuntu 18 and LD_PRELOAD= did not work for me too. Is there a way to disable this feature? I am executing your binary with Python/pexpect on different systems. No virus no anti-virus etc. GMiner v2.51 Thanks!

SOLUTION:

Ok, here you go. It works, BUT take care not to use "export LD_PRELOAD=" as described.

#!/bin/bash export LD_PRELOAD ./miner -- your config stuff here ---

without "=" Have fun!

ketchmeup avatar Apr 22 '21 22:04 ketchmeup

Same issue, cannot start from my .net app

holzerseb avatar May 01 '21 17:05 holzerseb

i think you can also ssh to $USER@localhost, use sudo su, or fireup tmux to clear LD_PRELOAD

imakin avatar May 02 '21 09:05 imakin

@holzerseb I use openssh on windows to connect from my unix environment (with pexpect/python) and start gpu mining with a .bat file. Have you tried to put commands in a .bat file and executing the .bat file from .net?

ketchmeup avatar May 02 '21 16:05 ketchmeup

@ketchmeup yeah I've tried starting a bat file as well as calling it directly. I have found no way to start it via .net

holzerseb avatar May 02 '21 19:05 holzerseb

@holzerseb Do you need control over the mining process? If not, maybe you could start the miner in a new proces/cmd (start.exe or cmd.exe?). I am not very familiar with proc and env handling on windows. For me it works if I connect to my openssh on windows and execute the .bat or .cmd file.

ketchmeup avatar May 04 '21 15:05 ketchmeup

I tried to use the proxychains-ng to use gminer behinded firewall and got this error message.

Qbuer avatar May 06 '21 08:05 Qbuer

Running miner inside the tmux solved this error for me

lucidyan avatar May 07 '21 17:05 lucidyan

on linux, change the script #!/bin/sh to #!/bin/bash.

LiveWire1968 avatar May 18 '21 14:05 LiveWire1968

hey bub, because you cannot relax this constraint for us linux users - i have switched to bminer

gminer will not allow me to run via a programatic child process bminer does

you lost a customer....

g00dnatur3 avatar Jun 12 '21 23:06 g00dnatur3

Use latest build 2.60. It's fixed ! Windows 11 - 22000.65

DrNopt avatar Jul 11 '21 16:07 DrNopt

Use latest build 2.60. It's fixed ! Windows 11 - 22000.65

"Edition Windows 11 Pro Update 21H2 Installed on ‎7/‎12/‎2021 OS build 22000.65 Experience Windows Feature Experience Pack 421.17400.45.3 "

Not fixed.

eXPeRi91 avatar Jul 12 '21 14:07 eXPeRi91

v2.60 on W10 21H1, starting miner with Power Automate triggers antihacking. Is there an GMiner option to disable this feature?

matholio avatar Jul 17 '21 22:07 matholio

GMiner 2.54, for those of us using .NET, try to run without a debugger (Ctrl+F5 in VS by default)

bessgeor avatar Jul 19 '21 20:07 bessgeor

Kind of screwed up that gminers "antihacking" required linux users to use sudo to work. I backed away in 30 seconds. It has nothing over the other mining software to worry about.

LiveWire1968 avatar Jul 21 '21 22:07 LiveWire1968

on linux, change the script #!/bin/sh to #!/bin/bash.

Working on Linux Ubuntu 21.04

dhruvhaldar avatar Jul 23 '21 23:07 dhruvhaldar

on linux, change the script #!/bin/sh to #!/bin/bash.

Working on Linux Ubuntu 21.04

Works for me also on Manjaro

zee00100 avatar Aug 10 '21 20:08 zee00100

With lots of misconception, the real problem is the error message.

Instead of showing "antihacking" word, just change the message to "clear LD_PRELOAD environment variable before using this program"

imakin avatar Aug 12 '21 04:08 imakin