FORENSIA

ATT&CK · T1547.001 · sub-technique

Registry Run Keys / Startup Folder

Tactics: persistence, privilege-escalation

About

Adversaries may achieve persistence by adding a program to a startup folder or referencing it with a Registry run key. Adding an entry to the "run keys" in the Registry or startup folder will cause the program referenced to be executed when a user logs in. These programs will be executed under the context of the user and will have the account's associated permissions level. The following run keys are created by default on Windows systems: * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run</code> * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce</code> * <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run</code> * <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce</code> Run keys may exist under multiple hives. The <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx</code> is also available but is not created by default on Windows Vista and newer. Registry run key entries can reference programs directly or list them as a dependency. For example, it is possible to load a DLL at logon using a "Depend" key with RunOnceEx: <code>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001\Depend /v 1 /d "C:\temp\evil[.]dll"</code> Placing a program within a startup folder will also cause that program to execute when a user logs in. There is a startup folder location for individual user accounts as well as a system-wide startup folder that will be checked regardless of which user account logs in. The startup folder path for the current user is <code>C:\Users\\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup</code>. The startup folder path for all users is <code>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp</code>. The following Registry keys can be used to set startup folder items for persistence: * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders</code> * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders</code> * <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders</code> * <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders</code> The following Registry keys can control automatic startup of services during boot: * <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce</code> * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce</code> * <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices</code> * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices</code> Using policy settings to specify startup programs creates corresponding values in either of two Registry keys: * <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run</code> * <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run</code> Programs listed in the load value of the registry key <code>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows</code> run automatically for the currently logged-on user. By default, the multistring <code>BootExecute</code> value of the registry key <code>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager</code> is set to <code>autocheck autochk *</code>. This value causes Windows, at startup, to check the file-system integrity of the hard disks if the system has been shut down abnormally. Adversaries can add other programs or processes to this registry value which will automatically launch at boot. Adversaries can use these configuration locations to execute malware, such as remote access tools, to maintain persistence through system reboots. Adversaries may also use Masquerading to make the Registry entries look as if they are associated with legitimate programs.

Used by actors

56 known groups

Software

201 malware/tools implement this

TinyZBotTaidoorPoisonIvyPlugXIxesheSykipotSHIPSHAPECarbanakBACKSPACEgh0st RATNETEAGLESPACESHIPFLASHFLOODJHUHUGITADVSTORESHELLCozyCarSeaDukeSslMMDustySkyHTTPBrowserSakulaMivastEliseEmissaryS-TypeHi-ZorKasidetBlackEnergyRoverBackdoor.OldreaTrojan.KaraganyPrikormkaCrimsonPisloaderBBSRATBADNEWSTINYTYPHONUSBStealerCORESHELLPowerDukeWinnti for WindowsChChesPOWERSOURCEPteranodonRTMEvilGrabRedLeavesSNUGRIDEMatryoshkaGazerHelminthReaverTruvasysFinFisherDownPaperPupyPowerSploitPUNCHBUGGYNETWIRETURNEDUPBribaVasportSmoke LoaderNanHaiShuCrossRATComnieNavRATGold DragonKoadicZebrocyRunningRATPLAINTEEMosquitoInnaputRATInvisiMoleQuasarRATKazuarTrickBotFELIXROOTBisonalRogueRobinZeus PandaAgent TeslaRemcosDarkCometNanoCoreBadPatchCobian RATOctopusXbashSeasaltCardinal RATNOKKIFinal1stspyKONNIEmpireEmotetPOWERTONAstarothRemexiFlawedAmmyyServHelpernjRATUrsnifJCryEvilBunnyLoJaxMacheteBabySharkGRIFFONPoetRATRifdoorOkrumPowerShowerVBShowerShimRatRyukMazeMetamorfoAria-bodyRamsaySDBbotbuild_downerIcedIDCarberpStrongPityHancitorMCMDFatDukeLiteDukeGrandoreiroLuciferBazarSharpStageMoleNetGuLoaderEVILNUMBitPaymerLookBackTAINTEDSCRIBEConfickerAppleSeedNebulaeChaesGrimAgentBoomBoxAvaddonObliqueRATTurianSMOKEDHAMQakBotMarkiRATClamblingRCSessionSysUpdateThreatNeedleGelsemiumKOCTOPUSWarzoneRATSILENTTRINITYFlagproSaint BotDnsSystemAmadeyMongallHeyoka BackdoorAuTo StealerSmall SieveSTARWHALEChinoxyFunnyDreamAvosLockerDarkTortillaANDROMEDASnip3DarkGateMispaduRaspberry RobinGootloaderPikabotROADSWEEPLatrodectusMagicRATLockBit 2.0XLoaderRansomHubLumma StealerPUBLOADHIUPANCLAIMLOADERTONESHELLQilinInvisibleFerretEmbargoGlassWormHeartCryptPureCrypterLODEINFOMuddyViperTsundere BotnetRustyWater

