Resubmissions

13/09/2024, 08:50

240913-krlpravbkn10

12/09/2024, 22:11

240912-14fl9syckf10

Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/09/2024, 08:50

General

  • Target
    0fcd127ebda0d435dda364e977a26120N.exe
  • Size 239KB
  • Sample240913-krlpravbkn
  • SHA256 63296be0fc8cedc36f814d05171e0cddf9186afa45ead6ec8632b7cbe4b06ccc
  • MD5 SHA1 SHA512 SSDEEP

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\0fcd127ebda0d435dda364e977a26120N.exe
    "C:\Users\Admin\AppData\Local\Temp\0fcd127ebda0d435dda364e977a26120N.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\whgoxqz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbhsqfx.exe" C:\Windows\SysWOW64\whgoxqz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create whgoxqz binPath= "C:\Windows\SysWOW64\whgoxqz\sbhsqfx.exe /d\"C:\Users\Admin\AppData\Local\Temp\0fcd127ebda0d435dda364e977a26120N.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description whgoxqz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start whgoxqz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3976
    • 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:4016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3680 -s 1048
      2⤵
      • Program crash
      PID:1180
  • C:\Windows\SysWOW64\whgoxqz\sbhsqfx.exe
    C:\Windows\SysWOW64\whgoxqz\sbhsqfx.exe /d"C:\Users\Admin\AppData\Local\Temp\0fcd127ebda0d435dda364e977a26120N.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1788
    • 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:4344
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 528
      2⤵
      • Program crash
      PID:3256
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3680 -ip 3680
    1⤵
      PID:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 1788 -ip 1788
      1⤵
        PID:4484
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4304,i,12198811467968044966,17227406646827438786,262144 --variations-seed-version --mojo-platform-channel-handle=4060 /prefetch:8
        1⤵
          PID:3244

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              sbhsqfx.exe

              • Path C:\Users\Admin\AppData\Local\Temp\sbhsqfx.exe
              • Size 13.2MB
              • SHA256 cfaa3ef7041ee7ad66eb9d1d3ba8a3564dea42a440c857b14ecc24feb4690f2f
              • MD5 SHA1 SHA512 SSDEEP

              memory/1788-15-0x0000000000400000-0x0000000002B5C000-memory.dmp

              memory/3680-2-0x0000000004770000-0x0000000004783000-memory.dmp

              memory/3680-3-0x0000000000400000-0x0000000000415000-memory.dmp

              memory/3680-9-0x0000000000400000-0x0000000000415000-memory.dmp

              memory/3680-8-0x0000000004770000-0x0000000004783000-memory.dmp

              memory/3680-7-0x0000000000400000-0x0000000002B5C000-memory.dmp

              memory/3680-1-0x0000000002C00000-0x0000000002D00000-memory.dmp

              memory/4344-41-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-34-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-11-0x0000000000B10000-0x0000000000B25000-memory.dmp

              memory/4344-18-0x0000000002A00000-0x0000000002C0F000-memory.dmp

              memory/4344-52-0x0000000002DD0000-0x0000000002DD7000-memory.dmp

              memory/4344-48-0x0000000007900000-0x0000000007D0B000-memory.dmp

              memory/4344-47-0x00000000021F0000-0x00000000021F5000-memory.dmp

              memory/4344-44-0x00000000021F0000-0x00000000021F5000-memory.dmp

              memory/4344-43-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-42-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-13-0x0000000000B10000-0x0000000000B25000-memory.dmp

              memory/4344-40-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-37-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-36-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-35-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-14-0x0000000000B10000-0x0000000000B25000-memory.dmp

              memory/4344-33-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-32-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-31-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-30-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-29-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-28-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-51-0x0000000007900000-0x0000000007D0B000-memory.dmp

              memory/4344-38-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-39-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-20-0x0000000002A00000-0x0000000002C0F000-memory.dmp

              memory/4344-27-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-24-0x00000000021E0000-0x00000000021F0000-memory.dmp

              memory/4344-21-0x0000000000BF0000-0x0000000000BF6000-memory.dmp