Skip to content

Latest commit

 

History

History
152 lines (113 loc) · 7.29 KB

README.md

File metadata and controls

152 lines (113 loc) · 7.29 KB

Autopsy Autoruns Plugin

Overall Idea

Autopsy plugin that scans the Auto-Start Extensibility Points (ASEPs) and list out the potential persistences

Current Capabilities

  • System Registry Run keys

    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Run
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/RunOnce
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/RunOnceEx
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/RunServices
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/Explorer/Run
    • HKLM/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/Run
    • HKLM/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/RunOnce
    • HKLM/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/Policies/Explorer/Run
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/Run
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/RunOnce
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/RunOnceEx
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders, 'Startup'
    • HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders, 'Startup'
    • HKLM/SYSTEM/Control/SafeBoot, 'AlternateShell'
    • HKLM/SYSTEM/Control/Terminal Server/wds/rdpwd, 'StartupPrograms'
    • HKLM/SYSTEM/Control/Terminal Server/WinStations/RDP-Tcp, 'InitialProgram'
  • User Registry Run Keys

    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Run
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/RunOnce
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/RunServices
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/RunServicesOnce
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/Run
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/RunOnce
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Terminal Server/Install/Software/Microsoft/Windows/CurrentVersion/RunOnceEx
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Run
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Windows/Load
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Windows/Run
    • HKCU/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon/Shell
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/Explorer/Run
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System/Shell
    • HKCU/SOFTWARE/Policies/Microsoft/Windows/System/Scripts/Logon
    • HKCU/SOFTWARE/Policies/Microsoft/Windows/System/Scripts/Logoff
    • HKCU/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/Policies/Explorer/Run
    • HKCU/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/Run
    • HKCU/SOFTWARE/WOW6432Node/Microsoft/Windows/CurrentVersion/RunOnce
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders, 'Startup'
    • HKCU/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders, 'Startup'
  • WinLogon

    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'TaskMan'
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'Shell'
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'Userinit'
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'Notify'
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'System'
    • HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon, 'VmApplet'
  • Services

    • HKLM/SYSTEM/ControlSet*/Services/*
  • Active Setup

    • HKLM/SOFTWARE/Microsoft/Active Setup/Installed Components/*
  • Scheduled Tasks

    • C:/Windows/System32/Tasks
  • Startup Program

    • %APPDATA%/Microsoft/Windows/Start Menu/Programs/Startup
    • %ALLUSERSPROFILE%/Microsoft/Windows/Start Menu/Programs/Startup

User Manual

Step 1: Clone / Download the repository

Downloading plugin

Step 2: Importing python module into Autopsy

Autopsy menu bar, Tools > Python Module

Opening plugin folder

Copy the entire autoruns folder into the python_modules folder.

Copying folder into plugin folder

Step 3: Create a case

Creation of case

Step 4: Run the module

Run module

Debugging & Logs

Autopsy menu bar, Help > Open Log Folder

Log folder location

autopsy.log.0 contains the current case log

Test Data

Tested on Autopsy 4.19.1

Test data made using Windows 10, version 21H1 (10.0.19043). VMware link here

Refer to the test data folder for more information

Test data results

After running the plugin 6 data artefacts will appear

overall results

Active Setup

active setup result

Registry Run Keys

registry run result

Scheduled Tasks

scheduled tasks result

Services

services result

Startup Programs

startup program result

WinLogon Keys

winlogon result

References