Analysis

  • max time kernel
    145s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    02-02-2025 19:50

General

  • Target

    2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe

  • Size

    11.0MB

  • MD5

    d0609b127ab371e7e8c2a7a9c1c125d3

  • SHA1

    5e96aa8f0505ffc8252c6a5f0cf683785e941cba

  • SHA256

    0fd46860fa68b2e1ab04ce983213eb847d10cf1579bce69780e8059015d6ed50

  • SHA512

    ccb251f9592c738256d678085430ffd19c0bb55954f2a66d96f46229966911c96a41b5bde6e12c6b9018b8ca0bcc53650df6a66314f5e6cad684db4e366770af

  • SSDEEP

    3072:0LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:xOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cprrrjtp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ulhofeim.exe" C:\Windows\SysWOW64\cprrrjtp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cprrrjtp binPath= "C:\Windows\SysWOW64\cprrrjtp\ulhofeim.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cprrrjtp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cprrrjtp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:2640
  • C:\Windows\SysWOW64\cprrrjtp\ulhofeim.exe
    C:\Windows\SysWOW64\cprrrjtp\ulhofeim.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2716
    • 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:2252

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    0dbdfd5acfc3ad7922fec862ba6c60a9

    SHA1

    7df4d59c518c6c5fac4ad7e7c89da6a38f361fff

    SHA256

    635f3acb034452e463ad28c07515b117cf9fec74c144e3383e1dc164c2413ee7

    SHA512

    08f40d8f8bffbf481233e88f9634b86fb74d57b24d3795a383c83e8533762f9a78ec7b3be4b52c0bf0cd494ce5384c988bb5b41e0c41de7b5a5818cfac99fab7

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2536-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    312KB