Analysis

  • max time kernel
    146s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-02-2025 20:59

General

  • Target

    2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe

  • Size

    13.4MB

  • MD5

    4858645e5dfe2b3c29b52ad93c9a0167

  • SHA1

    3a33f59845824f55e75501dcc58fe9db7510bb21

  • SHA256

    03dcd9a4ca3d6cbe61a3cdf5684649233e6036a584ed389739088adf58530998

  • SHA512

    591a17c10b1dd9563f8d0d9372cd3a575196b8f84738a4b0087e78e62f3f704364132e2aeee1bd2fab494ca09b3a131835e369ab3b214edee3f2e6996083d23d

  • SSDEEP

    3072:NLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:QOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dhjhgbjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\npitaiwm.exe" C:\Windows\SysWOW64\dhjhgbjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dhjhgbjt binPath= "C:\Windows\SysWOW64\dhjhgbjt\npitaiwm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dhjhgbjt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dhjhgbjt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2916
    • 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:2724
  • C:\Windows\SysWOW64\dhjhgbjt\npitaiwm.exe
    C:\Windows\SysWOW64\dhjhgbjt\npitaiwm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2776
    • 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:2196

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    d1eb4be000b34491859e4a88c8b4c34b

    SHA1

    bc7d896330750ffc890c1439755c6867c70b0db4

    SHA256

    9cb0dc44c35664d9721c90b5086c4ec1c42efa2dd70457ca625e2137f4b3f9d4

    SHA512

    cd05a7b3f1ddd26a651e3b69057a8c251cc55c4b5065abe1538a1cdfefa85bb1a09412e474be29173fcf5d7ce05359e04680c9265f6b9cb75feba60bb06d580a

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2364-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2364-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    312KB