Analysis

  • max time kernel
    129s
  • max time network
    155s
  • 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
    12-12-2024 22:01

General

  • Target

    b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2.apk

  • Size

    3.4MB

  • MD5

    8597c427916067bd8c9e51b21d2358fb

  • SHA1

    03e624759d2d7ee202a57f05b3a416adaad3af5d

  • SHA256

    b7672ab21441af12cd18cb07017ec204772639abcd190b6c0db129cdde6869a2

  • SHA512

    0fe969d4877f836cd7ba295635fac881dabca516b02fa3e2fed5d739076a5f4461a1242d16991b3b840f0dfe13ce18131730739fb40fb1a08accade66d74c946

  • SSDEEP

    98304:C5Vv/hgeIs9LD9qy3T3Bv20YVqAlh8LgRvRhlCDQ:Es8n0eT3ozVqi4qvDlCDQ

Malware Config

Extracted

Family

ermac

C2

http://154.216.19.93

AES_key

Extracted

Family

hook

C2

http://154.216.19.93

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.kamatkap.mafuko
    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:4250
    • /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.kamatkap.mafuko/app_team/TwdabuH.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_team/oat/x86/TwdabuH.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4275

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/com.kamatkap.mafuko/app_team/TwdabuH.json

    Filesize

    736KB

    MD5

    3eecc2e4a241bed02d54df56ac9e7c2b

    SHA1

    11ca54c267ebf6a8e1a07b70bb3d0aba60728062

    SHA256

    5c96e2a6bd086692459ac7427a2990d4bff6b4ceb576f2a1e99f9452d4089c35

    SHA512

    07bf838883df4c0c167736af481d1811d113b211e55d9c6bcd2e5e5cb169be9ee03b179ab59153fa905317d2db26ba2de65d5464b8393045a4a15e31c0e45534

  • /data/data/com.kamatkap.mafuko/app_team/TwdabuH.json

    Filesize

    736KB

    MD5

    17a9b0eaa067c313b23188d78efdd3e5

    SHA1

    b220cf0f634bf76378369ee0dbc09a536d0e18d8

    SHA256

    ee72805e8047d1d22cce1818dbb216139c2f2e623ec2994e0a60309fcbeb630e

    SHA512

    330d5d37ab6f6e68bd2284a790f063769d097bcb2d3f0b261fcc31a4de0b5b41eca577e0c63c79d517e2227024d673fb94e7a453f2597255de25f836e6bb9530

  • /data/data/com.kamatkap.mafuko/app_team/oat/TwdabuH.json.cur.prof

    Filesize

    2KB

    MD5

    3bebef2a753563bcedfb01c7e51316f4

    SHA1

    c242d8a91e55c9cf1cbcef75800b96a83ca8936f

    SHA256

    d9be03109e380ce41b033d5527a66fd1050a91e0bf931fda677fbb9b53db5269

    SHA512

    3f96abd6cf5c52fec351906a4fbc61a9aa050fd036c94e4c0051c2697dde3c2d62438d554ea06400830909d57906c49f238f7ecb3f2e8e67f410610fb2fe70ba

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb

    Filesize

    4KB

    MD5

    f2b4b0190b9f384ca885f0c8c9b14700

    SHA1

    934ff2646757b5b6e7f20f6a0aa76c7f995d9361

    SHA256

    0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514

    SHA512

    ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb-journal

    Filesize

    512B

    MD5

    b84509b28310e30baf18f40a050aa75f

    SHA1

    088c1e7160082207be2362d9f0f2d351b0d350f8

    SHA256

    72759fff0d7ae7b6d17aef5352bd475e051c8b1ab254fe6e00ac8d6fe12d568e

    SHA512

    6f5b354bcde9553687ead74943b5d0428e4b3d706954610eb3baa700724e5600dbd6a272994d5143dd85575236e501b837a9dbf5185b4c7cfe73aeb2d5c8423f

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb-shm

    Filesize

    32KB

    MD5

    bb7df04e1b0a2570657527a7e108ae23

    SHA1

    5188431849b4613152fd7bdba6a3ff0a4fd6424b

    SHA256

    c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479

    SHA512

    768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb-wal

    Filesize

    108KB

    MD5

    f3fff9756e196c94e6ae435356580fb2

    SHA1

    1f1b2b85677df294d1f5b7a187293448689769dd

    SHA256

    f92c1a9a815c3ef04362227484d001df38bfa500d4253dc29ffca858896aa39a

    SHA512

    020760a368fb54825040fd916e79415b610e02e8f3c9002c87a6cd99796a39b6c6faa22435fa4c3b0ddad646fb6d4b23489437642e646a028c1ed665be4efc56

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb-wal

    Filesize

    173KB

    MD5

    222de99e36ca941069eb50358f08236a

    SHA1

    559c5aeb6a889ad078b8ada23ed5b87ccf1f1eba

    SHA256

    83e127c4578caa46e1c61aaca06fbf8c5d2073988b642de6a87b9d78bbc3d468

    SHA512

    11f2a460600841eb189427d914c3ff078776431fbe7811b1981411393757d25466f2f92e720e31cf17a7771e2136775990b36b194391508b498140714225417c

  • /data/data/com.kamatkap.mafuko/no_backup/androidx.work.workdb-wal

    Filesize

    16KB

    MD5

    27b5ecdb440984f5df8f111cf2198fee

    SHA1

    33409f36c76c32167998823964b54a03fd577106

    SHA256

    383771924f792d893e9b8e09cbfe81c5c4dc46c82b4917be140fbc208c3c50ec

    SHA512

    34db9425cc5310e43aec5911a125d24052a1434263a501c040ac779a95fed7972d827a675cc9c1ad84ce5795558002ca967ae765af6f91ee72e987a243e492fa

  • /data/user/0/com.kamatkap.mafuko/app_team/TwdabuH.json

    Filesize

    1.7MB

    MD5

    0bfaa396e8c659d5f2fccb6b1f19ee25

    SHA1

    a95c7d640d7590eb75a312a844dc04f9644dab15

    SHA256

    95f3355f94f6bb7f9c7d5930f28325b3795ff50737a4a7ce9147378aa4de5906

    SHA512

    b2deb902627e6deaee4f71beaf451cc4692fd042e4f28a2fcec1f06d677adaf119f6abd3648ededf481e4fa21f02d26b207ed710408e8b31bc87850ea40c252e

  • /data/user/0/com.kamatkap.mafuko/app_team/TwdabuH.json

    Filesize

    1.7MB

    MD5

    332e75f1e51240a01d136055c2a31788

    SHA1

    6d577e35bb5162bd93c3280827915a81da441838

    SHA256

    8429ac18967aa2f7aac10d6d3ee6354203b7d5104acc5ca7f62f33e5a81df17b

    SHA512

    9f1037a551228f382aa5545f80a8c34e99f6b3c5b434a39474eff301c675885b1be9698a6b740ed9664b65ffe45b34d7d32a7ad06c39537fa2cdf292195d8d30