| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 19, 2004 2:33 am Post subject: [resolved] any other ways to make a program start up? |
|
|
hello all
i was wondering if there are any other ways to have a vds program start up at pc boot up. besides start-up folder and registry run....
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Mon Apr 19, 2004 7:20 am Post subject: |
|
|
Naaa. Basically that's it. Though it can be diversified:
Windows Registry
All users\Run – Reg-key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
All users\Run Once – Reg-key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
All users\Run Services – Reg-key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
All users\Run Services Once – Reg-key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
Current user\Run – Reg-key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Current user\Run Once – Reg-key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Programs Startup menu.
Win.INI file. (Used to start programs under the older Win systems)
There may be some other non-standard ways for a program to get started, but that would probably be
something used by Trojans etc. to escape notice.
Greetz
Dr. Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Mon Apr 19, 2004 11:31 am Post subject: |
|
|
| In windows 2000 / XP you could add your program into the Startup or Logon Scripts policy. To do this run the MMC console then ADD/REMOVE SNAP IN. Click ADD select GROUP POLICY click ADD then FINISH click OK then expand the LOCAL COMPUTER POLICY group expand the COMPUTER CONFIGURATION - WINDOWS SETTINGS. Also expand the USER CONFIGURATION- WINDOWS SETTINGS. I'm sure theirs a way to automate this process. The STARTUP script runs before you logon in or before the Gina starts. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 19, 2004 11:44 am Post subject: |
|
|
If you want it to start before logon, you need to make it a service.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Mon Apr 19, 2004 11:58 am Post subject: |
|
|
| Service would be the way to go but the policy way will work for 2000 / xp I've made a script that checks for specfic settings if not pressent it shutsdown the computer. This all happends before the logon screen. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 19, 2004 4:15 pm Post subject: |
|
|
thanks all for the info i would like to learn about :
| Quote: |
There may be some other non-standard ways for a program to get started |
becuase i see that some of the spyware virus ( if you want to call it that) have ways of starting that are not normal..i would like to find out how they do it....
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Apr 19, 2004 5:08 pm Post subject: |
|
|
Theres the old fashion ways, DOS autoexec.bat and system.ini exporer shell(win98) but its only used by Malicious people now maybe, not sure, been years since I used that kind of power of DOS(windose basement of old sewer pipes) hehe.
But everybody knows to check there 1st, so it wouldnt be very secretive Tim. |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 19, 2004 5:41 pm Post subject: |
|
|
| Skit3000 wrote: | I think spyware starts up normal, but the only thing weird is that they always seem to find a way to get started even if you deleted the registry keys used, etc....  |
yea that is what i would like to find out on how they do that _________________ Have a nice day  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Mon Apr 19, 2004 6:23 pm Post subject: |
|
|
My best guess is that they replace files like notepad.exe or something, or that they change the file assosiation (spelled right this way?) so that for example .txt files will be started by the spyware program, which will pass it on to Notepad. This way, the user won't see the spyware program opening, but it is still there... The only bad thing about this is that if you want to remove spyware which will start this way, you need to know the proper values of almost every key in the registry...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 19, 2004 6:41 pm Post subject: |
|
|
| Skit3000 wrote: | My best guess is that they replace files like notepad.exe or something, or that they change the file assosiation (spelled right this way?) so that for example .txt files will be started by the spyware program, which will pass it on to Notepad. This way, the user won't see the spyware program opening, but it is still there... The only bad thing about this is that if you want to remove spyware which will start this way, you need to know the proper values of almost every key in the registry...  |
humm i think i see what you mean however
| Quote: |
so that for example .txt files will be started by the spyware program, which will pass it on to Notepad
|
but to do this the spyware would have to be in startup type of folder. if i follow you right. _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 19, 2004 6:44 pm Post subject: |
|
|
I wouldn't suggest using these methods in your programs as these could
be considered to be illegal, and if not, at the very least people will not
like your program at all. _________________ FreezingFire
VDSWORLD.com
Site Admin Team
Last edited by FreezingFire on Mon Apr 19, 2004 6:46 pm; edited 2 times in total |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 19, 2004 6:58 pm Post subject: |
|
|
| Skit3000 wrote: | | No, the spyware will basicly just change the "open .txt file" action so that it will open the spyware program, so that it is able to be loaded even if it is removed from the startup folder. |
right but for the program to start the user would have to open a "txt" file to start the program tho...if ya follow what i mean
FF - no this won't be used for public uses....its part 2 on my trick on my friend....heheheheheh _________________ Have a nice day  |
|
| Back to top |
|
 |
|