Analysis

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

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

General

  • Target

    2025-02-02_3f4c4c314a9e1e3500b0113f8815655c_mafia.exe

  • Size

    14.5MB

  • MD5

    3f4c4c314a9e1e3500b0113f8815655c

  • SHA1

    f364aebe26f744c276f7944bd52c57eae67a596e

  • SHA256

    9ec3f86d763f85d37b64cec67cabe5a02420d653890b9ece64158b7540ef41fe

  • SHA512

    3e0bad40bd20ddead45e2571760049d2044fe3ebae59ac5efd3d8b5bb073d5f56492320002eda9313ef202fff254a58956ddaf8e4f29bd09997441ea07598dec

  • SSDEEP

    49152:dqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:dqtYc3

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-02_3f4c4c314a9e1e3500b0113f8815655c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_3f4c4c314a9e1e3500b0113f8815655c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4584
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qiilfzxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cajktpea.exe" C:\Windows\SysWOW64\qiilfzxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qiilfzxf binPath= "C:\Windows\SysWOW64\qiilfzxf\cajktpea.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_3f4c4c314a9e1e3500b0113f8815655c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qiilfzxf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qiilfzxf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:976
    • 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:2384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4584 -s 676
      2⤵
      • Program crash
      PID:1628
  • C:\Windows\SysWOW64\qiilfzxf\cajktpea.exe
    C:\Windows\SysWOW64\qiilfzxf\cajktpea.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_3f4c4c314a9e1e3500b0113f8815655c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:216
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 216 -s 512
      2⤵
      • Program crash
      PID:4016
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 216 -ip 216
    1⤵
      PID:4456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4584 -ip 4584
      1⤵
        PID:5016

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        6bed81a42b4fdbcbc8b8938e730a6e78

        SHA1

        9d7bcc0c2b383e29bc4469a81c5b468014228073

        SHA256

        38db290c8db6f859175ad2b69589a071e79be79a96af0380bb5e0972f7a5d404

        SHA512

        a81d0e7827d0f21c7369f0bc90c06a84b291dd9e54b2ea590815c7c850c01be7e8b4181afc473455c8a9b1a64f45804bcc710e5787c4c41ce8649f456c26a7ff

      • memory/216-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2416-8-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/2416-14-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/2416-15-0x0000000000E00000-0x0000000000E15000-memory.dmp

        Filesize

        84KB

      • memory/4584-1-0x0000000002E50000-0x0000000002F50000-memory.dmp

        Filesize

        1024KB

      • memory/4584-2-0x0000000002E30000-0x0000000002E43000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4584-12-0x0000000002E30000-0x0000000002E43000-memory.dmp

        Filesize

        76KB

      • memory/4584-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB