Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-09-2023 13:04

General

  • Target

    file.exe

  • Size

    215KB

  • MD5

    4e24c2069b040a40ebba8929e9ad2909

  • SHA1

    3fb7d81f621f77572fb1cc7ed4c0c116c5e68a4c

  • SHA256

    b94a454399232bb541b952c27fd158c8ddb4cbd3ec28633c63ae7187ad0adbe2

  • SHA512

    6ca3424e6891d17416241079f88eaa0dad7796dad143499874b269484156608dc6f13ef7786a3ff8b3dfc3d9f5942fa11f2ade68c6ea5a312e4433dd0393bb41

  • SSDEEP

    3072:XAX5ILc4SJF966mc67wYHUzDBdgBoQtCMiAQOM+757awZTJw4:k5ILaJF96rc67noAB5g9OL9awZT

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 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
  • Modifies data under HKEY_USERS 6 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:3860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kkphklbh\
      2⤵
        PID:4108
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwinkqpd.exe" C:\Windows\SysWOW64\kkphklbh\
        2⤵
          PID:4996
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kkphklbh binPath= "C:\Windows\SysWOW64\kkphklbh\kwinkqpd.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4456
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kkphklbh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:208
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kkphklbh
          2⤵
          • Launches sc.exe
          PID:3128
        • 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:4760
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3860 -s 592
          2⤵
          • Program crash
          PID:2352
      • C:\Windows\SysWOW64\kkphklbh\kwinkqpd.exe
        C:\Windows\SysWOW64\kkphklbh\kwinkqpd.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:448
        • 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:1396
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 448 -s 520
          2⤵
          • Program crash
          PID:2496
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3860 -ip 3860
        1⤵
          PID:4912
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 448 -ip 448
          1⤵
            PID:5016

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.9MB

            MD5

            a8fa095e9bc0a971bee56e3fb04e1a11

            SHA1

            ffda345070e7d1b5aee7399830eca4d3ce282fb2

            SHA256

            5252d40d5012904c846fc811f70e41a9cacbfbb52298412ac5bd2f0d290d311a

            SHA512

            ef6c898aa3be7b6923dbe0aaaaf9ff2d99c7b4a8955b46a661c89f491febeeb8b41b1346a193734535c119f436b061859cfe0b52d44289bdbc34b42555f711d8

          • C:\Windows\SysWOW64\kkphklbh\kwinkqpd.exe

            Filesize

            10.9MB

            MD5

            a8fa095e9bc0a971bee56e3fb04e1a11

            SHA1

            ffda345070e7d1b5aee7399830eca4d3ce282fb2

            SHA256

            5252d40d5012904c846fc811f70e41a9cacbfbb52298412ac5bd2f0d290d311a

            SHA512

            ef6c898aa3be7b6923dbe0aaaaf9ff2d99c7b4a8955b46a661c89f491febeeb8b41b1346a193734535c119f436b061859cfe0b52d44289bdbc34b42555f711d8

          • memory/448-15-0x0000000000400000-0x0000000000486000-memory.dmp

            Filesize

            536KB

          • memory/448-9-0x0000000000400000-0x0000000000486000-memory.dmp

            Filesize

            536KB

          • memory/1396-31-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-40-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-54-0x0000000001FE0000-0x0000000001FE7000-memory.dmp

            Filesize

            28KB

          • memory/1396-32-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-53-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/1396-10-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/1396-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/1396-50-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/1396-16-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/1396-18-0x0000000000C00000-0x0000000000C15000-memory.dmp

            Filesize

            84KB

          • memory/1396-19-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/1396-22-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/1396-23-0x0000000000DF0000-0x0000000000DF6000-memory.dmp

            Filesize

            24KB

          • memory/1396-26-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-29-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-30-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-49-0x0000000001FD0000-0x0000000001FD5000-memory.dmp

            Filesize

            20KB

          • memory/1396-46-0x0000000001FD0000-0x0000000001FD5000-memory.dmp

            Filesize

            20KB

          • memory/1396-45-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-33-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-35-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-36-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-38-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-39-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-37-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-34-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-41-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-43-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-42-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/1396-44-0x0000000001FC0000-0x0000000001FD0000-memory.dmp

            Filesize

            64KB

          • memory/3860-6-0x0000000000400000-0x0000000000486000-memory.dmp

            Filesize

            536KB

          • memory/3860-8-0x0000000002200000-0x0000000002213000-memory.dmp

            Filesize

            76KB

          • memory/3860-7-0x00000000021E0000-0x00000000021F5000-memory.dmp

            Filesize

            84KB

          • memory/3860-1-0x0000000002200000-0x0000000002213000-memory.dmp

            Filesize

            76KB

          • memory/3860-2-0x0000000000400000-0x0000000000486000-memory.dmp

            Filesize

            536KB

          • memory/3860-0-0x00000000021E0000-0x00000000021F5000-memory.dmp

            Filesize

            84KB