Testing Whether AUTOEXEC.BAT Can Still Enable Persistence on Windows

· Original article ↗

Summary

A Huntress experiment found no evidence that restoring the ParseAutoexec registry value makes Windows 7 or 10 parse AUTOEXEC.BAT. The author notes the test is not conclusive and points to registry-based persistence mechanisms still in use.

Key points

  • AUTOEXEC.BAT historically ran commands at startup or user logon, but the feature was later deprecated.
  • The author restored the ParseAutoexec value in machine and user registry hives and used ProcMon boot logging to look for file access or registry queries.
  • The test returned no matching results, suggesting the registry value alone does not revive AUTOEXEC.BAT parsing.
  • The author cautions that the experiment is not conclusive and that further reverse engineering would be needed to confirm the feature is fully inactive.
  • The article says legacy WIN.INI Load= and Run= behavior and SYSTEM.INI Shell= functionality have corresponding registry locations that malware continues to abuse.

Article Details

Topic
Testing whether Windows 7 and Windows 10 still parse AUTOEXEC.BAT at startup or logon and examining the persistence functions that replaced legacy startup files.

People

Threat Actors

Malware

Vendors

Products

Related Articles