Analysis

  • max time kernel
    147s
  • max time network
    155s
  • 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
    16-11-2024 22:11

General

  • Target

    0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc.apk

  • Size

    845KB

  • MD5

    ab5ad396b602bef20d75a41bfd4a455e

  • SHA1

    e252ddf58f259fc735d38a94feb51c4ca9a6005e

  • SHA256

    0efe931a0d32a1fe52b11d258b09d189d3c0a3345966cac362f5d22b97efaabc

  • SHA512

    03b45a30c36273e8fac272e274369f8209e8c5c69ba105ae7ff497775cd9afb5c54c4a80ff744cc0b72e608a9ee424d31b849a6a9437b626a9c12853d08a2544

  • SSDEEP

    24576:bgSLU5u/H1D6wgXvKo9opF/DfWqqtaJyLU:bgSBUvNOpF7/qtGyLU

Malware Config

Extracted

Family

ermac

C2

http://154.216.16.134: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 7 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

  • selcukpwjbe.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:4249
    • /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/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/selcukpwjbe.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/selcukpwjbe.apk/app_apkprotector_dex/classes-v1.bin

    Filesize

    547KB

    MD5

    1c50815570683370a3b927df875f8ef7

    SHA1

    f38c53416e0d992bc119f43e08193320fccff2c1

    SHA256

    daf18b7ee9affb91231099aaa29d30a547cca7a761a3a3a6cb9676fe40969e11

    SHA512

    2c7d72bb3cc27a4700a4926da616c92d04dbdcdc8b1a74d830bfa605cdbdb5bf91d8c4ca10f6ace93d7e7eebf8a74872da9ad70206c9579bfd6a42220b9f2984

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

    Filesize

    547KB

    MD5

    740b6ddb481fb27cf774b8056f814b06

    SHA1

    661da196387d944892f5e0a978c16b5c2986d222

    SHA256

    840df6733716959a28c3bd231b2a067ce33c01b44f7f7579303b764054d5a430

    SHA512

    105f33f74bbff2476381b1b78f0c80fbc617b91c3d429a7b592b9fc4783dc75b2c1b9083275e0644f1a621d67485a8bfecb0eb6dcc0152dd27408505fe49b444