Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    11-01-2025 18:27

General

  • Target

    2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe

  • Size

    12.0MB

  • MD5

    b88efd6fd62027047f6503b844b1254b

  • SHA1

    4517af79b45370fbebbe0c232c60a492b6522a21

  • SHA256

    9225795b892568f50097ba1ea2c0cf9872aa3f8c65dc1ad1f4c5a709ae11156f

  • SHA512

    3314dbc99d7f90926f2e2b878bdf32986833f888ae6f58de2e6452592b20f44de0a82a2bcf20daf848257a3da2bb764e570ed10f9791dc546af3b628e9ff1ef4

  • SSDEEP

    24576:OEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:nfot

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-11_b88efd6fd62027047f6503b844b1254b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\udtwnego\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhhyjsjl.exe" C:\Windows\SysWOW64\udtwnego\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create udtwnego binPath= "C:\Windows\SysWOW64\udtwnego\nhhyjsjl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description udtwnego "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start udtwnego
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2620
    • 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:804
  • C:\Windows\SysWOW64\udtwnego\nhhyjsjl.exe
    C:\Windows\SysWOW64\udtwnego\nhhyjsjl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2708
    • 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:2420

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    dac0d80928bdadd5c8ff84f54549394b

    SHA1

    e27eefcfd54fa7238ea724ac8a6a094552a54c15

    SHA256

    ca77334015a33436a7e0e454c1479ac785969b496a16356efd98ce4ad5b25bac

    SHA512

    71faa01a65d0dce8e053c0ed4fadfdee1e92cf806ad302e84ed728a863465941199daeae8d70c97fdeb7be6dc7bb9e9a8d9d31e99122e339ad8886e59d94b834

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2840-1-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    84KB