Windows 7: Difference between revisions

From Hack Sphere Labs Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
*https://sourceforge.net/p/winexe/winexe-waf/ci/master/tree/
*https://sourceforge.net/p/winexe/winexe-waf/ci/master/tree/
*https://pzolee.blogs.balabit.com/2010/09/wmi-client-for-linux/
*https://pzolee.blogs.balabit.com/2010/09/wmi-client-for-linux/
=winexe=
git clone git://git.code.sf.net/p/winexe/winexe-waf winexe-winexe-waf
apt-get install gcc-mingw32 mingw32-binutils mingw-w64 comerr-dev libpopt-dev libbsd-dev zlib1g-dev libc6-dev python-dev
cd source #directory winexe
git clone git://git.samba.org/samba.git samba
./waf configure --samba-dir=../samba
./waf
cd build
./winexe-static
==winexe service install==
sc create winexesvc binPath= C:\WINDOWS\WINEXESVC.EXE start= auto DisplayName= winexesvc
sc description winexesvc "Remote command provider for Zenoss monitoring"
==Notes==
*http://repo.openpcf.org/repository/ext/openpcf/ubuntu/pool/main/
*http://dev.zenoss.org/svn/
=App not responding/application stopped working=
*Disable:
**http://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx
**https://social.technet.microsoft.com/Forums/windows/en-US/6025f72e-5bac-4dbd-9992-825828711399/disabling-applicationexe-not-responding-dialog
**http://www.neowin.net/forum/topic/1055744-windows-7-disable-x-application-has-stopped-working-dialog/

Latest revision as of 17:16, 1 November 2013

WMI Pull Event Logs

  • Enable WMI Through Firewall on Windows
wmic -U DOMAIN/USERNAME%PASSWORD //HostnameorIP "Select * from Win32_NTLogEvent Where LogFile='Security'" | grep .*\.exe|grep 'New Process Name' > output.temp
sed 's/\sNew Process Name:\s//g' output.temp
cat output.temp | sed 's/\sNew Process Name:\s//g' | sort | uniq
./winexe-static --debuglevel=1 -U IT%3c4bhkec //HostnameorIP "wevtutil cl Security"
awk 'NR==FNR { a[$0]; next } !($0 in a)' whitelist checklist

Notes

nett localgroup add
net rpc

winexe

git clone git://git.code.sf.net/p/winexe/winexe-waf winexe-winexe-waf
apt-get install gcc-mingw32 mingw32-binutils mingw-w64 comerr-dev libpopt-dev libbsd-dev zlib1g-dev libc6-dev python-dev
cd source #directory winexe
git clone git://git.samba.org/samba.git samba
./waf configure --samba-dir=../samba
./waf
cd build
./winexe-static

winexe service install

sc create winexesvc binPath= C:\WINDOWS\WINEXESVC.EXE start= auto DisplayName= winexesvc
sc description winexesvc "Remote command provider for Zenoss monitoring"

Notes


App not responding/application stopped working