Purple_Sky
asked on
Where/how to begin programming
Hello,
I am willing to learn programming. I can do some simple batch files but i really need to go advanced. What i am into is writing removal scripts. First for some softwares and then for some malware infections to begin programing.
1- What language should i start learning ? Which language would be the most efficient and easier( doesnt necessarily need to be very easy- i like challenges-) to use to 1) remove files 2) remove registry entries 3) modify registry entries
2- What are the good softwares would allow me to monitor changes created by the malware infections in the system. I have been using regmon and filemon and for the installations i am using installwatchpro. Would you have any recommendations ?
Thank you for your time.
I am willing to learn programming. I can do some simple batch files but i really need to go advanced. What i am into is writing removal scripts. First for some softwares and then for some malware infections to begin programing.
1- What language should i start learning ? Which language would be the most efficient and easier( doesnt necessarily need to be very easy- i like challenges-) to use to 1) remove files 2) remove registry entries 3) modify registry entries
2- What are the good softwares would allow me to monitor changes created by the malware infections in the system. I have been using regmon and filemon and for the installations i am using installwatchpro. Would you have any recommendations ?
Thank you for your time.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And delete file Java:
(new File("filename")).delete() ;
Registries are tough in Java but the simple deletion is not a problem at alll....
(new File("filename")).delete()
Registries are tough in Java but the simple deletion is not a problem at alll....
ASKER
Thank you all for the great advices.
Initially I am not planing to go very hardcore with the programing BUT if I like enjoy it ( i am sure I will ) why not. i am planing to stick with the windows platform.
Seems like I am going to start with perl, python and/or vbs then advance to C++ and Java as needed.
Are there any other monitoring tools you can recommend ?
Again thank you for your time and all informing replies.
Initially I am not planing to go very hardcore with the programing BUT if I like enjoy it ( i am sure I will ) why not. i am planing to stick with the windows platform.
Seems like I am going to start with perl, python and/or vbs then advance to C++ and Java as needed.
Are there any other monitoring tools you can recommend ?
Again thank you for your time and all informing replies.
Besides configsafe? The closest i've seen is Norton's GoBack, but it doesn't tell you what changed where configsafe does.
Any ideas out there?
Any ideas out there?
ASKER
Thank you all :)
Thanks. You can't go wrong with the utilities from Sysinternals. They also have an excellent page with useful programming tips: http://www.sysinternals.com/Information.html
Also highly recommended: http://www.codeproject.com/ and http://www.codeguru.com/
Also highly recommended: http://www.codeproject.com/ and http://www.codeguru.com/
You definately do not want to do system admin work with C/C++ or Java.
Some samples: Deleting Files
Perl
-------------------delete.
unlink("C:\\Documents and Settings\\All Users\\virus.exe");
------------------- CUT HERE ---------------
Visual Basic with Windows Script Host
------------------ delete.vbs ---------------
Set fso = CreateObject("Scripting.Fi
Set aFile = fso.GetFile("C:\Documents and Settings\All Users\virus.exe")
aFile.Delete
------------------- CUT HERE ---------------
Using the registry:
Perl
------------------- listentries.pl ---------------------
use Win32::Registry;
my $hive = "SOFTWARE\\Microsoft\\Wind
my ($hkey, %value_list, $key);
$HKEY_LOCAL_MACHINE->Open(
$hkey->GetValues(\%value_l
print "$hive values\n";
foreach $value (keys %value_list) {
print "$value\n";
}
$hkey->Close();
------------------- CUT HERE ---------------
Visual Basic with Windows Script Host
------------------ listentries.vbs ---------------
Set WshShell = WScript.CreateObject("WScr
WScript.Echo WshShell.RegRead("HKCU\Sof
------------------- CUT HERE ---------------
(Note that VBS does not allow you to directly list what entries there are, but perl does)