Analysis

  • max time kernel
    148s
  • max time network
    144s
  • 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
    06-11-2024 22:00

General

  • Target

    b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5.apk

  • Size

    898KB

  • MD5

    b30d5136de687cf9b8ed47411cdd1820

  • SHA1

    708c42e2835595ae3dd0b2fe4d53807d92a04e87

  • SHA256

    b83b96cb3af5226d7472a3dbe78f40b0d04877f0a0a23c74931e3a117c911ed5

  • SHA512

    d8492b800da1bb3a4e4c3d0ba1aa21a7102ac0b806975a96ece038096838bcaf9714faba8c877f3f2e6c3e7497a09d1ebd92bbf76360ebff8fdb0cc56bc55b27

  • SSDEEP

    12288:2AHJxiNFQ6rZBzXxl7avpEpazcAFrQMOYG0jmmYmoxPZK/+IMgqrDs:2AHWNPZRBlGqa4orQMOGjmMoxPZYlqro

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 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

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

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    686KB

    MD5

    cedc0b596011df92f52cd5585677cb09

    SHA1

    7da5bd413422c11e2f0d3cf5e199362b5198b12f

    SHA256

    3573afd89b3ef755d08fedfdc538eccc75f25800ac430e86794e2d74ff2a2c59

    SHA512

    265704ef7e4fc07e7866040f4a2eec11cc43e9468504fe7a4d0b5481805964cd2678b1b6aeab1e0940290824d31cb5c13c43f61d92e7a32873d8a3158ea6691b

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

    Filesize

    686KB

    MD5

    358986e442d82fd5bafed29723a1f0d1

    SHA1

    94ddd32515dbf517405c0b0e51fb856f644d5491

    SHA256

    9ed959252bbe14aee7d5fb9c13a86f5511bf000a810ca27a5b1e251b574cb125

    SHA512

    61e345bb8c2968dd5692a44cda7fb7ad6d026131f40823cd54ce08fc260462ebbc6018225076ddc30bfef3b33a5c636001b2a8324842dc9892dadc65d982ece3