Skip to content
Back to skills

T1398 Boot Or Logon Initialization Scripts

ASecurity

Adversaries may use scripts automatically executed at boot or logon initialization to establish persistence.

  • 2,182 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 30, 2026
securitygosecurity

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill t1398-boot-or-logon-initialization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of T1398 Boot Or Logon Initialization Scripts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for T1398 Boot Or Logon Initialization Scripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-t1398-boot-or-logon-initialization-scripts/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-t1398-boot-or-logon-initialization-scripts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "T1398_boot-or-logon-initialization-scripts"
description: "Adversaries may use scripts automatically executed at boot or logon initialization to establish persistence."
category: "configuration"
version: "18.1"
author: "cyberstrike-official"
tags:
  - mitre-attack
  - mobile
  - t1398
  - persistence
  - android
  - ios
technique_id: "T1398"
tactic: "persistence"
all_tactics:
  - persistence
platforms:
  - Android
  - iOS
mitre_url: "https://attack.mitre.org/techniques/T1398"
tech_stack:
  - android
  - ios
cwe_ids:
  - CWE-276
chains_with: []
prerequisites: []
severity_boost: {}
---

# T1398 Boot or Logon Initialization Scripts

## High-Level Description

Adversaries may use scripts automatically executed at boot or logon initialization to establish persistence. Initialization scripts are part of the underlying operating system and are not accessible to the user unless the device has been rooted or jailbroken.

## Kill Chain Phase

- Persistence (TA0028)

**Platforms:** Android, iOS

## What to Check

- [ ] Identify if Boot or Logon Initialization Scripts technique is applicable to target mobile environment
- [ ] Check Android devices for indicators of Boot or Logon Initialization Scripts
- [ ] Check iOS devices for indicators of Boot or Logon Initialization Scripts
- [ ] Verify mitigations are bypassed or absent (4 known mitigations)
- [ ] Assess detection coverage (1 detection strategies)

## How to Test

### Identify Attack Surface

Determine if the target mobile environment is susceptible to Boot or Logon Initialization Scripts by examining the target platforms (Android, iOS).

### Assess Existing Defenses

Review whether mitigations for T1398 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

## Remediation Guide

### M1001 Security Updates

Security updates frequently contain fixes for vulnerabilities that could be leveraged to modify protected operating system files.

### M1004 System Partition Integrity

Android and iOS include system partition integrity mechanisms that could detect unauthorized modifications.

### M1002 Attestation

Device attestation could detect devices with unauthorized or unsafe modifications.

### M1003 Lock Bootloader

A locked bootloader could prevent unauthorized modifications to protected operating system files.

## Detection

### Detection of Boot or Logon Initialization Scripts

## Risk Assessment

| Finding                                                   | Severity | Impact      |
| --------------------------------------------------------- | -------- | ----------- |
| Boot or Logon Initialization Scripts technique applicable | Low      | Persistence |

## CWE Categories

| CWE ID  | Title                         |
| ------- | ----------------------------- |
| CWE-276 | Incorrect Default Permissions |

## References

- [Android-VerifiedBoot](https://source.android.com/security/verifiedboot/)
- [NIST Mobile Threat Catalogue](https://pages.nist.gov/mobile-threat-catalogue/application-threats/APP-26.html)
- [NIST Mobile Threat Catalogue](https://pages.nist.gov/mobile-threat-catalogue/application-threats/APP-27.html)
- [MITRE ATT&CK Mobile - T1398](https://attack.mitre.org/techniques/T1398)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.