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

  • MD5

    22d3b8ecd206e0d454927660e485c7c1

  • SHA1

    12f83e5bfc939a331e87639ff932431b354b7a12

  • SHA256

    0e6c87073b40a7914413479920e643f7fd3e56f62db2005d5f6e696cf72f6683

  • SHA512

    9caac7f490081a3186ccd032bd73a44c93adef6e7f0e03c7edd7bfb1b5490588253b98d1c8e3eb66a4017b3009691de0bbf914b2af9bea181ab8a27ae1224353

  • SSDEEP

    98304:kXJP4BVK4Fn/Wcz2YMk+4Rs/uUPPEWtG3vOVLIEmsBul5pu0:kXJPcFnOs2YD+b/PPcoLITsBulTd

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

  • /data/data/nusku.ermacv2.apk/app_grief/Wf.json

    Filesize

    309KB

    MD5

    88a0524f4a2f57ed0c1c25a550f9fc72

    SHA1

    09a456eb98dbe86427bcab886d5de15afe526c74

    SHA256

    cd7a09fe9c3540cb21093c327bf4fa03b95a18ec8c1cd18b3f83de836895565d

    SHA512

    43aa559876d75636b900f0cd023bf7c4082e5b66af8ea0185fa201483643cb9e523d43515b3877b298ceba8b17bcc40e5385e90c6f57425f0e17269a1abf8be8

  • /data/data/nusku.ermacv2.apk/app_grief/Wf.json

    Filesize

    309KB

    MD5

    2adf8ab8c89629ba3fa6b68461370df1

    SHA1

    c6e23af773ad1f11e19bc6b9d4a8028262cd21d6

    SHA256

    361beae1571acd73c66f2ca6173d85c644ec56ea27d9816adb756a6ae9efe056

    SHA512

    0dbcf456c57d93a4501589166cf1815ae02f18fa850a50851dc1db5ff18835ed38a85fee109140583067369413df4ec84c1c561e5683e44293baa9d34c3e5462

  • /data/data/nusku.ermacv2.apk/app_grief/oat/Wf.json.cur.prof

    Filesize

    1KB

    MD5

    3773f9bd8350cddc3b03d088aa28ab7e

    SHA1

    d927af28085fe22394f793b217a7e684dc64db1f

    SHA256

    fc79f7f55108bd1b2108f71b2c46992598af63bbac5b092804003f36e710abca

    SHA512

    f3f01b2d1e2a3c6e16f4c2a0dd1e0c7444c0c7f6379e3f31d82d8a10db9d52cee0858891b5184868c193bbb31c8bebebdb8512d221b3216f5fb99d6a760bebb5

  • /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json

    Filesize

    682KB

    MD5

    7a5e7f6a1a943e38077c799065afeda6

    SHA1

    0612d094cd219eea6679f8fad554d2f8c0e3f2d4

    SHA256

    e932ff224373c3f0c82b09895c62a7167442bf258c0d8c54d60c843b137a32f8

    SHA512

    d67d20a2d23f0b7923079072e4490e9d8091aa7f81f2650c6e60a0b0db7ea2a0bbcd0fe20ba95a8e067b8deb580bd0886b4421beb15454dc8ce75436ee6eef12

  • /data/user/0/nusku.ermacv2.apk/app_grief/Wf.json

    Filesize

    682KB

    MD5

    a964ac68c2b4714b22f487db4b6725a0

    SHA1

    3389c49334225aaaa0adafaee81d71809bf16df4

    SHA256

    d1dee0e2441e73cd55d7cda257fe4a98140d26bdc08f31e61f8b00a71ffb2648

    SHA512

    099b452c2e421f19e904aab91dd549b9c0b1ed4d2b5665792b6fcdaa0084f766341af73d6bab2dac447516815e7e59408487b1174dfe4bd0266b2609fd82e2e9