Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-10-2023 11:37

General

  • Target

    file.exe

  • Size

    265KB

  • MD5

    0111f41e24e80b598a7a81c179432920

  • SHA1

    46c775825a4697946c0fd4b3cd6c881f46430748

  • SHA256

    bf15d707efcb789d6433f3701a1aa66b60ef87431d889c1f71bd01304139645c

  • SHA512

    085b08339bd21c71aa9a3c2a8facdacc4345218cd41b120b16a3dd57e8625cfba5e99e9ef46d77475492887d4cd1ee2426c42b6d8b2f4cae6a8730e6316c883f

  • SSDEEP

    3072:yvXXM+XBaPDKv1lLdixovWmoqtH6v+6+waC7NABBVy+Ya:Q3BODKv3dMovWmYv+TwaC7NCVy

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 1 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:2876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dcobybhc\
      2⤵
        PID:2004
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pbjgmzfd.exe" C:\Windows\SysWOW64\dcobybhc\
        2⤵
          PID:1304
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dcobybhc binPath= "C:\Windows\SysWOW64\dcobybhc\pbjgmzfd.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:180
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dcobybhc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3348
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dcobybhc
          2⤵
          • Launches sc.exe
          PID:736
        • 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:116
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2876 -s 1188
          2⤵
          • Program crash
          PID:3660
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2876 -ip 2876
        1⤵
          PID:4544
        • C:\Windows\SysWOW64\dcobybhc\pbjgmzfd.exe
          C:\Windows\SysWOW64\dcobybhc\pbjgmzfd.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1548
          • 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:1904
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 368 -p 1548 -ip 1548
          1⤵
            PID:1896

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.3MB

            MD5

            3b50784e83232aa7039f969283e8f069

            SHA1

            916ca9f36a112aff2bdd99495fccb96198cb36cf

            SHA256

            bebaa66fc94a93a0df35bed4afa2be5fb35e258ae2d5369495b12d89a53ca034

            SHA512

            90476f2c6617502881227822c6c1420342dbb21d636a4e148bfddf4712c84128af5125dba94f2f5b5345276a9f6a1ae1a8585615e5dad39a5c7b94e1f8874956

          • C:\Windows\SysWOW64\dcobybhc\pbjgmzfd.exe

            Filesize

            11.3MB

            MD5

            3b50784e83232aa7039f969283e8f069

            SHA1

            916ca9f36a112aff2bdd99495fccb96198cb36cf

            SHA256

            bebaa66fc94a93a0df35bed4afa2be5fb35e258ae2d5369495b12d89a53ca034

            SHA512

            90476f2c6617502881227822c6c1420342dbb21d636a4e148bfddf4712c84128af5125dba94f2f5b5345276a9f6a1ae1a8585615e5dad39a5c7b94e1f8874956

          • memory/1548-21-0x0000000000A70000-0x0000000000B70000-memory.dmp

            Filesize

            1024KB

          • memory/1548-17-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/1548-14-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/1548-13-0x0000000000A70000-0x0000000000B70000-memory.dmp

            Filesize

            1024KB

          • memory/1904-39-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-41-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-63-0x00000000025F0000-0x00000000025F7000-memory.dmp

            Filesize

            28KB

          • memory/1904-62-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/1904-59-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/1904-15-0x0000000000430000-0x0000000000445000-memory.dmp

            Filesize

            84KB

          • memory/1904-58-0x00000000025E0000-0x00000000025E5000-memory.dmp

            Filesize

            20KB

          • memory/1904-20-0x0000000000430000-0x0000000000445000-memory.dmp

            Filesize

            84KB

          • memory/1904-55-0x00000000025E0000-0x00000000025E5000-memory.dmp

            Filesize

            20KB

          • memory/1904-22-0x0000000000430000-0x0000000000445000-memory.dmp

            Filesize

            84KB

          • memory/1904-25-0x0000000000430000-0x0000000000445000-memory.dmp

            Filesize

            84KB

          • memory/1904-26-0x0000000000430000-0x0000000000445000-memory.dmp

            Filesize

            84KB

          • memory/1904-28-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/1904-31-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/1904-32-0x00000000017F0000-0x00000000017F6000-memory.dmp

            Filesize

            24KB

          • memory/1904-35-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-54-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-38-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-40-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-53-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-43-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-42-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-44-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-45-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-47-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-46-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-48-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-49-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-50-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-51-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/1904-52-0x0000000002310000-0x0000000002320000-memory.dmp

            Filesize

            64KB

          • memory/2876-9-0x00000000008B0000-0x00000000008C3000-memory.dmp

            Filesize

            76KB

          • memory/2876-1-0x0000000000950000-0x0000000000A50000-memory.dmp

            Filesize

            1024KB

          • memory/2876-2-0x00000000008B0000-0x00000000008C3000-memory.dmp

            Filesize

            76KB

          • memory/2876-4-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/2876-12-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/2876-5-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/2876-8-0x0000000000950000-0x0000000000A50000-memory.dmp

            Filesize

            1024KB