Skip to content

Persistence Sniper

What Persistence Sniper does

Using this tool

Persistence Sniper supports malware analysis. In this guide, you will use it to review a controlled Windows lab for selected persistence findings. Follow the steps below and keep the output with your notes.

Tool guide at a glance

Investigation task

Review a controlled Windows lab for selected persistence findings.

Starting material

An authorised running Windows training VM with a recorded baseline.

What to record

Saved persistence findings with locations and values checked against the baseline.

Evidence and safety

Do not execute unknown samples on SUSA. Disable shared folders and credentials, and use only authorised training material. Record the input identifier, tool version, relevant commands or settings, time and time zone, output location, and any errors or limitations as you work.

Choose your journey

How the labs complement this guide

The Interactive Lab uses example records to practise investigation decisions. It does not run the installed tool or establish how that version behaves. The Full Lab uses your own training environment and evidence. Obtain or create the required input before starting; a case name in an exercise is not a download.

Accessing Persistence Sniper in SUSA

PersistenceSniper is a Powershell module that can be used by Blue Teams, Incident Responders and System Administrators to hunt persistences implanted in Windows machines.

Download PersistenceSniper.

Open a command prompt and navigate to C:\Tools. Clone the GitHub repository by running:

git clone https://github.com/last-byte/PersistenceSniper.git

Navigate to C:\Tools\PersistenceSniper\PersistenceSniper. Move PersistenceSniper.psd1 and PersistenceSniper.psm1 to C:\Tools\PersistenceSniper and delete everything else in the folder.

Testing Persistence Sniper

Open an administrator PowerShell prompt and navigate to C:\Tools\PersistenceSniper. Bypass PowerShell execution policy, import the Persistence Sniper module then hunt for persistence:

powershell -ep bypass
Import-Module .\PersistenceSniper.psd1
Find-AllPersistence