Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-09-2023 22:31

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 2 IoCs
  • Modifies data under HKEY_USERS 7 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:2328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ifnjsyyd\
      2⤵
        PID:2720
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wiqntgmk.exe" C:\Windows\SysWOW64\ifnjsyyd\
        2⤵
          PID:736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ifnjsyyd binPath= "C:\Windows\SysWOW64\ifnjsyyd\wiqntgmk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3184
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ifnjsyyd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ifnjsyyd
          2⤵
          • Launches sc.exe
          PID:4856
        • 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:2868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2328 -s 888
          2⤵
          • Program crash
          PID:3312
      • C:\Windows\SysWOW64\ifnjsyyd\wiqntgmk.exe
        C:\Windows\SysWOW64\ifnjsyyd\wiqntgmk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3728
        • 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:4744
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3728 -s 512
          2⤵
          • Program crash
          PID:4880
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2328 -ip 2328
        1⤵
          PID:3856
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 3728 -ip 3728
          1⤵
            PID:3940

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.3MB

            MD5

            6e0a6dbd3c64c340bae2ec8236270bb7

            SHA1

            55c4a680a1b85c9d94b6f09f5e7458d27325521d

            SHA256

            0e7aebeef87b9ef160de421d0fa1d98cf499c24c6bf03be2cce7ab926be4bffb

            SHA512

            0cee3e4e09537bf958e6463379c64f95bd3f3b2e27ad87c4f6b1d24c190b99740fae408227b0488788a0ad3f6f4c9e887d9602472ddf9110cc28297c91bfcfbb

          • C:\Windows\SysWOW64\ifnjsyyd\wiqntgmk.exe

            Filesize

            12.3MB

            MD5

            6e0a6dbd3c64c340bae2ec8236270bb7

            SHA1

            55c4a680a1b85c9d94b6f09f5e7458d27325521d

            SHA256

            0e7aebeef87b9ef160de421d0fa1d98cf499c24c6bf03be2cce7ab926be4bffb

            SHA512

            0cee3e4e09537bf958e6463379c64f95bd3f3b2e27ad87c4f6b1d24c190b99740fae408227b0488788a0ad3f6f4c9e887d9602472ddf9110cc28297c91bfcfbb

          • memory/2328-16-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/2328-2-0x0000000002310000-0x0000000002323000-memory.dmp

            Filesize

            76KB

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

            Filesize

            3.1MB

          • memory/2328-1-0x0000000000810000-0x0000000000910000-memory.dmp

            Filesize

            1024KB

          • memory/2328-13-0x0000000000810000-0x0000000000910000-memory.dmp

            Filesize

            1024KB

          • memory/3728-8-0x0000000000960000-0x0000000000A60000-memory.dmp

            Filesize

            1024KB

          • memory/3728-10-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/3728-17-0x0000000000FF0000-0x0000000001003000-memory.dmp

            Filesize

            76KB

          • memory/3728-15-0x0000000000400000-0x0000000000710000-memory.dmp

            Filesize

            3.1MB

          • memory/4744-32-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-38-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-18-0x0000000000580000-0x0000000000595000-memory.dmp

            Filesize

            84KB

          • memory/4744-19-0x0000000000580000-0x0000000000595000-memory.dmp

            Filesize

            84KB

          • memory/4744-21-0x0000000000580000-0x0000000000595000-memory.dmp

            Filesize

            84KB

          • memory/4744-22-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/4744-25-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/4744-26-0x0000000001B30000-0x0000000001B36000-memory.dmp

            Filesize

            24KB

          • memory/4744-29-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-9-0x0000000000580000-0x0000000000595000-memory.dmp

            Filesize

            84KB

          • memory/4744-33-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-34-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-35-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-36-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-37-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-14-0x0000000000580000-0x0000000000595000-memory.dmp

            Filesize

            84KB

          • memory/4744-40-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-39-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-41-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-42-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-43-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-44-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-45-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-46-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-48-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-47-0x0000000001B40000-0x0000000001B50000-memory.dmp

            Filesize

            64KB

          • memory/4744-49-0x0000000001BD0000-0x0000000001BD5000-memory.dmp

            Filesize

            20KB

          • memory/4744-52-0x0000000001BD0000-0x0000000001BD5000-memory.dmp

            Filesize

            20KB

          • memory/4744-53-0x0000000007380000-0x000000000778B000-memory.dmp

            Filesize

            4.0MB

          • memory/4744-56-0x0000000007380000-0x000000000778B000-memory.dmp

            Filesize

            4.0MB

          • memory/4744-57-0x0000000001BE0000-0x0000000001BE7000-memory.dmp

            Filesize

            28KB