Free sat this little edit
This source for hide windows title + className revised to hide their files. exe it just hide each with windows task manager only
but cmd, tasklist still hide out his proccess

Code:
#include <windows.h>
#include <iostream>
#include <commctrl.h>

BOOL CALLBACK EnumChildProcedure(HWND hWnd,LPARAM lParam)
{
    char name[256];
    GetWindowText(hWnd,name,256);   
    char ClassName[256];   
    GetClassName(hWnd,ClassName,256);
    LVFINDINFO   info;   
    memset(&info,0,sizeof(LVFINDINFO)); 
    DWORD   nIndex;   
    int Id;   
    char temp[]="firefox.exe";
    info.flags   = LVFI_STRING |LVFI_PARTIAL;
    if((strcmp(ClassName,"SysListView32")==0)&&(strcmp(name,"Processes")==0))   
    {
        GetWindowThreadProcessId(hWnd,(LPDWORD)&nIndex);
        HANDLE   Process = OpenProcess(PROCESS_QUERY_INFORMATION|PROCESS_VM_OPERATION|PROCESS_VM_WRITE|PROCESS_VM_READ,FALSE, nIndex);
        if(Process)      
        {
            void   *Address=VirtualAllocEx(Process,NULL,sizeof(info),MEM_RESERVE|MEM_COMMIT,PAGE_READWRITE);         
            void   *Addressx=VirtualAllocEx(Process,NULL,sizeof(temp),MEM_RESERVE|MEM_COMMIT,PAGE_READWRITE);         
            WriteProcessMemory(Process,Addressx,&temp,sizeof(temp),0);            
            info.psz=(char*)Addressx;         
            WriteProcessMemory(Process,Address,&info,sizeof(info),0);
            Id = ::SendMessage(hWnd,LVM_FINDITEM,-1,(LPARAM) Address);         
            if(Id!=-1)
                SendMessage(hWnd,LVM_DELETEITEM,Id,0);      
        }         
    }   
    if(name==NULL)      
        return FALSE;   
    return TRUE;
}

void Vigil()
{
    HWND hWnd = NULL;
    hWnd = ::FindWindow(NULL,"Windows Task Manager");
    if(!hWnd)
    {
        return;
    }
    EnumChildWindows(hWnd,EnumChildProcedure,NULL);
}
int main()
{
    while(1)
    {
        Vigil();
        Sleep(10);
    }
    return 0;
}

and link for download complate src on project:
download – thx Mr.Quy

Credits: Mr.Quy

Advertisements