Corpus indicators tagged with this technique

2,462 indicators in the corpus carry T1547.001.

IndicatorTypeFamilySevSrc
cve-2026-4368cveransomware851
cve-2023-44976cveransomware852
cve-2025-68670cve852
164e322d6fbc62e254d73583acd7f39444c884d3f5e6a5d27db143fc25bc88b3sha256supply_chain801
a37f6403fbf28fa0b48863287f4c5a5dhashcryptojacking802
64c7dd0a3a3ae49977ac05913d3878000cce14e5d8c1ee05b782bdfd648bde91sha256801
5864a697bd7b339f56b05405f29a097cd027cafdcc4e63c2aaeccccbf930605fsha256801
ad10ff9043d6f327045943635fcbd0c5918acb79dc998db92ee4c7dee5224710sha256801
107b5aa3c4ef30b9b832e0a10b1efb1dcf433158bc6af8d890d66c0c9ed50d21sha256801
7900c2772680523cadc9fe4e07300d45500191ba64ff5b91573531b133840b14sha256phishing802
62a879b0d1c1649cc72b2b6f61a8f6bd888625ce6e8a7aefe0a0461e4f27c525sha256phishing802
7b297f18ece81e87608e158288cc9c06cb9f4a8f1b2d2256aecf7bba8d7be2absha256phishing802
5ab41cf20315d2ea1385967d588159873a65ef5581a0b78de06c0d8617894194sha256phishing802
60972abf5425c191c81bae117f1dedaea13d39bc52f367d5dff9ad1aa4b9c5casha256phishing802
e4ccb2328c06710a7f0254cb6315e1b106396b0ff525f9cf3eada6e85d285c1csha256801
50ebf107d522326c9a9db8821fe3263aa5136964faaf5dd183657bbb52725f84sha256phishing802
248ded4723e9f5da793e5e42d1ba7c2293dd704718f149b84b3b9b818a1f51dbsha256phishing802
c099f965144bccd0b590f946659fc3c0747c54aef505b6caaca9078712f455fbsha256801
44a4ac119349f525d877728b53fe38453a516881d577679caf08ab69312a695fsha256phishing802
43d597783af656a35184021f5e20686896463a1712f9216e0217a2ca740e3935sha256phishing802
669002654c264191d4660fbf757860d930175649735f81370b9f1af3658a304csha256phishing802
771a47120b935e218322046e838347d722d265b91f1afdef91194a5bec86a97asha256phishing802
22de84e8f29cba932cf65cf4dc1d333cb8b2e468204f97030712bee32691ac3bsha256phishing802
9758e76b601798a30d903bf05052a53df80451e5c156548ce9da828f608b6470sha256801
5272917261d7091a59e00f9d09cd7eb1d3e111115a5b367f79a66d0d7c7b01f4sha256phishing802
5115277eabf2d22d49dcef1e155874387d8e783853bd86debf7ff58588aae35dsha256phishing802
23b37d2ebe683cec3b145b6f2234ee728b99228cf3774399fcfad9502daab9a9sha256phishing802
221a39856b37e3c682f62427f1e6b965b36a2405764689c914672770a01a1fa9sha256801
bd46890121106b43f0c01ab82629400chashcryptojacking802
e5e43b0830369c39fab45363486da4d21a98c5097ea262c9816997f11c73c1c4hashphishing802

Showing the top 30 by severity of 2,462.