Analysis

  • max time kernel
    118s
  • max time network
    125s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-09-2024 21:20

General

  • Target

    c9f9c516072359c5972d75337e89e790N.exe

  • Size

    422KB

  • MD5

    c9f9c516072359c5972d75337e89e790

  • SHA1

    00ac567dbe103901dc06e751802d937de1be9fff

  • SHA256

    49f08a77eedd5d5bf948d6c15688b04618296250793439928c9ba926bf758007

  • SHA512

    db56e058b456f85dcccf794d1cc9b0783b59f6f952e194aac013b4ad1b3d8116154d6be0b950a59a618bd30fd8ae0cd2b6f54e5e84628a4bf64f98106fbbc474

  • SSDEEP

    6144:4Cr9TDbMssgvbE5i8q2DNnWOFOMpoxAHg3s:4e9TDbxHba22F0xAHg

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) 2 TTPs
  • Modifies Windows Firewall 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\c9f9c516072359c5972d75337e89e790N.exe
    "C:\Users\Admin\AppData\Local\Temp\c9f9c516072359c5972d75337e89e790N.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\arajiuqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrwtzym.exe" C:\Windows\SysWOW64\arajiuqs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create arajiuqs binPath= "C:\Windows\SysWOW64\arajiuqs\tfrwtzym.exe /d\"C:\Users\Admin\AppData\Local\Temp\c9f9c516072359c5972d75337e89e790N.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description arajiuqs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start arajiuqs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1972
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 436 -s 1184
      2⤵
      • Program crash
      PID:1332
  • C:\Windows\SysWOW64\arajiuqs\tfrwtzym.exe
    C:\Windows\SysWOW64\arajiuqs\tfrwtzym.exe /d"C:\Users\Admin\AppData\Local\Temp\c9f9c516072359c5972d75337e89e790N.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4256
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:2216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4256 -s 560
      2⤵
      • Program crash
      PID:3816
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 436 -ip 436
    1⤵
      PID:348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4256 -ip 4256
      1⤵
        PID:3972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        94e5c166fe63a98bf475a9d8ab5483d8

        SHA1

        eddfd1c2a4d157b487de14db9d4fe63de3695fd4

        SHA256

        4e06903bf80b1ec610d7cfbfbfd128a080225c69de443b1856eb066591a55ea9

        SHA512

        ec0de4d677f81c40f6be6ffe3f60e4cb9e1e51f2c755d33eebcd79cf0cc6ea7589effbc91ebaa43efe65090072ccdd9caa51e68010d6c223879e782a00f3c212

      • memory/436-1-0x0000000000860000-0x0000000000960000-memory.dmp

        Filesize

        1024KB

      • memory/436-2-0x0000000002330000-0x0000000002343000-memory.dmp

        Filesize

        76KB

      • memory/436-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/436-7-0x0000000000400000-0x00000000005FE000-memory.dmp

        Filesize

        2.0MB

      • memory/436-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/436-8-0x0000000002330000-0x0000000002343000-memory.dmp

        Filesize

        76KB

      • memory/2216-44-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-39-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-13-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/2216-15-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/2216-16-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/2216-20-0x0000000002E00000-0x000000000300F000-memory.dmp

        Filesize

        2.1MB

      • memory/2216-41-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-49-0x00000000025F0000-0x00000000025F5000-memory.dmp

        Filesize

        20KB

      • memory/2216-53-0x0000000007E00000-0x000000000820B000-memory.dmp

        Filesize

        4.0MB

      • memory/2216-46-0x00000000025F0000-0x00000000025F5000-memory.dmp

        Filesize

        20KB

      • memory/2216-45-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-29-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-43-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-42-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-40-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-30-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-38-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-36-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-35-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-34-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-33-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-32-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-31-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-26-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/2216-54-0x00000000033D0000-0x00000000033D7000-memory.dmp

        Filesize

        28KB

      • memory/2216-23-0x00000000013F0000-0x00000000013F6000-memory.dmp

        Filesize

        24KB

      • memory/2216-22-0x0000000002E00000-0x000000000300F000-memory.dmp

        Filesize

        2.1MB

      • memory/2216-51-0x0000000007E00000-0x000000000820B000-memory.dmp

        Filesize

        4.0MB

      • memory/2216-37-0x00000000025E0000-0x00000000025F0000-memory.dmp

        Filesize

        64KB

      • memory/4256-12-0x0000000000400000-0x00000000005FE000-memory.dmp

        Filesize

        2.0MB

      • memory/4256-11-0x0000000000400000-0x00000000005FE000-memory.dmp

        Filesize

        2.0MB

      • memory/4256-17-0x0000000000400000-0x00000000005FE000-memory.dmp

        Filesize

        2.0MB