Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 04:22

General

  • Target

    2025-01-31_0472e8ee3b50ba271bfee33f7f519f5c_mafia.exe

  • Size

    13.7MB

  • MD5

    0472e8ee3b50ba271bfee33f7f519f5c

  • SHA1

    acaff98b09112f8bec1eb8a467be8e4470cd57a1

  • SHA256

    6650fa6e68ec71fbcd05204f13788abb76b1ffd8e168895df0f52dedf8ccacfd

  • SHA512

    48bbae0d5f655c20e9a64e857d57b38adc30d9dceac10cd66b041f9fcc7c6d8bca2adb63c1aff5eb4dbedb33e1091c25b6b01e044eaed5ca74fe561e26c10223

  • SSDEEP

    6144:jLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ7:YTYe+D2jFu+iZoUFhAzo

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-31_0472e8ee3b50ba271bfee33f7f519f5c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_0472e8ee3b50ba271bfee33f7f519f5c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ugwcdpcp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uuvgbcai.exe" C:\Windows\SysWOW64\ugwcdpcp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ugwcdpcp binPath= "C:\Windows\SysWOW64\ugwcdpcp\uuvgbcai.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0472e8ee3b50ba271bfee33f7f519f5c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ugwcdpcp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ugwcdpcp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4792
    • 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:4692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4364 -s 1040
      2⤵
      • Program crash
      PID:5116
  • C:\Windows\SysWOW64\ugwcdpcp\uuvgbcai.exe
    C:\Windows\SysWOW64\ugwcdpcp\uuvgbcai.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0472e8ee3b50ba271bfee33f7f519f5c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2896 -s 512
      2⤵
      • Program crash
      PID:1592
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4364 -ip 4364
    1⤵
      PID:3764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2896 -ip 2896
      1⤵
        PID:2988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        4f2cb1000ef80d2875a049719aea6d0e

        SHA1

        6a1e877a2d122dea5be38829f6d1d99c3daf7264

        SHA256

        62fad157cfb56ae9dbd03680c744e66e6db50cac1eed43d773c477543249b939

        SHA512

        1665db6a8445fdabada67bff7a886aa2cf8e0e5894674205c6c635ea62e483fa955ff00d675a25bf19c98568b9b6950d527ff3b7a5b8880582bdedb74d4eb859

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

        Filesize

        772KB

      • memory/2896-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/2952-20-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2952-22-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2952-21-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2952-14-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2952-11-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/4364-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4364-18-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4364-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

      • memory/4364-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4364-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB