Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2024 08:40

General

  • Target

    181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935.exe

  • Size

    12.1MB

  • MD5

    0906ff34f48334d4563ca2df39b3cef7

  • SHA1

    289a0a4287b6e42e680a9b7efa0585fd97708f2e

  • SHA256

    181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935

  • SHA512

    41545edf3fc63015f8bf2d094de7c17688889fbf4956fadd0b2447da2a870967606ad06971b3db4f28de7e8c777a1dcfec67bb8a99454d1598f1a42bb20580f6

  • SSDEEP

    196608:gXPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP/:g

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\181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935.exe
    "C:\Users\Admin\AppData\Local\Temp\181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\npgqxxfd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:756
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dkwjsfga.exe" C:\Windows\SysWOW64\npgqxxfd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create npgqxxfd binPath= "C:\Windows\SysWOW64\npgqxxfd\dkwjsfga.exe /d\"C:\Users\Admin\AppData\Local\Temp\181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description npgqxxfd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start npgqxxfd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2428
    • 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:4216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1420 -s 1292
      2⤵
      • Program crash
      PID:3656
  • C:\Windows\SysWOW64\npgqxxfd\dkwjsfga.exe
    C:\Windows\SysWOW64\npgqxxfd\dkwjsfga.exe /d"C:\Users\Admin\AppData\Local\Temp\181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3820
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3820 -s 512
      2⤵
      • Program crash
      PID:3604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1420 -ip 1420
    1⤵
      PID:2456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3820 -ip 3820
      1⤵
        PID:1760

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        58919dc1f0c855be860e3e384141841f

        SHA1

        940bd97561cf802cd869ef07ea494606258f50e2

        SHA256

        72ca990cc27136427dfc98e80a105979940e4f14931bd8ee9d21000eb4982e01

        SHA512

        3274aa5e8379994a6f40730491c15dde1f46e65e55104cc28bbbbd72f93d5bb71caaa8f040eb29f855ed75072505c4036677a21ae959ad7648d4b767e1118c09

      • memory/536-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/536-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/536-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1420-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1420-1-0x0000000000BF0000-0x0000000000CF0000-memory.dmp

        Filesize

        1024KB

      • memory/1420-10-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/1420-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1420-12-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3820-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-9-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-15-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB