Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-09-2024 14:16

General

  • Target

    b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6.exe

  • Size

    12.9MB

  • MD5

    92017ee762ffecb801be76e272ef66b5

  • SHA1

    0171f93700ce9e398725ad857e7384031581846e

  • SHA256

    b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6

  • SHA512

    1701ed30435153b4b765775aeb68dd1e0751ef2cbc14e7016bcda1933060d881fdeb0a9145e527e29a98bcd3caec23433563d6af73babd3ce33c13242d258d75

  • SSDEEP

    12288:BZwvqm0loTlEUKg7/ua4FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn:BSvqmNB/d

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\b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6.exe
    "C:\Users\Admin\AppData\Local\Temp\b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oyxgxajk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\elxktghb.exe" C:\Windows\SysWOW64\oyxgxajk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oyxgxajk binPath= "C:\Windows\SysWOW64\oyxgxajk\elxktghb.exe /d\"C:\Users\Admin\AppData\Local\Temp\b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oyxgxajk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oyxgxajk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3936
    • 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:4044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 704 -s 1340
      2⤵
      • Program crash
      PID:2304
  • C:\Windows\SysWOW64\oyxgxajk\elxktghb.exe
    C:\Windows\SysWOW64\oyxgxajk\elxktghb.exe /d"C:\Users\Admin\AppData\Local\Temp\b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3204
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 516
      2⤵
      • Program crash
      PID:1448
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 376 -p 704 -ip 704
    1⤵
      PID:2892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3204 -ip 3204
      1⤵
        PID:3160

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        62d9e30b4b338b07f5fc82d4ac917d3d

        SHA1

        054f8419a25aeeac87a1bf2fec1fef614d4daeee

        SHA256

        6ee1dac1ddcdc753917f00de7a12bddd7133b4863671b279ef95fc47b49766e6

        SHA512

        aa9e952a81231699489a1b9e53d3458aa2e3b5e42872e06caa9f153dd48433afb01a973958feefa1caf85fc73aea518e7ed28921459f37c8adde60283de5cf82

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/704-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/704-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/704-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/704-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

      • memory/3204-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3204-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3204-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4396-13-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/4396-15-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/4396-16-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB