Analysis

  • max time kernel
    145s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    02-02-2025 01:03

General

  • Target

    2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe

  • Size

    12.8MB

  • MD5

    842adcbd949a60af182d959ae963092f

  • SHA1

    629699f75e2bf5107b6cba3fc93a9a2e9862cb66

  • SHA256

    8ef97516f5ec3db0157fd16d7c796da6431f8866b570f1e0772c5fb528b00722

  • SHA512

    be6707d80b2e66670c9653bd8ef0a647d5e89720c3e9411a4ef54b0c9cd4bc5c6f0bb5211d9aaef56f00f4a0dfa429ade95efa600f3d43910e9d11c6df84e83b

  • SSDEEP

    24576:S6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQf:bWdLQk

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ckrmxgvp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwvjuemg.exe" C:\Windows\SysWOW64\ckrmxgvp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ckrmxgvp binPath= "C:\Windows\SysWOW64\ckrmxgvp\kwvjuemg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ckrmxgvp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ckrmxgvp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • 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:2800
  • C:\Windows\SysWOW64\ckrmxgvp\kwvjuemg.exe
    C:\Windows\SysWOW64\ckrmxgvp\kwvjuemg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2928

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.7MB

    MD5

    ed771c84f0108c52e8fd4f3468d08315

    SHA1

    ce11768cba2d1efef9cb17afcd984e7d9cae980b

    SHA256

    535aa79400435c0e6c015c9f1ad5b92c969970d6b401284435e1e719dc2fd347

    SHA512

    cfee478030c8662e3b14646a80d4d494b25917d22bcf7ddfd395a17ef4a63478c593b9c4085c76eaf8d500bcabcb696b01f864896e3df906184c1a12b5580ace

  • memory/2128-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2128-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2128-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2128-1-0x0000000000500000-0x0000000000600000-memory.dmp

    Filesize

    1024KB

  • memory/2128-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2812-12-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2928-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2928-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2928-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2928-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2928-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB