Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    05-02-2025 17:41

General

  • Target

    2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe

  • Size

    14.5MB

  • MD5

    f9e40e411a7ab534dc0d116ada8920aa

  • SHA1

    158d1b0246aead9fb79f2c54938bddc7b02462cf

  • SHA256

    ce927ec25afbc8286b66340bc776232e59d30fa1182bdc1092a9ae1226d75ca5

  • SHA512

    8aba23f118cf0dae109755e07f4ab8dbaf47f1f4b2c440b15b01f41a5f59dbea33013fd64dff99f8919b1a3c12c67a1199bf229d9ea19e957d2f3f00a338fb6e

  • SSDEEP

    24576:6EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZm:TfotQ

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-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xysepzzk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugfteowq.exe" C:\Windows\SysWOW64\xysepzzk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xysepzzk binPath= "C:\Windows\SysWOW64\xysepzzk\ugfteowq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xysepzzk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xysepzzk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2336
    • 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:1488
  • C:\Windows\SysWOW64\xysepzzk\ugfteowq.exe
    C:\Windows\SysWOW64\xysepzzk\ugfteowq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1764
    • 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:1172

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    15.0MB

    MD5

    c48710ec714b1f27948461f333b0ea9c

    SHA1

    2776879572705376b44e6e5cf673421894aaf092

    SHA256

    d495e998e765b904f076776d9652a32614563b90891e92f7cac6fbf4b3416144

    SHA512

    11c0382ca560fb16388bea8450c41f1f277a70e2be3f9377fb7b12f50034fe6505f9578f2a05dbe901faacc0918feacb40f4d0c55f89caa74259f98abdee20ef

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/1172-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2036-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    312KB

  • memory/2036-17-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2036-16-0x00000000008B0000-0x00000000009B0000-memory.dmp

    Filesize

    1024KB