Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-09-2024 02:40

General

  • Target

    f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b.exe

  • Size

    238KB

  • MD5

    bfabf02b846c1cd0634fa1bf8a95e4aa

  • SHA1

    912bf8c8c515c98ed82f6ac94ce3517dde29fc6d

  • SHA256

    f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b

  • SHA512

    464b3969a5e5ea0d7d00be5a7a606139a254ee603ad9ff30bfba1b1f70723d85312e76287e88ad7cc47a171f6f4e21723319df0f2404b68dff06e1318d9dd7ae

  • SSDEEP

    3072:EVW80fS45N6hqQLAp+b6+y9vZvTDmnCVN3Z4S4y9gkkhf3FCWs/xy/Q:1fS45N6hk+yfnrjZ4SteGw/Q

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 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b.exe
    "C:\Users\Admin\AppData\Local\Temp\f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nbprjpef\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\htjwkjbf.exe" C:\Windows\SysWOW64\nbprjpef\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nbprjpef binPath= "C:\Windows\SysWOW64\nbprjpef\htjwkjbf.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nbprjpef "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nbprjpef
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4028
    • 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:1276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2996 -s 1172
      2⤵
      • Program crash
      PID:3144
  • C:\Windows\SysWOW64\nbprjpef\htjwkjbf.exe
    C:\Windows\SysWOW64\nbprjpef\htjwkjbf.exe /d"C:\Users\Admin\AppData\Local\Temp\f4de268ea469d180cfe44713d1b0f5fcf8ea3270af525c6e040497b43a414e1b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3492
    • 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:4992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3492 -s 508
      2⤵
      • Program crash
      PID:2164
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2996 -ip 2996
    1⤵
      PID:2912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3492 -ip 3492
      1⤵
        PID:3596

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        ae1631b8f3cdb9e88847f42d83e9e901

        SHA1

        7a658b23d1c6c6436458f41b550ad904b0a92075

        SHA256

        c1ee7e6498bf401e71b3f71ec2f2d01fb13884fc3a4d6c20b53fe49aad72910b

        SHA512

        66f2fc2a6cd87a7e45a51b532b056fc105334648c549321f846dbb182682ed12e0026c546707cb012ff64c2329de41c7f338f35e05867b10a2e7bd4bfcc89820

      • memory/2996-2-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2996-8-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

      • memory/2996-7-0x0000000000400000-0x0000000002B5C000-memory.dmp

        Filesize

        39.4MB

      • memory/2996-1-0x0000000002D20000-0x0000000002E20000-memory.dmp

        Filesize

        1024KB

      • memory/3492-15-0x0000000000400000-0x0000000002B5C000-memory.dmp

        Filesize

        39.4MB

      • memory/4992-40-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-35-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-13-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4992-43-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-52-0x0000000002FE0000-0x0000000002FE7000-memory.dmp

        Filesize

        28KB

      • memory/4992-48-0x0000000007940000-0x0000000007D4B000-memory.dmp

        Filesize

        4.0MB

      • memory/4992-47-0x0000000002FD0000-0x0000000002FD5000-memory.dmp

        Filesize

        20KB

      • memory/4992-44-0x0000000002FD0000-0x0000000002FD5000-memory.dmp

        Filesize

        20KB

      • memory/4992-42-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-41-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-11-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4992-39-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-38-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-37-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-36-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-14-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4992-34-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-33-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-32-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-31-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-30-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-29-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-28-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-25-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB

      • memory/4992-51-0x0000000007940000-0x0000000007D4B000-memory.dmp

        Filesize

        4.0MB

      • memory/4992-21-0x0000000002120000-0x0000000002126000-memory.dmp

        Filesize

        24KB

      • memory/4992-20-0x0000000002A00000-0x0000000002C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/4992-17-0x0000000002A00000-0x0000000002C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/4992-27-0x0000000002130000-0x0000000002140000-memory.dmp

        Filesize

        64KB