Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-11-2024 00:35

General

  • Target

    e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017fN.exe

  • Size

    10.0MB

  • MD5

    142dadf7191c524a11eee9b4660c3540

  • SHA1

    e676b0a4c0cc8f5d7e42b42866d717f30327b221

  • SHA256

    e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017f

  • SHA512

    7a17f72cbc71a7e52365cbf8e31b1439d804ea5f75f8548744d9c2cd541a83280eeb6987e473e9a962ab6a1cfdd14dc5258bd069a2bbff21f848dc727b126347

  • SSDEEP

    12288:lef9tiUIxYjvVzL10J7nnXVJAj1666666666666666666666666666666666666n:leriUGiP0J7n

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.

  • Tofsee family
  • 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\e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017fN.exe
    "C:\Users\Admin\AppData\Local\Temp\e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017fN.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohmaauhf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rangnfvo.exe" C:\Windows\SysWOW64\ohmaauhf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ohmaauhf binPath= "C:\Windows\SysWOW64\ohmaauhf\rangnfvo.exe /d\"C:\Users\Admin\AppData\Local\Temp\e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017fN.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ohmaauhf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ohmaauhf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2408
    • 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:2892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 920 -s 1036
      2⤵
      • Program crash
      PID:3840
  • C:\Windows\SysWOW64\ohmaauhf\rangnfvo.exe
    C:\Windows\SysWOW64\ohmaauhf\rangnfvo.exe /d"C:\Users\Admin\AppData\Local\Temp\e7c93d1b0d7840be4795a7f33e1ca1ac19f7a3ee14dffcf7a2d0b67d2fd2017fN.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1884
    • 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:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1884 -s 512
      2⤵
      • Program crash
      PID:4240
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 920 -ip 920
    1⤵
      PID:2428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1884 -ip 1884
      1⤵
        PID:3536

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        d4fd70b9c617922fa5ea9b6ea9a9e9f2

        SHA1

        1593286f6e5a0e3b0760228005b394ed31297e96

        SHA256

        0f4c80906883c7be27bc277a14329264c72a8f6f9a860971f5f26707c07e0cc6

        SHA512

        38ad1dd61205f175caf9bea9f11e6d50659a9a84f1ab75334a2e51537dfd4260392f8b8812ef317757d4582b3a7c07107ab9dec04afbb29732d384c97ec88d31

      • memory/920-0-0x00000000021B0000-0x00000000021DC000-memory.dmp

        Filesize

        176KB

      • memory/920-1-0x00000000021E0000-0x00000000021F3000-memory.dmp

        Filesize

        76KB

      • memory/920-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/920-6-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/920-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/920-9-0x00000000021B0000-0x00000000021DC000-memory.dmp

        Filesize

        176KB

      • memory/920-8-0x00000000021E0000-0x00000000021F3000-memory.dmp

        Filesize

        76KB

      • memory/1636-41-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-46-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-31-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-14-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1636-16-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1636-32-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-19-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/1636-22-0x0000000002A00000-0x0000000002C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/1636-28-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-25-0x0000000000FF0000-0x0000000000FF6000-memory.dmp

        Filesize

        24KB

      • memory/1636-24-0x0000000002A00000-0x0000000002C0F000-memory.dmp

        Filesize

        2.1MB

      • memory/1636-51-0x00000000021F0000-0x00000000021F5000-memory.dmp

        Filesize

        20KB

      • memory/1636-52-0x0000000007A40000-0x0000000007E4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1636-56-0x0000000002FD0000-0x0000000002FD7000-memory.dmp

        Filesize

        28KB

      • memory/1636-55-0x0000000007A40000-0x0000000007E4B000-memory.dmp

        Filesize

        4.0MB

      • memory/1636-48-0x00000000021F0000-0x00000000021F5000-memory.dmp

        Filesize

        20KB

      • memory/1636-47-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-33-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-45-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-44-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-43-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-42-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-34-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-40-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-39-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-38-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-37-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-36-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1636-35-0x00000000021E0000-0x00000000021F0000-memory.dmp

        Filesize

        64KB

      • memory/1884-11-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/1884-12-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/1884-18-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/1884-13-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB