Analysis

  • max time kernel
    128s
  • max time network
    156s
  • 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
    05-12-2024 22:09

General

  • Target

    ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390.apk

  • Size

    3.9MB

  • MD5

    ff7e436aef33edaed3500bf7425a89fe

  • SHA1

    00dca43f1db3af5f0c44403c78a31640faddc658

  • SHA256

    ba0286b818b667b3ad8105039d217fc1036f05b32cc7662a11a7912a64ae2390

  • SHA512

    4dfcf2492d6a733fc6f06405ee86288c9789643312e3bb6a891bc417643de2ca547176cbe473f0b21494a93e21b2ce9a7f2655c44d6661b3b46c8c65e2967c5b

  • SSDEEP

    98304:M9pTm3K1U8s6U+IDoYAKPWM2KtiayUgSubL5dceuWvvrel7cCoCnuCv:6Jm3QUmUDrAWooibnu+ve7noCuCv

Malware Config

Extracted

Family

ermac

C2

http://92.255.57.103

AES_key

Extracted

Family

hook

C2

http://92.255.57.103

AES_key

Signatures

  • Ermac

    An Android banking trojan first seen in July 2021.

  • Ermac family
  • Ermac2 payload 2 IoCs
  • Hook

    Hook is an Android malware that is based on Ermac with RAT capabilities.

  • Hook family
  • 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 information about running processes on the device 1 TTPs 1 IoCs

    Application may abuse the framework's APIs to collect information about running processes on the device.

  • 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 information about the current Wi-Fi connection 1 TTPs 1 IoCs

    Application may abuse the framework's APIs to collect information about the current Wi-Fi connection.

  • Queries the mobile country code (MCC) 1 TTPs 1 IoCs
  • Registers a broadcast receiver at runtime (usually for listening for system events) 1 TTPs 1 IoCs
  • Schedules tasks to execute at a specified time 1 TTPs 1 IoCs

    Application may abuse the framework's APIs to perform task scheduling for initial or recurring execution of malicious code.

  • 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.kamatkblackap.mafukor
    1⤵
    • Loads dropped Dex/Jar
    • Makes use of the framework's Accessibility service
    • Queries information about running processes on the device
    • Acquires the wake lock
    • Makes use of the framework's foreground persistence service
    • Performs UI accessibility actions on behalf of the user
    • Queries information about the current Wi-Fi connection
    • Queries the mobile country code (MCC)
    • Registers a broadcast receiver at runtime (usually for listening for system events)
    • Schedules tasks to execute at a specified time
    • Uses Crypto APIs (Might try to encrypt user data)
    • Checks CPU information
    • Checks memory information
    PID:4252
    • /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.kamatkblackap.mafukor/app_behind/xd.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkblackap.mafukor/app_behind/oat/x86/xd.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4278

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/com.kamatkblackap.mafukor/app_behind/oat/xd.json.cur.prof

    Filesize

    2KB

    MD5

    4b05aa9e8481737a09dbed30acba3620

    SHA1

    4698d896a15c4b7798fd9856dbcbfc20063b4717

    SHA256

    b59dfaeab9c34f56f818882a4bc28848436cc681dab603f1c66e194eceb0c2c0

    SHA512

    62cb60d7a2f2b2e536b7d113f2d0774e49a590be998a7b42a755b88e2d573d9f814d66ad516c09b5927e77284fc9b87829085642ee9138b4aa7fff7d690db9a9

  • /data/data/com.kamatkblackap.mafukor/app_behind/xd.json

    Filesize

    735KB

    MD5

    8d7fbd387d2e296efca71e4aba750382

    SHA1

    05bb7c710a88465951842bc76afbace0ce4876f5

    SHA256

    3de67bf90437b3f8ed178089618f3f185eef83df5e6594047716a698f5c9289b

    SHA512

    79dfd14f0529f6d88d76e46433e9f3f30caea3c9cb3022ebf84ae6b503a0c264c7a04344726857dba2dbf5418191483ad932fc755b6e9edddfd8b6fe9d949ccf

  • /data/data/com.kamatkblackap.mafukor/app_behind/xd.json

    Filesize

    735KB

    MD5

    b936224c20de2864bfaf454b5a058bda

    SHA1

    5f5338d123d08b1e4ce3d7d1e67fcb25e02e3fd1

    SHA256

    a312b2faa3f276d14013da2a16694670854e6fab4361ed7506f78d7e1d109ab5

    SHA512

    df16bcec70a15e2fa6388a54fb1d3a60d47a27d496cedb0016ad0054d981e059a489274b01192474b2dc427b171ac1406df225403ce93e9d7a2838fc6920d095

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb

    Filesize

    4KB

    MD5

    f2b4b0190b9f384ca885f0c8c9b14700

    SHA1

    934ff2646757b5b6e7f20f6a0aa76c7f995d9361

    SHA256

    0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514

    SHA512

    ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb-journal

    Filesize

    512B

    MD5

    ae40fb8e96e92ad6b31c319b499b28a6

    SHA1

    05ba9baa4d7c0ed255be61638c94a537bf294ae1

    SHA256

    0cf44aa4bfca92ba3020c2f039e287a354f3ea8d1c4dd002fb37ecc0ee31a7b5

    SHA512

    7566fa34611b3d8b3a2a015e3288a7fd0029dd75fbac9b9b027881f0f11048f857a5ca1b1640f6f5492f905808e102378ea46496cb9bb3d1ee4cf10f35ba449e

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb-shm

    Filesize

    32KB

    MD5

    bb7df04e1b0a2570657527a7e108ae23

    SHA1

    5188431849b4613152fd7bdba6a3ff0a4fd6424b

    SHA256

    c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479

    SHA512

    768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb-wal

    Filesize

    108KB

    MD5

    f4f04b1acec850ec3297d636d15e731e

    SHA1

    5f2a52f09d047efab7ab683bd9067fdddf8b16c1

    SHA256

    8938889c5bb1929a13d71147df1b759e7c596c9bdb143752e391dbe34532025c

    SHA512

    44f7cf062a2efb2ef8817b2c28fc1ccc5dc3a74cc8e56aeb244423754ab2496f615d3c2b7f956de3b79bbd9fc43348e58579ae318239c9c3f0094842ad172fe8

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb-wal

    Filesize

    173KB

    MD5

    84e2f4fee4e6ea67aa6c861cc3c804c7

    SHA1

    c02aa5b353181c621846df4d6a44d68788fe0b07

    SHA256

    eace317f1020a0941fa6a869da678793a69ab394ffe2665f0ed6270ea03acb4f

    SHA512

    eb2924f51652e4d4290d3791fa5817e5294ec60d08737cca58797fcd1ec08deab8b6bcc4371cf9d28f22ab0b49cf0b184fbf3e0c21d3bab65d6878777953512a

  • /data/data/com.kamatkblackap.mafukor/no_backup/androidx.work.workdb-wal

    Filesize

    16KB

    MD5

    2f9293681fef5907d42d97428937685c

    SHA1

    f3b21881ea50f64fef9a594dca313b75c165104d

    SHA256

    2a44bc712144dc04f70507d5aa8aed3fbac888cd0fbf1abd6496ad4b94c17ab9

    SHA512

    069128f856f5404391777f1ee8b443be86cff30b5c99c86a61409e96737d7208d8870fc2c79d505fe103c386b5b5c90c0df42459fc6548aa97c0f5c2fc3865fe

  • /data/user/0/com.kamatkblackap.mafukor/app_behind/xd.json

    Filesize

    1.7MB

    MD5

    89899a7ce004fb58d7d47887bf624972

    SHA1

    c0c1090f78c23b5bc750e4ab073c34cfba3947e4

    SHA256

    ac1762ba5a3d98d5a56176fa2484c7971c0e782da1f0dd9b28a919c511a5e44b

    SHA512

    02da1c818f99c756891f70785086dc024359b02a096bf969363d7029bc790aa396d9aeb39654881914745f93d0739e7ade508ec36e7d2dc3ecc52544158ad8fa

  • /data/user/0/com.kamatkblackap.mafukor/app_behind/xd.json

    Filesize

    1.7MB

    MD5

    7c7c24d5eb379144c6db9085c22b22dc

    SHA1

    314cf153034d81c34a98a6ce4d025ce5330de589

    SHA256

    6ad365d15f52445fb352cadee56f71307c358ec2b1181a8d1deb7b3e46c22256

    SHA512

    0e569f141b621348939bcaf4f4f4843269e7a7a9d8a50a6cc87a05cf770b956e2dbda939376c6d1165cbf90342f6a8d9cd4004afb62e67c380444890332cbd05