Analysis

  • max time kernel
    147s
  • max time network
    155s
  • 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
    20/12/2024, 22:07

General

  • Target
    0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683.apk
  • Size 3.6MB
  • Sample241220-11va9awkan
  • SHA256 0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • ermac

C2
  • http://78.153.149.187: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 2 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 5 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

  • nusku.ermacv2.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:4268
    • /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/nusku.ermacv2.apk/app_grief/Wf.json --output-vdex-fd=42 --oat-fd=43 --oat-location=/data/user/0/nusku.ermacv2.apk/app_grief/oat/x86/Wf.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4294

Network

        MITRE ATT&CK Mobile v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Wf.json

        • Path /data/data/nusku.ermacv2.apk/app_grief/Wf.json
        • Size 309KB
        • SHA256 cd7a09fe9c3540cb21093c327bf4fa03b95a18ec8c1cd18b3f83de836895565d
        • MD5 SHA1 SHA512 SSDEEP

        Wf.json

        • Path /data/data/nusku.ermacv2.apk/app_grief/Wf.json
        • Size 309KB
        • SHA256 361beae1571acd73c66f2ca6173d85c644ec56ea27d9816adb756a6ae9efe056
        • MD5 SHA1 SHA512 SSDEEP

        Wf.json.cur.prof

        • Path /data/data/nusku.ermacv2.apk/app_grief/oat/Wf.json.cur.prof
        • Size 1KB
        • SHA256 fc79f7f55108bd1b2108f71b2c46992598af63bbac5b092804003f36e710abca
        • MD5 SHA1 SHA512

        Wf.json

        • Path /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json
        • Size 682KB
        • SHA256 e932ff224373c3f0c82b09895c62a7167442bf258c0d8c54d60c843b137a32f8
        • MD5 SHA1 SHA512 SSDEEP

        Wf.json

        • Path /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json
        • Size 682KB
        • SHA256 d1dee0e2441e73cd55d7cda257fe4a98140d26bdc08f31e61f8b00a71ffb2648
        • MD5 SHA1 SHA512 SSDEEP