Analysis

  • max time kernel
    40s
  • 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/03/2025, 22:05

General

  • Target

    7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5.apk

  • Size

    2.9MB

  • MD5

    9361ef2e226d4f9fbd9fdb93f0a8c4cf

  • SHA1

    40482f000e317a84d4468fc348a8cd7424997acc

  • SHA256

    7d31e6e4ebe8a39fe457e40286db9158e93d981da07aee2deca041309e6f43c5

  • SHA512

    016ddfe60ba0296c35a37ffa8c0f3d66fb970042b3701068004c52d7bbe221c3446afe1ca380b3a2c2c316a5e716f7f4281f6c42fb006fd8aaf16d917ad9977f

  • SSDEEP

    49152:Dm9/oDLptsvFf3nw/YSI2nWyjavqHC+6sdT0+XsAz70RGr6x+v3YIji7ywhYVAqX:Dmpstuf3nw/22+UdPsAi3IjYywLfDrhC

Malware Config

Extracted

Family

ermac

C2

http://91.107.127.201

AES_key

Extracted

Family

hook

C2

http://91.107.127.201

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

  • 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
  • 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.tencent.mm
    1⤵
    • Removes its main activity from the application launcher
    • 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
    • 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:4222
    • /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.tencent.mm/app_DynamicOptDex/Lwds.json --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.tencent.mm/app_DynamicOptDex/oat/x86/Lwds.odex --compiler-filter=quicken --class-loader-context=&
      2⤵
      • Loads dropped Dex/Jar
      PID:4248

Network

MITRE ATT&CK Mobile v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • /data/data/com.tencent.mm/app_DynamicOptDex/Lwds.json

    Filesize

    702KB

    MD5

    ed9c7aa4973092f7a19c112fbee1d0b1

    SHA1

    763adf2e5310239e21c532e44abe3e90c7cae95b

    SHA256

    5ae89702641a1fd25e4a9b5964fa10fe5582053c3e283d804283ecdfb242336a

    SHA512

    3b94988d6ea2a2e105cd8cd267cdde6a48dc711948a41fdda8fa21ef9d62a5596dc8bfe5e47c5dc6d030d37d533de333adb9f809c7591917071e7117ff4766d3

  • /data/data/com.tencent.mm/app_DynamicOptDex/Lwds.json

    Filesize

    702KB

    MD5

    5c7070e86c9405def6ff8b458f0c7c71

    SHA1

    2d232932bdee30a7df9d837eeb62fcf27ef0be21

    SHA256

    bba492c5bb82c610aa9a620e5dc7db51960e95eac6ddcd3c8e6240f8e4427aba

    SHA512

    4e27678c2e552657e85b851903d3ec42a47465864bd3a83d733b4bdfbcc7cee96afa01f472d8714691dfff8feb877ad9adba0ad35c5df2857f906d1574ab8c4c

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb

    Filesize

    4KB

    MD5

    f2b4b0190b9f384ca885f0c8c9b14700

    SHA1

    934ff2646757b5b6e7f20f6a0aa76c7f995d9361

    SHA256

    0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514

    SHA512

    ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb-journal

    Filesize

    512B

    MD5

    aa85a6726a81246b8252ca25bb64ed5b

    SHA1

    ebe83ed412b8c9c1f2d80ffd0de45d023cc402b8

    SHA256

    5bcd0d502a0a96ea6bf0b0cddf97ea0506ea8af581f39c8abfb675fea584e3fd

    SHA512

    1a1d0f874c6f56f1e63db4388fb6993040af7bdf124bcbe6a582295b3e2b3f4eac2110650da0994a8546cc1cfedb67df992b94b862286f856c29e71ebf08c1b0

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb-shm

    Filesize

    32KB

    MD5

    bb7df04e1b0a2570657527a7e108ae23

    SHA1

    5188431849b4613152fd7bdba6a3ff0a4fd6424b

    SHA256

    c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479

    SHA512

    768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

    Filesize

    108KB

    MD5

    541d57b83a9035ca154d168e2a728f14

    SHA1

    4751e976fa5ca2443143d74c9c2afe20fc7e845b

    SHA256

    9a7b6c52bf7e2034e449deba39c4d6f43b35f3c50dcc9aef070b890b0ebc0e67

    SHA512

    5a379bff0ec4ad6c0b98322c141acf7d28d1f394d8d79e429104d88ed1c2c975c652d26a770c9fb2a39fbe0ddbabe1e229e4ccf41652d10506cf3884498f98fe

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

    Filesize

    173KB

    MD5

    b92682698f63a46771e384b7f04a0de3

    SHA1

    4eef3c174cd5b8d91141296ebbb30bf667e20094

    SHA256

    1db1f7cfbf12ee5bd83719b52083779e10aa3d712b696f2bafea2e9d8c60e8ec

    SHA512

    6bc5add7ccd6d7cdc8cdd07a38eea8886370d422c41edb9efcaa13f02f095c5a39a0ad20253485d6203d642ba1cc90b06529b4472cd3fbea48f1652899b51a90

  • /data/data/com.tencent.mm/no_backup/androidx.work.workdb-wal

    Filesize

    16KB

    MD5

    2f4fd9992f65d1643ebd0d3335248a6e

    SHA1

    3fc8628f56215abf4a001dd63a313fdfea54db3c

    SHA256

    af97a2e5c987f2855530c0516c30603ac2971bb10aed61210abad4bad443d1c6

    SHA512

    2537e46cebe53052fdf1179c1424ee07fb5b7a89a6d3856725dcf5b8c5d04d9489dade09c2d3a37e2a27747e469b64ce9338b6656b1cd848e3f80f32d4252c82

  • /data/user/0/com.tencent.mm/app_DynamicOptDex/Lwds.json

    Filesize

    1.5MB

    MD5

    b2ec7bd35a3192d6f6d31c40553cfaaa

    SHA1

    41a179e828a900d3934525ffa6e31887b4ae138b

    SHA256

    b9b4437984074db389e44371a9d994b931e0b48b81675be7626861b03a31d9ab

    SHA512

    6622514102a16f5de44b043b4dacc9adffbe3d67abee6d7268cc9c1efc689288a05f5a3a147e9f11370056db00fe2119d14319d478a6b80f35fa84c53e167663

  • /data/user/0/com.tencent.mm/app_DynamicOptDex/Lwds.json

    Filesize

    1.5MB

    MD5

    89e0d7ab978e192a89d66d518e3ddbfd

    SHA1

    2c908a8b8f56479fdb3e5b1ab0a0e8fef5673e70

    SHA256

    955de22dedd8eef99abf727b30cfa42836e4a9eb2d427ee5977c10e6d62d4005

    SHA512

    be014d2788512c6747595dd0f912043e1197543e75bd622ca47a5b080783a7e59ac5341c68a87af8a92487d789ae40ce4aebf747ae4e12e5f1e2575cc4570dd1