Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2025 14:44

General

  • Target

    2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe

  • Size

    12.8MB

  • MD5

    5c8dd9bde13889f4abc1f3e62a14e1ad

  • SHA1

    59306df44642a5d7b1d7341739dbb298d189cfe0

  • SHA256

    02c394db4c8a4ca4e1d4a6c06285233de8c74079e4908caa151921936df67598

  • SHA512

    ceb0d0a38d0b3291edd580e57976d6186498f496a7c6758aeae5f6126e01183741bb561bc09759eee7ed097ccf0093b90c44d00ee250b9ba9af60c9e3e1e91eb

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZr:MfotF

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-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uttkwnws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rielcbfj.exe" C:\Windows\SysWOW64\uttkwnws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uttkwnws binPath= "C:\Windows\SysWOW64\uttkwnws\rielcbfj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uttkwnws "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uttkwnws
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2196
    • 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:2636
  • C:\Windows\SysWOW64\uttkwnws\rielcbfj.exe
    C:\Windows\SysWOW64\uttkwnws\rielcbfj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2632
    • 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:2860

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.2MB

    MD5

    d83ada77a6b10d23f0c2e5257c1c5183

    SHA1

    afa1ba2e7dd341ec255a52f1e679e54a3795d42b

    SHA256

    31257bf70834868a1f9759dfb881c41c0be5e8c2a8ec1fe404578bf926613ce3

    SHA512

    44d2f387d03112a104fbcbaa0ba3aab60e854ea292bff70410099e8dd265d4d9218f9f6cc95633f3681f594ab74072823cad4498d80ee3e631c739e0497c25d5

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB

  • memory/1088-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB