Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 947 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 947 Bytes

Persistence_Diff

Checking the persistence locations on an infected system is a common task for defenders. Microsoft Defender provides a persistence location report in JSON format through live response.

The file can be overwhelming to analyze. Comparing the persistence location report with that of a clean system can significantly reduce the number of items to analyze.

To use the script, you need to download the persistence locations from a confirmed clean system and compare it with the persistence locations of the infected system.

Dependencies Installation

pip3 install deepdiff

Usage

python3 persistence_diff.py --infected infected.json --clean clean.json

This command compares the persistence locations in the infected.json file with those in the clean.json file.