Security scan for a common PC
@echo 0ff
mkdir output
@echo on
@echo **************************************************
@echo Tools are currently in progress of gathering System Info
@echo **************************************************
@echo off
tools\reg.exe query HKLM\Software\Microsoft\Windows\CurrentVersion\Run /S > output\startup.txt
tools\reg.exe query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall /S > output\uninstall.txt
tools\tasklist.exe /v > output\tasklist.txt
tools\psinfo.exe -d -s -h > output\psinfo.txt
tools\fport.exe > output\fport.txt
tools\ps.exe -ealW > output\ps.txt
tools\netstat.exe -a -b -v > output\netstat.txt
tools\listdlls.exe > output\listdlls.txt
tools\srvinfo.exe > output\srvinfo.txt
tools\dumpel.exe -t -l system -f output\syslog.txt
tools\dumpel.exe -t -l application -f output\applog.txt
tools\dumpel.exe -t -l security -f output\seclog.txt
tools\handle.exe -a > output\handle.txt
tools\ipconfig.exe /all > output\ipconfig.txt
tools\sysinspector.exe /silent /gen=output\sysinspector.
tools\rar.exe a output output
rmdir /q /s output
cls
@echo on
@echo ****************************************************
@echo All Tools have been Run Successfully
@echo Please attach file output.rar to an email and send to Security Team
@echo Send Attachment to to Security Team Email:
@echo *****************************************************
@echo off
pause
No comments:
Post a Comment