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
    31-08-2024 00:58

General

  • Target

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe

  • Size

    11.8MB

  • MD5

    4fece95c5138be47dc60bef4279def37

  • SHA1

    1a8feffb0571f72236b16aeffd5223d0ed2400c4

  • SHA256

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705

  • SHA512

    a4c40a3d0963d7ce1d2b15f67e382964fb26a4f52509f770f7f7f6ceeedaa34050f3a13734f70f5f6eb03beb0b03cbc673ab9d7835855bdbf2f9de970feb81d6

  • SSDEEP

    196608:p4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTn:p

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\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe
    "C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\clphekja\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gwwwlcia.exe" C:\Windows\SysWOW64\clphekja\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create clphekja binPath= "C:\Windows\SysWOW64\clphekja\gwwwlcia.exe /d\"C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description clphekja "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start clphekja
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4472
    • 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:1492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 620 -s 1188
      2⤵
      • Program crash
      PID:2580
  • C:\Windows\SysWOW64\clphekja\gwwwlcia.exe
    C:\Windows\SysWOW64\clphekja\gwwwlcia.exe /d"C:\Users\Admin\AppData\Local\Temp\f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4596
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4596 -s 532
      2⤵
      • Program crash
      PID:848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 620 -ip 620
    1⤵
      PID:1336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4596 -ip 4596
      1⤵
        PID:1280

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        87822d2825ab2f4c491dcc54a0994260

        SHA1

        d98061d0ba0be95f92cbd8275ea33eb18924996c

        SHA256

        a76a6d2b8e97a37a8bcfae4471da35056b3cfdbeae0ef29800418b63c9db613a

        SHA512

        5c34dfef757a799f7fe0395fe61b494cd4e44a4d2437939c90a32c30cde81b820f2788c29c86b597a38b6a71709892849ae5cdfe63d22f81c0f9c1ceb7be2818

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

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/620-1-0x0000000000A10000-0x0000000000B10000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        4.4MB

      • memory/4596-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        4.4MB

      • memory/4700-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/4700-12-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/4700-16-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB