Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-05-2023 06:45

General

  • Target

    file.exe

  • Size

    298KB

  • MD5

    b7c137a18093f43fa0ac50865cc34f9c

  • SHA1

    93727de39d92f6934d4ddee26728b207a212428e

  • SHA256

    63e235b92d97d6c3d5a5dca42f31279b674d3140affc1e26c5971d12fc1d7667

  • SHA512

    40683347b6f3dd2f18d15d5bfaa64d98f6ca88d1497bac811483366c59e5c786914dd32445981f774666b20053390f18d5a01f278162ba85bf75866edf6c95d6

  • SSDEEP

    3072:/UgGk8D2CKiH+U3XmE5kDOXkqVDE/zpUp+rqdyy76kgREiwUP7A6qVxWm5iT/Hrq:Ret/X/GDwpELm04B710Ej2qVA8i

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.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qigyihwj\
      2⤵
        PID:1224
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jvdagtzx.exe" C:\Windows\SysWOW64\qigyihwj\
        2⤵
          PID:944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qigyihwj binPath= "C:\Windows\SysWOW64\qigyihwj\jvdagtzx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qigyihwj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qigyihwj
          2⤵
          • Launches sc.exe
          PID:1048
        • 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:3256
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2700 -s 1036
          2⤵
          • Program crash
          PID:3752
      • C:\Windows\SysWOW64\qigyihwj\jvdagtzx.exe
        C:\Windows\SysWOW64\qigyihwj\jvdagtzx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4456
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3544
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4456 -s 508
          2⤵
          • Program crash
          PID:3856
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2700 -ip 2700
        1⤵
          PID:220
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 4456 -ip 4456
          1⤵
            PID:2708

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.3MB

            MD5

            9899a62a6ec6e568a3aa38460b16b7d5

            SHA1

            4d014a6e3b3f463f64d789f53a5654aa884af8df

            SHA256

            8f7e747f5c2c414ca8e0c55f689884df397c975066c74586afebf43816dfdcf0

            SHA512

            02d82ccb0a09d9d961af1937c34346a2563849f3ca8f9a5ce4cc5186f4f6fbe755fd9df9a98f2337ac344bfb61d85f81995ae55c6e6fb7d911e3aed37e72850a

          • C:\Windows\SysWOW64\qigyihwj\jvdagtzx.exe

            Filesize

            13.3MB

            MD5

            9899a62a6ec6e568a3aa38460b16b7d5

            SHA1

            4d014a6e3b3f463f64d789f53a5654aa884af8df

            SHA256

            8f7e747f5c2c414ca8e0c55f689884df397c975066c74586afebf43816dfdcf0

            SHA512

            02d82ccb0a09d9d961af1937c34346a2563849f3ca8f9a5ce4cc5186f4f6fbe755fd9df9a98f2337ac344bfb61d85f81995ae55c6e6fb7d911e3aed37e72850a

          • memory/2700-135-0x0000000000750000-0x0000000000763000-memory.dmp

            Filesize

            76KB

          • memory/2700-138-0x0000000000400000-0x00000000006C8000-memory.dmp

            Filesize

            2.8MB

          • memory/3544-140-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/3544-143-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/3544-145-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/3544-146-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/3544-147-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/4456-144-0x0000000000400000-0x00000000006C8000-memory.dmp

            Filesize

            2.8MB