Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:44

General

  • Target

    2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe

  • Size

    12.4MB

  • MD5

    e72355b4a0464e46c38ca6b00eb1c8e8

  • SHA1

    73f4fda83748ad83cb959734b1efb871f990289b

  • SHA256

    7eec0b84366d92033888fb9def21b46b1d0351de031703e35cc182529682f27a

  • SHA512

    0080f7c14d7582f89555ecb28d7d8e2eb7064048db8c356429b4972d4368d600552bd8108794f999f5ea962e996a432d373367aadfa84a300404f4e61c5f44d9

  • SSDEEP

    24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:Hfot

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-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ltqlqiw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tphhetsg.exe" C:\Windows\SysWOW64\ltqlqiw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ltqlqiw binPath= "C:\Windows\SysWOW64\ltqlqiw\tphhetsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ltqlqiw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ltqlqiw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2268
    • 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:5000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 216 -s 1036
      2⤵
      • Program crash
      PID:408
  • C:\Windows\SysWOW64\ltqlqiw\tphhetsg.exe
    C:\Windows\SysWOW64\ltqlqiw\tphhetsg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1116
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1116 -s 508
      2⤵
      • Program crash
      PID:1192
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 216 -ip 216
    1⤵
      PID:936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 1116 -ip 1116
      1⤵
        PID:1012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        e674817236a53b8cc010ab259ce5fe02

        SHA1

        a1209aefcef70ab47a624b479fa0505bfe6a7a00

        SHA256

        2e3a86e7d7a0b02edb59a9b5258b43d3e7512b1d235b5e85c0dff04b5444a4ae

        SHA512

        7b0daa394e1feb71f4a555365391fd18c5ef4c26aaeb4a6401f6e81b7af8fad472bc6fd74d4e9739bfd87c7a602aa582e2c9ac9b1c4444b2220434e4221067d3

      • memory/216-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/216-2-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

      • memory/216-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/216-8-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

      • memory/216-1-0x0000000000570000-0x0000000000670000-memory.dmp

        Filesize

        1024KB

      • memory/640-14-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/640-16-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/640-17-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/1116-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1116-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1116-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1116-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB