Exe that works always

Just starting out? Need help? Post your questions and find answers here.
boyoss
User
User
Posts: 81
Joined: Fri Feb 05, 2016 10:11 am

Exe that works always

Post by boyoss »

I want to set my computer so an exe will always run and it will be never stopped. The exe has a critical flag, so when it's launched, it can't be stopped. I registered it in the run of the registry so it start automatically.

The question is is it still possible to someone to launch the computer without this exe running?

1.he can enter to safe mode and delete the entry of the registry, so how can i set the exe to automaticlly launch also in safe mode?
2. He can enter to the computer with a linux installation, and delete the entry from the registry, and also delete the exe itself :?

The question is how to protect that a maximum. I know that there wil be always someone who will find a trick i didn't think about it, but how can i protect this a maximum.

Thanks
User avatar
Bisonte
Addict
Addict
Posts: 1305
Joined: Tue Oct 09, 2007 2:15 am

Re: Exe that works always

Post by Bisonte »

You really ask the second time for help to write a program that have the same behaviour like a virus ???
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
infratec
Always Here
Always Here
Posts: 7577
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Exe that works always

Post by infratec »

Forget it.

If a user is good enough, there is always a way:

Boot with a Linux live CD and edit the registry.
boyoss
User
User
Posts: 81
Joined: Fri Feb 05, 2016 10:11 am

Re: Exe that works always

Post by boyoss »

First of all i don't have an anti-virus on my machine.
Secondly it's not for a virus, it's to protect my computer.
And thirdly, i took the idea from the anti-virus themselves, that you can't stop them even in safe mode.

So let's forget the problem of linux, but it must be a solution to protect the safe mode,isn't it?
boyoss
User
User
Posts: 81
Joined: Fri Feb 05, 2016 10:11 am

Re: Exe that works always

Post by boyoss »

Ok i found something, hope it works
http://stackoverflow.com/questions/1070 ... -safe-mode
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: Exe that works always

Post by nco2k »

boyoss wrote:it's to protect my computer
if you have to ask such questions, then you are nowhere near skilled enough to create something that can "protect" you. but honestly, who are you trying to fool here?

even anti-virus apps have certain limitations, but you are asking questions on how to get rid of those limitations. none of your questions point to defense, but to hijacking a system instead. every question you asked so far was basically a "how to create malware 101" question. im surprised that other forum members didnt see right through it and actually tried to help you. personally, if i was a mod here, i would have banned you weeks ago. purebasic executables have already enough trouble dealing with anti-virus software, because some idiots abuse this language for their shitty malware. :evil:

when it comes to system access, im pretty open minded and i know most of it can be used for the good and the bad. but when you try to lock out a user from his own system, there is no talking out of it. period.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Exe that works always

Post by Michael Vogel »

Boyoss, all have been said, but please rethink your approach to make all your computers around you more safe (again) :wink:
I'm not sure if you are (or ever will be) a genius programmer, but what about going to get a windows server administrator training?
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: Exe that works always

Post by Keya »

A lot of the protection you're enquiring about can only be done properly with drivers/kernel mode; CPU privilege levels exist for a reason and modern OS make heavy use of them, especially these days with signed drivers. But this is serious stuff! and unless you've been writing drivers and 'living security' for many years (neither which seem evident with all due respect) you're probably not going to get very far. And if you can't efficiently write kernel drivers then that's the end of the story, sorry but you won't be able to do what you want to do, and any usermode butchery is not only useless and trivial to defeat but is negatively system-debilitating - you pay a big price for that useless plastic padlock. There's a lot of things i wish I could program too, but we've all got to work within our own limits, and focus on getting the walking part better if we eventually want to run! But I commend you for being security conscious, as it seems even in 2017 many coders still aren't!
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Exe that works always

Post by Josh »

nco2k wrote:
boyoss wrote:it's to protect my computer
if you have to ask such questions, then you are nowhere near skilled enough to create something that can "protect" you. but honestly, who are you trying to fool here?

even anti-virus apps have certain limitations, but you are asking questions on how to get rid of those limitations. none of your questions point to defense, but to hijacking a system instead. every question you asked so far was basically a "how to create malware 101" question. im surprised that other forum members didnt see right through it and actually tried to help you. personally, if i was a mod here, i would have banned you weeks ago. purebasic executables have already enough trouble dealing with anti-virus software, because some idiots abuse this language for their shitty malware. :evil:

when it comes to system access, im pretty open minded and i know most of it can be used for the good and the bad. but when you try to lock out a user from his own system, there is no talking out of it. period.

c ya,
nco2k
+1
sorry for my bad english
User avatar
TI-994A
Addict
Addict
Posts: 2698
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Exe that works always

Post by TI-994A »

Keya wrote:...it seems even in 2017 many coders still aren't!
It's hardly been thirty days. Let's give 2017 a chance. :lol:
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Fred
Administrator
Administrator
Posts: 18161
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Exe that works always

Post by Fred »

Hello boyoss,

If you continue to ask for such question, you will not be welcome anymore here. I already explained than a lot of antivirus flag regular exe (even the IDE) because some guys wrote troyans or virus using PB. We won't tolerate this.
Locked