Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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
    03-11-2024 22:07

General

  • Target

    5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f.apk

  • Size

    958KB

  • MD5

    46d6498acfb25f92b2f3324bd1a6b7f6

  • SHA1

    3630a1e1e819afbeabf432c813c33a214bf6f260

  • SHA256

    5c8b8b4c8891dc210cec633a1a57ed28ec654ebb186d9fc3da315c768b82744f

  • SHA512

    54d88c69af759a9f3ca37c8ce879bb6dd02470a725a86264d5559071d3d91327f6d09885c7cf8372e460f82e1c385d7467d274d2efdce16874bc281971362271

  • SSDEEP

    24576:2AHLNoRNZM8lAlQbcDeoPP8woZFfVyZVUQP+:2AHkovV833T

Malware Config

Extracted

Family

ermac

C2

http://154.216.18.138:3434

AES_key
AES_key

Signatures

  • Ermac

    An Android banking trojan first seen in July 2021.

  • Ermac family
  • 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
  • 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

  • chrome008822.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:4217
    • /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/chrome008822.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/chrome008822.apk/app_apkprotector_dex/oat/x86/classes-v1.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4270

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    686KB

    MD5

    5d03d0239963f0e37abdd80ec86c0998

    SHA1

    3cef61e3bbf27a28b7f02fab1e511c599748e339

    SHA256

    af9fb6074ce4ed5ece18f65bef2dec6f5b4cdedd01eb6bb80e9ba5d7443f1993

    SHA512

    e6727e166053950fb1ed1427d56ce72076fd171a2b3979e7459b17d8843dadfea0925f05f36e3924507895b99c00b18408c91f16207072b6fceddb1e0a5011d5

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

    Filesize

    686KB

    MD5

    c5d547924893c43f5bdeae9ad2db1827

    SHA1

    fe452762e35239f20e96c4c43f20e947b482cfe9

    SHA256

    b23927022d14060be6b46da9acb22c04a2917e282a0c0a78154700302e983ace

    SHA512

    d58b79453a0e109f597106ea25afdfed99d9ec71ac8b89654b7438b8c8e76562b8e97a7d8a44a712acfc30d3e1a35e0bc69c5bbb8010d34500304a4e3a68a577