Analysis

  • max time kernel
    147s
  • max time network
    154s
  • 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
    21-12-2024 22:16

General

  • Target

    f728bf37251a5f3f5f0602ffc32183416241a656d8237e44888bdd4a18491d97.apk

  • Size

    2.5MB

  • MD5

    b3a3072269912846dc82effafb3a0bab

  • SHA1

    db3bec63f07d1d13d6f4b89457696f5df397985b

  • SHA256

    f728bf37251a5f3f5f0602ffc32183416241a656d8237e44888bdd4a18491d97

  • SHA512

    b70f315deef07b7490a39750b6fca9b9707aa141b36a1b21e0dd9e3161a87635989faf7be80ce9e2b616d53ed249e359e142b8547aa40c84ff71c6fcf0c2ec52

  • SSDEEP

    49152:aJGhmrg0SwM0sLEU3OVPXxh34XMXdfqeMqAfSyaOHfmYsYHuC+1H:aJG2MPgrVPhh2ed58fSyFHfIYOr5

Malware Config

Extracted

Family

hook

C2

http://154.216.20.102

DES_key
AES_key

Signatures

  • Hook

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

  • Hook family
  • 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 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
  • 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.nfcqharwe.xabkgkkfa
    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:4248
    • /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.nfcqharwe.xabkgkkfa/app_dex/classes.dex --output-vdex-fd=41 --oat-fd=42 --oat-location=/data/user/0/com.nfcqharwe.xabkgkkfa/app_dex/oat/x86/classes.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.nfcqharwe.xabkgkkfa/app_dex/classes.dex

    Filesize

    2.9MB

    MD5

    80e5d436b3843e99b73d32fd05fabe17

    SHA1

    a388f14850064573a5d412b11978a461ded85c3c

    SHA256

    ea108353eadc51b8ec5ff20cee44d82d2772fb2f040431548162931f3639164a

    SHA512

    844cfdee0b41c802c3704d9026d4ed1f878064d6cdfcc7682300d219e4af7d8a08b1bf281afa870c742f1be0d2c85c9c4aecc2c9a61f4f8b86ba1f6476ccd177

  • /data/data/com.nfcqharwe.xabkgkkfa/cache/classes.dex

    Filesize

    1.0MB

    MD5

    d4b361bde77bc30bb7a86a487c0d13ee

    SHA1

    b4a8a774eaa2669bf4161fa7c859e15d36f363dc

    SHA256

    3519ff29f20769c9dc1ba735b84254c3fd4869b024386c4adfeeadd2b28bccc6

    SHA512

    cd989b80c1a4d77268d9c014c96f6eb895dc3d88d8f82420e22d7114ef4431a4bd735bf809085915bc2696ad1878080c1655839a7f77ca6cc5b17ae2918f94c0

  • /data/data/com.nfcqharwe.xabkgkkfa/cache/classes.zip

    Filesize

    1.0MB

    MD5

    e45c66d1e58aad644b49c0e193e07f8a

    SHA1

    36bb431e9406031640e86092169de66178712a58

    SHA256

    729f573130a67a28ea59a1fdd7ee657bdc6cd2128ab8b935288302b110676600

    SHA512

    0c4fc799c261dd57541579c8cbf184b6dfe888b3a163c7c4cac4029d6b2959529de4c84db5674684b46bea8f4b1a93888fc6c5e1af087e8f3c21a76b3325a873

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb

    Filesize

    4KB

    MD5

    f2b4b0190b9f384ca885f0c8c9b14700

    SHA1

    934ff2646757b5b6e7f20f6a0aa76c7f995d9361

    SHA256

    0a8ffb6b327963558716e87db8946016d143e39f895fa1b43e95ba7032ce2514

    SHA512

    ec12685fc0d60526eed4d38820aad95611f3e93ae372be5a57142d8e8a1ba17e6e5dfe381a4e1365dddc0b363c9c40daaffdc1245bd515fddac69bf1abacd7f1

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb-journal

    Filesize

    512B

    MD5

    6a129ba530f58a6bad7902f5e98cf880

    SHA1

    595864b5f490cd2fdcbb5e03f4a7d50007c52bd1

    SHA256

    31a728af633b0787c764afdf6a1f1fac06975b95feade3e34233c1cf74ef6914

    SHA512

    841fbcbc95ccdd4179cd3338e6db75bb58919ed265f57a259d35b4a316954f3d967133d411a62fa503185f4442ce17e8a541869b3bf2a5a6b8e565a3ecb22459

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb-shm

    Filesize

    32KB

    MD5

    bb7df04e1b0a2570657527a7e108ae23

    SHA1

    5188431849b4613152fd7bdba6a3ff0a4fd6424b

    SHA256

    c35020473aed1b4642cd726cad727b63fff2824ad68cedd7ffb73c7cbd890479

    SHA512

    768007e06b0cd9e62d50f458b9435c6dda0a6d272f0b15550f97c478394b743331c3a9c9236e09ab5b9cb3b423b2320a5d66eb3c7068db9ea37891ca40e47012

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb-wal

    Filesize

    108KB

    MD5

    d2b611b3c137ebacd07bb73ef7780ca9

    SHA1

    bdebcdabc9b9322661b5223a95349624b3ae9a14

    SHA256

    147dcaa604e2afd7068147252de5651971bfdb59322f391cee623d85b7169fd4

    SHA512

    22f4cee1c412194bdcf283bb3c5c4c5da18ea6bef5bba654b01685ad88b997747a4d5435c832e8e84bbc80c0484152b226d39ae022fc0b5dedc8a1a65fff032f

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb-wal

    Filesize

    173KB

    MD5

    c7a38fddf37ca64e3bbc2992c7bfcc79

    SHA1

    a39ed7c471a178f347a0354809e003248b198c07

    SHA256

    fe2c14d1de16cdc38e0592dc333c0c0963279a68621a87f9076966f8b819af3d

    SHA512

    cb9b57d5bb4f0420f0875cbc5ebc549ebcc9c8db1a9cf8d84ef820869f90cb5ac5c3bcf13124bf8012069981185a50855d8ac055c51faeee49cdb5c4954e54b6

  • /data/data/com.nfcqharwe.xabkgkkfa/no_backup/androidx.work.workdb-wal

    Filesize

    16KB

    MD5

    3e7d708754c89a421eb9a9391e6579a6

    SHA1

    721b2a0daa6149b26e1ab885ebeeeae3fe25afe0

    SHA256

    c179307e856e5b384ca4df59c7044d5914af33bc2f517cc4596fd5b2ecd72bf7

    SHA512

    c21770756c17ebc4785751e71e171c40aff09188ecbd2f0d487e93eaaa1949f8c0201090f6e235cd5c99b9fd8cea3e46854af7d0eaf57f17cd42fe04da3824ed

  • /data/user/0/com.nfcqharwe.xabkgkkfa/app_dex/classes.dex

    Filesize

    2.9MB

    MD5

    f295037e1dd9a8152593d91d60d1823f

    SHA1

    cecc9842f6f83fc0eeecf81b5e4f2ad1c62f5795

    SHA256

    afead6e567b2c0774c23531681166365aab49c3b5daddcfe8f78caae6480917f

    SHA512

    41be2e78302d626d7ec493b32f0b4c5608929745678dd5736516c4e83e1a35f06d553571c949af07f184da9c55ff5fdd5955d11b0a39a490d9e6ed46046817ff