Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    android-9_x86
  • resource
    android-x86-arm-20240910-en
  • resource tags

    arch:armarch:x86image:android-x86-arm-20240910-enlocale:en-usos:android-9-x86system
  • submitted
    05-12-2024 22:01

General

  • Target

    531ffd5102c49b60c8f64876a29bad871c3ec55957081de38f9faaaeaa3bd6fc.apk

  • Size

    961KB

  • MD5

    2a946dc78f99a018694e70c19031022b

  • SHA1

    2406f6a7a877ad79e31b841f4c96a3b5e2132e8e

  • SHA256

    531ffd5102c49b60c8f64876a29bad871c3ec55957081de38f9faaaeaa3bd6fc

  • SHA512

    6acb40adb9cae42a0c72712bd05489f8ecfd7bbe7cc1998ded8efc344e7c1af6a991be95bf24e62e5708c700a53c1a457cd9aea7d1d7e71cdd7c0056d8af9ce6

  • SSDEEP

    24576:DgmJKaJ0fmHaNfabFs0qu00tX/OpKnR6GRiqtaJyLwJe:DgmJFFb00dFRyqtGyLwc

Malware Config

Extracted

Family

ermac

C2

http://ahmet10.duckdns.org: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 11 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

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

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/com.Owhhasdxejzhsk.apk/app_apkprotector_dex/classes-v1.bin

    Filesize

    547KB

    MD5

    31a1f1b633f03d0d8eca83ad3a1c11ed

    SHA1

    0c0b8fa80c33903ba2f0654b8a909f0edd4b231c

    SHA256

    8f79da2db8260e3159ab9a05bfd582cb591ae84c31fa95fc3aa4f619bfc8c36d

    SHA512

    2cc8191422fc1979a62eb3e27965f295729d97aa48e6cece251b120544dd18c18ada5c850ac81eddb6b92eaf0b219a37cf53e60a42b449ae4ac49437a3783861

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

    Filesize

    547KB

    MD5

    f768fa7176438732e684d886f551e101

    SHA1

    c0c74a00150ac188529d7029ccec70f6a4a888b4

    SHA256

    cd23a6e391ea77442b3078eae4c72bc6ada714f64a1ff9a782c09de210380f8b

    SHA512

    cfdb5a43e0995a872d1c132b59c9f40cd2b1e19facec000a7e0c96969514581454103cc4bc2857a549dcc3319747875e49350a32fc8863e95c341f54158464c4