Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    13-01-2025 19:15

General

  • Target

    2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe

  • Size

    11.8MB

  • MD5

    55b741de0468d7b41242082d699a722f

  • SHA1

    e724edb7ff73d1d8989df2baac16a337f02c7668

  • SHA256

    50702048e2c24d40bc9237f84935d639c77c456714d01f01b510dc541a61207e

  • SHA512

    fca53d3688ef8b8c0600ee09814141329aa57acbe1640cb3c049b0ba9e9867f4cb38bcfb0209817027237b781c64d6662abfc9d0337d282c3c5336ead96141a0

  • SSDEEP

    24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZz:2fot

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-01-13_55b741de0468d7b41242082d699a722f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yrdmpogu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tsgiwtum.exe" C:\Windows\SysWOW64\yrdmpogu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yrdmpogu binPath= "C:\Windows\SysWOW64\yrdmpogu\tsgiwtum.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yrdmpogu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yrdmpogu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • 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:1632
  • C:\Windows\SysWOW64\yrdmpogu\tsgiwtum.exe
    C:\Windows\SysWOW64\yrdmpogu\tsgiwtum.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_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:2756

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.1MB

    MD5

    bbc6ca205c2adb9be7064012c26aa262

    SHA1

    caa2a48f4b2e80700a4e4695c358d411e34b0828

    SHA256

    d9c0af84e00b13d95c5fe42826649359f706437fe63ac4789f51684949ea2e59

    SHA512

    cdd5d3889aa164c844041c2d83d0fffdbdffb53de7ca4889ad079dffb37bbdcd5fe0ede57072a579801ec9f7334b96853ccc1454f1388775e741a457eef5b8ea

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2108-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2756-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2756-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2756-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2756-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2812-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB