ArmorThreat enum

Every threat AppArmor can report.

Most come from the runtime protection engine (freeRASP); screenshot and screenRecording are also reported by AppArmor's own native code.

Inheritance
Available extensions

Values

hooks → const ArmorThreat

Frida, Xposed, Shadow or another hooking framework is attached.

debugger → const ArmorThreat

A debugger is attached to the app.

rootOrJailbreak → const ArmorThreat

Rooted (Android) or jailbroken (iOS) device.

emulator → const ArmorThreat

Running on an emulator or simulator.

tampering → const ArmorThreat

The app was modified or re-signed (wrong signing key or bundle id).

unofficialStore → const ArmorThreat

Installed from a store that is not in the allowed list (Android).

noScreenLock → const ArmorThreat

The device has no screen lock (PIN, pattern, password, biometrics).

noSecureHardware → const ArmorThreat

The device has no hardware-backed keystore / Secure Enclave.

developerMode → const ArmorThreat

Android developer options are on.

adbEnabled → const ArmorThreat

Android USB debugging (ADB) is on.

deviceIdChanged → const ArmorThreat

The app was reinstalled (iOS only).

deviceBinding → const ArmorThreat

The app was moved to another device or restored from a backup.

obfuscationIssues → const ArmorThreat

The release build is not obfuscated (Android).

vpn → const ArmorThreat

A system-wide VPN is active.

multiInstance → const ArmorThreat

The app runs as a second instance (app cloners, work profiles).

unsecureWifi → const ArmorThreat

Connected to an open or weakly secured Wi-Fi.

timeSpoofing → const ArmorThreat

The device clock was changed.

locationSpoofing → const ArmorThreat

A mock location app is in use.

automation → const ArmorThreat

An automation or accessibility tool is driving the UI.

unlockedBootloader → const ArmorThreat

The bootloader is unlocked (Android).

screenshot → const ArmorThreat

The user took a screenshot.

screenRecording → const ArmorThreat

The screen is being recorded, mirrored or cast.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ArmorThreat>
A constant List of the values in this enum, in order of their declaration.