Analysis

  • max time kernel
    148s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-10-2024 05:45

General

  • Target

    36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500ebN.exe

  • Size

    71KB

  • MD5

    af479197a487d7075de8760e175e2e60

  • SHA1

    1a0deb754aebcba3e7247ee72cd2153919fcfc29

  • SHA256

    36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500eb

  • SHA512

    9448d9d1c18a8726d7903a2b2bb1485e5ce92481d28d69eb1e82b2b636c2c6a41da8e949d5472e77939081d178a62d2f6e65d4f318f62e30573f49ceb9cd4043

  • SSDEEP

    1536:Dkes21VCy1nTxSYg3CXTjFWL9KdpIHUc:DDVCyFxSYACXFHpI0

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
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • 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.

  • 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\36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500ebN.exe
    "C:\Users\Admin\AppData\Local\Temp\36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500ebN.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apgqgdfp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhmkfifh.exe" C:\Windows\SysWOW64\apgqgdfp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create apgqgdfp binPath= "C:\Windows\SysWOW64\apgqgdfp\nhmkfifh.exe /d\"C:\Users\Admin\AppData\Local\Temp\36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500ebN.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description apgqgdfp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start apgqgdfp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2156
    • 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:672
  • C:\Windows\SysWOW64\apgqgdfp\nhmkfifh.exe
    C:\Windows\SysWOW64\apgqgdfp\nhmkfifh.exe /d"C:\Users\Admin\AppData\Local\Temp\36d7959dd852cb38f1855d7883baa1199dae561b7fca37da5c1571146e0500ebN.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1040
    • 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:2064

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.2MB

    MD5

    61fdd63ef509dbbcd0f06ec014c0e0d2

    SHA1

    20460f8a1bdd0c5d12f3da02d8c7c372e3c3e746

    SHA256

    436e7e6f4f26e92307c3f3f2eff734cbe39d76a08f6c5443d0f6c4a85fe06735

    SHA512

    7977045923f82edad077cecb517a3553002852e96d57a1bf6bf71e1719103d6ac0a8d2f0bc90a00d4abeff3790982b04adec03db322537d930425e480a9b8010

  • memory/2064-3-0x0000000000600000-0x0000000000615000-memory.dmp

    Filesize

    84KB

  • memory/2064-6-0x0000000000600000-0x0000000000615000-memory.dmp

    Filesize

    84KB

  • memory/2064-7-0x0000000000600000-0x0000000000615000-memory.dmp

    Filesize

    84KB

  • memory/2064-8-0x0000000000600000-0x0000000000615000-memory.dmp

    Filesize

    84KB

  • memory/2064-10-0x0000000000600000-0x0000000000615000-memory.dmp

    Filesize

    84KB

  • memory/2064-11-0x0000000002200000-0x000000000240F000-memory.dmp

    Filesize

    2.1MB

  • memory/2064-14-0x0000000002200000-0x000000000240F000-memory.dmp

    Filesize

    2.1MB

  • memory/2064-42-0x0000000007200000-0x000000000760B000-memory.dmp

    Filesize

    4.0MB

  • memory/2064-41-0x00000000019D0000-0x00000000019D5000-memory.dmp

    Filesize

    20KB

  • memory/2064-38-0x00000000019D0000-0x00000000019D5000-memory.dmp

    Filesize

    20KB

  • memory/2064-37-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-36-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-35-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-34-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-33-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-32-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-30-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-29-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-28-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-27-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-26-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-25-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-24-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-23-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-22-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-21-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-46-0x00000000019E0000-0x00000000019E7000-memory.dmp

    Filesize

    28KB

  • memory/2064-45-0x0000000007200000-0x000000000760B000-memory.dmp

    Filesize

    4.0MB

  • memory/2064-31-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-18-0x00000000019C0000-0x00000000019D0000-memory.dmp

    Filesize

    64KB

  • memory/2064-15-0x00000000007F0000-0x00000000007F6000-memory.dmp

    Filesize

    24KB