Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-12-2024 17:35

General

  • Target

    c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1.exe

  • Size

    296KB

  • MD5

    67a2a9995cd99df72c5081dbfa1c1ce5

  • SHA1

    83038eaceb154fe11abd360df3278bbb15a9d581

  • SHA256

    c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1

  • SHA512

    bb2794429057896e92be9dea9fd1ed51e21e873c96bb3402dd229cfb9181b05d71ff519790ac3c0316bfec8402eb3f5738e0bfab00c7ddb1af92c0d1d74d8de8

  • SSDEEP

    6144:kC35+ynOr72R6HfyNX26SXuZet0yy87oG+FPxuISKt0:kCp+YOr7z/yNG6SXuZet0yy87WPxuIf

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1.exe
    "C:\Users\Admin\AppData\Local\Temp\c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hrcfriva\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rbgtavuj.exe" C:\Windows\SysWOW64\hrcfriva\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hrcfriva binPath= "C:\Windows\SysWOW64\hrcfriva\rbgtavuj.exe /d\"C:\Users\Admin\AppData\Local\Temp\c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hrcfriva "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hrcfriva
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3508
    • 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:932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5008 -s 780
      2⤵
      • Program crash
      PID:1444
  • C:\Windows\SysWOW64\hrcfriva\rbgtavuj.exe
    C:\Windows\SysWOW64\hrcfriva\rbgtavuj.exe /d"C:\Users\Admin\AppData\Local\Temp\c50e7c2d2c00a1af395a135c572cd87831018afc3d8b9e1cb4ef52b830ebacf1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:920
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 920 -s 528
      2⤵
      • Program crash
      PID:2744
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 5008 -ip 5008
    1⤵
      PID:3284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 920 -ip 920
      1⤵
        PID:1648

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        4749d35730f2758065a74a842ea29259

        SHA1

        3dc35faebf18e030ccd75d70ad6646b1a627ed8f

        SHA256

        e14db0eef38bf9514d3024b4eef095ae8347a5aa357cc6c2f1aa11ffbafcabad

        SHA512

        1262c9c1d8982d06a3eb6e433e77363662f4723377c501f767c365328990842c92a99d3b74a7b3e77a7479165a9efc80fa8ecb8aa9f6a3814b269447304b26dd

      • memory/116-11-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/116-13-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/116-14-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/920-15-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB

      • memory/5008-1-0x0000000001E20000-0x0000000001F20000-memory.dmp

        Filesize

        1024KB

      • memory/5008-2-0x0000000001DA0000-0x0000000001DB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/5008-8-0x0000000001DA0000-0x0000000001DB3000-memory.dmp

        Filesize

        76KB

      • memory/5008-7-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB