Analysis

  • max time kernel
    141s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    27-03-2023 21:52

General

  • Target

    file.exe

  • Size

    265KB

  • MD5

    cd8743aa91752e2e02571b2fe3a1c27b

  • SHA1

    3ba45028288170cfa3f137f5ce8924f0fbf6d36f

  • SHA256

    e3c7793b26883da4922c5bc91a769b0c1345badc04c967e5f89177aaf8364ea7

  • SHA512

    903cf7987825b983fcb7b87ef2900c61dbb5e92ded53191839be2ddf68cf09849fdd7399ae10766d9e5d1f5aa89dd1d4e32f6024e96bd7dac3645c5939017274

  • SSDEEP

    3072:FzSyRHyNFTsVxLZfLOAFGCluuTqoJUR1d5rFIjRu4xDYFLdBL5kMpDCU3wsUf2:9P5yNmVxLt4KmoaR1d5ralfxDYRSMp

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
  • 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 1 IoCs
  • Suspicious use of SetThreadContext 1 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 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsotsdup\
      2⤵
        PID:904
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tahkzngq.exe" C:\Windows\SysWOW64\xsotsdup\
        2⤵
          PID:1000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xsotsdup binPath= "C:\Windows\SysWOW64\xsotsdup\tahkzngq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xsotsdup "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1748
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xsotsdup
          2⤵
          • Launches sc.exe
          PID:1412
        • 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:1012
      • C:\Windows\SysWOW64\xsotsdup\tahkzngq.exe
        C:\Windows\SysWOW64\xsotsdup\tahkzngq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:672
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1788

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\tahkzngq.exe
        Filesize

        11.5MB

        MD5

        0b02920c9b121a991fb41893ea8e1f62

        SHA1

        c6ae2d3f4d8648396396d359551cdf4e839696ca

        SHA256

        72f1ef720ed7e78483b5cfa1dc0207bd88f7a76532ba8340bcd9837173e7c728

        SHA512

        304a9341e964aa87b0e5167e34f56f2762bf779ce31a2d3e32c5afcd392807e16b5866fc713c88721b1ce47dfa5ed7cdb6c22a931d4cad3c27606c07a0d9597b

      • C:\Windows\SysWOW64\xsotsdup\tahkzngq.exe
        Filesize

        11.5MB

        MD5

        0b02920c9b121a991fb41893ea8e1f62

        SHA1

        c6ae2d3f4d8648396396d359551cdf4e839696ca

        SHA256

        72f1ef720ed7e78483b5cfa1dc0207bd88f7a76532ba8340bcd9837173e7c728

        SHA512

        304a9341e964aa87b0e5167e34f56f2762bf779ce31a2d3e32c5afcd392807e16b5866fc713c88721b1ce47dfa5ed7cdb6c22a931d4cad3c27606c07a0d9597b

      • memory/672-67-0x0000000000400000-0x0000000000705000-memory.dmp
        Filesize

        3.0MB

      • memory/1500-56-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1500-60-0x0000000000400000-0x0000000000705000-memory.dmp
        Filesize

        3.0MB

      • memory/1788-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/1788-63-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB

      • memory/1788-61-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB

      • memory/1788-66-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB

      • memory/1788-68-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB

      • memory/1788-69-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB

      • memory/1788-71-0x00000000000D0000-0x00000000000E5000-memory.dmp
        Filesize

        84KB