Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    android_x86
  • resource
    android-x86-arm-20240624-en
  • resource tags

    androidarch:armarch:x86image:android-x86-arm-20240624-enlocale:en-usos:android-9-x86system
  • submitted
    02-10-2024 22:12

General

  • Target

    f013e9c8259fc864ee1fea67f706ef0d49cb15c03dace196a5da5d28e5e5c7d1.apk

  • Size

    958KB

  • MD5

    74c183839829db36c2aa62bbd57a2c84

  • SHA1

    98c8f943163fa154a657cebc0bef5f8cf7060c19

  • SHA256

    f013e9c8259fc864ee1fea67f706ef0d49cb15c03dace196a5da5d28e5e5c7d1

  • SHA512

    7e2fb6a67a1ba8a0d5fe9ca2baaef82aee87009b558320c14b3747c444c26775fdc5efe4fd797515ac30f00d8f50f8cdb18f4318e4c1f4053236327c341dc317

  • SSDEEP

    12288:YAHJxONmFUxiUNZPUoUcUfgfcI7FMU6f6VaUa0f8sUxUZMUnUxnDOUv:YAHiNnBNZMxlfgEIJy6sxyZVUxnPv

Malware Config

Extracted

Family

ermac

C2

http://154.216.19.53:3434

AES_key
AES_key

Signatures

  • Ermac

    An Android banking trojan first seen in July 2021.

  • Ermac2 payload 2 IoCs
  • Removes its main activity from the application launcher 1 TTPs 1 IoCs
  • Loads dropped Dex/Jar 1 TTPs 3 IoCs

    Runs executable file dropped to the device during analysis.

  • Makes use of the framework's Accessibility service 4 TTPs 3 IoCs

    Retrieves information displayed on the phone screen using AccessibilityService.

  • Queries a list of all the installed applications on the device (Might be used in an attempt to overlay legitimate apps) 1 TTPs
  • Queries the phone number (MSISDN for GSM devices) 1 TTPs
  • Acquires the wake lock 1 IoCs
  • Makes use of the framework's foreground persistence service 1 TTPs 1 IoCs

    Application may abuse the framework's foreground service to continue running in the foreground.

  • Performs UI accessibility actions on behalf of the user 1 TTPs 19 IoCs

    Application may abuse the accessibility service to prevent their removal.

  • Queries the mobile country code (MCC) 1 TTPs 1 IoCs
  • Queries the unique device ID (IMEI, MEID, IMSI) 1 TTPs
  • Reads information about phone network operator. 1 TTPs
  • Requests disabling of battery optimizations (often used to enable hiding in the background). 1 TTPs 1 IoCs
  • Registers a broadcast receiver at runtime (usually for listening for system events) 1 TTPs 1 IoCs
  • Uses Crypto APIs (Might try to encrypt user data) 1 TTPs 1 IoCs
  • Checks CPU information 2 TTPs 1 IoCs
  • Checks memory information 2 TTPs 1 IoCs

Processes

  • chmckinnon.apk
    1⤵
    • Removes its main activity from the application launcher
    • Loads dropped Dex/Jar
    • Makes use of the framework's Accessibility service
    • Acquires the wake lock
    • Makes use of the framework's foreground persistence service
    • Performs UI accessibility actions on behalf of the user
    • Queries the mobile country code (MCC)
    • Requests disabling of battery optimizations (often used to enable hiding in the background).
    • Registers a broadcast receiver at runtime (usually for listening for system events)
    • Uses Crypto APIs (Might try to encrypt user data)
    • Checks CPU information
    • Checks memory information
    PID:4253
    • /system/bin/dex2oat --instruction-set=x86 --instruction-set-features=ssse3,-sse4.1,-sse4.2,-avx,-avx2,-popcnt --runtime-arg -Xhidden-api-checks --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=x86 --instruction-set-features=default --inline-max-code-units=0 --compact-dex-level=none --dex-file=/data/user/0/chmckinnon.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/chmckinnon.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4280

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/chmckinnon.apk/app_apkprotector_dex/classes-v1.bin

    Filesize

    686KB

    MD5

    bcee6727338b4c1db1b1442f3b9e51fc

    SHA1

    093d3aab167078d0dde71b35c527e83019de24f5

    SHA256

    3cefbfcf27b3d966680261e6624eb654ebd1f6bbe1a9e9d9045290dc093a6f22

    SHA512

    061fce7fabf5c4b3e9c51eb8859795ad1871a3cddea29f55a69b3f71f55bfb3dabc3ecaacae007f5186c7bfcc42ca1c20ba695a8ddf880b24232fc236daac224

  • /data/user/0/chmckinnon.apk/app_apkprotector_dex/classes-v1.bin

    Filesize

    686KB

    MD5

    aa725b0d32aae40c5d605f6cfb130867

    SHA1

    a974f7f54c89a5d4297f1151cef7453dbe0c5089

    SHA256

    a375aef85935ada4ecdf7e6b58136c2ac67ddef122beee0afa1161254e378056

    SHA512

    7c1001a2979bf64ab58421f0673e9826beff665a6683a0874005c3c84f56dcd83d317715e7462a7edfc28b18292a9ad337262c8ce68aff9144c80c9a4b102cbf