How pangeran-droid/android-ransomware-simulation works
This is an educational Android lock-screen ransomware simulation: the user encounters a Flutter lock screen, enters a password before leaving, and sees a payment-deadline countdown. Android-specific behavior uses a method-channel bridge for Lock Task Mode and a boot receiver for relaunch after reboot. The README documents the product flow and responsibilities; the Dart and Kotlin implementations were not excerpted, so internal details beyond those statements are not inferred.
Main entry points: main.dart Lock screen, password, timer · MainActivity.kt Lock-task bridge · BootReceiver.kt Boot receiver · AndroidManifest.xml Android Lock Task Mode
Components 6
Flutter lock screen
- Lock screen, password, timer
lib/main.dart
Android controls
- Lock-task bridge
android/app/src/main/kotlin/com/example/ransim/MainActivity.kt - Android Lock Task Mode
android/app/src/main/AndroidManifest.xml
Device lifecycle
- Boot receiver
android/app/src/main/kotlin/com/example/ransim/BootReceiver.kt
Other components
- Device user
- Android system
Connections 5
- Device user → Lock screen, password, timer: uses
README.md - Lock screen, password, timer → Lock-task bridge: calls channel
README.md - Lock-task bridge → Android Lock Task Mode: controls kiosk
README.md - Android system → Boot receiver: signals reboot
README.md - Boot receiver → Lock screen, password, timer: relaunches app
README.md