Skip to content
Game Plan
General Tips
Always make sure you kill the whole root of the problem (e.g. lets say you saw a netcat process, you wouldn't just stop the process, as that's not fixing the issue)
Look what runs the process (systemd or crontab for example)
Is there a specific script?
Are there any other related problems?
Has it already done any damage?
Can you reverse the damage?
Are you confident the whole problem is gone?
Windows
Preparation
Turn on hidden files and protected operating system ones
Forensics Questions
Try your absolute hardest before moving on
If struggling ask everyone around you for help
Operating System Updates
In Windows 10, turn on Delivery Optimization. Settings → Update & Security → Delivery Optimization :
Turn on 'Allow downloads from other PCs'
Select 'PCs on my local network, and PCs on the Internet'
Get it started so it can run in the background
Autoruns
https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns
Make sure it is run as Administrator and the right arch
CentSecure
CentSecure will automate:
User Auditing
Local Policy
Account Policies
Group Policy
Defensive Counter Measure
CentSecure will aim to make sure the system is still usable after it is run
Installed Programs
Might be done by CentSecure
Service Auditing
Read through the extended service list
Make sure there are no anomalous items
Anything sounding dodgy should be stopped
Task manager check
Look through every process running in task manager
If it looks dodgy find the root of the problem
Application Updates
Try and update every application
The best shot sometimes is to reinstall the whole application rather than using the update within the application
Application Security Settings
Are all critical services secured to the max?
Is anything related to the critical service secure?
The Hunt
Malicious Files
Unwanted software/hacking tools
User area nuke
Zip/backup all user areas
Delete all home folders that aren't the main user's
GNU/Linux
Forensics Questions
Try your absolute hardest before moving on
If struggling ask everyone around you for help
Operating System Updates
Update OS
Set update settings accordingly
Set the software mirror to a server from the UK.
Enable automatic updates
The Hunt 1.0
Unwanted software
if during this phase you come across software that needs removing, but you can't remove it because of updates, WRITE IT DOWN!
Crontab and other auto start
Check crontab and related files
Check systemd for start up services
Check systemd and services
Remove any dodgy services
Task Manager Check
Use ps axjf
Look for any backdoors or dodgy programs and remove the root of the problem
Port Scan
Make sure you run this as sudo
Look for any programs running on ports that aren't critical services
CentSecure
CentSecure will automate:
User Auditing
Local Policy
Account Policies
Defensive Counter Measure
CentSecure will aim to make sure the system is still usable after it is run
Remove Installed programs
Might not work until updates are finished
Note down any you come across but can't deal with at the time
Application Updates
Might have to wait for OS updates
Application Security Settings
Are all critical services secured to the max?
Is anything related to the critical service secure?
Make sure app updates don't overwrite changed configs
The Hunt 2.0
Malicious Files
User area nuke
Zip/backup all user areas
Delete all home folders that aren't the main user's