Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/09/2024, 16:52

General

  • Target

    bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2.exe

  • Size

    14.2MB

  • MD5

    f5a99263467440a04da884e37b581577

  • SHA1

    58c016d9dae50898c03dc602997db96b14fbc2fe

  • SHA256

    bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2

  • SHA512

    b5255af60ca12756011398e5907ef6587cd9ea77401b55b30c0812c2c616ab492eff9d2bba6c5a7ba7732e2f4f0eba80d702bb0d98e767499d182219e16f45af

  • SSDEEP

    196608:H4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTH:H

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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.

  • 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\bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2.exe
    "C:\Users\Admin\AppData\Local\Temp\bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lgfmkspc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zobxjibn.exe" C:\Windows\SysWOW64\lgfmkspc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lgfmkspc binPath= "C:\Windows\SysWOW64\lgfmkspc\zobxjibn.exe /d\"C:\Users\Admin\AppData\Local\Temp\bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lgfmkspc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lgfmkspc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:232
    • 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:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2328 -s 1256
      2⤵
      • Program crash
      PID:3156
  • C:\Windows\SysWOW64\lgfmkspc\zobxjibn.exe
    C:\Windows\SysWOW64\lgfmkspc\zobxjibn.exe /d"C:\Users\Admin\AppData\Local\Temp\bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4248
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4248 -s 340
      2⤵
      • Program crash
      PID:4536
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2328 -ip 2328
    1⤵
      PID:4396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 4248 -ip 4248
      1⤵
        PID:3244

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        8e8a9d43d82c4cb641095884857aa8c9

        SHA1

        00f5168147618f479eca6da4444cf4500f7a4787

        SHA256

        0159d221fd912e91785c0bbac3194637171af8b5d8aab181c1bac17a80de5dae

        SHA512

        17a9a6a61df49b71b5e98112619e6f6a55c828cb1a7c902ecdae99d3bb91e58e3e95de4c2f9cef128b0c6b5dc174de601ea7945599b961753f6d1caa79302e72

      • memory/1712-13-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1712-15-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1712-16-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2328-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2328-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2328-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2328-1-0x00000000009D0000-0x0000000000AD0000-memory.dmp

        Filesize

        1024KB

      • memory/4248-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4248-12-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4248-18-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB