Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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
    05-12-2024 22:08

General

  • Target

    7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846.apk

  • Size

    2.4MB

  • MD5

    863ba7fec806154036e45f25241d1d43

  • SHA1

    b5c4bcfa3bbfc8301ccdf9b709a812d5eb65556a

  • SHA256

    7286a2830d2214fac25d5f62c28b70897d842b1e5fad9214b02ba70bb35dc846

  • SHA512

    6096b2a54e44a523eca2860c7b41076bc443a7d1c45ddbd542aa5308063d38837765a77301310cad89a4bf64b7c6c2bfd3e718e967c89262236f0a1e161e8dea

  • SSDEEP

    49152:nvVzIbdQ7/lPCWvGnpiSWp2T+KtKHXrgxGRlKNLYT7SxVny1T:nvG+ZCTJokPNLYTeVaT

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 8 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
  • Reads information about phone network operator. 1 TTPs
  • Requests accessing notifications (often used to intercept notifications before users become aware). 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)
    • Requests accessing notifications (often used to intercept notifications before users become aware).
    • 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:4266
    • /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_type/OJnfXW.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.kamatkap.mafuko/app_type/oat/x86/OJnfXW.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4292

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/com.kamatkap.mafuko/app_type/OJnfXW.json

    Filesize

    736KB

    MD5

    80aca0a5925e60b7ae640a47322be0de

    SHA1

    c0e493bba4684dde890cf0801bbf3c1544c1d34e

    SHA256

    e679b180bb14f187c3a955a3a9626c6429515adfe6ff08a12930db14afa8a260

    SHA512

    80fcf84986771cb5f69ed3f981013f290f21ea00150e711584c8c63824e5a6a15c7bbf5d93df3bace554a03b565dec3215c67292ae8b44b95622eed8b013bc3d

  • /data/data/com.kamatkap.mafuko/app_type/OJnfXW.json

    Filesize

    736KB

    MD5

    ceb7bd4672788438a60c0bbb0dff6bee

    SHA1

    2a37ada1329d76e0644583a8d396e284448ac2b0

    SHA256

    1383bead73528af91c1887ec294411b4c6958ccde6f38fa98dec348a4dc0af91

    SHA512

    714dc50a2c363fb17f2f8c799e7fd2f1d2b0647d91bf6d9f4893d7933558d7b79ca7bc2415f2a4a0b1302b9c7d2762a2c62ac37329bf7d06efcbc7736d1013c0

  • /data/data/com.kamatkap.mafuko/app_type/oat/OJnfXW.json.cur.prof

    Filesize

    3KB

    MD5

    e7907cf3ed4d6a256b0879c5e95aa9f6

    SHA1

    2634faa89e5432fbe9df6a881455666fe86a8dbc

    SHA256

    49eab3f46da100790718d0deed26f0940a20adb09b58740f27dfec46e2c33c7e

    SHA512

    ce3f113d94682eb64ab1ce6cb3c4d7ae97dd360d502fc05349504e76b1c5f205b1698b975c507915b1fc0185b32be7424d0ba24bc52f288edcc514740077aaeb

  • /data/data/com.kamatkap.mafuko/app_type/oat/OJnfXW.json.cur.prof

    Filesize

    3KB

    MD5

    9607798951b469054bf874d398acf6ef

    SHA1

    50a94778b25480069cc16e4cfd3da5de37b53673

    SHA256

    59c071c74278a42d857ab506549c7ccf3e572999cebc3b70c9e66435627f737e

    SHA512

    8c63b073570d4a5e080b6fcf11becdad38e50346313dcbd7cf9c0ffbc9ae846408e37b7f855e94d30ee46aac0ef660e9f5ea4f1d4d6ae1466630600a10f9f36d

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

    8f4caf06fe92a1bd44a26a5c7d3c5f1a

    SHA1

    8ff14b49c6b0f8da11d0b1e3aa9aa19286905d4d

    SHA256

    6b7393360228eed53e158c7c95e6ab6e4705d839ef69307363c7f9ddc51bbc08

    SHA512

    9f83f80dc1c837cedff44cf4a587ade2baae3cd4dc34e90a6c90d7f2a137906b426d5f41d4ed990ffd51aa888b9256f683f102269a7586149ad9929cd2e872fe

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

    ec82c58e2c2beb33e10e2d8e54b691ce

    SHA1

    6d06148ded5ab1d39e33a5cb8b1234251e383ee4

    SHA256

    8ff3ca7f90deaadd2ccc3d28cbfa0ca9cb64dee5530a4724d0437efbb9409610

    SHA512

    0933020b6cead719b1cc6c02b6df474298a57e36930e379bd16f5fdf7964ebac7ca05654a1a5e678289f78a047f4593e66047d25da76532c2f6735f7fc18cfb9

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

    Filesize

    173KB

    MD5

    b02f53187f351c799d209caa697491c1

    SHA1

    8a2e0eddf4169e8d08e46bee07af94094c3b4042

    SHA256

    6952b0cd08c60432dc3767fde308c52474861392945027eed61e040afb352e42

    SHA512

    f4584a8ca03c3cac082d778ed32626bf784b2b8e713591d4521b23ddc987003a762f390f40e8b9653d5b97472ae8248c9128e287f70be87901657838a30880ad

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

    Filesize

    16KB

    MD5

    2a6f4935c6f65254b4b16cabff1bd8ec

    SHA1

    9851000857f85bfb14903a4a6f9efb1f75678075

    SHA256

    852159de394c51f8300a60355f472172bfecdc18bee87cbec3aca4b4e5872aaf

    SHA512

    be48080c59882d70d0a497308bd5bb3bc4d0900534868e5f03592a546d93aa25c188771d6c24f99f2675ffa586e74e59a7ce67e662f0863e53de04160639737b

  • /data/user/0/com.kamatkap.mafuko/app_type/OJnfXW.json

    Filesize

    1.7MB

    MD5

    0bfaa396e8c659d5f2fccb6b1f19ee25

    SHA1

    a95c7d640d7590eb75a312a844dc04f9644dab15

    SHA256

    95f3355f94f6bb7f9c7d5930f28325b3795ff50737a4a7ce9147378aa4de5906

    SHA512

    b2deb902627e6deaee4f71beaf451cc4692fd042e4f28a2fcec1f06d677adaf119f6abd3648ededf481e4fa21f02d26b207ed710408e8b31bc87850ea40c252e

  • /data/user/0/com.kamatkap.mafuko/app_type/OJnfXW.json

    Filesize

    1.7MB

    MD5

    332e75f1e51240a01d136055c2a31788

    SHA1

    6d577e35bb5162bd93c3280827915a81da441838

    SHA256

    8429ac18967aa2f7aac10d6d3ee6354203b7d5104acc5ca7f62f33e5a81df17b

    SHA512

    9f1037a551228f382aa5545f80a8c34e99f6b3c5b434a39474eff301c675885b1be9698a6b740ed9664b65ffe45b34d7d32a7ad06c39537fa2cdf292195d8d30