Stage 5 / 7 · Establish a foothold
Installation
Deployment of implants, backdoors, malicious components, or mechanisms that maintain access.
51 readings · Guides can appear in more than one stage.
Understanding Installation
Installation is the establishment of an adversary-controlled component in the compromised environment. An implant, backdoor, malicious extension, or web shell can give the operator a foothold from which to continue. The relevant evidence is the component and the changes that made it available for use.
Typical activities
- Place or load a malicious executable, script, web shell, or other component.
- Change a service, scheduled task, startup entry, or application configuration to support continued access.
- Prepare the foothold to survive expected interruptions when the operation requires persistence.
Example: After an application compromise, a new web shell appears in a server directory. File-change records, application requests, and process events can help establish when it was placed and whether it was used.
Installation and persistence overlap, but are not identical. A newly deployed component may be temporary, and persistence can rely on identity or configuration changes rather than a conventional installed program. Memory-only activity may leave little durable file evidence.
Defender’s question: What new component or configuration established the foothold, and which evidence distinguishes it from an authorized change?
Guides and articles by Andrey 42
SOC Tier 1: The Complete Onboarding Guide to Security Monitoring and Incident Response
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Authenticator.exe/DearSteeler
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Registry Modifications.
SPW AW25 — PO.010 SMS.exe.exe (AgentTesla)
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Static Malware Analysis. Strings analysis.
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Registry Keys.
Deep Dive: Automating Static Malware Analysis with Three Python Tools
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
The Invisible Pipeline: Defending CI/CD from Targeted Attacks
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: B. Dependency/registry poisoning (typosquatting, dependency confusion).
The Atomic Standard: A Practitioner’s Compendium for Single-Event Threat Detection
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Single-Event Detection Rules in Cybersecurity
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Correlation-Based Detection Rules in Cybersecurity: From Atomic Events to Behavioral Insight
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Endpoint Threat Hunting: Proactive Detection on Windows, Linux, and macOS
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 3. The Registry: Persistence and History · 5. Scheduled Tasks.
Black-Box Kubernetes Penetration Testing Playbook
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Step 2: Testing Each Service · Step 1: Extract the Service Account Token.
⚠️ WARNING: I Just Built Real Malware by using just human language prompts!
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 3.3 Phase 3: Backdoor Module (Days 7-9) · 3.6 Phase 6: Process Hollowing Loader (Days 16-18).
One Tool to Rule Them All: File Metadata & Static Analysis for Malware Analysts and SOC Teams
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
A Practical Guide to String Analyzer: Extract and Analyze Strings from Binaries (Without the…
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: A) Credential & data theft (file + registry).
PE Import Analyzer: A Practical Guide for Malware Analysts and Reverse Engineers
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Basic Static Malware Analysis: From Triage to Unpacking — Explained and Automated
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Sample: Cs2Loader_upx.exe · Sample: Cs2Loader_upx.exe.
CTI Research: Handala Hack Group (aka Handala Hack Team)
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: File, Service, and Artifact IOCs.
CTI Research: Sandworm / APT44
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 2019–2022 (Kapeka/KnuckleTouch Backdoor Development) · Risk: Edge foothold persistence.
CTI Research: MuddyWater/Seedworm (Mango Sandstorm)
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Documented Persistence Methods · Persistence.
AI-Powered Malware Debugger That Explains Every Function It Sees
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Layer 8: Persistence (SQLite).
Android APK Analysis Tool: AI-Powered Static Malware Analysis in Your Terminal
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Android Malware Analysis: A Practical Guide for Security Analysts
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Accessibility Services — The Master Key · Case Study 2: Cerberus — Banking Trojan as a Service.
From Threat Intelligence to Detection: A Practitioner’s Guide
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Read: 2. APT41 — Repeated Exploitation Attempts Against Same Service · 3. Lazarus — Spear Phish Execution → Persistence → C2 Beacon.
What AI-Assisted Offensive Work Actually Means for Your Detection Program: A Practitioner’s…
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Malicious Activity as a Statistical Signal: Anomaly Detection Engineering
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
Read: Rare Process / Service · State-Change.
CTI Research: Kubernetes & Cloud-Native Threat Landscape
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 1.3 TeamTNT RBAC Buster — Kubernetes Backdoor Campaign · 1.4 Kinsing — Persistent Opportunistic Cryptominer.
APT41 Targeting Pharmaceutical Sector: Log4Shell to Domain Compromise
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 5.3 Foothold — Two-Layer Persistence — T1505.003, T1053.003 · Layer 2: RxPhage Custom Implant — T1053.003.
Attack Playbook — Operation DragonRx
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Phase 2: Foothold — Webshell + Implant · 2.4 Deploy RxPhage Implant (Malware Analysis Artifact).
CTI Kill Chain: An Analyst Guide With Real-World Evidence
Backdoor and implant examples explain installation without treating every intrusion as file-based.
Read: Example 1: SUNBURST initial backdoor C2 used stealth and delayed activation · Example 2: APT29 HAMMERTOSS abused public web services for stealthy C2.
Operation Desert Hydra — AI-Assisted CTI Pipeline: MuddyWater to Kibana
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: det_mw_0002 — Web Service Spawning Interpreter Shell · det_mw_0005 — Registry Run Key and Startup Folder Persistence.
AdversaryGraph v4.0: I Added a Full Malware Analysis Workbench to My Self-Hosted CTI Platform
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Comprehensive Cyber Intelligence Research: Attacks Against Embedded Systems, Hardware, Firmware…
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 2. Post-compromise persistence is the real risk, not only initial CVE exploitation.
Newest Detection Engineering Techniques: From Rules to Validated Security Telemetry
Defensive support: process, service, and state-change analytics help investigate a foothold; validate required event fields and benign controls.
What Is Malware?
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: 4. Droppers, Downloaders, and Loaders · Downloader.
PE File Structure for Malware Analysis: A Practical Guide
Read the Windows loader, imports, TLS callbacks, and image-mapping sections to interpret installed executable artifacts.
Read: 7. The optional header: the loader's map · 20. How the Windows loader uses the image.
Strings Analysis for Malware Analysis: Turning Binary Text into Defensible Hypotheses
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Registry, file, and system paths.
AIDebug 3.1 Full Release Review: From Binary Intake to String Intelligence
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Malware Analysis Field Guide — Cyber Knowledge
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Blue Team Field Guide — Cyber Knowledge
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Identity, asset, service, vulnerability, and business context · Service context.
DFIR Field Guide — Cyber Knowledge
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Disk, file-system, and persistence forensics · ATT&CK knowledge mesh for Disk, file-system, and persistence forensics.
Cloud Security Field Guide — Cyber Knowledge
Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Shared responsibility, governance, and service ownership · ATT&CK knowledge mesh for Shared responsibility, governance, and service ownership.
TrainSec Malware Analyst Level 1 Learning Record
Public independent course review and linked original companions; course access and affiliate disclosures remain on the source page.
Attributed TrainSec readings 9
Public technical readings by the credited TrainSec authors. These link to the original canonical publications and are separate from Andrey’s original companion guides. Private course lessons are not reproduced here.
Code Injection with Image File Execution Options
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
DLL Injection with Windows Application Verifier
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: What Gets Written to the Registry.
Exploring NTFS Alternate Streams: A Hidden Gem of the Windows File System
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Hiding a Service with C++
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Step 1: Open The SCM And The Service · Step 2: Query The Service Security Descriptor.
Hiding A Windows Service From Enumeration
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Where Services Are Registered · Why Services.msc and sc.exe Can Miss A Service.
Keyboard Hook with Image File Execution Options
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
NTFS Transactions in Windows: Kernel Transaction Manager, CreateFileTransacted, and Process Doppelganging
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Registry Transactions.
When Process Hollowing Isn’t Process Hollowing
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Writing a Windows Service
By Pavel Yosifovich. Attributed TrainSec technical background: Use the implant, loader, host-artifact, or persistence analysis to investigate establishment of a foothold.
Read: Defining the Service Table · Main Service Function and Control Handler.
Authoritative external resources
Read Lockheed Martin’s Cyber Kill Chain for the stage definition, then use these primary technical references:
- MITRE ATT&CK T1547: Boot or Logon Autostart Execution.
- MITRE ATT&CK T1543: Create or Modify System Process.
Defensive focus: Examine file, process, service, task, and configuration changes. Persistence can support installation, but the two are not synonyms.
Methods across stages
Use the CTI Analyst Field Manual for evidence and confidence, detection engineering guide for telemetry and validation, and practical learning paths for bounded exercises. These methods support several stages; they are not additional Kill Chain stages.
Source lifecycle, version boundaries, course access terms, and lab limitations still apply. Password recovery and lab exercises are learning analogues, not evidence of a real compromise.