Analysis

  • max time kernel
    145s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231020-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231020-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-11-2023 21:42

General

  • Target

    84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96.exe

  • Size

    247KB

  • MD5

    17f7e745dbc9477f5edbb4a02df91b06

  • SHA1

    896216645904844e1c012a4ce76234d0c6795f97

  • SHA256

    84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96

  • SHA512

    b36ee1060d897d5b19e0e779ca48f9a7a336bcce2700c9c6c6eb549dfd9a49174262d39655079e0704a44749e280aefcb9813da4b7ce354b2105b74f374c2e9b

  • SSDEEP

    6144:h/1BvthPXgbdbpePeXYD4JFKtFF9duXI5:J1FLfOBsee44F9duXI

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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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
  • GoLang User-Agent 1 IoCs

    Uses default user-agent string defined by GoLang HTTP packages.

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96.exe
    "C:\Users\Admin\AppData\Local\Temp\84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cahgqyzx\
      2⤵
        PID:720
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qoyzbxag.exe" C:\Windows\SysWOW64\cahgqyzx\
        2⤵
          PID:484
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cahgqyzx binPath= "C:\Windows\SysWOW64\cahgqyzx\qoyzbxag.exe /d\"C:\Users\Admin\AppData\Local\Temp\84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description cahgqyzx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start cahgqyzx
          2⤵
          • Launches sc.exe
          PID:3352
        • 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:4772
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 408 -s 672
          2⤵
          • Program crash
          PID:3996
      • C:\Windows\SysWOW64\cahgqyzx\qoyzbxag.exe
        C:\Windows\SysWOW64\cahgqyzx\qoyzbxag.exe /d"C:\Users\Admin\AppData\Local\Temp\84e5c974047a59e9c250aa8e93a28b390267eea51a38a711bc28a229bf5eba96.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1164
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2116
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1164 -s 516
          2⤵
          • Program crash
          PID:1644
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 408 -ip 408
        1⤵
          PID:3464
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1164 -ip 1164
          1⤵
            PID:3472

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.5MB

            MD5

            e0ddef775db509b1743d0ee350f4f54b

            SHA1

            0e9b5dcf8150b3bc920e26f547612a1c7782404b

            SHA256

            83abde93310507c6b52a9f26f1db4066afe7289ead8102d89412b8cde37234b9

            SHA512

            24ed74d65a322ca0cac5c1149458d50341abe41a262d1981d55c115cde83047fbaa2c4b1a46f0ee8a8776fbced9f4a95949357dcdeddd24a1ab74061a44a4fe4

          • C:\Windows\SysWOW64\cahgqyzx\qoyzbxag.exe

            Filesize

            11.5MB

            MD5

            e0ddef775db509b1743d0ee350f4f54b

            SHA1

            0e9b5dcf8150b3bc920e26f547612a1c7782404b

            SHA256

            83abde93310507c6b52a9f26f1db4066afe7289ead8102d89412b8cde37234b9

            SHA512

            24ed74d65a322ca0cac5c1149458d50341abe41a262d1981d55c115cde83047fbaa2c4b1a46f0ee8a8776fbced9f4a95949357dcdeddd24a1ab74061a44a4fe4

          • memory/408-2-0x0000000002240000-0x0000000002253000-memory.dmp

            Filesize

            76KB

          • memory/408-3-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/408-7-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/408-8-0x0000000002240000-0x0000000002253000-memory.dmp

            Filesize

            76KB

          • memory/408-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

            Filesize

            1024KB

          • memory/1164-16-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1164-10-0x0000000000620000-0x0000000000720000-memory.dmp

            Filesize

            1024KB

          • memory/1164-12-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/2116-32-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-37-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-17-0x00000000007D0000-0x00000000007E5000-memory.dmp

            Filesize

            84KB

          • memory/2116-19-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/2116-22-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/2116-23-0x0000000000E40000-0x0000000000E46000-memory.dmp

            Filesize

            24KB

          • memory/2116-26-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-29-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-30-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-31-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-11-0x00000000007D0000-0x00000000007E5000-memory.dmp

            Filesize

            84KB

          • memory/2116-33-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-34-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-35-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-36-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-15-0x00000000007D0000-0x00000000007E5000-memory.dmp

            Filesize

            84KB

          • memory/2116-38-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-39-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-40-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-49-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/2116-50-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/2116-46-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/2116-45-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-44-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-43-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-42-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-41-0x0000000001DA0000-0x0000000001DB0000-memory.dmp

            Filesize

            64KB

          • memory/2116-53-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/2116-54-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

            Filesize

            28KB

          • memory/2116-58-0x00000000007D0000-0x00000000007E5000-memory.dmp

            Filesize

            84KB