Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/08/2024, 23:11

General

  • Target
    ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411.exe
  • Size 14.3MB
  • Sample240830-26mc9s1gpf
  • SHA256 ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411.exe
    "C:\Users\Admin\AppData\Local\Temp\ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hrbgqeue\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yklfawxu.exe" C:\Windows\SysWOW64\hrbgqeue\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hrbgqeue binPath= "C:\Windows\SysWOW64\hrbgqeue\yklfawxu.exe /d\"C:\Users\Admin\AppData\Local\Temp\ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hrbgqeue "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hrbgqeue
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4964
    • 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:4900
  • C:\Windows\SysWOW64\hrbgqeue\yklfawxu.exe
    C:\Windows\SysWOW64\hrbgqeue\yklfawxu.exe /d"C:\Users\Admin\AppData\Local\Temp\ed38d0a2443e4c2ea2ccb9c381f06aa11380c1c51117ef3eb9f327e9bca88411.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:772
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4528
  • 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=4404,i,7447299413640964517,4240724842020506306,262144 --variations-seed-version --mojo-platform-channel-handle=1284 /prefetch:8
    1⤵
      PID:556

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          yklfawxu.exe

          • Path C:\Users\Admin\AppData\Local\Temp\yklfawxu.exe
          • Size 12.0MB
          • SHA256 c41865ced46b964988d26011becf5c3ec1e10e16cf7b1e3aa432652a3f9291d8
          • MD5 SHA1 SHA512 SSDEEP

          memory/772-7-0x0000000000570000-0x0000000000571000-memory.dmp

          memory/772-12-0x0000000000400000-0x000000000041F000-memory.dmp

          memory/2768-0-0x00000000009C0000-0x00000000009C1000-memory.dmp

          memory/2768-1-0x00000000009D0000-0x00000000009D1000-memory.dmp

          memory/2768-2-0x0000000000400000-0x000000000041F000-memory.dmp

          memory/2768-13-0x0000000000400000-0x000000000041F000-memory.dmp

          memory/4528-8-0x00000000009E0000-0x00000000009F5000-memory.dmp

          memory/4528-11-0x00000000009E0000-0x00000000009F5000-memory.dmp

          memory/4528-14-0x00000000009E0000-0x00000000009F5000-memory.dmp

          memory/4528-15-0x00000000009E0000-0x00000000009F5000-memory.dmp

          memory/4528-16-0x00000000009E0000-0x00000000009F5000-memory.dmp