Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-10-2023 07:50

General

  • Target

    file.exe

  • Size

    295KB

  • MD5

    6957a5f3d470c118331c9782ba0f7e25

  • SHA1

    b7bfb58c14356659b5921667855878cdce8f9704

  • SHA256

    6caf5622f61890f6a0e50dba5d080f23b76e80ecb0265884310fec0fb8f0e9f6

  • SHA512

    becae03c0b216b9ed117d395a3a7c3ad0a63598e435ce261ea0a8d1b8d61bbf15b3b63230431b69804d4124fc3144b89feecbe9b3660eb3622feb93e0c421f5a

  • SSDEEP

    3072:uFdUUuBC9ByFs7APAk39ttWZys1LuYtRHohiTy:8dUUoCXyFs7MwYstuMHG

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:3380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nqrfwvnf\
      2⤵
        PID:4492
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugwjxwos.exe" C:\Windows\SysWOW64\nqrfwvnf\
        2⤵
          PID:4892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create nqrfwvnf binPath= "C:\Windows\SysWOW64\nqrfwvnf\ugwjxwos.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description nqrfwvnf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start nqrfwvnf
          2⤵
          • Launches sc.exe
          PID:3604
        • 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:1928
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3380 -s 1032
          2⤵
          • Program crash
          PID:2816
      • C:\Windows\SysWOW64\nqrfwvnf\ugwjxwos.exe
        C:\Windows\SysWOW64\nqrfwvnf\ugwjxwos.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1036
        • 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:3672
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1036 -s 516
          2⤵
          • Program crash
          PID:3048
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3380 -ip 3380
        1⤵
          PID:1824
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 1036 -ip 1036
          1⤵
            PID:2276

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.5MB

            MD5

            fa535b1bb3c3d572a0813a0efe9a375b

            SHA1

            09554c920e5b09f216079b7fca363b32bb8785f1

            SHA256

            783ee93ed1b8319291bc84527c4b887a7555cc21c1f79280e6059289edf2e580

            SHA512

            eabc6912031d60b9792ecd8085fa71a221728d338cfaa7e37f0d5f950d1ee6c2d3b9ef5c68f8e2ec67bf9fa7b697bcfb21ab4ae108ce0f2c3cf25223b6d0ba65

          • C:\Windows\SysWOW64\nqrfwvnf\ugwjxwos.exe

            Filesize

            13.5MB

            MD5

            fa535b1bb3c3d572a0813a0efe9a375b

            SHA1

            09554c920e5b09f216079b7fca363b32bb8785f1

            SHA256

            783ee93ed1b8319291bc84527c4b887a7555cc21c1f79280e6059289edf2e580

            SHA512

            eabc6912031d60b9792ecd8085fa71a221728d338cfaa7e37f0d5f950d1ee6c2d3b9ef5c68f8e2ec67bf9fa7b697bcfb21ab4ae108ce0f2c3cf25223b6d0ba65

          • memory/1036-8-0x0000000002360000-0x0000000002460000-memory.dmp

            Filesize

            1024KB

          • memory/1036-13-0x0000000000400000-0x0000000002290000-memory.dmp

            Filesize

            30.6MB

          • memory/1036-17-0x0000000000400000-0x0000000002290000-memory.dmp

            Filesize

            30.6MB

          • memory/3380-14-0x0000000002500000-0x0000000002600000-memory.dmp

            Filesize

            1024KB

          • memory/3380-2-0x0000000002440000-0x0000000002453000-memory.dmp

            Filesize

            76KB

          • memory/3380-4-0x0000000000400000-0x0000000002290000-memory.dmp

            Filesize

            30.6MB

          • memory/3380-1-0x0000000002500000-0x0000000002600000-memory.dmp

            Filesize

            1024KB

          • memory/3380-12-0x0000000000400000-0x0000000002290000-memory.dmp

            Filesize

            30.6MB

          • memory/3380-15-0x0000000002440000-0x0000000002453000-memory.dmp

            Filesize

            76KB

          • memory/3672-32-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-38-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-16-0x0000000000800000-0x0000000000815000-memory.dmp

            Filesize

            84KB

          • memory/3672-19-0x0000000000800000-0x0000000000815000-memory.dmp

            Filesize

            84KB

          • memory/3672-21-0x0000000000800000-0x0000000000815000-memory.dmp

            Filesize

            84KB

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

            Filesize

            2.1MB

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

            Filesize

            2.1MB

          • memory/3672-26-0x00000000009F0000-0x00000000009F6000-memory.dmp

            Filesize

            24KB

          • memory/3672-29-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-9-0x0000000000800000-0x0000000000815000-memory.dmp

            Filesize

            84KB

          • memory/3672-33-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-35-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-34-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-36-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-37-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-18-0x0000000000800000-0x0000000000815000-memory.dmp

            Filesize

            84KB

          • memory/3672-39-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-40-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-41-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-43-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-42-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-44-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-45-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-46-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-48-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

          • memory/3672-47-0x0000000001BC0000-0x0000000001BD0000-memory.dmp

            Filesize

            64KB

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

            Filesize

            20KB

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

            Filesize

            20KB

          • memory/3672-53-0x0000000007400000-0x000000000780B000-memory.dmp

            Filesize

            4.0MB

          • memory/3672-56-0x0000000007400000-0x000000000780B000-memory.dmp

            Filesize

            4.0MB

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

            Filesize

            28KB