Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 18:58

General

  • Target

    2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe

  • Size

    14.5MB

  • MD5

    de0805035b3a9aa55f09883322888394

  • SHA1

    392914c76884aaf03d6c27766cec5f0ab12d6877

  • SHA256

    2617e0696091241eff473df91d50b96033d6b0b2af79e47e50503b42ea53f7c0

  • SHA512

    332d26c390db347f4f0ce5bfdc667dc7c080a25e0aa962ae2198f44934e45d8e7ea76b9c2d857f45be4b0dc1a281f9c5ace4177c59bf5f8aa040109c676f3ff8

  • SSDEEP

    6144:bLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQY:wTYe+D2jFu+iZoUFhAz

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.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\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vhrpwugr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kgyyvkjx.exe" C:\Windows\SysWOW64\vhrpwugr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vhrpwugr binPath= "C:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vhrpwugr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vhrpwugr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:856
    • 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:4084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3784 -s 1280
      2⤵
      • Program crash
      PID:4580
  • C:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exe
    C:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:740
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 740 -s 528
      2⤵
      • Program crash
      PID:1008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3784 -ip 3784
    1⤵
      PID:3244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 740 -ip 740
      1⤵
        PID:3992

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        ecf8ea102db83fda2d278ec3bc52632c

        SHA1

        18b4b8fc10ced4e6c0ee4ef10f4ff8bca1ba9c87

        SHA256

        a7b030b6468a980632f6e5707b17e44f95cb0fbe42a49015d704d1e6cac3ec5d

        SHA512

        f4187f1064c2c1cf0edb8874a04406081ed607e56424be764ea0b470a4b1efc60d22f44166d79f4ffb4d90a6b17da8f0abd946691aba004ca2a3be7675571ec6

      • memory/740-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/740-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/740-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3784-11-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/3784-12-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3784-1-0x0000000000820000-0x0000000000920000-memory.dmp

        Filesize

        1024KB

      • memory/3784-2-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/3860-10-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/3860-17-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/3860-18-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB